https://bugs.winehq.org/show_bug.cgi?id=37843
Bug ID: 37843 Summary: Black Mirror 3 starts minimized Product: Wine Version: 1.7.32 Hardware: x86 URL: http://www.gamershell.com/download_72202.shtml OS: Linux Status: NEW Keywords: download, regression Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: stefan@codeweavers.com Regression SHA1: f6dde7062413a1dfdd71acc92c5178ac66f3ade0 Distribution: ---
Created attachment 50401 --> https://bugs.winehq.org/attachment.cgi?id=50401 terminal output
The problem looks similar to the GTA:VC issue reported in bug #37716, but this one occurs both in virtual desktop and full-screen mode. To reproduce the problem make sure your screen resolution (or virtual desktop size) is the same as the game resolution (can be adjusted in the options menu).
When you start BM3 the first splash screen is displayed normally then the intro video gets minimized. In Wine's full-screen mode the game minimized to the upper panel and can be restored by clicking on it.
The result of the regression test:
f6dde7062413a1dfdd71acc92c5178ac66f3ade0 is the first bad commit commit f6dde7062413a1dfdd71acc92c5178ac66f3ade0 Author: Stefan Dösinger stefan@codeweavers.com Date: Tue Nov 18 21:26:57 2014 +0100
wined3d: Restore the display mode on focus change.
:040000 040000 aa87fc202d416bf38b92925b0040cbdbcc9e3a84 23850dec1d6e575a9050437206d54d48db834005 M dlls :040000 040000 0e90d026408ce1c052257f931536dd23c1e53a6f 5e45b170033d4faab106d4de13292c70ce3cbed4 M include
Another bug report with the same commit: bug #37762
wine-1.7.33-117-g6bab173 Fedora 21 XFCE 4.10 Xorg-1.16.2.901 Nvidia binary drivers 340.65
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #1 from Stefan Dösinger stefan@codeweavers.com --- I can reproduce the problem with the demo. The patch for graw2 doesn't fix the problem, and our quartz.dll is not used, so I guess this bug is different from the issues mentioned in bug #37716.
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #2 from Stefan Dösinger stefan@codeweavers.com --- On a closer investigation this is similar to Graw2, except that this game steals focus from the focus window with a ShowWindow(SW_SHOW) call. It seems that the patch for Graw2 needs some additional refinement.
Let's keep this in a separate bug report though.
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #3 from Stefan Dösinger stefan@codeweavers.com --- Can you try attachment 50455 from bug 37716? It fixes Black Mirror 3 for me in a virtual desktop and outside a VD. I tested the virtual desktop with a size that matches the game resolution and a different size.
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #4 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Stefan Dösinger from comment #3)
Can you try attachment 50455 [details] from bug 37716? It fixes Black Mirror 3 for me in a virtual desktop and outside a VD. I tested the virtual desktop with a size that matches the game resolution and a different size.
The patch fixes the issue in all the affected games that I know of: Black Mirror 2 & 3, GRAW2, Patrician III.
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #5 from Stefan Dösinger stefan@codeweavers.com --- Cool! Can you do me the favor and check some of your other applications for regressions? It's a quite low-level change.
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #6 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Stefan Dösinger from comment #5)
Cool! Can you do me the favor and check some of your other applications for regressions? It's a quite low-level change.
So far the patch works good, I haven't found any problems with it yet :)
Ah, and it fixes bug #37165 as well...
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #7 from Stefan Dösinger stefan@codeweavers.com --- (In reply to Béla Gyebrószki from comment #6)
So far the patch works good, I haven't found any problems with it yet :)
I've sent the patch to wine-patches: http://source.winehq.org/patches/data/108577
Ah, and it fixes bug #37165 as well...
Good to know :-)
Did you retest bug 37762 with it?
https://bugs.winehq.org/show_bug.cgi?id=37843
--- Comment #8 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Stefan Dösinger from comment #7)
Did you retest bug 37762 with it?
The problem in 37762 still remains with your patch.
https://bugs.winehq.org/show_bug.cgi?id=37843
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=37716
https://bugs.winehq.org/show_bug.cgi?id=37843
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #9 from super_man@post.com --- Looks like the patch didnt commit. It applies too well
patching file dlls/user32/message.c patching file dlls/user32/tests/win.c Hunk #2 succeeded at 817 (offset 14 lines). Hunk #3 succeeded at 8163 with fuzz 1 (offset 179 lines). Hunk #4 FAILED at 8332. 1 out of 4 hunks FAILED -- saving rejects to file dlls/user32/tests/win.c.rej
wine 1.7.50
https://bugs.winehq.org/show_bug.cgi?id=37843
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |ccf430eb52fb9a3a7c8bfdcbe78 | |05025fb6f5dec Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- Black Mirror 2 & 3 (and a few other games that I know of being affected by this bug) start properly in wine-1.7.54-59-g8f44307, thank you Stefan.
Fedora 23 XFCE 4.12 X Server 1.18.0 OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV92 OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.1.0-devel
https://bugs.winehq.org/show_bug.cgi?id=37843
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.55.