http://bugs.winehq.org/show_bug.cgi?id=30314
Bug #: 30314 Summary: Galactic Civilization Demo I: intro screens partially displayed Product: Wine Version: 1.5.1 Platform: x86-64 URL: http://www.galciv1.com/download.asp OS/Version: Linux Status: UNCONFIRMED Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: frederic.delanoy@gmail.com Classification: Unclassified
Created attachment 39616 --> http://bugs.winehq.org/attachment.cgi?id=39616 Terminal log wine 1.5.1
Download and install 1.03 demo version from above URL.
When launching the game, the intro screens are "cropped", i.e. you only see the 40% or so low part of the screen (the above part is black), until you get the game menu, which is displayed correctly.
Note this doesn't happen if "Emulate Virtual Desktop" is enabled in winecfg
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Galactic Civilization Demo |Galactic Civilization I |I: intro screens partially |demo: intro screens |displayed |partially displayed
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW Summary|Galactic Civilization I |Galactic Civilization 1: |demo: intro screens |intro screens partially |partially displayed |displayed Ever Confirmed|0 |1
--- Comment #1 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-03-31 15:41:48 CDT --- 2da4f87a7e7551f17cd650ef6d8596f595efc13b is the first bad commit commit 2da4f87a7e7551f17cd650ef6d8596f595efc13b Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Oct 24 20:45:42 2011 +0200
wined3d: Upload directly from the source surface in wined3d_surface_blt(), if possible.
This avoids either loading sysmem surfaces into video memory (wasting GPU memory) and then doing a blit on the GPU, or downloading GPU surfaces to sysmem, doing a blit on the CPU, and likely uploading it again. This mostly matters for ddraw and d3d8 applications, d3d9 already has to go through wined3d_device_update_surface() to transfer data from sysmem surfaces to GPU surfaces.
:040000 040000 de2e083e774b6605b4330430830583b12fb510f4 16fd239dcdf7e70872e0ff77f91e66b135638d2b M dlls
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hverbeet@gmail.com Regression SHA1| |2da4f87a7e7551f17cd650ef6d8 | |596f595efc13b
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Galactic Civilization 1: |Galactic Civilizations 1: |intro screens partially |intro screens partially |displayed |displayed
http://bugs.winehq.org/show_bug.cgi?id=30314
--- Comment #2 from Henri Verbeet hverbeet@gmail.com 2012-04-02 05:58:53 CDT --- Seems to work fine here. What window manager are you using? Is this a duplicate of bug 29907 / bug 30213?
http://bugs.winehq.org/show_bug.cgi?id=30314
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-04-02 12:41:34 CDT --- (In reply to comment #2)
Seems to work fine here. What window manager are you using? Is this a duplicate of bug 29907 / bug 30213?
I use xfwm4 (from XFCE 4.8). Looks similar to 30213 (although I can't test the games it mentions).
But bug 29907 mentions "The regression started in wine-1.4-rc1", while for this bug, it occurred between 1.3.31 and 1.3.32
Lowering the resolution helps works around the problem, but makes the game unplayable.
Tried with Baldur's Gate I, and got the same problem (except you also have the problem with the game menu, making it unplayable).
http://bugs.winehq.org/show_bug.cgi?id=30314
--- Comment #4 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-04-02 13:08:58 CDT --- Using metacity instead of xfwm4 seems to work
http://bugs.winehq.org/show_bug.cgi?id=30314
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2012-04-02 15:03:05 CDT --- (In reply to comment #3)
But bug 29907 mentions "The regression started in wine-1.4-rc1", while for this bug, it occurred between 1.3.31 and 1.3.32
I don't think it's really a regression as such. It's possible that those commits change what blitter ends up being used for blitting to the screen (e.g. flush_to_framebuffer_drawpixels() vs. surface_blt_fbo()), and perhaps one of those doesn't handle the resized window properly. I may be able to fix something there, but the fundamental issue is that the window gets resized incorrectly by the window manager for some reason.
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #6 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-04-02 17:29:58 CDT --- Dupe
*** This bug has been marked as a duplicate of bug 30213 ***
http://bugs.winehq.org/show_bug.cgi?id=30314
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Frédéric Delanoy frederic.delanoy@gmail.com 2012-04-02 17:31:24 CDT --- Closing.