this post was submitted on 13 Aug 2023
88 points (97.8% liked)

Linux Gaming

15234 readers
83 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24587

tl;dr big performance improvement in ray tracing on AMD cards coming, with the dev claiming a 3x performance boost in Hitman 3.

top 14 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago* (last edited 1 year ago) (4 children)

Wait, AMD can raytrace on Linux? All the games I play on my 6800xt have the raytracing graphics options disabled.

Edit: I'm an idiot, I forgot the 7xxx series has actual RT cores.

[–] [email protected] 3 points 1 year ago

You've been able to enable RT on a SteamDeck with the native (Linux based) OS for about 5+ months now. Performance may vary and it's certainly not going to measure up to a 69xx/79xx series card, but it can do about 30FPS on Doom Eternal, at the native 800P screen which is pretty neat for a portable running an APU :-)

[–] [email protected] 3 points 1 year ago

I think you have to start the game with some arguments to enable ray tracing. Atleast that's what i had to do to enable ray tracing in cyberpunk. Game crashed instantly after i turned it on though lol.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

6xxx does support it, it's just slower than 7xxx. I don't bother because I don't want the perf hit (even with these improvements) as I care more about high refresh rate/resolution support but good to see nevertheless, particularly for future cards where performance will improve further.

You might want to upgrade Mesa too as I believe at least some of the RT options should now be enabled by default, but I haven't tested myself. And you can force it with env variables, as the other commenter suggested.

[–] [email protected] 2 points 1 year ago

I case you want to try it out, the setting I've used in Steam was:

RADV_PERFTEST=rt VKD3D_CONFIG=dxr11 %command%

[–] [email protected] 4 points 1 year ago

This will only greatly affect games that don't do batching of their own

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

Edit: I confused AMDVLK and RADV

~~As great as AMD is with open source (comparatively), RADV has been a singular source of headaches on distro that install it by default. Many vulkan games wouldn't launch and I hear performance is worse than the community Vulkan driver.~~

[–] [email protected] 5 points 1 year ago (1 children)

RADV is the default community Mesa driver, made by Valve engineers.

AMD's own Vulkan implementation is called AMDVLK, which is just a port of their Windows Vulkan libraries repackaged for Linux. AMDVLK usually moves faster than RADV and got raytracing much earlier. And even though RADV added raytracing as well, RADVs raytracing is much slower than AMDVLK. Maybe this changes will finally close the gap?

[–] [email protected] 3 points 1 year ago (1 children)

RADVs raytracing is much slower than AMDVLK. Maybe this changes will finally close the gap?

One of the commenters claims this:

the perf uplift from this PR is huge in a few games, out of the ones I own lego builders journey gets a 2x improvement in performance. Control gets an additional ~5 fps at 1080p, Minecraft RTX (education edition) gets ~10 fps more. When paired with the monolithic pipeline MR it completely blows amdvlk out of water.

Tested on my rx6800.

So hopefully that is the case. I'll add that AMDVLK vs RADV has been pretty mixed over the years, and there have been times where RADV has been ahead (particularly with vkd3d-proton support) and usually catches up to and exceeds AMDVLK performance, with the exception of RT.

[–] [email protected] 1 points 1 year ago (1 children)

Oops I got it backwards. I forgot that AMDVLK was the one by AMD.

[–] [email protected] 1 points 1 year ago

You don't seem to be the only one, heh. And yeah, everyone should just stick to the default RADV driver unless they feel like tinkering/testing.

[–] [email protected] 2 points 1 year ago (2 children)

Hopefully for Steam Deck too

[–] [email protected] 1 points 1 year ago

You'd expect so, but I wouldn't expect miracles. It will vary game by game as well, as only certain types of RT implementations will benefit from this boost.

[–] [email protected] 1 points 1 year ago

It probably will, but I doubt you can do any serious raytracing workloads on the Deck without sacrificing performance and battery life.