https://bugs.winehq.org/show_bug.cgi?id=43162
Bug ID: 43162 Summary: Elite Dangerous: broken rendering after starting a new game Product: Wine Version: 2.10 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: kimmo.myllyvirta@gmail.com Distribution: ---
Created attachment 58416 --> https://bugs.winehq.org/attachment.cgi?id=58416 terminal output
Videos and menus works ok, but everything in-game is black and white, with "fog" covering everything. Sometimes it shows just a black screen.
32-bit prefix with winetricks dotnet452 corefonts quartz vcrun2012 wine-2.10-dev, GTX 980 (375.66 blob), Ubuntu 16.04.2 Game version 2.3.02 r143095
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #1 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 58417 --> https://bugs.winehq.org/attachment.cgi?id=58417 screenshot
Screenshot, wine-2.10-dev
https://bugs.winehq.org/show_bug.cgi?id=43162
Kimmo Myllyvirta kimmo.myllyvirta@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |41972 Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=43162
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #2 from winetest@luukku.com --- wine: Call from 0x7b43c479 to unimplemented function api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.RoGetParameterizedTypeInstanceIID, aborting
I think it's worth to add depency at bug 42701.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #3 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- (In reply to winetest from comment #2)
wine: Call from 0x7b43c479 to unimplemented function api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll. RoGetParameterizedTypeInstanceIID, aborting
I think it's worth to add depency at bug 42701.
Probably best to add that to the bug 41972, if anywhere. Those come from the .NET launcher app, not from the game itself which is started at around line 837 in that terminal output (you can ignore everything above that line). However, even with those errors the launcher works (at least enough to get the game started).
https://bugs.winehq.org/show_bug.cgi?id=43162
Martin martin@budsjo.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@budsjo.se
https://bugs.winehq.org/show_bug.cgi?id=43162
Peteris Krisjanis pecisk@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pecisk@gmail.com
--- Comment #4 from Peteris Krisjanis pecisk@gmail.com --- Created attachment 58485 --> https://bugs.winehq.org/attachment.cgi?id=58485 dotnet error
I tried to recreate it (using same winetricks) and getting this .NET error when trying to run Launcher. When I tried with dotnet40 I get game installed, but it hangs when trying to connect to server (it gets to main menu though).
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #5 from Peteris Krisjanis pecisk@gmail.com --- ED now hangs after intro video, seems to be due of shaders/d3x11. Log attached.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #6 from Peteris Krisjanis pecisk@gmail.com --- Created attachment 58734 --> https://bugs.winehq.org/attachment.cgi?id=58734 ED failing to get pass intro video with Wine 2.12
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #7 from Peteris Krisjanis pecisk@gmail.com --- So with Wine 2.12 it does not pass intro video all the time, with Wine 2.10 it does pass intro video sometimes, but I couldn't get menu working to test rendering. Sometimes rendering hangs. There's lot of shader errors. Good question is how to proceed with them?
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #8 from Peteris Krisjanis pecisk@gmail.com --- So there's few specific things going on with ED launch at 2.12 and 2.13
* dxgi_swapchain_Present Unimplemented sync interval 1
This is covered by https://msdn.microsoft.com/en-us/library/windows/desktop/bb174576(v=vs.85).a... - I get awfully lot of these, and I when I get to menu it is frozen and it feels like this have something to do with it.
* Lots of shader errors from d3d_shader with print_glsl_info_log, shader_sm4_read_instruction_modifier and Unhandler modifier errors, also d3d11 reporting additionally about unhandled chunks
In both cases question is can it cause hang I see with ED in 2.12 and 2.13 and how to proceed.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #9 from Peteris Krisjanis pecisk@gmail.com --- Wine 2.12 staging improves situation that game always gets to main menu and seems to be connecting to server most of time. However main menu doesn't seem to react to anything and video in background doesn't play.
https://bugs.winehq.org/show_bug.cgi?id=43162
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |42701
https://bugs.winehq.org/show_bug.cgi?id=43162
ImperatorS79 fevrier.simon@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fevrier.simon@gmail.com
--- Comment #10 from ImperatorS79 fevrier.simon@gmail.com --- Any news with 2.16-staging ?
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #11 from Peteris Krisjanis pecisk@gmail.com --- Haven't gotten 2.16 staging run yet, but for 2.15 both 32-bit and 64-bit ED versions hang on shader compiling. So we don't even get to running game yet :)
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #12 from ImperatorS79 fevrier.simon@gmail.com --- (In reply to Peteris Krisjanis from comment #11)
Haven't gotten 2.16 staging run yet, but for 2.15 both 32-bit and 64-bit ED versions hang on shader compiling. So we don't even get to running game yet :)
Did you try some winetricks thing (like d3dcompiler ?)
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #13 from Peteris Krisjanis pecisk@gmail.com --- What is d3dcompiler? :)
I am using modified winetricks dotnet452 corefonts quartz vcrun2012 as detailed by Kimmo.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #14 from Peteris Krisjanis pecisk@gmail.com --- Good thing is .NET 64-bit launcher works, so EDH is launched correctly. But that's stopped by shader compiling hang. If anyone want to investigate that hang, be my guest, instructions for installing and detailed report is here https://forums.frontier.co.uk/showthread.php/366894-How-to-install-ED-on-Lin...
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #15 from ImperatorS79 fevrier.simon@gmail.com --- I have seen that dotnet452 sets the os version to windows 2003.
Did the game really need it ? What happen if you set the OS version to windows 7 ?
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #16 from Peteris Krisjanis pecisk@gmail.com --- If you will follow instructions I pointed to Frontier forums, I always set Windows version back to Windows 7 after winetricks command. Result with both Windows 2003 and Windows 7 essentially the same though - game hanging. I suspect I will create new ticket on 64-bit ED as 32-bit will become irrelevant in about 1 week's time (ED 2.4 release will mark end of 32-bit support).
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #17 from Peteris Krisjanis pecisk@gmail.com --- Of course if you have spare time, some Wine debugging skills and want to create ticket yourself, definitely do that - just link it here so I know where to drop my comments for newest testing.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #18 from ImperatorS79 fevrier.simon@gmail.com --- Any news 2 months later (with 2.21 or 2.20-staging ?)
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #19 from Peteris Krisjanis pecisk@gmail.com --- Currently only 64-bit version is supported, as with EDH 2.4 32-bit is no longer supported.
64-bit launcher works as far login, install and launching game goes.
There are several issues with EDH 2.4 version at the moment:
* Connection CRC error https://bugs.winehq.org/show_bug.cgi?id=43464
This could be easy picking for just digging around with logs and understanding what's going on
* And there's lot of shader compiling errors because Wine does not fully support them all yet (for those I have no ticket, because it would be wise to get specific issue reported with corresponding logs);
Unfortunately no success to get game run even with broken rendering.
https://bugs.winehq.org/show_bug.cgi?id=43162 Bug 43162 depends on bug 42701, which changed state.
Bug 42701 Summary: Multiple apps and games using MS .NET Framework 4.x need api-ms-win-core-winrt-roparameterizediid-l1-1-0.dll.RoGetParameterizedTypeInstanceIID (Mafia III, Daylight) https://bugs.winehq.org/show_bug.cgi?id=42701
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #20 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 59759 --> https://bugs.winehq.org/attachment.cgi?id=59759 hack for wine staging 2.21
I'll leave this hack here for now. I can try it only with the combat training tutorial until bug 43464 is fixed, and upcoming wine 2.22 needs a different patch.
In short; Tried nvidia graphics debugger. The game is using garbage volume texture in the final steps, which results to black screen or garbage. It needs support for 3d->3d and 2d->3d copy in wined3d_device_copy_sub_resource_region.
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #21 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- Created attachment 59760 --> https://bugs.winehq.org/attachment.cgi?id=59760 screenshot, wine 2.21 staging with copy_subresource hack
https://bugs.winehq.org/show_bug.cgi?id=43162
Józef Kucia joseph.kucia@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Elite Dangerous: broken |Elite Dangerous: broken |rendering after starting a |rendering after starting a |new game |new game (3D blits) CC| |joseph.kucia@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #22 from Peteris Krisjanis pecisk@gmail.com --- Nice work Kimmo, I will try it out myself.
What about compute shader hang? While I get CRC error, overall client hangs when trying to prepare/precompile compute shaders. Any suggestions how to make bug report for that?
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #23 from Kimmo Myllyvirta kimmo.myllyvirta@gmail.com --- (In reply to Peteris Krisjanis from comment #22)
Nice work Kimmo, I will try it out myself.
What about compute shader hang? While I get CRC error, overall client hangs when trying to prepare/precompile compute shaders. Any suggestions how to make bug report for that?
No ideas currently. Running the game with; $ taskset -c 0 wine EDLaunch.exe fixes the hang for me, that is pretty much all I know at the moment. Also the combat training demo can hang at any time, above one fixes that also. (it also runs out of memory after couple of minutes). I'm more interested about the "CRC failed" error atm, which is response from the server (api.orerve.net).
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #24 from Peteris Krisjanis pecisk@gmail.com --- Hi Kimmo!
I just compiled Wine 2.21 staging with your patch and installed combat demo.
Good news - it launched, I got menu and ran first mission, and it did open and I got sound from game.
Bad news - it was still black screen :)
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #25 from Peteris Krisjanis pecisk@gmail.com --- EDH itself prepares shaders and then give login error, which is similar to that we got for 32-bit client around wine 2.10. Which is most likely related to that CRC error anyway.
https://bugs.winehq.org/show_bug.cgi?id=43162
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #26 from joaopa jeremielapuree@yahoo.fr --- Is it still a bug in current wine (3.21)?
https://bugs.winehq.org/show_bug.cgi?id=43162
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #27 from joaopa jeremielapuree@yahoo.fr --- Still a bug with wine-4.19?
https://bugs.winehq.org/show_bug.cgi?id=43162 Bug 43162 depends on bug 41972, which changed state.
Bug 41972 Summary: "Elite: Dangerous" client crashes when starting https://bugs.winehq.org/show_bug.cgi?id=41972
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
https://bugs.winehq.org/show_bug.cgi?id=43162
--- Comment #28 from joaopa jeremielapuree@yahoo.fr --- Does the bug still occur with wine-5.10?