-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Milestone
Description
Check the bug
Before filling this bug report, please search if a similar issue already exists.
In this case, just add a comment on this existing issue.
Describe the bug
NVIDIA GPU isn't showing up in Glances Snap (only NVIDIA GPUs)
To Reproduce
Steps to reproduce the behavior:
- Install Glances snap
/usr/bin/snap run glances --browser -w
Expected behavior
NVIDIA GPUs should be visible in the list of GPUs
Environement (please complete the following information)
- Operating System (lsb_release -a or OS name/version):
Distributor ID: Ubuntu
Description: Ubuntu 24.04.3 LTS
Release: 24.04
Codename: noble
- Glances & psutil versions:
Glances version: 4.3.3
Glances API version: 4
PsUtil version: 7.0.0
Log file: /tmp/glances-yamiyuki.log
- How do you install Glances (Pypi package, script, package manager, source): Snap store
- Glances test:
===============================================================================
Glances 4.3.3 (/snap/glances/2331/lib/python3.12/site-packages/glances/__init__.py)
Python 3.12.3 (/snap/glances/2331/bin/python3)
PsUtil 7.0.0 (/snap/glances/2331/lib/python3.12/site-packages/psutil/__init__.py)
===============================================================================
alert [OK] 0.00002s
[]
amps [OK] 0.00015s key=name
[{'count': 0,
'countmax': None,
'countmin': 1.0,
'key': 'name',
'name': 'Dropbox',
'refresh': 3.0,
'regex': True,
'result': None,
'timer': 2.3126561641693115}, ...]
cloud [NA]
connections [NA]
containers [OK] 0.00007s
[]
core [OK] 0.00087s
{'log': 16, 'phys': 8}
cpu [OK] 0.00046s
{'cpucore': 16,
'ctx_switches': 0,
'ctx_switches_gauge': 347159403,
'ctx_switches_rate_per_sec': 0,
'guest': 0.0,
'idle': 97.8,
'interrupts': 0,
'interrupts_gauge': 328116866,
'interrupts_rate_per_sec': 0,
'iowait': 0.5,
'irq': 0.0,
'nice': 0.0,
'soft_interrupts': 0,
'soft_interrupts_gauge': 184179543,
'soft_interrupts_rate_per_sec': 0,
'steal': 0.0,
'syscalls': 0,
'syscalls_gauge': 0,
'syscalls_rate_per_sec': 0,
'system': 0.5,
'time_since_update': 2.1908223628997803,
'total': 1.8,
'user': 1.3}
diskio [OK] 0.00056s key=disk_name
[{'disk_name': 'sda',
'key': 'disk_name',
'read_bytes': 0,
'read_bytes_gauge': 2336228352,
'read_bytes_rate_per_sec': 0,
'read_count': 0,
'read_count_gauge': 14848,
'read_count_rate_per_sec': 0,
'time_since_update': 2.1908512115478516,
'write_bytes': 0,
'write_bytes_gauge': 6345195520,
'write_bytes_rate_per_sec': 0,
'write_count': 0,
'write_count_gauge': 225146,
'write_count_rate_per_sec': 0}, ...]
folders [OK] 0.00002s
[]
fs [OK] 0.00018s
[]
gpu [OK] 0.00601s key=gpu_id
[{'fan_speed': None, 'gpu_id': 'amd0', 'key': 'gpu_id', 'mem': 0, 'name': 'AMD GPU', 'proc': 0, 'temperature': 23}, ...]
help [OK] 0.00000s
None
ip [OK] 0.00002s
{}
irq [NA]
load [OK] 0.00002s
{'cpucore': 16, 'min1': 0.03369140625, 'min15': 0.1298828125, 'min5': 0.08984375}
mem [OK] 0.00010s
{'active': 6660145152,
'available': 56406179840,
'buffers': 19492864,
'cached': 54087503872,
'free': 56406179840,
'inactive': 51331964928,
'percent': 10.6,
'shared': 291446784,
'total': 63084498944,
'used': 6678319104}
memswap [OK] 0.00015s
{'free': 0, 'percent': 0.0, 'sin': 0, 'sout': 0, 'time_since_update': 2.190889835357666, 'total': 0, 'used': 0}
network [OK] 0.00184s key=interface_name
[{'alias': None,
'bytes_all': 251960,
'bytes_all_gauge': 31094077436,
'bytes_all_rate_per_sec': 125090.0,
'bytes_recv': 222754,
'bytes_recv_gauge': 3488907867,
'bytes_recv_rate_per_sec': 110590.0,
'bytes_sent': 29206,
'bytes_sent_gauge': 27605169569,
'bytes_sent_rate_per_sec': 14499.0,
'interface_name': 'br-vlan10',
'key': 'interface_name',
'speed': 2621440000,
'time_since_update': 2.0142271518707275}, ...]
now [OK] 0.00002s
{'custom': '2025-09-28 05:07:16 UTC', 'iso': '2025-09-28T05:07:16+00:00'}
percpu [OK] 0.00038s key=cpu_number
[{'cpu_number': 0,
'dpc': None,
'guest': 0.0,
'guest_nice': 0.0,
'idle': 95.4,
'interrupt': None,
'iowait': 2.8,
'irq': 0.0,
'key': 'cpu_number',
'nice': 0.0,
'softirq': 0.5,
'steal': 0.0,
'system': 0.9,
'total': 4.6,
'user': 0.5}, ...]
ports [OK] 0.00001s
[]
processcount [OK] 0.08413s
{'pid_max': 0, 'running': 1, 'sleeping': 381, 'thread': 1615, 'total': 584}
processlist [OK] 0.00022s
[]
programlist [OK] 0.00174s
[]
psutilversion [OK] 0.00002s
'7.0.0'
quicklook [OK] 0.00025s
{'cpu': 1.8,
'cpu_hz': 4673000000.0,
'cpu_hz_current': 2697110750.0000005,
'cpu_log_core': 16,
'cpu_name': 'AMD Ryzen 7 5700G with Radeon Graphics',
'cpu_phys_core': 8,
'load': 0.8,
'mem': 10.6,
'percpu': [{...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...}, {...},
{...}],
'swap': 0.0}
raid [NA]
sensors [OK] 0.00000s key=label
[{'critical': 84,
'key': 'label',
'label': 'Composite',
'type': 'temperature_core',
'unit': 'C',
'value': 29,
'warning': 81}, ...]
smart [NA]
system [OK] 0.00001s
{'hostname': 'skarletsky',
'hr_name': 'Ubuntu Core 24 64bit / Linux 6.14.0-32-generic',
'linux_distro': 'Ubuntu Core 24',
'os_name': 'Linux',
'os_version': '6.14.0-32-generic',
'platform': '64bit'}
uptime [OK] 0.00011s
{'seconds': 191040}
version [OK] 0.00001s
'4.3.3'
vms [NA]
wifi [OK] 0.00005s
[]
===============================================================================
Total time to update all stats: 0.09925s
===============================================================================
Additional context
The server in the screenshot uses an NVIDIA GeForce RTX 3060 Ti as its dGPU
I'm unsure where to find the config file for the snap version. I expected it in /var/snap but it's not there
Also, am I supposed to see my LXD & Docker (snap) containers as well?
bhavikbhakta
