You are not logged in.

#1 2019-07-14 06:06:02

VileLasagna
Member
From: NZ
Registered: 2019-07-14
Posts: 5
Website

vulkan-radeon 19.1.2 Proton performance issues?

Hello

So I've recently upgraded to a Radeon VII and have got some new games and toys to play with but have been experiencing some performance issues.

The biggest offender is DOOM 2016. It's pretty famous for having excellent performance with Vulkan through Proton but I was getting really abysmal framerates, about 35 on the menu and less than that in game. Pretty much unplayable. However, using openGL, the game would run at or very close to 60 all of the time.

http://vilelasagna.ddns.net/tgr/wp-cont … nGLWAT.png

http://vilelasagna.ddns.net/tgr/wp-cont … kanWAT.png

I've been chasing this on the Steam Forums for a couple days. Vulkan being essentially broken also means that I can't play DOOM VFR. Today I went through the "check everything" sort of routine and, whilst fumbling about on the Wiki, came to know the AMDVLK implementation and decided to install it through the AUR package and give it a go.

Lo and behold, suddenly, if I force it on the launch options, this looks much more as expected:

http://vilelasagna.ddns.net/tgr/wp-cont … amdvlk.png

I've also did some Vulkan testing on Talos Principle but that one seems to be much better. So I'm at a bit of a loss.

The AMDVLK workaround helps but doesn't completely solve my problem as:
1 - My "default" is still potentially broken
2 - AMDVLK seems to not be 100% stable, at least from the AUR package:
  2.1 - I've had DOOM just crash out randomly on me
  2.2 - Some Vulkan code I have myself has failed to even start, just segfaulting out, but I still haven't got around to debugging it - EDIT: Found the issue here. this one was entirely on my side
  2.3 - I get corrupted display on the headset when I try to force DOOM VFR to use AMDVLK

I'm still trying to figure out if this is something on the package itself, some config, or whatever... Once I got the amdvlk/radv disparity I decided to bring the discussion here, as it could be specific to the versions Arch is currently on.

Anyone has any thoughts on what direction I could try going and/or how do I try and get more information for this? The one thing I have in mind which could help a bit, maybe, is reinstalling Talos but, this time, using the windows version through Proton, see if I get the same kind of issues. Another thing I can try is running the game through my Titan X instead, see if the issue is AMD specific


System:

Linux 5.1.16.arch1-1
Mesa 19.1.2-1
vulkan-radeon 19.1.2-1
amdvlk 2019.Q3.1-1

AMD 1920X (clocked at 4.1GHz)
RAM: 32GB@3333MHz
GPU0: AMD Radeon VII
GPU1: nVidia TitanX (compute-only, I blacklist nvidia-drm)

Last edited by VileLasagna (2019-07-28 05:01:03)

Offline

#2 2019-07-14 06:15:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: vulkan-radeon 19.1.2 Proton performance issues?

Read the Code of Conduct and only post thumbnails http://wiki.archlinux.org/index.php/Cod … s_and_code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2019-07-14 07:04:05

VileLasagna
Member
From: NZ
Registered: 2019-07-14
Posts: 5
Website

Re: vulkan-radeon 19.1.2 Proton performance issues?

oopsie, sry bout that

Offline

#4 2019-07-20 11:40:47

lod
Member
Registered: 2017-09-22
Posts: 9

Re: vulkan-radeon 19.1.2 Proton performance issues?

Hey there,
would you like to give this PKGBUILD a try.
Buildflags should help against the segfaults and -DBUILD_XLIB_XRANDR_SUPPORT=On should help for VR

I don't have any of these problems (and no VR headset), so I haven't been able to test it yet.

Offline

#5 2019-07-23 03:16:26

VileLasagna
Member
From: NZ
Registered: 2019-07-14
Posts: 5
Website

Re: vulkan-radeon 19.1.2 Proton performance issues?

Hey there, just tried that build of amdvlk but it seems it didn't fix the VR issue. As for the random DOOM crashes, those are quite infrequent (and it's the only Vulkan thing I've been consistently playing lately), so I'll give it a spin for a few days.

Sadly the mirrored display on the desktop is perfect so is hard to capture the issue on the headset but I've managed to jam my phone up close to the lens and you can have an idea of what's going on. I'll also keep on testing radv as new versions roll in. But here are a couple of "screenshots" of the issue I get on VR:

http://vilelasagna.ddns.net/tgr/wp-cont … Tiling.jpg

http://vilelasagna.ddns.net/tgr/wp-cont … ling-2.jpg

Offline

#6 2019-07-28 04:59:51

VileLasagna
Member
From: NZ
Registered: 2019-07-14
Posts: 5
Website

Re: vulkan-radeon 19.1.2 Proton performance issues?

Hello there. Double posting for a couple of updates.

The first one is regarding the crash I had on my own software. Went digging and turns out it was entirely my fault as I had an error on selecting device memory for allocation. Turns out radv was working by luck and coincidence. (updated first post to reflect this)


Second, there's been a round of updates pushed to relevant packages and I've tested them. My situation changed a bit, but this time for the worse.

I'm currently now running:

mesa 19.1.3-1
linux 5.2.3.arch1-1
vulkan-radeon 19.1.3-1
amdvlk 2019.Q3.2-2 (from the PKGBUILD you posted here by lod)

Testing radv on DOOM and DOOM VFR, I still got the same result where my GPU is allegedly topped out and I'm stuck at about 28FPS.

amdvlk, though, no longer seems to work for me on regular DOOM (dang, I was reaching the end  too =P). Don't know why but it hangs after it loads the main menu. Music goes on but game freezes display and input as it's trying to bring the menu up. The PKGBUILD on AUR has the same problem. I don't know why that is.

Offline

#7 2019-07-29 10:17:35

lod
Member
Registered: 2017-09-22
Posts: 9

Re: vulkan-radeon 19.1.2 Proton performance issues?

Oh sorry, I forgot to subscribe to this forum thread.
For the VR issue:
https://github.com/GPUOpen-Drivers/AMDVLK/issues/3
-DBUILD_XLIB_XRANDR_SUPPORT=On depends on xrandr 1.6, so you could give it a try and build latest xrandr from git

The only issue related to doom
https://github.com/GPUOpen-Drivers/AMDVLK/issues/10
last comment there should be your problem? Maybe you want to open a new issue there?

Offline

#8 2019-08-01 09:51:25

VileLasagna
Member
From: NZ
Registered: 2019-07-14
Posts: 5
Website

Re: vulkan-radeon 19.1.2 Proton performance issues?

Hey Lod

Thanks for pointing me in that direction.
I'm trying to see if I can get some help and/or help suss this out on that side for now. Will update this thread with any new developments and test things out as packages get updated. Let me know if you want me to test anything specific. 

As for the VR side, the issue seems to be something different from my problem, but I'll try and look more into it as well. Again, will ping if I find something interesting out

Offline

Board footer

Powered by FluxBB