https://bugs.winehq.org/show_bug.cgi?id=43638
Bug ID: 43638 Summary: Yermom demoscene demo crashes on start up Product: Wine Version: 2.15 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: t.artem@mailcity.com Distribution: ---
Created attachment 59057 --> https://bugs.winehq.org/attachment.cgi?id=59057 backtrace
Sometimes it shows
err:x11settings:X11DRV_ChangeDisplaySettingsEx Default mode not found!
sometimes it doesn't.
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #1 from Artem S. Tashkinov t.artem@mailcity.com --- Created attachment 59058 --> https://bugs.winehq.org/attachment.cgi?id=59058 Demo itself
https://bugs.winehq.org/show_bug.cgi?id=43638
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.pouet.net/prod.p | |hp?which=71570
https://bugs.winehq.org/show_bug.cgi?id=43638
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #2 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59059 --> https://bugs.winehq.org/attachment.cgi?id=59059 +relay log without overrides
Can confirm the issue. is it fine to just attach the demo here?
It seems to behave differently when you override msgsm32.acm, you need to copy it from a windows machine.
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #3 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59060 --> https://bugs.winehq.org/attachment.cgi?id=59060 +relay log with msgsm32.acm overriden
Notice how the last lines before the crash are now related to winex11.drv.
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #4 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59061 --> https://bugs.winehq.org/attachment.cgi?id=59061 +relay log with msgsm32.acm and gmdls overriden
Also needs "winetricks gmdls", what's not too surprising.
Then it crashes at a different part, seems like it tries to call glCreateShaderProgramv, but can't find it, so it calls a nullpointer. It works on windows (obviously), but I could only test it on linux with mesa. Can someone with proprietary drivers and those two workarounds test the program?
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Created attachment 59064 --> https://bugs.winehq.org/attachment.cgi?id=59064 Hack to make it start up (needs other two workarounds)
Third workaround, this time in form of a hack.
The program calls SetPixelFormat on the desktop windows, with format set to 0. Then it tries to create a context and uses it to query functions, like glCreateShaderProgramv. This patch makes it work. However, the screen is completely white, only the music plays. You're advised to use "emulate a virtual desktop" if you want to test the hack, then you can quit the fullscreen with ESC.
https://bugs.winehq.org/show_bug.cgi?id=43638
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/opengl32-wglCh | |oosePixelFormat Status|UNCONFIRMED |STAGED CC| |dmitry@baikal.ru, | |erich.e.hoover@wine-staging | |.com, michael@fds-team.de, | |sebastian@fds-team.de
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Okay, it seems to work without msgsm32.acm, forget to test with only gmdls. However, with latest wine-staging built from source, I still get only a white-screen with the music playing. Can you confirm it works for you?
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #7 from Michael Müller michael@fds-team.de --- Each problem should be reported in a separate bug report and I think we should limit this bug to the crash as the title states. Since there are already quite a few bug reports about the missing gm.dls file (crash reason #1), e.g. bug 10791, we should focus on the OpenGL issue (crash reason #2) that is also indicated by the STAGED tests. The white screen issue deserves its own bug report.
https://bugs.winehq.org/show_bug.cgi?id=43638
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |43747
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #8 from Fabian Maurer dark.shadow4@web.de --- Right, I made a separate report as Bug 43747.
https://bugs.winehq.org/show_bug.cgi?id=43638
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset|https://github.com/wine-com |https://github.com/wine-sta |pholio/wine-staging/tree/ma |ging/wine-staging/tree/mast |ster/patches/opengl32-wglCh |er/patches/opengl32-wglChoo |oosePixelFormat |sePixelFormat CC| |nerv@dawncrow.de
https://bugs.winehq.org/show_bug.cgi?id=43638
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |opengl
https://bugs.winehq.org/show_bug.cgi?id=43638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Keywords| |download Summary|Yermom demoscene demo |Multiple 4k demoscene |crashes on start up |OpenGL demos crash on | |startup with 'No active WGL | |context found' (Yermom, | |'End of time' by Alcatraz | |and Altair)
--- Comment #9 from Anastasius Focht focht@gmx.net --- Hello folks,
this is also encountered with other 4K demoscene OpenGL demos. While analysing/testing a fix for bug 48898 I came across this one.
http://www.pouet.net/prod.php?which=77102 -> 4k demoscene OpenGL demo 'End of time' by Alcatraz and Altair
--- snip --- $ WINEDEBUG=+seh,+relay,+wgl,+opengl wine ./End\ of\ time\ 720p.exe >>log.txt 2>&1 ... 0009:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 37 type 0 color 64 32,32,0,0 accum 64 depth 24 stencil 8 aux 4 PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 0009:trace:wgl:wglChoosePixelFormat color mismatch for iPixelFormat=182 0009:Call gdi32.__wine_get_wgl_driver(00030039,00000013) ret=7a8ba0ca 0009:Call ntdll.RtlRunOnceExecuteOnce(7e3c99a4,7e368ec0,00000000,00000000) ret=7b0431e5 0009:Ret ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b0431e5 0009:Ret gdi32.__wine_get_wgl_driver() retval=7e3c5fa0 ret=7a8ba0ca 0009:Call ntdll.RtlRunOnceExecuteOnce(7e3c99a4,7e368ec0,00000000,00000000) ret=7b0431e5 0009:Ret ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b0431e5 0009:trace:wgl:glxdrv_wglDescribePixelFormat (0x30039,183,40,0x1518fe18) 0009:trace:wgl:get_pixel_format Returning fmt_id=0x17b for iPixelFormat=183 0009:trace:wgl:dump_PIXELFORMATDESCRIPTOR size 40 version 1 flags 37 type 1 color 64 0,0,0,0 accum 64 depth 24 stencil 8 aux 4 PFD_DOUBLEBUFFER PFD_DRAW_TO_WINDOW PFD_SUPPORT_OPENGL 0009:trace:wgl:wglChoosePixelFormat pixel type mismatch for iPixelFormat=183 0009:trace:wgl:wglChoosePixelFormat returning 3 0009:Ret opengl32.wglChoosePixelFormat() retval=00000003 ret=7e6d2ac8 0009:Ret gdi32.ChoosePixelFormat() retval=00000003 ret=00420111 0009:Call gdi32.SetPixelFormat(00030039,00000003,00000000) ret=00420119 0009:Call opengl32.wglSetPixelFormat(00030039,00000003,00000000) ret=7e6d2c6d 0009:Call gdi32.__wine_get_wgl_driver(00030039,00000013) ret=7a8ba694 0009:Call ntdll.RtlRunOnceExecuteOnce(7e3c99a4,7e368ec0,00000000,00000000) ret=7b0431e5 0009:Ret ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b0431e5 0009:Ret gdi32.__wine_get_wgl_driver() retval=7e3c5fa0 ret=7a8ba694 0009:trace:wgl:set_pixel_format (0x30039,3) 0009:warn:wgl:set_pixel_format not a valid window DC 0x30039/0x10020 0009:Ret opengl32.wglSetPixelFormat() retval=00000000 ret=7e6d2c6d 0009:Ret gdi32.SetPixelFormat() retval=00000000 ret=00420119 0009:Call opengl32.wglCreateContext(00030039) ret=0042011f 0009:Call gdi32.__wine_get_wgl_driver(00030039,00000013) ret=7a8b9783 0009:Call ntdll.RtlRunOnceExecuteOnce(7e3c99a4,7e368ec0,00000000,00000000) ret=7b0431e5 0009:Ret ntdll.RtlRunOnceExecuteOnce() retval=00000000 ret=7b0431e5 0009:Ret gdi32.__wine_get_wgl_driver() retval=7e3c5fa0 ret=7a8b9783 0009:Ret opengl32.wglCreateContext() retval=00000000 ret=0042011f 0009:Call opengl32.wglMakeCurrent(00030039,00000000) ret=00420127 0009:Ret opengl32.wglMakeCurrent() retval=00000001 ret=00420127 ... 0009:Call opengl32.glGenTextures(00000001,00422410) ret=004202d9 0009:trace:opengl:glGenTextures (1, 0x422410) 0009:Ret opengl32.glGenTextures() retval=0000002e ret=004202d9 ... 0009:Call opengl32.wglGetProcAddress(00421314 "glCreateShaderProgramv") ret=00420814 0009:warn:wgl:wglGetProcAddress No active WGL context found 0009:Ret opengl32.wglGetProcAddress() retval=00000000 ret=00420814 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=(nil) ip=00000000 tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=00000000 0009:trace:seh:raise_exception eax=00000000 ebx=00400148 ecx=00421250 edx=00000000 esi=7a8477ec edi=00030039 0009:trace:seh:raise_exception ebp=1518fefc esp=1518fedc cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010206 0009:trace:seh:call_stack_handlers calling handler at 0x7b469400 code=c0000005 flags=0 0009:Call ntdll.NtCreateEvent(1518fa68,001f0003,1518f9e0,00000000,00000000) ret=7b00e10b 0009:Ret ntdll.NtCreateEvent() retval=00000000 ret=7b00e10b wine: Unhandled page fault on read access to 00000000 at address 00000000 (thread 0009), starting debugger... ... --- snip ---
Maybe Wine graphics folks have an opinion on the Wine-Staging patch?
$ sha1sum atz-end_of_time.zip 3a4ce3fd92e2fdd1a4533ee67d4809d3f2184f6b atz-end_of_time.zip
$ du -sh atz-end_of_time.zip 3.3M atz-end_of_time.zip
$ wine --version wine-5.6
Regards
https://bugs.winehq.org/show_bug.cgi?id=43638
--- Comment #10 from Henri Verbeet hverbeet@gmail.com --- (In reply to Anastasius Focht from comment #9)
Maybe Wine graphics folks have an opinion on the Wine-Staging patch?
It doesn't look wrong to me.
https://bugs.winehq.org/show_bug.cgi?id=43638
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |ee12fb0e3241a1458ea81afaf8f | |bf822e53f0902 CC| |infyquest@gmail.com Resolution|--- |FIXED
--- Comment #11 from Vijay Kamuju infyquest@gmail.com --- Fixed by commit https://source.winehq.org/git/wine.git/commit/ee12fb0e3241a1458ea81afaf8fbf8...
https://bugs.winehq.org/show_bug.cgi?id=43638
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.7.
https://bugs.winehq.org/show_bug.cgi?id=43638
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=43638
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.2.
https://bugs.winehq.org/show_bug.cgi?id=43638
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.pouet.net/prod.p |https://web.archive.org/web |hp?which=71570 |/20200408083804/http://xtr1 | |m.com/downloads/atz-end_of_ | |time.zip