doitsujin / dxvk

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

Star Wars Battlefront 2015 Radeon driver error message #968

Closed ghost closed 5 years ago

ghost commented 5 years ago

I got Star Wars Battlefront 2015 to run in wine yesterday. But it really needs DXVK in order to be able to solve various graphical glitches. The problem I'm having with DXVK enabled, is that SWBF brings up an error message that the AMD driver isn't detectable, and that the game requires a Radeon driver of a certain version to be able to function. There must be some kind of driver version checker that takes place before it launches the game. I tried putting some registry entries in with the wine registry editor, to see if I could spoof a Radeon driver version. I wasn't able to get that to work however, or not in a way that the SWBF driver checker recognises.

Software information

Star Wars Battlefront (2015 version), Wine tkg-4.0 DXVK 1.0

System information

Tk-Glitch commented 5 years ago

I would try disabling the nvapi hack as well as disabling nvapi.dll/nvapi64.dll in your wine prefix. Frostbite usually doesn't like the hack.

ghost commented 5 years ago

Ah thanks :) Interesting. Yea that seems to be what this guy over at Lutris did for me to get the game to work with DXVK:

https://forums.lutris.net/t/help-with-star-wars-battlefront-2015/5222/2

doitsujin commented 5 years ago

Can you post the log files, or the exact name of the executable? I'll add a workaround, Frostbite games are know to not work well with the nvapi hack.

ghost commented 5 years ago

Hi, there are two exe's that people would use: starwarsbattlefront.exe starwarsbattlefronttrial.exe

The latter is for the trial version of the game and isn't used by the full version to my knowledge, though it's been downloaded into my game directory by Origin for some reason.

I'm sort of a newb with this sort of stuff, so I don't know how to get my logs.

misyltoad commented 5 years ago

I'm sort of a newb with this sort of stuff, so I don't know how to get my logs.

The logs should be in the folder of the game binaries. Look for starwarsbattlefront_d3d11.log and starwarsbattlefront_dxgi.log

If they aren't in the game binary folder then they maybe wherever Origin decided to have its working dir; you can probably do a search for these files starting from your Origin folder in this case.

ghost commented 5 years ago

Are these any good?

o264_log_0.txt o264_log_1.txt

misyltoad commented 5 years ago

These are logs from a video encoder.

misyltoad commented 5 years ago

Look for starwarsbattlefront_d3d11.log and starwarsbattlefront_dxgi.log in the game binary directory or somewhere in your Origin path.

If you are playing the trial then it would be starwarsbattlefronttrial_d3d11.log and starwarsbattlefronttrial_dxgi.log

ghost commented 5 years ago

Haha. Maybe they were from the program I was using for screen recordings.

Hmm, here we go: starwarsbattlefront_d3d11.log starwarsbattlefront_dxgi.log

Thanks for your help and patience Josh :)