http://bugs.winehq.org/show_bug.cgi?id=29285
Bug #: 29285 Summary: Arcanum: screen resolution stays at 800x600 after exiting the game Product: Wine Version: 1.3.34 Platform: x86 URL: http://www.fileplanet.com/59649/50000/fileinfo/Arcanum :-Of-Steamworks-&-Magick-Obscura-Demo OS/Version: Linux Status: NEW Keywords: download, regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: ecb2859d3c3beedb0af7de26e4f21d664513cca2
Now that bug #27730 has been fixed the game exits normally, but I noticed that Wine doesn't restore the original desktop resolution after exiting the game. The screen stays at 800x600 resolution after quitting the game. This is reproducible with both the demo and the latest officially patched game version, also sold by GOG.com (v1.0.7.4). The problem also occurs with the unofficial high resolution (widescreen) mods.
Terminal output doesn't reveal anything interesting.
This is due to the following commit:
ecb2859d3c3beedb0af7de26e4f21d664513cca2 is the first bad commit commit ecb2859d3c3beedb0af7de26e4f21d664513cca2 Author: Henri Verbeet hverbeet@codeweavers.com Date: Tue Dec 6 22:57:45 2011 +0100
ddraw: Destroy the swapchain in the DllMain() cleanup handler.
This is mostly to make sure there aren't any resources still being referenced by wined3d.
:040000 040000 f870ca5647965563b890c460877daa08b978e754 b92e709b107dbb760d37fd4a3534b42d4d269cb9 M dlls
Reverting the patch on the current git version (wine-1.3.34-166-g71199ea) fixed the problem.
Fedora 16 x86 X.Org X Server 1.11.2 Nvidia 250 / driver 290.10 Gnome 3 + Mutter (compositing) / Gnome 2 + Metacity (non-compositing)