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@winehq.org Reporter: dkk089@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.
https://bugs.winehq.org/show_bug.cgi?id=57478
Daniel Kamil Kozar dkk089@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rbernon@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=57478
Daniel Kamil Kozar dkk089@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |1fe64cd59573473160186aa172c | |4bf5055510cd7 Distribution|--- |ArchLinux
https://bugs.winehq.org/show_bug.cgi?id=57478
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #1 from Rémi Bernon rbernon@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?
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #2 from Daniel Kamil Kozar dkk089@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?
https://bugs.winehq.org/show_bug.cgi?id=57478
Ken Sharp imwellcushtymelike@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 |
https://bugs.winehq.org/show_bug.cgi?id=57478
asger.andresen@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asger.andresen@gmail.com
--- Comment #3 from asger.andresen@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
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #4 from Rémi Bernon rbernon@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
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #5 from Daniel Kamil Kozar dkk089@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.
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #6 from Rémi Bernon rbernon@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...
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #7 from A. Andresen asger.andresen@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.
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #8 from A. Andresen asger.andresen@gmail.com --- Created attachment 77859 --> https://bugs.winehq.org/attachment.cgi?id=77859 dxvk log for TDU 1 wine 9.19 full screen mode
https://bugs.winehq.org/show_bug.cgi?id=57478
--- Comment #9 from A. Andresen asger.andresen@gmail.com --- Created attachment 77860 --> https://bugs.winehq.org/attachment.cgi?id=77860 dxvk log for TDU 1 wine 9.20 full screen mode