[Bug 57422] New: Winecfg DPI issue with games
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(a)winehq.org Reporter: LiveFreeDead(a)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. -- 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=57422 --- Comment #1 from Glenn Chugg <LiveFreeDead(a)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. -- 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=57422 amak79(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amak79(a)gmail.com --- Comment #2 from amak79(a)gmail.com --- I believe you have experienced bug 57175. See bug 57175, comment 30 for the solution. I used the following to force all applications to be HiDPI aware. wine REG.exe ADD "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /T REG_SZ /D "~ HIGHDPIAWARE" /F Using HKEY_LOCAL_MACHINE didn't work for me as reported by others. -- 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=57422 Darkwood <stasvernon(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stasvernon(a)gmail.com --- Comment #3 from Darkwood <stasvernon(a)gmail.com> --- Hi, I also experience the below exactly with Command & Conquer 3 game (with DPI in winecfg set to 150 e.g.): "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.". I set the Command & Conquer 3 resolution to match original screen resolution manually. Its likely related to this line in the output: "info: Process set as DPI aware" Could it be that we need to manually DISABLE DPI awareness for games? I have not ran any HiDPI registry commands yet. wine-10.16. -- 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=57422 --- Comment #4 from Darkwood <stasvernon(a)gmail.com> --- Forgot to mention iGPU is AMD Radeon 660M (RADV REMBRANDT) (radv 25.0.7). -- 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=57422 --- Comment #5 from Darkwood <stasvernon(a)gmail.com> --- After reading Bug 57175 my guess is WINE doesn't take into account the case of FULL-screen apps (that at least generally don't need any scaling), and still scales them according to Winecfg DPI setting. This likely results into the app's output resolution of FULL-screen apps larger than the native screen resolution. -- 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