Patreon Logo Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal Logo PayPal. You can also buy games using our partner links for GOG and Humble Store.
We use affiliate links to earn us some pennies. Learn more.

One thing currently a bit lacking on Linux is the performance of ray tracing with the open source Mesa RADV driver, but a big improvement is coming. And to no surprise, it's thanks to funding from Valve as they continue to improve Linux graphics drivers.

Developer Natalie Vock, who works as an independent contractor for Valve, has submitted a merge request on January 3rd that should give some nice improvements. To be clear though, this is code that has not yet been pulled into Mesa, it may still need some more work before it is.

As Vock said in it:

A looong time ago, in !26105 (merged), I discovered that unaligned dispatches with 8x4/8x8 workgroups and a dispatch height of 1 (1D dispatch) do not work well together and limit occupancy to 8 threads per wave, absolutely ruining perf.

The workaround in that MR worked on direct dispatches, fixing up the dispatch size to be >4 (or >8) threads in the Y dimension. Of course, fixing up the dispatch size is only possible for direct dispatches where the size is known at command recording time. Back then, I considered this edge case acceptable. After all, what are the chances that someone would ever dispatch an indirect TraceRays with a 1D dispatch size? Surely no one would ever do that, especially not one of the most ubiquitous high-fidelity game engines out there in their widely-adopted ray-traced global illumination solution...

This MR resolves the indirect RT edge case as well, by forgoing any hacks on CPU depending on the dispatch size. Instead, we dispatch 1D workgroups and move all swizzling logic to the RT prolog.

Implementing our own swizzling logic also allows us to be smarter about the swizzle pattern and arrage invocations in a Z-order curve.

Should provide a ~4x-8x speedup in UE5's HW Lumen passes, amounting to ~30% total FPS gain in my coarse measurements.

Benchmarks on whether the improved swizzling logic improves other RT workloads as well are welcome!

Those are some bold claims but there's no reason to doubt it, it's all public code anyone can test. So of course someone did get some early testing done. In the comments, a user posted their own benchmarks before applying the patch and after, and the results are quite a surprise to see. As they noted:

Game Before After
Desordre 51 FPS 89 FPS
Layers of Fear (2023) 75 FPS 98 FPS
Oblivion Remastered 45 FPS 56 FPS
Silent Hill 2 Remake 40 FPS 60 FPS

They don't list what computer specifications they have or what settings each game used, but it's still a nice win to see.

By the time the new Steam Machine launches later this year which will use the AMD RADV driver from Mesa, we will hopefully see some pretty great performance across a lot of games.

Source: Phoronix

Article taken from GamingOnLinux.com.
23 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
All posts need to follow our rules. Please hit the Report Flag icon on any post that breaks the rules or contains illegal / harmful content. Readers can also email us for any issues or concerns.
12 comments Subscribe

Surely no one would ever do that, especially not one of the most ubiquitous high-fidelity game engines out there in their widely-adopted ray-traced global illumination solution...
That's some great snark there.

Last edited by Purple Library Guy on 7 Jan 2026 at 3:54 pm UTC
Jarmer a day ago
User Avatar
Nice! Gotta love these huge improvements for same hardware.

Although: that said, I'm not sure I notice/care that much about raytracing just in general. It makes things look SLIGHTLY just a tiny bit better at a huge frame cost? But maybe with this the frame cost will be minimal so that slightly better look will be okay?
lejimster a day ago
I was wondering this when watching some Windows 11 vs Linux benchmarks recently. It seemed like RT wasn't as performant on Linux.. Idk why but I always get a kick out of seeing performance gains on Linux, even if I'm not directly benefiting.
I like raytraced reflections, the rest I don't really care about personally. Most of the time it's not implemented correctly and it has lots of noise so I don't use it, but for example Cyberpunk is good enough that I would, even though it has light bleed.

This performance boost is great (:

Last edited by SlayerTheChikken on 8 Jan 2026 at 6:31 pm UTC
rustynail a day ago
Quoting: JarmerNice! Gotta love these huge improvements for same hardware.

Although: that said, I'm not sure I notice/care that much about raytracing just in general. It makes things look SLIGHTLY just a tiny bit better at a huge frame cost? But maybe with this the frame cost will be minimal so that slightly better look will be okay?
Apparently some developers are mostly using ray tracing not to improve the visuals but as a crutch that allows them to not bother implementing lighting at all as they normally should, like iirc the latest Doom game doesn't work without ray tracing at all, although when you set it to low the performance is not as horrible as you may expect from ray tracing (but still pretty horrible)
Gerarderloper 22 hours ago
It is desperately needed. I do wonder how Stalker-2 looks now with these improvements which has MASSIVE ~%40 drop in fps compared to Windows WITH NVIDIA cards! (huge issue with nvidia which may or may not be fixed)
Stella 21 hours ago
User Avatar
Last I checked (must've been around a year ago) there was still a pretty huge performance hit, especially when running PT. Indiana Jones & the Great Circle with Supreme settings and full PT ran at 30fps for me in Linux, but 45fps in Windows on 7900 XT. Portal RTX was basically unplayable in Linux as soon as you got to the room where you get shot at. Now I got rid of Windows a few days ago so I can't really check how it is now, but it's nice to see continued improvements to RT performance

Last edited by Stella on 8 Jan 2026 at 12:26 am UTC
yourpalsteve 18 hours ago
The GPU for the benchmark was a 9070xt
CaptRobau 12 hours ago
User Avatar
  • New User
[quote=rustynail]
Quoting: JarmerApparently some developers are mostly using ray tracing not to improve the visuals but as a crutch that allows them to not bother implementing lighting at all as they normally should, like iirc the latest Doom game doesn't work without ray tracing at all, although when you set it to low the performance is not as horrible as you may expect from ray tracing (but still pretty horrible)
This is a pretty unfair take IMO. Lighting the old way is one of the most time consuming things in game development right now. Ray tracing or path tracing would make lighting a game much much less time consuming.

The problem is that over the past decades devs have managed to get pretty close to replicating large parts of the look of raytraced lighting in traditional lighting models.

So now that raytraced lighting is here it only looks marginally better than what traditional lighting has offered. The only difference is that it's much less time consuming to implement. Which is not a crutch but a handy tool to keep dev times down while still making things look good.
discocat 9 hours ago
User Avatar
  • New User
I'm very curious as to if that will make it into mesa 26 when that releases.

I'm not sure when they're doing the freeze on new things.
rustynail 8 hours ago
[quote=CaptRobau]
Quoting: rustynail
Quoting: JarmerApparently some developers are mostly using ray tracing not to improve the visuals but as a crutch that allows them to not bother implementing lighting at all as they normally should, like iirc the latest Doom game doesn't work without ray tracing at all, although when you set it to low the performance is not as horrible as you may expect from ray tracing (but still pretty horrible)
This is a pretty unfair take IMO. Lighting the old way is one of the most time consuming things in game development right now. Ray tracing or path tracing would make lighting a game much much less time consuming.

The problem is that over the past decades devs have managed to get pretty close to replicating large parts of the look of raytraced lighting in traditional lighting models.

So now that raytraced lighting is here it only looks marginally better than what traditional lighting has offered. The only difference is that it's much less time consuming to implement. Which is not a crutch but a handy tool to keep dev times down while still making things look good.
I mean, you've just repeated the same thing I said but made it sound positive. Of course it's cool that they don't have to spend time on it, and I guess since I could play Doom Dark Ages at almost 60 fps on my low-mid tier rx6600 after all and it's in theory should only get better in the future, it's probably worth it
LoudTechie 8 hours ago
Succesfull driver development is always impressive.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon Logo Patreon. Plain Donations: PayPal Logo PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register