[Bug 43638] Multiple 4k demoscene OpenGL demos crash on startup with 'No active WGL context found' (Yermom, 'End of time' by Alcatraz and Altair)

WineHQ Bugzilla wine-bugs at winehq.org
Mon Apr 13 16:15:18 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=43638

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at 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 at 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

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list