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?)
On AMD cards, it’s working out of the box since Mesa 23.1. I don’t know how it performs compared to Windows.
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
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 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.
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.
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.