[Bug 30213] New: Screen obscured by black box when game changes resolution
http://bugs.winehq.org/show_bug.cgi?id=30213 Bug #: 30213 Summary: Screen obscured by black box when game changes resolution Product: Wine Version: 1.5.0 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: jamie(a)lacewing-project.org Classification: Unclassified Created attachment 39438 --> http://bugs.winehq.org/attachment.cgi?id=39438 Black screen problem with Baldur's Gate II When I launch a full screen 800x600 game when my desktop is running at 1920x1080, only a strip at the bottom of the screen is visible (screenshots attached of Age of Empires II and Baldur's Gate II). If I change my desktop resolution to 800x600 before launching the game, the problem doesn't occur. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #1 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-18 10:00:07 CDT --- Created attachment 39440 --> http://bugs.winehq.org/attachment.cgi?id=39440 Black screen problem with Age of Empires II -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #2 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-18 10:02:44 CDT --- Created attachment 39441 --> http://bugs.winehq.org/attachment.cgi?id=39441 Log for Baldur's Gate II -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #3 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-18 10:03:10 CDT --- Created attachment 39442 --> http://bugs.winehq.org/attachment.cgi?id=39442 Log for Age of Empires II -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 James McLaughlin <jamie(a)lacewing-project.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jamie(a)lacewing-project.org --- Comment #4 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-18 10:06:46 CDT --- X.Org X Server 1.12.0 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #5 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-03-18 11:05:03 CDT --- What window manager & desktop environment? Can you try with virtual desktop set to the size of your monitor? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #6 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-18 19:03:42 CDT --- Created attachment 39455 --> http://bugs.winehq.org/attachment.cgi?id=39455 Age of Empires II w/ virtual desktop Window manager is xfwm 4.8.3 (XFCE 4.8). Setting the virtual desktop to the size of my monitor makes the game display correctly, but the resolution doesn't switch (instead, the game takes up an 800x600 square in the top left of my screen). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor --- Comment #7 from Vitaliy Margolen <vitaliy-bugzilla(a)kievinfo.com> 2012-03-18 23:21:30 CDT --- (In reply to comment #6) That is expected behavior with VD enabled and set to full screen. If you set VD's size to something smaller it will resize without changing display resolution. Looks to me like a bug in your window manager. Try closing all background programs. Also try disabling 3D desktop effects. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #8 from James McLaughlin <jamie(a)lacewing-project.org> 2012-03-19 12:01:30 CDT --- Nothing seems to help other than changing my desktop resolution prior to launching the game. Should I report this to the XFWM/XFCE developers, then? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #9 from Henri Verbeet <hverbeet(a)gmail.com> 2012-03-19 12:13:10 CDT --- It probably wouldn't hurt if they took a look. This is probably similar to bug 29907, what bothers me a bit is that we're seeing this with multiple different window managers. Does xfwm understand MWM hints? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy(a)gmail.com --- Comment #10 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 12:57:36 CDT --- (In reply to comment #8)
Nothing seems to help other than changing my desktop resolution prior to launching the game.
Does it happen with you test with 1.3.31? I'm wondering if the issue in bug 30314 is the same? could you confirm by testing the following: git clone git://source.winehq.org/git/wine.git ~/wine-git cd ~/wine-git git checkout 2da4f87a7e7551f17cd650ef6d8596f595efc13b^ <compile and try the game> => should work git checkout 2da4f87a7e7551f17cd650ef6d8596f595efc13b <compile and try the game> => should fail -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #11 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 17:13:47 CDT --- (In reply to comment #10)
(In reply to comment #8)
Nothing seems to help other than changing my desktop resolution prior to launching the game.
Does it happen with you test with 1.3.31? I'm wondering if the issue in bug 30314 is the same?
could you confirm by testing the following: git clone git://source.winehq.org/git/wine.git ~/wine-git cd ~/wine-git
git checkout 2da4f87a7e7551f17cd650ef6d8596f595efc13b^ <compile and try the game> => should work
git checkout 2da4f87a7e7551f17cd650ef6d8596f595efc13b <compile and try the game> => should fail
On second thought this shouldn't be necessary, since it's similar to bugs 30314/29907, i.e. likely due to an unnecessary resize by the WM -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #12 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 17:29:58 CDT --- *** Bug 30314 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |SolisX007(a)yahoo.com --- Comment #13 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 17:30:49 CDT --- *** Bug 29907 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|NEW |RESOLVED URL| |http://www.galciv1.com/down | |load.asp Resolution| |UPSTREAM Summary|Screen obscured by black |Screen obscured by black |box when game changes |box when game changes |resolution |resolution, using | |xfwm/icewm --- Comment #14 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 17:53:25 CDT --- In summary: looks like a failure in xfwm 4.8 (XFCE) and icewm 1.3.7 (works in other WMs, like metacity) Game works fine when emulating a virtual desktop, which seems to confirm that fact. Seems to happens only when in fullscreen. See http://bugs.winehq.org/show_bug.cgi?id=29907#c9 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #15 from James McLaughlin <jamie(a)lacewing-project.org> 2012-04-02 18:23:22 CDT --- For what it's worth, I just tried openbox and the resolution failed to change (similar to what happened when I enabled virtual desktop). -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.xfce.org/s | |how_bug.cgi?id=8622 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #16 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 19:03:35 CDT --- IceWM bug: https://sourceforge.net/tracker/?func=detail&aid=3514302&group_id=31&atid=10... (couldn't add it in the "See Also" header section) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.s.gilbert(a)gmail.com --- Comment #17 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-02 19:06:57 CDT --- *** Bug 19194 has been marked as a duplicate of this bug. *** -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Fab <netfab(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |netfab(a)gmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #18 from Henri Verbeet <hverbeet(a)gmail.com> 2012-04-03 05:47:57 CDT --- Created attachment 39661 --> http://bugs.winehq.org/attachment.cgi?id=39661 patch The attached patch should mitigate the issue by fixing context_apply_blit_state() to properly take the window size into account. Nevertheless, this doesn't change the fact that the window manager resizes the fullscreen (after the mode change) window to the (original) desktop size instead of keeping it at the current screen size. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |baff64a27aa18dd76b17017b497 | |7dc22aa3ebad1 Resolution|UPSTREAM |FIXED --- Comment #19 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-05 18:27:08 CDT --- (In reply to comment #18)
Created attachment 39661 [details] patch
The attached patch should mitigate the issue by fixing context_apply_blit_state() to properly take the window size into account. Nevertheless, this doesn't change the fact that the window manager resizes the fullscreen (after the mode change) window to the (original) desktop size instead of keeping it at the current screen size.
Patch was committed -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 --- Comment #20 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-04-11 03:37:55 CDT --- (In reply to comment #18)
Created attachment 39661 [details] patch
The attached patch should mitigate the issue by fixing context_apply_blit_state() to properly take the window size into account. Nevertheless, this doesn't change the fact that the window manager resizes the fullscreen (after the mode change) window to the (original) desktop size instead of keeping it at the current screen size.
FWIW, https://bugzilla.xfce.org/show_bug.cgi?id=8622#c15 http://git.xfce.org/xfce/xfwm4/commit/1f9b6ef5?id=1f9b6ef5ff38c53785ff9cf128... -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #21 from Alexandre Julliard <julliard(a)winehq.org> 2012-04-13 13:27:55 CDT --- Closing bugs fixed in 1.5.2. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.4.x -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30213 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.4.x |--- -- 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.
https://bugs.winehq.org/show_bug.cgi?id=30213 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |focht(a)gmx.net Component|-unknown |directx-d3d -- 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.
participants (1)
-
wine-bugs@winehq.org