You are not logged in.

#1 2020-11-04 15:17:21

michelesr
Member
Registered: 2016-02-04
Posts: 64

Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

I'm experiencing graphic glitches (rendering artifacts which appears around every 2 seconds)  when running Warcraft 3 (v1.31 32bit build) on Wine with DXVK v1.7.2.

However, the issue started recently, as the game was running fine last time I tried (August/September).

I'm running an updated Arch Linux system, with the following:

Dell XPS 15 9570
Intel Corporation UHD Graphics 630

lib32-vulkan-icd-loader 1.2.158-1
lib32-vulkan-intel 20.2.1-1
vulkan-headers 1:1.2.159-1
vulkan-icd-loader 1.2.158-1
vulkan-intel 20.2.1-1
vulkan-tools 1.2.158-1

wine-5.7.r0.g2ad422ff ( TkG Staging Esync Fsync ) (lutris-5.7-8-x86_64) (WINEARCH=win32)

Desktop session: Sway 1.5 (however the issue is present on Xorg/i3 and so doesn't seem to be specifically related to Wayland, XWayland or Sway)

The glitches aren't present when using DX9 without DXVK (but obviously it's a lot slower). I also happen to have an version of the game which runs with -opengl backend without graphical glitches.

Any idea of what might have caused the problem? I tried downgrading DXVK and the vulkan packages, as well as mesa and tried the LTS kernel with no luck.

Thanks in advance for your help. :-)

Offline

#2 2020-11-04 20:24:14

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 442

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

Hey have you tried with proton?
I personally use https://aur.archlinux.org/packages/prot … table-bin/
You can use it through steam or you can just `proton run <Wow.exe>`. I recommend to get the optional dependecies, specially winetricks.

Offline

#3 2020-11-04 21:06:01

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

Thanks but I'd prefer to use regular Wine. I don't think the issue has to do with Wine as I'm still using the same version from Lutris and it was working before... this seems to be more likely an issue with Intel drivers.

Offline

#4 2020-11-04 21:58:50

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

Actually I found that downgrading lib32-vulkan-intel to 20.1.8-1 solved the issue.

It seems to be a regression introduced in lib32-vulkan-intel starting with 20.2

Last edited by michelesr (2020-11-04 22:20:47)

Offline

#5 2020-11-05 20:06:14

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

This seems to be the bad commit according to git bisect: https://gitlab.freedesktop.org/mesa/mes … f48c216668

Reverting it fixes the issue. However, I don't know if it's a driver or DXVK bug, and whether that specific extension can be disabled e.g. via envvar.

Last edited by michelesr (2020-11-05 21:43:48)

Offline

#6 2020-11-06 07:28:31

zaxdan69
Member
Registered: 2016-06-04
Posts: 271

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

You can try and see. The title is "toggle on VK_EXT_extended_dynamic_state ", so I think you can toggle it on/off.

Last edited by zaxdan69 (2020-11-06 07:28:51)

Offline

#7 2020-11-07 12:04:32

michelesr
Member
Registered: 2016-02-04
Posts: 64

Re: Graphic glitches on Warcraft 3 / DXVK (DX9 and DX11)

I couldn't find a way to disable the extension at runtime. However I patched the driver to disable that extension and was hoping to find a way to use the custom .so library only in WC3. I tried messing around with LD_LIBRARY_PATH but couldn't find a reliable way to force wine/DXVK to load my .so instead of the one in "/usr/lib32". does anyone know how to do it?

Offline

Board footer

Powered by FluxBB