http://bugs.winehq.org/show_bug.cgi?id=29301
Bug #: 29301 Summary: Master of Orion 3 shows only black screen with resolutions>800x600 Product: Wine Version: 1.3.7 Platform: x86 OS/Version: Linux Status: NEW Keywords: regression Severity: minor Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com CC: hverbeet@gmail.com Classification: Unclassified Regression SHA1: 7e3985e1fea60da73bae2b9465b94e5d110909fc
Only black screen and the mouse pointer can be seen when starting MoO 3 with resolutions higher than 800x600 (that's the only resolution supported by the game, and there is no way to change it via game option). This happens both in full-screen and virtual desktop mode. Apart from that the game is running, you can hear the sound of the intros and the sound effect when the mouse pointer passes a menu option, but nothing can be seen.
Workaround: either set a virtual desktop sized to 800x600, or change your desktop resolution to 800x600 before launching the game in Wine's full-screen mode.
In the terminal: fixme:win:EnumDisplayDevicesW ((null),0,0x32ef94,0x00000000), stub! err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x16 @85! (XRandR) fixme:d3d_surface:wined3d_surface_blt Blit clipping not implemented. ...
The last fixme is repeated over and over again, filling up the logfile until I quit the game. That line is not present when the game is running @800x600.
This is a regression, caused by
7e3985e1fea60da73bae2b9465b94e5d110909fc is the first bad commit commit 7e3985e1fea60da73bae2b9465b94e5d110909fc Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Nov 8 11:50:33 2010 +0100
ddraw: Setup the device window in SetCooperativeLevel().
git checkout 7e3985e1fea60da73bae2b9465b94e5d110909fc >>black screen git reset --hard HEAD^ >>game screen appears correctly at any screen resolutions
Other opened bug report(s) with this commit: bug #25417. No demo available. Please let me know if you need a log with debug channels enabled.
Fedora 16 x86 Nvidia 250 / driver 290.10 X.Org X Server 1.11.2
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #1 from Henri Verbeet hverbeet@gmail.com 2011-12-13 15:23:48 CST --- (In reply to comment #0)
fixme:d3d_surface:wined3d_surface_blt Blit clipping not implemented. ...
The last fixme is repeated over and over again, filling up the logfile until I quit the game. That line is not present when the game is running @800x600.
10d2a9375ddfac47de8957c7d126a28d82f15701 should have made that fixme go away, although that's no guarantee that it renders correctly now. If it doesn't, is there a demo for this?
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #2 from GyB gyebro69@gmail.com 2011-12-13 21:22:33 CST --- Created attachment 37963 --> http://bugs.winehq.org/attachment.cgi?id=37963 screenshot, MoO3 @1024x768 resolution
10d2a9375ddfac47de8957c7d126a28d82f15701 should have made that fixme go away, although that's no guarantee that it renders correctly now. If it doesn't, is there a demo for this?
Indeed, something has changed in wine-1.3.34-295-g4918d91: instead of the black screen, the game screen is displayed now, but only the upper left part of the screen is shown. Here I'm attaching 2 screenshots to demonstrate how the game looks like now with different resolutions. The screenshots were taken while the game was running in virtual desktop mode, but the same happens with Wine's full-screen mode too.
As far as I know no demo exists for Master of Orion 3.
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #3 from GyB gyebro69@gmail.com 2011-12-13 21:23:23 CST --- Created attachment 37964 --> http://bugs.winehq.org/attachment.cgi?id=37964 screenshot, MoO3 @1440x900 resolution
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #4 from GyB gyebro69@gmail.com 2011-12-13 21:38:00 CST --- Henri, I can gift you a copy of the game available through GOG.com digital distribution service if you contact me in mail.
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #5 from Henri Verbeet hverbeet@gmail.com 2011-12-17 09:46:57 CST --- Is http://www.fileplanet.com/133062/130000/fileinfo/Master-of-Orion-III-Trial-C... the same game?
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #6 from GyB gyebro69@gmail.com 2011-12-17 10:17:12 CST --- (In reply to comment #5)
Is http://www.fileplanet.com/133062/130000/fileinfo/Master-of-Orion-III-Trial-C... the same game?
Yeah, that is a demo for MoO3. The only problem with that download is that it contains a browser based launcher with some Activemark protection. The <Play now> button is useless in the browser. Winetricks ie6 might help but after launching the demo several times in a row, I realized that the <Play now> button became unclickable again for some unknown reasons.
http://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #7 from Henri Verbeet hverbeet@gmail.com 2012-01-27 11:16:26 CST --- Created attachment 38571 --> http://bugs.winehq.org/attachment.cgi?id=38571 hack
I was able to reproduce this with the demo. The bug happens because we set the WS_POPUP style on the game's window, which confuses the application. We're not supposed to touch the window styles at all, but we can't just draw over the window decorations using OpenGL. Unfortunately we can't just get rid of WS_POPUP either, it would break other applications.
http://bugs.winehq.org/show_bug.cgi?id=29301
Johan Gardhage johan.gardhage@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |johan.gardhage@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #8 from Ken Thomases ken@codeweavers.com --- Please see bug 35718, comment 39, which has a patch to test which should also work for this bug. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=29301
Ken Thomases ken@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=29301
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |http://bugs.winehq.org/show | |_bug.cgi?id=35718
--- Comment #9 from Béla Gyebrószki gyebro69@gmail.com --- (In reply to Ken Thomases from comment #8)
Please see bug 35718, comment 39, which has a patch to test which should also work for this bug. Thanks.
The mentioned patch indeed fixes the problem in MoO 3 for me.
Tested with Wine 1.7.17 on Fedora 20 Nvidia binary drivers 337.12 X.Org X Server 1.14.4
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #10 from Béla Gyebrószki gyebro69@gmail.com --- Still in wine-1.7.34-36-g4493323
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #11 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.8-rc1.
Fedora 23 OpenGL vendor string: nouveau OpenGL renderer string: Gallium 0.4 on NV92 OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0-devel OpenGL core profile shading language version string: 3.30
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #12 from Béla Gyebrószki gyebro69@gmail.com --- Still present in 1.9.22.
Fedora 24 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce GT 730/PCIe/SSE2 OpenGL core profile version string: 4.5.0 NVIDIA 375.10
https://bugs.winehq.org/show_bug.cgi?id=29301
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #13 from joaopa jeremielapuree@yahoo.fr --- Still a bug in current wine?
https://bugs.winehq.org/show_bug.cgi?id=29301
Béla Gyebrószki gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Master of Orion 3 shows |Master of Orion 3 shows |only black screen with |only a portion of the |resolutions>800x600 |screen when screen | |resolution >800x600
--- Comment #14 from Béla Gyebrószki gyebro69@gmail.com --- Still present in wine-3.11-150-g80205232d3.
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #15 from joaopa jeremielapuree@yahoo.fr --- Bu still occurs wit vanilla wine-4.9
https://bugs.winehq.org/show_bug.cgi?id=29301
pattietreutel katyaberezyaka@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |katyaberezyaka@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=29301
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |https://www.fileplanet.com/ | |archive/p-8679/Master-of-Or | |ion-III-Trial-Client
--- Comment #16 from Gijs Vermeulen gijsvrm@gmail.com --- Still present with wine-6.0-rc2-31-g79e2672858c.
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #17 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-7.16
https://bugs.winehq.org/show_bug.cgi?id=29301
--- Comment #18 from joaopa jeremielapuree@yahoo.fr --- Bug still occurs with wine-8.16