Skip to content

Glances API sees GPU but not the dashboard #3390

@charlesnadeau

Description

@charlesnadeau

I recently upgraded my GPU. The old one displayed perfectly in the dash board but not the new one although the API sees it:

charles@paris:~$ python
Python 3.10.12 (main, Nov 4 2025, 08:48:33) [GCC 11.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.

from glances import api
gl = api.GlancesAPI()
Error while initializing the ports plugin (module 'netifaces' has no attribute 'default_gateway')
gl.gpu
{'nvidia0': {'key': 'gpu_id', 'gpu_id': 'nvidia0', 'name': 'NVIDIA GeForce RTX 5060 Ti', 'mem': 2.832444362700018, 'proc': 0, 'temperature': 36, 'fan_speed': 0}}

Also:

charles@paris:~$ glances --stdout gpu
Error while initializing the ports plugin (module 'netifaces' has no attribute 'default_gateway')
gpu: [{'key': 'gpu_id', 'gpu_id': 'nvidia0', 'name': 'NVIDIA GeForce RTX 5060 Ti', 'mem': 2.832444362700018, 'proc': 0, 'temperature': 36, 'fan_speed': 0}]

But when I start Glances with:

sudo glances --disable-plugin smart

It is nowhere to be found. What should I do/check to make it appear on the dashboard?
Thank you very much!
Charles

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions