this post was submitted on 28 Jun 2023
41 points (97.7% liked)

Linux Gaming

15911 readers
27 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

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?)

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 9 points 1 year ago

On AMD cards, it's working out of the box since Mesa 23.1. I don't know how it performs compared to Windows.

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

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.

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

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).

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

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

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

Are you able to get RT Overdrive working on Cyberpunk? Was crashing my game when I attempted it.

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

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.

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

Are you on Wayland? Wondering if rt/dlss works on native games on Wayland or if it just works on x / xwayland

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

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.

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

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.

[–] [email protected] 2 points 1 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

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

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.