doitsujin / dxvk

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

The Witcher 2 graphical artifacts #4461

Open somebody1121 opened 4 hours ago

somebody1121 commented 4 hours ago

There are several graphical artifacts present on dxvk but not on wined3d nor the native version. The graphical artifacts are more pronounce with the UberSampling option enabled DXVK: The WICHER 2 BAD 1 NATIVE: The WICHER 2 NORMAL 1 WINED3D The WICHER 2 NORMAL 3 DXVK: The WICHER 2 BAD 2 NATIVE: The WICHER 2 NORMAL 2

Software information

The witcher 2, an all settings but more pronounce with UberSampling

System information

Apitrace file(s)

wined3d apitrace: https://mega.nz/file/vE0xVDxD#gEv7VChEcMvq9vDzUZHVV7PaQG98ZReeBpRtq_74izk dxvk apitrace: https://mega.nz/file/vZlVhYjT#fh1nAq6q0WJNk2tFrO4eQN_azBuDevWcpxrXKuPExi4

Log files

steam-20920.log

Blisto91 commented 3 hours ago

Hi there and thank you for the well made issue. Are you sure it doesn't happen with wined3d? I can see the blue light flicker appearing very shortly a few times at Geralts right hand in the wined3d trace (not the dxvk one), but it seems baked in as it happens both when replayed with wined3d and dxvk. Or did you accidentally switch the traces around?

Tested with my RTX 4080

somebody1121 commented 2 hours ago

Hi there and thank you for the well made issue. Are you sure it doesn't happen with wined3d? I can see the blue light flicker appearing very shortly a few times at Geralts right hand in the wined3d trace (not the dxvk one), but it seems baked in as it happens both when replayed with wined3d and dxvk. Or did you accidentally switch the traces around?

Tested with my RTX 4080

Thank you for testing, and yes i saw some flickerig on the hand on wined3d and native but not on the level as seen in dxvk, the screenshots show the diference. Also there is some line of light surrounding geralt that is more visible on certain camera positions that it's not present with the gl renderers.

Tomorrow maybe i will create a video to show the diferences and redo the traces.

Blisto91 commented 1 hour ago

Ah the outline. I wasn't sure what i was looking at in the first screenshot.

At least for the flickering i haven't been able to reproduce anything on my RTX 4080 that is worse than wined3d or on Windows. It seems to be a game bug that happens at higher resolutions. My monitor is 1080p which i can't reproduce anything with but if i fake a 1440p resolution i can reproduce both with wined3d and native Windows. I'll check it out on AMD later. Also the outline