https://bugs.winehq.org/show_bug.cgi?id=57422
Bug ID: 57422 Summary: Winecfg DPI issue with games Product: Wine Version: 9.21 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: LiveFreeDead@hotmail.com Distribution: ---
I have an NVIDIA card and a 4k screen
To make my wine apps readable I use winecfg Graphics tab and set the DPI to 192, which works great for windowed desktop apps, but as soon as I run a game, it only shows the top left of my game and crops the mouse area even smaller than that. I changed the DPI back to 96 (default) and they work as expected/intended.
This even occurs if I use a virtual desktop.
The other issue with 4k screens on NVIDIA is it can't mode set at all, I need to preset the mode using xrandr and pass the new res to the virtual desktop. If I leave it to change the mode itself, 8 get a black screen and it powers the screen off. I can get the terminal back by pressing ctrl + alt + F2. Or get the login screen with ctrl alt backspace. But nothing else I do can change the mode back or turn the screen back on.
So to be clear, I need to sety wine DPI to 96dpi and preset my screen res to run games (full screen). I do not get the same issue on my NVIDIA graphics laptop and I don't on AMD graphics. Just my 3060to and a 4k screen.
I no longer have a 1080p screen to test if that works. But changing my desktop to 1080p doesn't fix things except for games that are 1080p. 800x600 and 1024x768 will cause the black screen issue.
I noticed that wine v9.0 (mint v22 default) doesn't have the doi glitch 9ny 4k screen. It does still have the black screen bug if I don't pre modest.
https://bugs.winehq.org/show_bug.cgi?id=57422
--- Comment #1 from Glenn Chugg LiveFreeDead@hotmail.com --- I use NVIDIA v550 drivers
Nouveau does not have these issues at all. So I hope something can be done for wine to recover from this black screen crash or failed mode sets. I do not expect wine Devs to fix the NVIDIA bug... Would be happier if you could. But I know how hard NVIDIA have made things in Linux. I hope their latest promises and open sourced kernel modules improve it soon. But crash prevention for now would be awesome, I sometimes forget to mode set and have to lose unsaved work.