http://bugs.winehq.org/show_bug.cgi?id=31967
Bug #: 31967 Summary: Unreal Engine games don't render anything on OS X Product: Wine Version: 1.5.14 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: thanoulas@gmail.com Classification: Unclassified
Created attachment 42118 --> http://bugs.winehq.org/attachment.cgi?id=42118 Diff patch of the hack described in the post
All unreal engine games don't start on OS X. I've attached a patch that makes the games playable, but this patch is causing sync issues in the game animations, and causes XCOM: Enemy Unknown to crash when going in game.
The problem must be somewhere else, I've only attached the hack to give you guys a clue of where the problem might be, so you can create a proper patch
Thanks and keep up the great work
http://bugs.winehq.org/show_bug.cgi?id=31967
thanoulas thanoulas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |thanoulas@gmail.com OS/Version|Linux |Mac OS X
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #1 from thanoulas thanoulas@gmail.com 2012-10-14 06:08:38 CDT --- Some example games affected: Batman Arkham City XCOM: Enemy Unknown Borderlands 2
I should also note that my OS X is 10.8.2 but I've had this issue since 10.7.x
http://bugs.winehq.org/show_bug.cgi?id=31967
thanoulas thanoulas@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.5.14 |1.5.15
http://bugs.winehq.org/show_bug.cgi?id=31967
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch Component|-unknown |directx-d3d
http://bugs.winehq.org/show_bug.cgi?id=31967
darrrk dark-vlados@mail.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark-vlados@mail.ru
--- Comment #2 from darrrk dark-vlados@mail.ru 2013-01-23 23:01:40 CST --- This is major bug, because it's garbage all games on OS X, which used Unreal engine.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #3 from darrrk dark-vlados@mail.ru 2013-01-23 23:04:25 CST --- (In reply to comment #1)
Some example games affected: Batman Arkham City XCOM: Enemy Unknown Borderlands 2
I should also note that my OS X is 10.8.2 but I've had this issue since 10.7.x
I confirm, that Borderlands 2 affected.
thanoulas, if you shure, that "Batman Arkham City" and "XCOM: Enemy Unknown" affected too. Please, add this games in "Show Apps affected by this bug" list.
http://bugs.winehq.org/show_bug.cgi?id=31967
betaguy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |betaguy@gmail.com
--- Comment #4 from betaguy@gmail.com 2013-03-07 21:43:10 CST --- I can confirm that this patch works for Borderlands 2 under 10.8.2, although the screen is oddly sized: it's set to render at 1920x1200 but only renders 1920x1127 (probably because of OS X's menu bar). Other than that, the only issue I can find is that the mouse sometimes disappears randomly when going through the menus - everything else works well. Performance is actually a ton better than the native Aspyr port!
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #5 from thanoulas thanoulas@gmail.com 2013-03-08 18:39:55 CST --- Added affected games in the list.
Can also verify the following UE3 games: Dishonored DmC: Devil May Cry
http://bugs.winehq.org/show_bug.cgi?id=31967
Benjamin Hodgetts ben@xnode.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ben@xnode.org Summary|Unreal Engine games don't |Unreal Engine 3 games don't |render anything on OS X |render anything on OS X
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #6 from Benjamin Hodgetts ben@xnode.org 2013-05-17 05:35:28 CDT --- Corrected subject to be more specific.
http://bugs.winehq.org/show_bug.cgi?id=31967
Loris Zinsou the-lz-himself@orange.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |the-lz-himself@orange.fr
--- Comment #7 from Loris Zinsou the-lz-himself@orange.fr 2013-07-26 09:08:03 CDT --- I confirm this bug also happens on Ubuntu 13.04. I tried XCOM : Enemy Unknown and Dishonored. For both of them, I have the intro video and menu sound playing, but no window is showing up.
I can work around this bug by configuring wine to use a virtual desktop (but virtual desktop is broken in Ubuntu 13.04, with Unity showing on top of it even if it is fullscreen).
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #8 from thanoulas thanoulas@gmail.com 2013-07-29 11:37:37 CDT --- Still present in 1.6 stable and OS X 10.8.4 Provided patch still fixes the issue
http://bugs.winehq.org/show_bug.cgi?id=31967
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #42118|0 |1 is patch| | Attachment #42118|application/octet-stream |text/plain mime type| |
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #9 from Loris Zinsou the-lz-himself@orange.fr 2013-07-30 06:08:47 CDT --- Somebody should chnage the subject because Linux is also affected.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #10 from thanoulas thanoulas@gmail.com 2013-07-30 06:10:46 CDT --- (In reply to comment #9)
Somebody should chnage the subject because Linux is also affected.
Does the provided patch work for you on linux?
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #11 from Loris Zinsou the-lz-himself@orange.fr 2013-07-31 10:51:05 CDT --- I don't know yet, as bulding wine on currently supported Ubuntu versions is some kind of a hassle. I'll have to take time to set up a building environment.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #12 from Austin English austinenglish@gmail.com 2013-08-02 12:47:16 CDT --- Do any of these games have a free demo/download available?
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #13 from betaguy@gmail.com 2013-08-02 13:12:01 CDT --- (In reply to comment #12)
Do any of these games have a free demo/download available?
Batman: Arkham Asylum has a demo available.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #14 from Loris Zinsou the-lz-himself@orange.fr 2013-08-02 16:30:12 CDT --- XCOM : Enemy Unknown also has a demo on steam.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #15 from Austin English austinenglish@gmail.com 2013-08-02 19:01:41 CDT --- (In reply to comment #13)
(In reply to comment #12)
Do any of these games have a free demo/download available?
Batman: Arkham Asylum has a demo available.
http://www.gamershell.com/download_49402.shtml
Runs fine on Linux. On OSX, I get problems with wbemproxy. They happen on linux as well, but when I get to the menu on osx, I can't get any further, the text doesn't display well and the errors appear to be fatal.
I didn't try the x-com demo.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #16 from thanoulas thanoulas@gmail.com 2013-08-02 19:04:04 CDT --- (In reply to comment #15)
(In reply to comment #13)
(In reply to comment #12)
Do any of these games have a free demo/download available?
Batman: Arkham Asylum has a demo available.
http://www.gamershell.com/download_49402.shtml
Runs fine on Linux. On OSX, I get problems with wbemproxy. They happen on linux as well, but when I get to the menu on osx, I can't get any further, the text doesn't display well and the errors appear to be fatal.
I didn't try the x-com demo.
The reported game here is Batman Arkham City, not Arkham Asylum. I'm not sure whether Arkham Asylum is affected by this bug
Any Unreal Engine 3 game should behave the same at least under OS X
http://bugs.winehq.org/show_bug.cgi?id=31967
Chiitoo escomk3@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |escomk3@hotmail.com
--- Comment #17 from Chiitoo escomk3@hotmail.com 2013-08-03 16:14:19 CDT --- I tried the demo for Batman - Arkham City as well as for Quantum Conundrum, and they both do start (though Batman requires some dotnet magick). Batman renders things fine from what I could see. I was, however, experiencing some weird mouse or/and game-pad issues with both demos, where the camera would constantly move by itself so that I was looking up... but that's another story.
Quantum Conundrum has some issues with rendering the graphics once in-game, but I have a feeling it's not what this bug is about.
Moreover, the AppDB suggests that the full versions of the Batman game as well as XCOM - Enemy Unknown work fine on Linux. I have no full versions games using the Unreal Engine 3 to try out, but I might grab some more demos, even though Austin already posted similar results.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #18 from betaguy@gmail.com 2013-08-03 16:49:28 CDT --- I tried the Batman: Arkham Asylum demo without the patch (under 1.7.0) on a 2013 MacBook Air and only got a black screen; no audio from the intro movies or anything, so I'm assuming the game startup didn't even get that far.
With the query.c patch the game is playable; intro movies play and the menus work. No problems with text or the camera from what I could tell – the game ran really slowly since the HD 5000 in the MacBook Air isn't really up to the task, so I didn't play for long.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #19 from betaguy@gmail.com 2013-08-03 16:51:10 CDT --- Forgot to mention that I was using OS X 10.8.4.
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #20 from Loris Zinsou the-lz-himself@orange.fr 2013-08-03 18:57:01 CDT --- I finally was able to build wine 1.6 with the patch provided, and now XCOM : EU and Dishonored are ok, without using a virtual desktop.
Actually, the intro movies do not show, but once the main menu is loaded (i can tell that from the ambient sound), the game window finally shows up and starts rendering the game perfectly fine.
Maybe i have this issue because i use primus to run wine games...
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #21 from Chiitoo escomk3@hotmail.com 2013-08-03 23:59:08 CDT --- Seems like I forgot to mention what I tried them things on!
Linux-3.9.11-ck-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.2
With Wine versions from 1.6 to 1.7.
Just tried XCOM - Enemy Unknown as well, and that works, too, but even that has something weird going on with the mouse/movement controls for me. The view keeps moving towards the 'north-west' by itself.
Weird!
http://bugs.winehq.org/show_bug.cgi?id=31967
Silviu C. silviucc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |silviucc@gmail.com
--- Comment #22 from Silviu C. silviucc@gmail.com 2013-11-19 13:27:56 CST --- The original poster says that Unreal Engine 3 games don't *start* but the title says they don't *render*. Do they indeed not start at all or do they start but don't show anything on screen while sound still plays in the background?
That is the behaviour I get with Borderlands 2, XCOM Enemy Unknown and Batman Arkham City on Ubuntu 12.04. With the first two titles it's a bit easier, because the window manager gets a hint that a widow is created, it shows it in the taskbar, and I can get to the game by doing an Alt+Tab. I can't do this with Arkham City. The sound plays in the background but the window manager has no clue that the game, probably, created a window somewhere so I have to force it to a virtual desktop.
I wonder if this is not a case of wine creating a window that somehow gets placed behind the actual desktop, think of these things like layers. The background layer should be the desktop but somehow this window that the game created managed to get behind the "desktop layer"
http://bugs.winehq.org/show_bug.cgi?id=31967
WineBuG winebugs140@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ken@codeweavers.com
http://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #23 from thanoulas thanoulas@gmail.com 2013-11-21 09:58:47 CST --- I think it's irrelevant to window creation, mostly based on the patch I provided. The window does get created, but nothing works on that. All you can see is a black screen and no sound or anything else plays in the background. If you apply the patch, you do see some weird window behaviour, but it doesn't look different to what happens without the patch ( excluding the black screen of course ).
The game creates a window with a splash image, and a window where the render target is. This gets minimized for a while, until the game starts up, then gets maximized and pulled to the front. The same happens on the non patched version, but after the window where the game gets rendered is brought to the front all you see is black, and nothing happens in the background.
I've added some trace messages to the query.c file which showed that the game was actually looping through the GL_TIMEOUT_EXPIRED case in the event_query_test function. Forcing this to return WINED3D_EVENT_QUERY_OK fixed the problem
https://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #24 from Austin English austinenglish@gmail.com --- Is this still an issue in 1.7.36?
https://bugs.winehq.org/show_bug.cgi?id=31967
Rüdiger Hanke haskeller@fastmail.fm changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |haskeller@fastmail.fm
--- Comment #25 from Rüdiger Hanke haskeller@fastmail.fm --- (In reply to Austin English from comment #24)
Is this still an issue in 1.7.36?
Since noone replied yet, I'd like to report that I believe it is still an issue.
I'm having the exact problem as described here with "Brothers: A Tale of Two Sons", also an Unreal Engine 3 game, on MacOS.
I have tried it once more with Wine 1.7.36 and after the logo, I just get a black screen.
If it helps with tracking this issue down, if I set the "Wine/Direct3D/StrictDrawOrdering" registry key to "enabled", the game works.
https://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #26 from thanoulas thanoulas@gmail.com --- I can confirm this is still an issue with wine 1.7.51 and OS X 10.11GM
https://bugs.winehq.org/show_bug.cgi?id=31967
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #27 from winetest@luukku.com --- (In reply to thanoulas from comment #26)
I can confirm this is still an issue with wine 1.7.51 and OS X 10.11GM
1.7.51 is really old by now. Can someone test this bug against wine 2.x series?
https://bugs.winehq.org/show_bug.cgi?id=31967
--- Comment #28 from Rüdiger Hanke haskeller@fastmail.fm --- At least for "Brothers: A Tale of Two Sons" the black screen is no longer an issue with recent 2.x Wine versions.
https://bugs.winehq.org/show_bug.cgi?id=31967
Oscar van Vliet ovvldc@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ovvldc@gmail.com
--- Comment #29 from Oscar van Vliet ovvldc@gmail.com --- I ran Mass Effect 3 with a Wine 2.6 Staging and had no troubles with black screens.
https://bugs.winehq.org/show_bug.cgi?id=31967
Matteo Bruni matteo.mystral@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #30 from Matteo Bruni matteo.mystral@gmail.com --- (In reply to Rüdiger Hanke from comment #25)
If it helps with tracking this issue down, if I set the "Wine/Direct3D/StrictDrawOrdering" registry key to "enabled", the game works.
It should be fixed by csmt (you still need to enable it in the registry for the time being).
https://bugs.winehq.org/show_bug.cgi?id=31967
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #31 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.10.