http://bugs.winehq.org/show_bug.cgi?id=59033
Bug ID: 59033 Summary: OpenGL applications fail to start under EGL backend Product: Wine Version: 10.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: opengl Assignee: wine-bugs@list.winehq.org Reporter: sin-ack@protonmail.com Distribution: ---
Tested with Touhou Fuujinroku (Mountain of Faith), running via THCRAP and with vpatch. Also tested with Bejeweled 3.
Games run fine when the EGL backend is disabled via UseEGL=0 in the registry, but OpenGL initialization completely fails when enabled (the default since 10.17).
Curiously, the error happens to be different every time; sometimes context creation fails completely and the entire process hangs until wineserver -k, sometimes the X11 error is shown and the application exits immediately, sometimes getting pixel formats fails but the process can resume.
I hacked on the code a bit to get some more information, and I get an NT_ACCESS_VIOLATION from the first UNIX_CALL `get_pixel_format` on the PE side.
Attached are logs with WINEDEBUG=trace+opengl.
System information:
OS: Gentoo Linux amd64 Kernel version: 6.17.7-gentoo Wine version: wine-10.19 Wine backend: X11 Mesa version: 25.3.0 Graphics card: AMD Radeon RX 6700 XT Desktop environment: Hyprland 0.51.1 + xwayland 24.1.9
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #1 from sin-ack@protonmail.com --- Created attachment 79778 --> http://bugs.winehq.org/attachment.cgi?id=79778 WINEPREFIX=$PWD/newprefix WINEDEBUG=trace+opengl wine-vanilla-10.19 th10.lnk
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #2 from sin-ack@protonmail.com --- Created attachment 79779 --> http://bugs.winehq.org/attachment.cgi?id=79779 WINEPREFIX=... WINEDEBUG=trace+opengl wine-vanilla-10.19 .../Bejeweled3.exe
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #3 from sin-ack@protonmail.com --- Created attachment 79780 --> http://bugs.winehq.org/attachment.cgi?id=79780 vulkaninfo --summary
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #4 from sin-ack@protonmail.com --- Created attachment 79781 --> http://bugs.winehq.org/attachment.cgi?id=79781 glxinfo
http://bugs.winehq.org/show_bug.cgi?id=59033
GDT gdtcompwiz@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gdtcompwiz@aol.com
--- Comment #5 from GDT gdtcompwiz@aol.com --- I am not sure if it is related but I believe it is, because modifying some settings related to the render system allowed me to run apps temporarily.
Specifically a problem with RPG Maker MV games. (RPG Maker MZ, as well as old engines work fine)
Operating System: Arch Linux Kernel Version: 6.17.8-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 16 × AMD Ryzen 7 7800X3D 8-Core Processor Memory: 64 GiB of RAM (62.4 GiB usable) Graphics Processor: AMD Radeon RX 7900 XT Wine Version: 10.19 (wow64 mode)
This only started happening on the current version. The game in question immeditately loads the window and then before anything is rendered, the game crashes.
The debug logs from the engine itself are filled with the following:
[1125/112338.241:ERROR:http_transport_win.cc(175)] WinHttpCrackUrl: error 0x13d while retrieving error 0x2ee6
I do not believe this is related, as I think it has something to do with the bug reporter tool, but I am including it anyway.
I will be attaching my error trace, both with EGL enabled and disabled.
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #6 from GDT gdtcompwiz@aol.com --- Created attachment 79804 --> http://bugs.winehq.org/attachment.cgi?id=79804 RPGMV game wine error trace (EGL ON)
http://bugs.winehq.org/show_bug.cgi?id=59033
--- Comment #7 from GDT gdtcompwiz@aol.com --- Created attachment 79805 --> http://bugs.winehq.org/attachment.cgi?id=79805 RPGMV game wine error trace (EGL OFF)
http://bugs.winehq.org/show_bug.cgi?id=59033
GDT gdtcompwiz@aol.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #79804|0 |1 is obsolete| |
--- Comment #8 from GDT gdtcompwiz@aol.com --- Created attachment 79807 --> http://bugs.winehq.org/attachment.cgi?id=79807 RPGMV game wine error trace (EGL ON)