[Bug 29285] New: Arcanum: screen resolution stays at 800x600 after exiting the game

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Dec 9 07:13:26 CST 2011


             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
        OS/Version: Linux
            Status: NEW
          Keywords: download, regression
          Severity: minor
          Priority: P2
         Component: directx-d3d
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: gyebro69 at gmail.com
                CC: hverbeet at 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 at 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
    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)

Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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.

More information about the wine-bugs mailing list