resources icon indicating copy to clipboard operation
resources copied to clipboard

Nvidia GeForce RTX 3060 with "nvidia-driver-570-open n.A. (n. V.)

Open EinfachNurBaum opened this issue 4 months ago • 2 comments

Is there an existing issue for this?

  • [x] I searched the existing issues and did not find anything similar.

Current Behavior

I don't know if this is a bug or just a lack of support, but I have two GPUs, an AMD GPU for the system and an Nvidia GPU for AI stuff. I use the driver mentioned in the title on Linux Mint. Everything is displayed normally on my AMD graphics card, but only the connection “PCIe 4.0x8/...” is displayed on my Nvidia card.

And it's strange that Ressources says my AMD GPU is "GPU 2", because DRI_PRIME=2 is my Nvidia GPU and ....=1 my AMD GPu.

Image Image

Expected Behavior

Working.

Steps to Reproduce

No response

Debug Logs

Expand logs
$ flatpak run --env=RUST_LOG=resources=debug net.nokyan.Resources
DEBUG resources::utils > Running as Flatpak
INFO  resources::application > Resources (net.nokyan.Resources)
INFO  resources::application > Version: 1.8.0 ()
INFO  resources::application > Datadir: `/app/share/resources`
DEBUG resources::application > Operating system: Linux Mint 22.1
DEBUG resources::application > Kernel version: 6.8.0-71-generic
DEBUG resources::utils::gpu  > Searching for GPUs…
DEBUG resources::utils::pci  > Parsing pci.ids…
INFO  resources::utils::pci  > Successfully parsed pci.ids within 15.00ms (vendors: 2378, devices: 18685, subdevices: 16184)
WARN  resources::utils::gpu::nvidia > Connection to NVML failed, reason: a libloading error occurred: libnvidia-ml.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
WARN  resources::utils::gpu::nvidia > This can occur when the version of the NVIDIA Flatpak runtime (org.freedesktop.Platform.GL.nvidia) and the version of the natively installed NVIDIA driver do not match. Consider updating both your system and Flatpak packages before opening an issue.
INFO  resources::utils::gpu         > Found GPU "GA104 [GeForce RTX 3060]" (Identifier: 0000:3e:00.0 · PCI ID: 10de:2487 · Category: NVIDIA)
DEBUG resources::utils::gpu::amd    > Parsing /run/host/usr/share/libdrm/amdgpu.ids…
DEBUG resources::utils::gpu::amd    > Successfully parsed /run/host/usr/share/libdrm/amdgpu.ids within 850.85µs (562 entries)
INFO  resources::utils::gpu         > Found GPU "AMD Radeon RX 6600" (Identifier: 0000:3d:00.0 · PCI ID: 1002:73ff · Category: AMD)
DEBUG resources::utils::gpu         > 2 GPUs found
DEBUG resources::utils::app         > Detecting installed apps
DEBUG resources::utils::app         > Using the following directories for app detection: ["/app/share/applications",

Environment

Debug Logs.

Anything Else?

No response

EinfachNurBaum avatar Aug 07 '25 13:08 EinfachNurBaum

Hi @EinfachNurBaum,

I recently switched my Nvidia driver to the "open" version, which is similar to the one you are using, and I encountered the same issue on my end. I resolved the problem by running flatpak update, which installed the Nvidia Flatpak package for the new driver.

erenseymen avatar Aug 08 '25 18:08 erenseymen

Thanks for the issue. Did you try updating your Flatpak driver like stated in the logs, @EinfachNurBaum? :) In regards to the GPU numbering being wrong, Resources doesn't consider DRI_PRIME for its numbering, Resources numbers the GPUs based on what order they are in /sys/class/drm/.

nokyan avatar Aug 08 '25 18:08 nokyan