https://bugs.winehq.org/show_bug.cgi?id=37165
Bug ID: 37165 Summary: Sacred 2 Gold (v2.65.1) fails to start correctly, displays only a black screen in virtual desktop mode Product: Wine Version: 1.7.21 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: hverbeet@gmail.com Regression SHA1: d50350886a3e15da29f29f7b3fb539e19a80d6d2
Created attachment 49398 --> https://bugs.winehq.org/attachment.cgi?id=49398 terminal output
I have this problem with Sacred 2: Ice & Blood (the Gold version), but can't reproduce it with the official demo of Sacred2: Fallen Angel v1.0.0.
When I start the game in virtual desktop mode the loading/initialization screen is displayed correctly but the game is minimized to icon size when the first intro video is playing. If I double click on the Sacred2.exe icon then the game is restored to fullscreen but the screen remains black.
In fullscreen mode the game is minimized to the upper panel in XFCE when the intro video is playing, clicking on it restores it to fullscreen.
Both virtual desktop mode and Wine's fullscreen mode behaved differently in previous Wine versions, and reverting the following commit on 1.7.25 fixes the issue for me:
d50350886a3e15da29f29f7b3fb539e19a80d6d2 is the first bad commit commit d50350886a3e15da29f29f7b3fb539e19a80d6d2 Author: Henri Verbeet hverbeet@codeweavers.com Date: Fri Jun 27 08:27:00 2014 +0200
d3d9: Check the device status in present calls.
:040000 040000 567d36430750186faa6eb358b2b9a5a2b0e4b01f 9d09487c930faa288f6069918a0e9f5683534781 M dlls
I tested this bug under XFCE 4.10, Gnome 3 and Openbox window managers. The problem doesn't exist if I start the game in windowed mode. The problem occurs if the size of the VD is the same as the resolution the game is running at. If I set up a VD sized 1024x768 but let the game run @1440x900 the problem doesn't happen: the loading screen is displyed in 1024x768 then the game switches to 1440x900 (without the aforementioned black screen issue).
Please let me know if you need a debug log or further tests.
Wine 1.7.25 Fedora 20 X.Org X Server 1.14.4 XFCE 4.10 Nvidia binary drivers 340.32