No NVIDIA GPU info with mesa drivers
Is there an existing issue for this?
- [x] I searched the existing issues and did not find anything similar.
Current Behavior
I'm switched from NVIDIA proprietary drivers to mesa drivers, after this i see only GPU name, manufacturer, PCI and driver name
Expected Behavior
Seeing GPU info
Steps to Reproduce
- Use Mesa drivers with NVIDIA GTX 1650 Mobile
Debug Logs
Expand logs
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: Fedora Linux 42 (Workstation Edition)
DEBUG resources::application > Kernel version: 6.14.3-300.fc42.x86_64
DEBUG resources::utils::gpu > Searching for GPUs…
DEBUG resources::utils::pci > Parsing pci.ids…
INFO resources::utils::pci > Successfully parsed pci.ids within 29.17ms (vendors: 2427, devices: 19394, subdevices: 16864)
WARN resources::utils::gpu::nvidia > Connection to NVML failed, reason: a libloading error occurred: libnvidia-ml.so: не вдалося відкрити файл об’єктів спільного використання: Немає такого файла або каталогу
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 "TU117M [GeForce GTX 1650 Mobile / Max-Q]" (Identifier: 0000:01:00.0 · PCI ID: 10de:1f99 · 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 1.74ms (573 entries)
INFO resources::utils::gpu > Found GPU "AMD Radeon Graphics (Cezanne [Radeon Vega Series / Radeon Vega Mobile Series])" (Identifier: 0000:05:00.0 · PCI ID: 1002:1638 · Category: AMD)
DEBUG resources::utils::gpu > 2 GPUs found
(skipped app detection)
Environment
Resources Version: 1.8.0 (Flatpak)
OS: Fedora Workstation 42
Hardware:
GPU: NVIDIA GTX 1650 Mobile
CPU: AMD Ryzen 5 5600H
Anything Else?
No response
Hi, thanks for the issue.
I'll look into what nouveau offers.
I've got a desktop with an NVIDIA 3060 Ti Founders Edition if you need any testing, it runs nicely with nouveau + GSP + NVK + zink
I've got a desktop with an NVIDIA 3060 Ti Founders Edition if you need any testing, it runs nicely with nouveau + GSP + NVK + zink
Thank you, do you mind running tree /sys/class/drm/card1/device/? (it may be card0 instead of card1, depends on your setup)
Sure, on kernel 6.16.3 tree /sys/class/drm/card0/device/:
/sys/class/drm/card0/device/
├── aer
│ ├── correctable_ratelimit_burst
│ ├── correctable_ratelimit_interval_ms
│ ├── nonfatal_ratelimit_burst
│ └── nonfatal_ratelimit_interval_ms
├── aer_dev_correctable
├── aer_dev_fatal
├── aer_dev_nonfatal
├── ari_enabled
├── boot_vga
├── broken_parity_status
├── class
├── config
├── consistent_dma_mask_bits
├── consumer:pci:0000:01:00.1 -> ../../../virtual/devlink/pci:0000:01:00.0--pci:0000:01:00.1
├── current_link_speed
├── current_link_width
├── d3cold_allowed
├── device
├── dma_mask_bits
├── driver -> ../../../../bus/pci/drivers/nouveau
├── driver_override
├── drm
│ ├── card0
│ │ ├── card0-DP-1
│ │ │ ├── connector_id
│ │ │ ├── device -> ../../card0
│ │ │ ├── dpms
│ │ │ ├── edid
│ │ │ ├── enabled
│ │ │ ├── modes
│ │ │ ├── power
│ │ │ │ ├── async
│ │ │ │ ├── autosuspend_delay_ms
│ │ │ │ ├── control
│ │ │ │ ├── runtime_active_kids
│ │ │ │ ├── runtime_active_time
│ │ │ │ ├── runtime_enabled
│ │ │ │ ├── runtime_status
│ │ │ │ ├── runtime_suspended_time
│ │ │ │ └── runtime_usage
│ │ │ ├── status
│ │ │ ├── subsystem -> ../../../../../../../class/drm
│ │ │ └── uevent
│ │ ├── card0-DP-2
│ │ │ ├── connector_id
│ │ │ ├── device -> ../../card0
│ │ │ ├── dpms
│ │ │ ├── edid
│ │ │ ├── enabled
│ │ │ ├── modes
│ │ │ ├── power
│ │ │ │ ├── async
│ │ │ │ ├── autosuspend_delay_ms
│ │ │ │ ├── control
│ │ │ │ ├── runtime_active_kids
│ │ │ │ ├── runtime_active_time
│ │ │ │ ├── runtime_enabled
│ │ │ │ ├── runtime_status
│ │ │ │ ├── runtime_suspended_time
│ │ │ │ └── runtime_usage
│ │ │ ├── status
│ │ │ ├── subsystem -> ../../../../../../../class/drm
│ │ │ └── uevent
│ │ ├── card0-DP-3
│ │ │ ├── connector_id
│ │ │ ├── device -> ../../card0
│ │ │ ├── dpms
│ │ │ ├── edid
│ │ │ ├── enabled
│ │ │ ├── modes
│ │ │ ├── power
│ │ │ │ ├── async
│ │ │ │ ├── autosuspend_delay_ms
│ │ │ │ ├── control
│ │ │ │ ├── runtime_active_kids
│ │ │ │ ├── runtime_active_time
│ │ │ │ ├── runtime_enabled
│ │ │ │ ├── runtime_status
│ │ │ │ ├── runtime_suspended_time
│ │ │ │ └── runtime_usage
│ │ │ ├── status
│ │ │ ├── subsystem -> ../../../../../../../class/drm
│ │ │ └── uevent
│ │ ├── card0-HDMI-A-1
│ │ │ ├── connector_id
│ │ │ ├── device -> ../../card0
│ │ │ ├── dpms
│ │ │ ├── edid
│ │ │ ├── enabled
│ │ │ ├── modes
│ │ │ ├── power
│ │ │ │ ├── async
│ │ │ │ ├── autosuspend_delay_ms
│ │ │ │ ├── control
│ │ │ │ ├── runtime_active_kids
│ │ │ │ ├── runtime_active_time
│ │ │ │ ├── runtime_enabled
│ │ │ │ ├── runtime_status
│ │ │ │ ├── runtime_suspended_time
│ │ │ │ └── runtime_usage
│ │ │ ├── status
│ │ │ ├── subsystem -> ../../../../../../../class/drm
│ │ │ └── uevent
│ │ ├── dev
│ │ ├── device -> ../../../0000:01:00.0
│ │ ├── power
│ │ │ ├── async
│ │ │ ├── autosuspend_delay_ms
│ │ │ ├── control
│ │ │ ├── runtime_active_kids
│ │ │ ├── runtime_active_time
│ │ │ ├── runtime_enabled
│ │ │ ├── runtime_status
│ │ │ ├── runtime_suspended_time
│ │ │ └── runtime_usage
│ │ ├── subsystem -> ../../../../../../class/drm
│ │ └── uevent
│ ├── controlD64 -> card0
│ └── renderD128
│ ├── dev
│ ├── device -> ../../../0000:01:00.0
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── subsystem -> ../../../../../../class/drm
│ └── uevent
├── enable
├── firmware_node -> ../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:3a/device:3c
├── graphics
│ └── fb0
│ ├── bits_per_pixel
│ ├── blank
│ ├── bl_curve
│ ├── console
│ ├── cursor
│ ├── dev
│ ├── device -> ../../../0000:01:00.0
│ ├── mode
│ ├── modes
│ ├── name
│ ├── pan
│ ├── power
│ │ ├── async
│ │ ├── autosuspend_delay_ms
│ │ ├── control
│ │ ├── runtime_active_kids
│ │ ├── runtime_active_time
│ │ ├── runtime_enabled
│ │ ├── runtime_status
│ │ ├── runtime_suspended_time
│ │ └── runtime_usage
│ ├── rotate
│ ├── state
│ ├── stride
│ ├── subsystem -> ../../../../../../class/graphics
│ ├── uevent
│ └── virtual_size
├── iommu -> ../../0000:00:00.2/iommu/ivhd0
├── iommu_group -> ../../../../kernel/iommu_groups/14
├── irq
├── link
│ ├── clkpm
│ ├── l1_1_pcipm
│ └── l1_aspm
├── local_cpulist
├── local_cpus
├── max_link_speed
├── max_link_width
├── modalias
├── msi_bus
├── msi_irqs
│ └── 170
├── numa_node
├── power
│ ├── async
│ ├── autosuspend_delay_ms
│ ├── control
│ ├── runtime_active_kids
│ ├── runtime_active_time
│ ├── runtime_enabled
│ ├── runtime_status
│ ├── runtime_suspended_time
│ ├── runtime_usage
│ ├── wakeup
│ ├── wakeup_abort_count
│ ├── wakeup_active
│ ├── wakeup_active_count
│ ├── wakeup_count
│ ├── wakeup_expire_count
│ ├── wakeup_last_time_ms
│ ├── wakeup_max_time_ms
│ └── wakeup_total_time_ms
├── power_state
├── remove
├── rescan
├── reset
├── reset_method
├── resource
├── resource0
├── resource0_resize
├── resource1
├── resource1_resize
├── resource1_wc
├── resource3
├── resource3_resize
├── resource3_wc
├── resource5
├── revision
├── rom
├── subsystem -> ../../../../bus/pci
├── subsystem_device
├── subsystem_vendor
├── uevent
└── vendor
So, it's not possible today to show metrics from a NVIDIA graphic card with GSP. Infortunelly we need to wait the NOVA driver