doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.26k stars 853 forks source link

Civilization VI crash on start #731

Closed hartmark closed 3 years ago

hartmark commented 6 years ago

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.

Crash on start when trying launching Civ6 with help of proton and DXVK

Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and a D3D11 Apitrace (see https://github.com/apitrace/apitrace

) so that the issue can be reproduced. In order to create a trace, run wine apitrace.exe trace -a dxgi YOURGAME.exe. DO NOT use DXVK together with apitrace!

Software information

Sid Meier's Civilization VI

System information

Apitrace file(s)

Log files

https://my.pcloud.com/publink/show?code=kZMkl97ZMpjsG0b2kymPSBtRcDWHBXzD0887

doitsujin commented 6 years ago

Can't debug without an apitrace.

hartmark commented 6 years ago

Is not the .trace file the apitrace?

That's the file I got in the application folder. Perhaps I'm holding it wrong.

doitsujin commented 6 years ago

Ah, missed it because of your weird way of formatting your post. But it's useless since you recorded it with DXVK enabled, it only contains one frame and replaying it doesn't trigger a crash. Please record it on wined3d (if that works) or in Windows.

Also, please post the full wine console output.

hartmark commented 6 years ago

Alright, I'll try get better logs when i get home from work.

hartmark commented 6 years ago

I think I was able to get logs now without DXVK enabled https://my.pcloud.com/publink/show?code=kZHxE97ZFgHsCEJM4zQR1CMeN4RzdRoWmH8V

I used the trick with the modified dlls in the game folder.

hartmark commented 6 years ago

@doitsujin

doitsujin commented 6 years ago

Don't see anything useful in those logs. I need an apitrace that is not recorded with DXVK because that doesn't include whatever triggers the crash, assuming that this is even my bug.

hartmark commented 6 years ago

How do I disable dxvk? I tried both "setup_dxvk32 reset" and "setup_dxvk64 reset" but the logs still print out the dxvk version number

TheGreatMcPain commented 6 years ago

How do I disable dxvk? I tried both "setup_dxvk32 reset" and "setup_dxvk64 reset" but the logs still print out the dxvk version number

Try and use winecfg to set dxgi, and d3d11 to built-in.

hartmark commented 6 years ago

I were finally able to make it running without DXVK, it seems proton adds this override in the launcher WINEDLLOVERRIDES="xaudio2_7=n,b;dxgi=n;d3d11=n" and removing that I were able to get it to crash.

Are these new logs usable? https://my.pcloud.com/publink/show?code=kZIfnM7ZacaJblo02D5S6IkgneJcqVIctibk

ah- commented 6 years ago

Doesn't Civ VI have a native port?

hartmark commented 6 years ago

Doesn't Civ VI have a native port?

Yeah, but it doesn't support cross-platform play and I have also problems with it getting stuck in the loading screen.

kliu128 commented 5 years ago

I can reproduce the issue on DXVK v0.93.

Log (wine) and apitrace without dxvk installed:

CivilizationVI.exe.zip

doitsujin commented 5 years ago

@Pneumaticat that apitrace isn't terribly useful because it doesn't really do anything. It also doesn't crash when replaying it with DXVK.

MegWATTT commented 5 years ago

I just tested DXVK on Windows for Civ VI and it was fine. No issues so far. Civ VI never worked on Wine for me, with both Wined3d or DXVK.

uniformbuffer commented 4 years ago

Hi, i'm sorry to bump this thread from a year ago, but i'm interested in the topic and i have some questions. Have anyone noticed that the linux version of the game is a wine wrapped window version? (you can find a folder called "wine64steam" where there are window executables) So the main question is: can the linux shipped wine configuration and prefix applied to a generic wine (or proton) machine? So maybe can be possible to use a configured proton to run the window version of the game, with dxvk, esync and so on. What do you think? Is it possible?

Edit: seems i read wrong, the folder is called ''win64steam". Anyway it is strange that there are Window binaries inside Linux client

doitsujin commented 3 years ago

seems to work nowadays.