https://bugs.winehq.org/show_bug.cgi?id=45049
Bug ID: 45049 Summary: PlayChessV7: crash and blank window Product: Wine Version: 3.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: ak.client@protonmail.com Distribution: ---
Created attachment 61178 --> https://bugs.winehq.org/attachment.cgi?id=61178 logs
Hello, i try to run PlayChess by ChessBase http://download.chessbase.com/download/PlayChessV7Setup.exe . sha1sum b631769090a505f17371ea3f63be88819e3ef308 PlayChessV7Setup.exe I have tried with wine 3.0, 3.5 and 3.6 . A blank window appear and the program crash.
https://bugs.winehq.org/show_bug.cgi?id=45049
ak.client@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Debian
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #1 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61179 --> https://bugs.winehq.org/attachment.cgi?id=61179 last 2500 lines of +d2d,+relay debuglog
Confirming, I attach a +d2d,+relay log, might be related to d2d1
Note : I ran with LIBGL_ALWAYS_SOFTWARE=1 to get this crash
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://download.chessbase.c | |om/download/PlayChessV7Setu | |p.exe Keywords| |download Status|UNCONFIRMED |NEW Ever confirmed|0 |1
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- confirming
https://bugs.winehq.org/show_bug.cgi?id=45049
ak.client@protonmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ak.client@protonmail.com
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 61183 --> https://bugs.winehq.org/attachment.cgi?id=61183 hack
With this hack the crash is gone and the main window comes up. Also it seems to need Tahoma (I did winetricks corefonts and tahoma)
It shows where the problem is, i`ll change title of bug to reflect the problem
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |d2d Summary|PlayChessV7: crash and |PlayChessV7 crash and blank |blank window |window, needs d2d1 | |CreateRoundedRectangleGeome | |try
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Set right component+changed title.
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #5 from ak.client@protonmail.com --- I confirm that the Louis Lenders's patch solve this issue.
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #6 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to ak.client from comment #5)
I confirm that the Louis Lenders's patch solve this issue.
Well, it`s not a patch but a hack really to show where the problem is.
I cannot solve this bug properly as i lack knowledge about this d2d d3d stuff really.
Hopefully one of the d2d/d3d developers will pick this up, bump?
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #7 from Henri Verbeet hverbeet@gmail.com --- It's a decent enough hack, but a proper implementation would need support for arcs. You could do slightly better than the current hack by using beziers to emulate arcs. I.e., by creating a path geometry.
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to Henri Verbeet from comment #7)
It's a decent enough hack, but a proper implementation would need support for arcs. You could do slightly better than the current hack by using beziers to emulate arcs. I.e., by creating a path geometry.
Would this hack/patch as it is be accepted then upstream you think?
https://bugs.winehq.org/show_bug.cgi?id=45049
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=45049
tokktokk fdsfgs@krutt.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs@krutt.org
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|PlayChessV7 crash and blank |Multiple programs need d2d1 |window, needs d2d1 |CreateRoundedRectangleGeome |CreateRoundedRectangleGeome |try (playchessV7, Paint.Net |try |4.*)
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- paint.net needs this too. Unfortunately the hack doesnt work.
From Crashlog (located in ~/.wine/drive_c/users/louis/Local\
Settings/Application\ Data/paint.net/CrashLogs/
Exception details: System.InvalidOperationException: This result is an error, not a value ---> System.InvalidOperationException: This result is an error, not a value ---> System.NotImplementedException: ..\Direct2D\D2DFactory.cpp (285) : hr = m_pFactory->CreateRoundedRectangleGeometry( NativeConversions::ToNative(roundedRect), &spRoundedRectangleGeometry);
tested sha1sum ~/Downloads/paint.net.4.0.17.install.exe cd1b38db6295bbb4e83637b9a4fba109b3143da7 /home/louis/Downloads/paint.net.4.0.17.install.exe
Note: this is after applying the d2d1-patches from Lucian Post in Staging, they are needed too
https://bugs.winehq.org/show_bug.cgi?id=45049
eochgls@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |eochgls@web.de
https://bugs.winehq.org/show_bug.cgi?id=45049
FabStz fabstz-it@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fabstz-it@yahoo.fr
--- Comment #10 from FabStz fabstz-it@yahoo.fr --- This is still a problem with - paint.net 4.2.8 https://www.dotpdn.com/files/paint.net.4.2.8.install.zip - wine-5.0-rc6
Executing the paint.net installer with
WINE='/opt/wine-devel/bin/wine' WINEPREFIX='<hidden>' WINESERVER='/opt/wine-devel/bin/wineserver' WINELOADER='/opt/wine-devel/bin/wine-preloader' WINEDLLPATH='/opt/wine-devel/lib/wine' WINEARCH='win32' /opt/wine-devel/bin/wine paint.net.4.2.8.install.exe
Files attached attached: - wine log: paint.net.4.2.8.install.exe.wine-err.log.gz - paint.net error log : paint.net.4.2.8.install.dotnet.log-1 paint.net.4.2.8.install.dotnet.log-2 - paint.net error screenshot: paint.net.4.2.8.install.err.png
I tried also setting this registry key, but I then get another error [HKEY_CURRENT_USER\Software\Wine\Direct3D] "DirectDrawRenderer"="gdi"
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #11 from FabStz fabstz-it@yahoo.fr --- Created attachment 66264 --> https://bugs.winehq.org/attachment.cgi?id=66264 paint.net 4.2.8 wine log
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #12 from FabStz fabstz-it@yahoo.fr --- Created attachment 66265 --> https://bugs.winehq.org/attachment.cgi?id=66265 paint.net 4.2.8 error screenshot
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #13 from FabStz fabstz-it@yahoo.fr --- Created attachment 66266 --> https://bugs.winehq.org/attachment.cgi?id=66266 paint.net 4.2.8 installer error log
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #14 from FabStz fabstz-it@yahoo.fr --- Created attachment 66267 --> https://bugs.winehq.org/attachment.cgi?id=66267 paint.net 4.2.8 installer error log
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #15 from FabStz fabstz-it@yahoo.fr --- This was by having installed .net framework 4.8 (ndp48-x86-x64-allos-enu.exe) according to the appDb instructions, before trying to install paint.net 4.2.8
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #16 from Louis Lenders xerox.xerox2000x@gmail.com --- There`s a patch on devel-list that fixes this crash for PlayChess, so adding keyword "patch":
https://www.winehq.org/pipermail/wine-devel/2020-January/157778.html https://www.winehq.org/pipermail/wine-devel/2020-January/157779.html
Applied both patches and PlayChess now starts fine instead of crashing.
Hopefully patches can make into wine soon, thanks Giovanni btw for patches
For Paint.net it seems to fix crash too, though it runs into subsequent unimplemented api (GetBounds):
In Staging (no patch for CreateRoundedRectangleGeometry):
Exception details: System.InvalidOperationException: This result is an error, not a value ---> System.InvalidOperationException: This result is an error, not a value ---> System.NotImplementedException: ..\Direct2D\D2DFactory.cpp (285) : hr = m_pFactory->CreateRoundedRectangleGeometry( NativeConversions::ToNative(roundedRect), &spRoundedRectangleGeometry);
In current wine-5.0-rc6 with the two patches :
Exception details: System.InvalidOperationException: This result is an error, not a value ---> System.NotImplementedException: ..\Direct2D\D2DGeometry.cpp (271) : hr = m_pGeometry->GetBounds( worldTransform.HasValue ? &NativeConversions::ToNativeD2D(worldTransform.Value) : 0, &bounds);
https://bugs.winehq.org/show_bug.cgi?id=45049
huntantr huntantr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |huntantr@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=45049
--- Comment #17 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 66348 --> https://bugs.winehq.org/attachment.cgi?id=66348 screenshot of playchess (rounded rectangles)
Hi,
This is fixed in current by https://www.winehq.org/pipermail/wine-cvs/2020-January/141302.html
Attached a screenshot of Playchess which starts fine now into welcome screen. Thanks Giovanni for the fix!
Note: Paint.Net also gets a tiny bit further now, I`ll open new bugreport for next issue.
https://bugs.winehq.org/show_bug.cgi?id=45049
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |f04bcb2d1b3ee9abb60ee53ab3b | |7d85e1f9e0c9b
--- Comment #18 from Louis Lenders xerox.xerox2000x@gmail.com --- Fixed by f04bcb2d1b3ee9abb60ee53ab3b7d85e1f9e0c9b
Thanks Giovanni!
https://bugs.winehq.org/show_bug.cgi?id=45049
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.1.
https://bugs.winehq.org/show_bug.cgi?id=45049
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=45049
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #20 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.1.
https://bugs.winehq.org/show_bug.cgi?id=45049
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|http://download.chessbase.c |https://web.archive.org/web |om/download/PlayChessV7Setu |/20180208040728/http://down |p.exe |load.chessbase.com/download | |/PlayChessV7Setup.exe