What is the state of raytracing on Linux. Does it work on new games that are released with raytracing.
Does the game have to be native or does it work through Proton?
Is the performance comparable? Better? Worse?
Is it only working for AMD? Only for Nvidia? Both? (Neither?)
I can play Quake II RTX on my 6900XT just fine (with dynamic resolution scaling). I think new games are going to be hit and miss until the drivers mature.
On AMD cards, it’s working out of the box since Mesa 23.1. I don’t know how it performs compared to Windows.
Does the game have to be native or does it work through Proton?
Haven’t tried any native games. Proton works depending on the game. For example Cyperpunk 2077 works but RT in Witcher 3 doesn’t yet work (for me).
Is the performance comparable? Better? Worse?
Compared to Windows? Performance is worse but not by that much (for me on Nvidia). Depending on the game it is comparable. RT is very heavy on performance. You are going to want to enable DLSS or FSR.
Is it only working for AMD? Only for Nvidia? Both? (Neither?)
From what I’ve read they both work.
As already mentioned in another post it can be hit or miss. I think it works in most games by now. When Cyberpunk 2077 came out it took a long time for RT to work on Linux. Now it just works on most games I’ve tried. Witcher 3 being the exception since the update that introduced RT functionality. I’m on Nvidia. AMD should also work now. But supposedly performance isn’t great on AMD (just correct me if I’m wrong).
You are going to want to enable DLSS or FSR.
That was going to be my next question if DLSS is now working in Linux
Removed by mod
Are you able to get RT Overdrive working on Cyberpunk? Was crashing my game when I attempted it.
Yes, RT Overdrive works. But it is VERY heavy on performance. I’ve got a 3080ti and had to sacrifice resolution in addition to turning down DLSS quality to get barely playable frame rates. But yes, it works and looks incredible. Edit: RT Overdrive really isn’t meant for graphics cards which are weaker/older than the upper spectrum of the 4000 GPUs. There is a mod on Nexusmods, which reduces the rays which are being cast. With it you can get a few frames back and you won’t really notice the visual difference unless you know what to look for.
Are you on Wayland? Wondering if rt/dlss works on native games on Wayland or if it just works on x / xwayland
Yes, I’m on Wayland (Sway). I haven’t tested any native games. But I think RT/DLSS doesn’t care about Wayland or XWayland.
That being said, for now every game you run via Wine/Proton is running on XWayland (if one is on Wayland). They are in the process of merging code for native Wayland to Wine/Proton bit by bit. But it is going to take a while before everything is in place and Wine/Proton doesn’t need XWayland anymore. But as I’ve said, from what I understand this isn’t an issue for RT/DLSS at all.
Last year I remember seeing something about working rt on Linux games via steamos, I imagine it’s coming soon. It worked for nvidia. I’m unsure of the amd side of the house.
I thought that was only novel because the steam deck doesn’t have ray tracing-specific hardware. It was also on a game that otherwise wasn’t very graphically intensive.
If your graphics card has ray tracing hardware, then it already worked (albeit maybe not as smoothly as on windows, check protondb for details per game).
Doesn’t RDNA2 support ray tracing in general? I think it was just waiting for the Linux drivers to support it.
There was a way to do it with Valve’s Windows 10 drivers for the Deck more than a year ago.
I’ve been trying to get WoW’s AMD ray tracing to work using Wine-GE, but Proton ray tracing seems to just work if it works
Raytracing works pretty well for a decent amount of games at least on the Nvidia side. They just enabled RT by default for AMD GPUs but their RT is generally slower than Nvidia’s.