Radiance icon indicating copy to clipboard operation
Radiance copied to clipboard

Linux amd issue

Open Arameint opened this issue 9 months ago • 22 comments

Using CachyOS with a AMD rx 9070 xt and a ryzen 7 9700X processor. Resolution is 3840 x 2160

Image Image Image

(Edit) I didn't notice that the UI is normal in the screenshots. But they appear bright normally.

latest.log

As seen in the screenshot it isn't rendering properly and the UI is very bright. Torch and block particales can be seen (haven't tested anything further).

(Unimportant Note)

Software ray tracing (or pathtracing) shaders worked for me (IterationRP 3.2.0, Rethinking Voxels, Just Colored Lightning, Bliss with the Photonics mod with the only problem that Rails didn't render) except for Lyrae Shader.

Image

It might be a problem with my Linux system, or that i need to add some kind of command, but i don't know.

Arameint avatar Feb 10 '26 16:02 Arameint

Im also experiencing the same problem. Might be some argument missing. i have the problem both using gamescope and not using gamescope.

Waayway avatar Feb 10 '26 16:02 Waayway

I have the same issue on intel/nvidia pc

JoelSerranoLozano avatar Feb 10 '26 17:02 JoelSerranoLozano

Are you outside or inside a room? The glowing is now 100% based on PBR textures, and I do not provide one internally. Use any PBR texture pack may fix this issue.

Ljiong201108 avatar Feb 10 '26 17:02 Ljiong201108

I don't know if this is related but I have the same problem on Linux + AMD and it says FSR3: Initial CreateContext failed with error: 3 in the Log

technicfan avatar Feb 10 '26 17:02 technicfan

@Interstellarss AMD's issue

Ljiong201108 avatar Feb 10 '26 18:02 Ljiong201108

I don't know if this is related but I have the same problem on Linux + AMD and it says FSR3: Initial CreateContext failed with error: 3 in the Log

There will be 2 version of fsr3, which the fiirst one would probably fail, then it will try the alternative version, so it should be fine, as long as you see output like "FSR3 initialized"

Interstellarss avatar Feb 10 '26 18:02 Interstellarss

have u set the ui scale in the video settings? If this options works or it breaks completely?

Interstellarss avatar Feb 10 '26 18:02 Interstellarss

There will be 2 version of fsr3, which the fiirst one would probably fail, then it will try the alternative version, so it should be fine, as long as you see output like "FSR3 initialized"

There is no other occurrence of FSR in the log.

After the error it says Setting hit_distance_reconstruction_mode to: 5x5 and in the beginning there is:

WARNING: radv is not a conformant Vulkan implementation, testing use only.
[PhysicalDevice] physical device has 5 queue families
[Device] extension not supported, skipping: VK_NVX_binary_import
[Device] extension not supported, skipping: VK_NVX_image_view_handle
[DLSS Error] NVSDK_NGX_Result_FAIL_FeatureNotSupported at init:133
[Render thread/ERROR]: DLSS is not available. Use NRD!

These are the the only outputs in the log from this mod as far as I can tell

technicfan avatar Feb 10 '26 19:02 technicfan

And the screen also stays black with a PBR pack (SPBR)

technicfan avatar Feb 10 '26 19:02 technicfan

And the screen also stays black with a PBR pack (SPBR)

You need a version that supports 1.21.4 like SPBR-18_7[Legacy]

Floppyfish1 avatar Feb 10 '26 19:02 Floppyfish1

And the screen also stays black with a PBR pack (SPBR)

You need a version that supports 1.21.4 like SPBR-18_7[Legacy]

I already tried that and it didn't change anything :(

I'm on X11 so there shouldn't be any wayland/xwayland issues

technicfan avatar Feb 10 '26 19:02 technicfan

[Render thread/ERROR]: DLSS is not available. Use NRD!

Have you set it to use NRD in the pipeline? i think you have to use both NRD and FSR3

Floppyfish1 avatar Feb 10 '26 20:02 Floppyfish1

I have not tested with radv though. Mine env is with amdvlk, not sure if this will cause any issue.

Interstellarss avatar Feb 10 '26 20:02 Interstellarss

[Render thread/ERROR]: DLSS is not available. Use NRD!

Have you set it to use NRD in the pipeline? i think you have to use both NRD and FSR3

My pipeline looks like this (I haven't changed anything) so that shouldn't be the issue.

Image

technicfan avatar Feb 10 '26 20:02 technicfan

I'm on X11 so there shouldn't be any wayland/xwayland issues

Don't know if its going to fix it but have using wayland?

Floppyfish1 avatar Feb 10 '26 20:02 Floppyfish1

Tried it with a PBR texture (ultimacraft-pbr-v-1-9), and nothing changed i used NRD and FSR3 before. I personally do not think that the upscalers are the problem, since it DID render atleast particals. It is only the lightning that isn't doing anything. My game still runs slower.

Arameint avatar Feb 10 '26 21:02 Arameint

Did someone try to use the native linux libary?

Image

Arameint avatar Feb 10 '26 21:02 Arameint

Tried it with a PBR texture (ultimacraft-pbr-v-1-9), and nothing changed i used NRD and FSR3 before. I personally do not think that the upscalers are the problem, since it DID render atleast particals. It is only the lightning that isn't doing anything. My game still runs slower.

for me on 9070xt, raytracing module for 1920x1080 takes about 20ms, while nrd 2ms, and FSR 0.3 ms, this already limits the FPS to something like 50. The raytracing shader now is too heavy for amd cards now (at least mine), maybe the L1/L2 cache is not enough. and L3 is too slow, thus cause the bottleneck. And we would either optimize the currrent one for amd or have another light weight BRDF implementation. For me turning FSR from native to quality (1.5 scale) noramllly have 1.5-2x FPS improvement, but FSR it self does not work perfectly :/

Interstellarss avatar Feb 10 '26 21:02 Interstellarss

Was on 17fps when i don't change anything. Capped 160 (My monitor refresh rate) if i was setting it on balanced.

Arameint avatar Feb 10 '26 21:02 Arameint

Tried it with a PBR texture (ultimacraft-pbr-v-1-9), and nothing changed i used NRD and FSR3 before. I personally do not think that the upscalers are the problem, since it DID render atleast particals. It is only the lightning that isn't doing anything. My game still runs slower.

for me on 9070xt, raytracing module for 1920x1080 takes about 20ms, while nrd 2ms, and FSR 0.3 ms, this already limits the FPS to something like 50. The raytracing shader now is too heavy for amd cards now (at least mine), maybe the L1/L2 cache is not enough. and L3 is too slow, thus cause the bottleneck. And we would either optimize the currrent one for amd or have another light weight BRDF implementation. For me turning FSR from native to quality (1.5 scale) noramllly have 1.5-2x FPS improvement, but FSR it self does not work perfectly :/

They showcased the 9070xt in the update video running 80fps'ish. Probably on Windows. When i don't touch the FSR settings, i only get 17 fps max, getting to balanced is getting me to my capped 160 fps. As of the ms, i didn't pay attention.

Yeah its on windows. and the scene is not too complicated though. For me when i ran tools from RadeonGPUAnaliyzer on the ray tracing shader, it clear have more data operations than it is suggested on my amd cards, thus i suspect L1/L2 not enough. nvidia might have larger L1/L2

Interstellarss avatar Feb 10 '26 21:02 Interstellarss