[Bug 57478] New: Commit 1fe64cd59573473160186aa172c4bf5055510cd7 makes Sims 2 black-screen when running with Nvidia 470.256.02 and dxvk 1.10.3
https://bugs.winehq.org/show_bug.cgi?id=57478 Bug ID: 57478 Summary: Commit 1fe64cd59573473160186aa172c4bf5055510cd7 makes Sims 2 black-screen when running with Nvidia 470.256.02 and dxvk 1.10.3 Product: Wine Version: 9.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winevulkan Assignee: wine-bugs(a)winehq.org Reporter: dkk089(a)gmail.com Distribution: --- Said commit makes Sims 2 launch to a black screen. Everything else works and it seems like the actual graphical content is just not output to the screen somehow : music is playing in the background and you can see the mouse cursor changing its symbol if you move it around (hovering over a text field). I saw this with Nvidia 470.256.02 and GeForce GT 645M. However, running on a Radeon RX550 with open source drivers is just fine. dxvk was 1.10.3 during both runs. Bisecting leads to 1fe64cd59573473160186aa172c4bf5055510cd7 and reverting this commit from master makes everything work okay again. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 Daniel Kamil Kozar <dkk089(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon(a)codeweavers.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 Daniel Kamil Kozar <dkk089(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |1fe64cd59573473160186aa172c | |4bf5055510cd7 Distribution|--- |ArchLinux -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 Austin English <austinenglish(a)gmail.com> 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #1 from Rémi Bernon <rbernon(a)codeweavers.com> --- I'm not sure I can test with a NVIDIA GPU but maybe you could have a try to see if https://gitlab.winehq.org/wine/wine/-/merge_requests/6998 would address this as well by any chance? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #2 from Daniel Kamil Kozar <dkk089(a)gmail.com> --- Hi Rémi, sorry, but I'm getting the exact same behaviour as before when running with Wine compiled from the tip of that branch (04c000c9c3c). FWIW, windowed mode (enabled by passing the -w parameter to the executable) works just fine. Maybe that helps somehow? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Commit |Sims 2 black-screen when |1fe64cd59573473160186aa172c |running with Nvidia |4bf5055510cd7 makes Sims 2 |470.256.02 and dxvk 1.10.3 |black-screen when running | |with Nvidia 470.256.02 and | |dxvk 1.10.3 | -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 asger.andresen(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asger.andresen(a)gmail.com --- Comment #3 from asger.andresen(a)gmail.com --- Having the same problem with 'Test Drive Unlimited'. Full screen is broken since 9.20, it only shows a black screen. GPU: Geforce GT 750M Driver: Nvidia 470.256.02 DirectX Wrapper: dxvk 1.10.3 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #4 from Rémi Bernon <rbernon(a)codeweavers.com> --- Created attachment 77778 --> https://bugs.winehq.org/attachment.cgi?id=77778 Debugging patch I've tried with an NVIDIA GPU but I don't have a mobile one, and I haven't been able to reproduce the problem. Could you try the attached patch if it helps? The patch includes toggles that should help debugging this, could you try it with the following WINEDEBUG values: 1) WINEDEBUG unset 2) WINEDEBUG=+no_offs,+no_flush 3) WINEDEBUG=+no_size,+no_flush And if none of the above helped: 4) WINEDEBUG=+no_offs 5) WINEDEBUG=+no_size -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #5 from Daniel Kamil Kozar <dkk089(a)gmail.com> --- Thank you very much, Rémi. I applied the patch on top of master (5942da6c6ca) and I'm very happy to report that WINEDEBUG=+no_size,+no_flush makes the game work normally again. I tested all combinations for completeness and WINEDEBUG=+no_size works okay too. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #6 from Rémi Bernon <rbernon(a)codeweavers.com> --- Thanks for testing this. Sadly this doesn't look like something easily fixed... that is actually quite necessary (the other one was less, which is what I was hoping was going to be blamed). It also doesn't give much clue on what is happening here... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #7 from A. Andresen <asger.andresen(a)gmail.com> --- Adding some more information after a bit of testing, just in case it helps. Game: Test Drive Unlimited (2007) OS: Kubuntu 24.04 LTS DE: KDE 5.27.11 GPU: Geforce GT 750M Driver: Nvidia 470.256.02 DirectX Wrapper: dxvk 1.10.3 wine-staging 9.19 Default behavior, full screen 1080p: The game starts at 720p and shows the start screen. The screen then goes black and the game switches to 1080p, the resolution set in the graphics settings. It shows the start screen again and opens the main menu. Music plays and sound effects are triggered as you scroll through the options. Wine-staging 9.20 Full screen 1080p: The game starts at 720p and shows the start screen. The screen then goes black and the game tries switching to 1080p,the resolution set in the graphics settings. The display stays black. Music plays and sound effects are triggered as you scroll through the options. Full screen 720p: The game starts at 720p, shows the start screen and opens the main menu. Music plays and sound effects are triggered as you scroll through the options. When you try to change the resolution to 1080p in the graphics settings, the screen goes black. Windowed mode: The game starts at 720p, shows the start screen and opens the main menu. Music plays and sound effects are triggered as you scroll through the options. When you try to change the resolution to 1080p in the graphics settings, nothing happens. The game stays at 720p. Wines default log doesn’t show any differences between 9.19 and 9.20. I also tried WINEDEBUG=warn+all but couldn’t find any differences. The dxvk logs show that the game tries to switch to 1080p but not much more. I added both dxvk logs for wine-staging 9.19 full screen 1080p and wine-staging 9.20 full screen 1080p. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #8 from A. Andresen <asger.andresen(a)gmail.com> --- Created attachment 77859 --> https://bugs.winehq.org/attachment.cgi?id=77859 dxvk log for TDU 1 wine 9.19 full screen mode -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #9 from A. Andresen <asger.andresen(a)gmail.com> --- Created attachment 77860 --> https://bugs.winehq.org/attachment.cgi?id=77860 dxvk log for TDU 1 wine 9.20 full screen mode -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #10 from Daniel Kamil Kozar <dkk089(a)gmail.com> --- Since the issue seems to be isolated to a select few cases, most likely related to specific driver/application/fullscreen conditions, how about making the behaviour selectable at runtime? This way, existing applications and users are not affected while those running into this issue can set an envvar and see if it helps. The patch here adds a WINEX11_NO_VULKAN_SURFACE_UPDATE environment variable that, when set, will make X11DRV_vulkan_surface_update() do absolutely nothing. This makes Sims 2 work as before. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=57478 --- Comment #11 from Daniel Kamil Kozar <dkk089(a)gmail.com> --- Created attachment 78080 --> https://bugs.winehq.org/attachment.cgi?id=78080 Add WINEX11_NO_VULKAN_SURFACE_UPDATE for skipping everything in X11DRV_vulkan_surface_update -- 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=57478 --- Comment #12 from A. Andresen <asger.andresen(a)gmail.com> --- This bug does not occur anymore for "Test Drive Unlimited (2007)" in wine 10.14. I tested the following versions: 10.10 - bug occurs 10.11 - bug occurs 10.12 - bug fixed 10.14 - bug fixed Game: Test Drive Unlimited (2007) OS: Kubuntu 24.04 LTS DE: KDE 5.27.12 GPU: Geforce GT 750M Driver: Nvidia 470.256.02 DirectX Wrapper: dxvk 1.10.3 Other games that I've seen being affected also work again. Would be great to hear from Daniel Kamil Kozar if the bug is fixed for Sims 2 as well. -- 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=57478 Daniel Kamil Kozar <dkk089(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #13 from Daniel Kamil Kozar <dkk089(a)gmail.com> --- Hi there. I can confirm that this is fixed for Sims 2 as well. Running Wine 10.14 with experimental WoW64, Nvidia 470.256.02 with GeForce GT 645M, Linux 6.12.46, and dxvk 1.10.3. The game starts properly in full screen mode and everything appears to be running okay. Taking this into account, I'm marking this issue as resolved. -- 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=57478 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 10.15. -- 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