https://bugs.winehq.org/show_bug.cgi?id=58064
Bug ID: 58064 Summary: Unreal 2 hangs with a black screen when switching to 1440X900 resolution Product: Wine Version: 10.5 Hardware: x86-64 URL: https://community.pcgamingwiki.com/files/file/265-unre al-ii-the-awakening-single-player-demo/?do=download&cs rfKey=dbe29bc7b5c23e8ee79b15e743414902 OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: rbernon@codeweavers.com Regression SHA1: ab2b7ebfcd78f6a74068a5a79d90ee6fcf235a12 Distribution: ArchLinux
Unreal 2 starts in 1024X768 resolution and switching between 640X480, 800X600 or 1024X768 modes works properly, however when I try to switch to 1440X900 in the video options menu, the game hangs with a black screen and Unreal2.exe is consuming 100% CPU. 1440X900 is the max. resolution that my monitor supports.
Used to work before commit ab2b7ebfcd78f6a74068a5a79d90ee6fcf235a12 winex11: Use win32u generic wgl(Get|Set)PixelFormat(WINE).
The same commit causes similar issue (black screen and game .exe pegging the CPU) when trying to start the following games: Art of Murder: Cards of Destiny https://store.steampowered.com/app/836770/Art_of_Murder__Cards_of_Destiny/
Art of Murder - Hunt for the Puppeteer https://store.steampowered.com/app/832540/Art_of_Murder__Hunt_for_the_Puppet...
Chronicles of Mystery: The Scorpio Ritual https://store.steampowered.com/app/34800/Chronicles_of_Mystery_The_Scorpio_R...
OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: NVIDIA GeForce GTX 1660 SUPER/PCIe/SSE2 OpenGL core profile version string: 4.6.0 NVIDIA 570.133.07
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- I'm not able to reproduce the issue, could you attach a log file with WINEDEBUG=+pid,+loaddll,+seh,+unwind,+d3d,+opengl,+wgl,+system,+win,+x11drv ?
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #2 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Rémi Bernon from comment #1)
I'm not able to reproduce the issue, could you attach a log file with WINEDEBUG=+pid,+loaddll,+seh,+unwind,+d3d,+opengl,+wgl,+system,+win,+x11drv ?
The log is huge (almost 500 MB uncompressed) and I can't compress it further to make Bugzilla accept it. https://drive.google.com/file/d/1pgjhIt92l6GP4HGGWhrFur0eGIomx5aj/view?usp=s...
Unreal2_debug.log.xz (13 MB)
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #3 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 78324 --> https://bugs.winehq.org/attachment.cgi?id=78324 HoMM V debug log
Here is a debug log from Heroes of Might & Magic V: the game hangs with a black screen when I try to change resolution to 1440X900. The size of the log is more manageable, only 54 MB uncompressed.
Changing resolution works properly with the previous commit.
Demo: https://archive.org/details/HeroesOfMightMagicV
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Thanks! I still haven't found what is wrong but would you mind making the same HoMM log with the change reverted? Maybe comparing the two will make it obvious.
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #5 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Rémi Bernon from comment #4)
Thanks! I still haven't found what is wrong but would you mind making the same HoMM log with the change reverted? Maybe comparing the two will make it obvious.
Sorry, but I don't know how to revert the patch on 10.5 :( Doesn't revert cleanly.
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- I cannot reproduce any issue with HOMM on my desktop either... though I have an AMD GPU, maybe it's related to some specific pixel formats.
Sorry, but I don't know how to revert the patch on 10.5 :( Doesn't revert cleanly.
Could you make the same log with the commit before the one that breaks it?
https://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #7 from Béla Gyebrószki gyebro69@gmail.com --- Created attachment 78333 --> https://bugs.winehq.org/attachment.cgi?id=78333 HoMMV debug log before breakage (uncompressed 293 MB)
This is the same debug log with the commit prior to ab2b7ebfcd78f6a74068a5a79d90ee6fcf235a12.
It is much bigger because the game can actually load the main menu.
http://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #8 from Rémi Bernon rbernon@codeweavers.com --- Thanks for the log, I can see a difference indeed and it looks like that in the broken case execution gets stuck within X11DRV_wglCreateContextAttribsARB, but comparing both logs they seem to be using the same pixel formats so I don't really understand why it gets stuck there.
Fwiw I have tried with an NVIDIA GPU as well, (GTX 1070 but with older driver versions), and I cannot reproduce the problem either.
http://bugs.winehq.org/show_bug.cgi?id=58064
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Rémi Bernon from comment #8)
Thanks for the log, I can see a difference indeed and it looks like that in the broken case execution gets stuck within X11DRV_wglCreateContextAttribsARB, but comparing both logs they seem to be using the same pixel formats so I don't really understand why it gets stuck there.
Fwiw I have tried with an NVIDIA GPU as well, (GTX 1070 but with older driver versions), and I cannot reproduce the problem either.
It could be something configured incorrectly on my system then. The fact is that the problem doesn't occur with the open source nouveau driver, but reproducible with Nvidia 570.133.07, 570.123.01 (Vulkan dev), 565.77, 550.144.03.
Btw. the bug title might be misleading: by '1440X900 resolution' I meant the highest resolution that your monitor supports or the resolution at which your desktop runs. Yours might be higher. It is interesting that the bug doesn't occur when switching between any lower resolutions in the game.
http://bugs.winehq.org/show_bug.cgi?id=58064
Dmytro Bagrii dimich.dmb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimich.dmb@gmail.com