Skip to content

"Raytracing not available" on RTX-capable device #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
athyfr opened this issue May 8, 2025 · 2 comments
Open

"Raytracing not available" on RTX-capable device #23

athyfr opened this issue May 8, 2025 · 2 comments

Comments

@athyfr
Copy link

athyfr commented May 8, 2025

Opening either of the raytracing samples in GPUpad 2.6.1 yields disappointing results on my RTX-capable laptop.

Image

It seems to think it can't do RTX, though I believe this worked fine in 2.4.0.

It doesn't seem to be logging anything relating to this.

System information (courtesy of KDE Info Center)

Operating System: NixOS 25.05
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.12.25 (64-bit)
Graphics Platform: Wayland
Processors: 32 × 13th Gen Intel® Core™ i9-13900HX
Memory: 16.4 GB of RAM
Graphics Processor 1: Intel® Graphics
Graphics Processor 2: NVIDIA GeForce RTX 4070 Laptop GPU
Manufacturer: Dell Inc.
Product Name: Dell G16 7630

I'm using the official (proprietary) NVIDIA driver.

@houmain
Copy link
Owner

houmain commented May 12, 2025

Thanks for the report!
Is it possible to tell KDE which GPU an application should use? Maybe it is running on the Intel?
I will output the utilized GPU somewhere and add a warning when Vulkan is initialized on the integrated one.

@athyfr
Copy link
Author

athyfr commented May 13, 2025

Is it possible to tell KDE which GPU an application should use? Maybe it is running on the Intel?

Although KDE doesn't have built-in integration with this, I'm able to override the GPU using environment variables:

export __NV_PRIME_RENDER_OFFLOAD=1
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
export __GLX_VENDOR_LIBRARY_NAME=nvidia
export __VK_LAYER_NV_optimus=NVIDIA_only

Doing that, the raytracing samples work, so I suppose it's running on the iGPU by default. (The new samples look nice!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants