[Bug 58973] New: Many games crash at start with new WoW64 wine-10.19 and discrete Nvidia GPU
http://bugs.winehq.org/show_bug.cgi?id=58973 Bug ID: 58973 Summary: Many games crash at start with new WoW64 wine-10.19 and discrete Nvidia GPU Product: Wine Version: 10.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)list.winehq.org Reporter: memax(a)gmx.fr Distribution: --- Created attachment 79683 --> http://bugs.winehq.org/attachment.cgi?id=79683 "Syberia 2" terminal output System Information: OS: Ubuntu 24.04.3 LTS 64-bit Kernel: Linux 6.14.0-35-generic Windowing System: X11 Graphics: Discrete GPU: NVIDIA NVIDIA Driver Version: 535.274.02 Wine Version: Development version New WoW64 wine-10.19 (built by me) Description: All the 32-bit games I have tested so far crash on launch with new WoW64 wine-10.19 and discrete Nvidia GPU. Switching to the integrated Intel GPU allows to work around the problem. This bug does not affect old WoW64 (wine-10.19 from WineHQ Binary Packages). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 imaxm <memax(a)gmx.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 imaxm <memax(a)gmx.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Many games crash at start |Many games crash on launch |with new WoW64 wine-10.19 |with new WoW64 wine-10.19 |and discrete Nvidia GPU |and discrete Nvidia GPU -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com --- Comment #1 from Rémi Bernon <rbernon(a)codeweavers.com> --- Could you attach a log file with WINEDEBUG=+wgl,+opengl,+system,+x11drv environment variable set? Thanks! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #2 from Rémi Bernon <rbernon(a)codeweavers.com> --- Sorry, lets make that WINEDEBUG=+wgl,+opengl,+system,+x11drv,+vulkan as there's some vulkan message being printed, although I don't think it's relevant. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #3 from imaxm <memax(a)gmx.fr> --- Created attachment 79688 --> http://bugs.winehq.org/attachment.cgi?id=79688 WINEDEBUG=+wgl,+opengl,+system,+x11drv,+vulkan -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #4 from imaxm <memax(a)gmx.fr> --- Regression testing: 80275a84512f22e3cc4463122450eb9975f7a608 is the first bad commit commit 80275a84512f22e3cc4463122450eb9975f7a608 Author: Rémi Bernon <rbernon(a)codeweavers.com> Date: Wed Nov 12 09:00:43 2025 +0100 win32u: Return the native adapter name as GL_RENDERER string. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=58831 dlls/opengl32/unix_wgl.c | 5 +++++ dlls/win32u/opengl.c | 2 +- dlls/win32u/sysparams.c | 2 +- dlls/win32u/win32u_private.h | 1 + 4 files changed, 8 insertions(+), 2 deletions(-) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 imaxm <memax(a)gmx.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |80275a84512f22e3cc446312245 | |0eb9975f7a608 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #5 from Rémi Bernon <rbernon(a)codeweavers.com> --- Thanks, what is weird though is that from your log there's a crash but it doesn't happen within the call to wglQueryCurrentRendererStringWINE but rather *after* it, when the string is copied to the list of WOW64 strings. It doesn't happen for me for some reason.
From the same log, the returned string comes from `egl->device_name` of the device #0, which according to the `init_device_info` traces is a valid string.
It'll probably need some additional traces in opengl32, for instance around and within return_wow64_string to better understand where the crash comes from. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #6 from Rémi Bernon <rbernon(a)codeweavers.com> --- Created attachment 79720 --> http://bugs.winehq.org/attachment.cgi?id=79720 additional traces for debugging Would you mind building Wine with the attached patch and making the same log as before? This should be enough to understand where it is crashing exactly. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #7 from imaxm <memax(a)gmx.fr> --- Created attachment 79721 --> http://bugs.winehq.org/attachment.cgi?id=79721 Patched WINEDEBUG=+wgl,+opengl,+system,+x11drv,+vulkan -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #8 from Rémi Bernon <rbernon(a)codeweavers.com> --- Thank you! It looks like the strings returned by glGetString get invalidated even (probably because of a GL context change) though the documentation says that they are supposed to be static. https://gitlab.winehq.org/wine/wine/-/merge_requests/9491 should fix the issue. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 --- Comment #9 from imaxm <memax(a)gmx.fr> --- (In reply to Rémi Bernon from comment #8)
Thank you! It looks like the strings returned by glGetString get invalidated even (probably because of a GL context change) though the documentation says that they are supposed to be static.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9491 should fix the issue.
You're welcome! I tested your merge request and it does indeed fix the issue. Thank you! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 Rémi Bernon <rbernon(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |2f8bbd4d956c3558380ba31da31 | |d86c94696f764 --- Comment #10 from Rémi Bernon <rbernon(a)codeweavers.com> --- This should be fixed after 2f8bbd4d956c3558380ba31da31d86c94696f764. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=58973 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #11 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.20. -- 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.
participants (1)
-
WineHQ Bugzilla