HansKristian-Work / vkd3d-proton

Fork of VKD3D. Development branches for Proton's Direct3D 12 implementation.
GNU Lesser General Public License v2.1
1.75k stars 184 forks source link

Hitman 3 on AMD FirePro W4100 has flickering boxes #1953

Open imamhs opened 3 months ago

imamhs commented 3 months ago

Please describe your issue as accurately as possible. Include screenshots or videos if relevant

Software information

Name of the game, settings used etc.

System information

Please have a look at the following video:

https://youtu.be/uO2XTcUK8ek?t=909

doitsujin commented 3 months ago

What's the fastest way to get to a location in the game where this happens?

Anyway, this GPU is GCN 1.0, good chance that there's driver issues happening. Also please attach a Proton log.

MegWATTT commented 3 months ago

This is likely this bug, also with GFX6: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3882 You should be able to workaround this one with RADV_DEBUG=llvm.

imamhs commented 3 months ago

What's the fastest way to get to a location in the game where this happens?

Anyway, this GPU is GCN 1.0, good chance that there's driver issues happening. Also please attach a Proton log.

The fastest way is to start "End of an Era campaign".

Like MegWATTT mentioned, this could be a RADV ACO compiler bug, when I tried to run with LLVM backend using RADV_DEBUG flag the game simply crashes. Wine gives the following output:

Backtrace: =>0 0x00007fbda0aa5c53 _ZNK4llvm2cl3optIjLb0ENS0_6parserIjEEE16printOptionValueEmb+0x1af203() in libllvm-16.so (0x0000000000113890) 1 0x00007fbda0aab213 _ZNK4llvm2cl3optIjLb0ENS0_6parserIjEEE16printOptionValueEmb+0x1b47c3() in libllvm-16.so (0x0000000000000003) 2 0x00007fbdf68f32a1 in libvulkan_radeon.so (+0x2f32a1) (0x0000000000114bd0) 0x00007fbda0aa5c53 libllvm-16.so+0xea5c53: cmpb $0x10,0x0000000000000010(%rdx)

And also following when using latest DXVK and VKD3D-proton:

Screenshot_20240405_215130