doitsujin / dxvk

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

DXVK woks on some games on Radeon RX480 but not on RX VEGA 64 #437

Closed giovannilaura closed 6 years ago

giovannilaura 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.

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!

Game THe long Journej home after selectint training in the start menu game crashes on vega but not on RX480 This happen also for Quantum Break and Just Cause 3

Software information

The long Journey home mesa git llvm git dxvk git wine 3.10

System information

Apitrace file(s)

Log files

WINE LOG tljh_rx480.txt tljh_vega.txt

doitsujin commented 6 years ago

Hm, looks like DXVK is generating broken shaders in some cases. Please run one of the games with the following environment variables set:

DXVK_LOG_LEVEL=debug
DXVK_SHADER_DUMP_PATH=$HOME/shaders

Note that you have to create $HOME/shaders manually first. Please post the resulting d3d11.log.

giovannilaura commented 6 years ago

I guess You are right here the log

tljh-Win64-Shipping_d3d11.log

doitsujin commented 6 years ago

Did that run crash? Doesn't look like it.

In that case, please run

cd $HOME/shaders
find . -name "*.spv" | parallel 'spirv-val {} || echo {}'

and let me know if it outputs anything.

giovannilaura commented 6 years ago

it doese output nothing here the log of the run tljh-Win64-Shipping_d3d11.log cheers

giovannilaura commented 6 years ago

it crashes

giovannilaura commented 6 years ago

i do not know if it can help but on the rx 480 it does still not output something but it runs with following log tljh-Win64-Shipping_d3d11.log

doitsujin commented 6 years ago

Well, if there's no output, the shaders are all valid. Not sure what's going on there but this doesn't really look like a dxvk bug.

giovannilaura commented 6 years ago

it was indeed a mesa radv bug the devs sent me a patch link with this patch the bug is fixed

doitsujin commented 6 years ago

okay, closing the issue then.