Summary: | GPU Usage and Memory Columns Don't work in System Monitors Processes Page | ||
---|---|---|---|
Product: | [Frameworks and Libraries] ksystemstats | Reporter: | Dashon <dashonwwIII> |
Component: | General | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | ahiemstra, dashonwwIII, kde, nate, plasma-bugs |
Priority: | NOR | Keywords: | qt6 |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Dashon
2024-03-04 12:53:32 UTC
Maybe the data format changed again. :/ Hi which nvidia-driver version are you using? Can you provide a short excerpt of nvidia-smi dmon -s pucm thanks! Setting to needs-info (In reply to David Redondo from comment #2) > Hi which nvidia-driver version are you using? > > Can you provide a short excerpt of nvidia-smi dmon -s pucm > > thanks! Version: 550.54.14 Hi, we still need nvidia-smi dmon -s pucm output. So I can check if it changed/can be parsed by current code (In reply to David Redondo from comment #5) > Hi, we still need > > nvidia-smi dmon -s pucm > > output. So I can check if it changed/can be parsed by current code Sorry didn't see the second part of your message. Here is some of the output since it keeps going forever: # gpu pwr gtemp mtemp sm mem enc dec jpg ofa mclk pclk fb bar1 ccpm # Idx W C C % % % % % % MHz MHz MB MB MB 0 25 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 7 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 24 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 24 39 - 10 19 0 0 0 0 405 210 1800 57 0 0 25 39 - 10 19 0 0 0 0 405 210 1800 57 0 0 24 39 - 9 19 0 0 0 0 405 210 1800 57 0 0 24 39 - 10 19 0 0 0 0 405 210 1800 57 0 Upon review I see that the kwin_wayland process is showing a percentage for gpu usage and gpu memory and plasma-systemmonitor is showing a percentage for gpu usage but not gpu memory. Those are the only two processes showing anything for those two columns. > Upon review I see that the kwin_wayland process is showing a percentage for gpu usage and gpu memory and plasma-systemmonitor is showing a percentage for gpu usage but not gpu memory. Those are the only two processes showing anything for those two columns.
Not showing anything means 0.
I told you earlier the wrong command. For processes it should be
nvidia-smi pmon
if that is also 0 everywhere else, it means things are really 0.
(In reply to David Redondo from comment #8) > > Upon review I see that the kwin_wayland process is showing a percentage for gpu usage and gpu memory and plasma-systemmonitor is showing a percentage for gpu usage but not gpu memory. Those are the only two processes showing anything for those two columns. > > Not showing anything means 0. > > I told you earlier the wrong command. For processes it should be > > nvidia-smi pmon > > if that is also 0 everywhere else, it means things are really 0. Here is some of the output of that command # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5177 G - - - - - - Xorg 0 5311 G 56 47 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5311 G 56 47 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G - - - - - - kwin_wayland # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G - - - - - - kwin_wayland 0 5447 G - - - - - - Xwayland # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G 20 26 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G - - - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G - - - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G 11 21 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G 19 25 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 5553 G - - - - - - xdg-desktop-por 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv 0 5177 G - - - - - - Xorg 0 5311 G 33 30 - - - - kwin_wayland 0 5447 G - - - - - - Xwayland 0 5473 G - - - - - - ksmserver 0 5475 G - - - - - - kded6 0 5515 G - - - - - - kactivitymanage 0 5551 G - - - - - - polkit-kde-auth 0 5552 G - - - - - - org_kde_powerde 0 5553 G - - - - - - xdg-desktop-por # gpu pid type sm mem enc dec jpg ofa command # Idx # C/G % % % % % % name 0 7553 G - - - - - - kclockd 0 7556 C+G - - - - - - xwaylandvideobr 0 7557 G - - - - - - yakuake 0 7566 G - - - - - - kaccess 0 7568 G - - - - - - kalendarac 0 7633 G - - - - - - akonadi_control 0 7719 G - - - - - - akonadi_akonote 0 7720 G - - - - - - akonadi_birthda 0 7721 G - - - - - - akonadi_contact 0 7722 G - - - - - - akonadi_ical_re 0 7723 G - - - - - - akonadi_indexin 0 7724 G - - - - - - akonadi_maildir 0 7725 G - - - - - - akonadi_maildis 0 7726 G - - - - - - akonadi_migrati 0 7727 G - - - - - - akonadi_newmail 0 7862 G - - - - - - krunner 0 8618 G - - - - - - firefox 0 9047 G - - - - - - plasma-browser- 0 9344 G - - - - - - firefox 0 9742 G - - - - - - firefox 0 10903 G - - - - - - kiod6 0 10911 G - - - - - - kwalletd6 0 25763 C+G - - - - - - sunshine 0 85122 G - - - - - - python 0 109291 G - - - - - - dolphin 0 111116 G - - - - - - cpu-x 0 166770 G - - - - - - konsole 0 201950 G - - - - - - dolphin 0 264433 G - - - - - - dolphin 0 598280 G - - - - - - plasmashell 0 598370 G - - - - - - kdeconnectd 0 674593 C - - - - - - python3 0 680069 G - - - - - - baloorunner 0 782651 G - - - - - - mpv (In reply to David Redondo from comment #8) > > Upon review I see that the kwin_wayland process is showing a percentage for gpu usage and gpu memory and plasma-systemmonitor is showing a percentage for gpu usage but not gpu memory. Those are the only two processes showing anything for those two columns. > > Not showing anything means 0. > > I told you earlier the wrong command. For processes it should be > > nvidia-smi pmon > > if that is also 0 everywhere else, it means things are really 0. That seems kind of weird. I can see in nvtop that stable diffusion is using about 2 gigs worth of vram, but nothing in system monitor. We rely on what nvidia-smi reports. Not sure where nvtop gets the info. Another thing I am noticing is that the process kwin_wayland is reporting 40% gpu usage and 35% gpu memory usage. These numbers aren't changing. While nvtop and cpu-x are reporting different numbers as the amount of graphics usage and memory changes. I was suspicious of this so I restarted system monitor. Now kwin_wayland reports nothing while firefox is reporting an unmoving 20% gpu usage and 15% memory usage. The numbers don't appear to be updating at all. While the vast majority of process that nvtop reports as using some amount of gpu resources report nothing. (In reply to David Redondo from comment #11) > We rely on what nvidia-smi reports. Not sure where nvtop gets the info. Understandable, I took a look at their github page and I believe they use the nvml library directly. Supposedly the same library that nvidia-smi uses. However, if I run nvidia-smi by itself with no args. The output looks like this Wed Mar 6 07:08:59 2024 +-----------------------------------------------------------------------------------------+ | NVIDIA-SMI 550.54.14 Driver Version: 550.54.14 CUDA Version: 12.4 | |-----------------------------------------+------------------------+----------------------+ | GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. | | | | MIG M. | |=========================================+========================+======================| | 0 NVIDIA GeForce RTX 3080 Off | 00000000:2B:00.0 On | N/A | | 40% 39C P8 26W / 320W | 1847MiB / 10240MiB | 24% Default | | | | N/A | +-----------------------------------------+------------------------+----------------------+ +-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 5177 G /usr/lib/Xorg 34MiB | | 0 N/A N/A 5311 G /usr/bin/kwin_wayland 200MiB | | 0 N/A N/A 5447 G /usr/bin/Xwayland 23MiB | | 0 N/A N/A 5473 G /usr/bin/ksmserver 3MiB | | 0 N/A N/A 5475 G /usr/bin/kded6 3MiB | | 0 N/A N/A 5515 G /usr/lib/kactivitymanagerd 3MiB | | 0 N/A N/A 5551 G ...b/polkit-kde-authentication-agent-1 3MiB | | 0 N/A N/A 5552 G /usr/lib/org_kde_powerdevil 3MiB | | 0 N/A N/A 5553 G /usr/lib/xdg-desktop-portal-kde 36MiB | | 0 N/A N/A 7553 G /usr/bin/kclockd 3MiB | | 0 N/A N/A 7556 C+G /usr/bin/xwaylandvideobridge 15MiB | | 0 N/A N/A 7557 G /usr/bin/yakuake 3MiB | | 0 N/A N/A 7566 G /usr/bin/kaccess 3MiB | | 0 N/A N/A 7568 G /usr/bin/kalendarac 3MiB | | 0 N/A N/A 7633 G /usr/bin/akonadi_control 3MiB | | 0 N/A N/A 7719 G /usr/bin/akonadi_akonotes_resource 3MiB | | 0 N/A N/A 7720 G /usr/bin/akonadi_birthdays_resource 3MiB | | 0 N/A N/A 7721 G /usr/bin/akonadi_contacts_resource 3MiB | | 0 N/A N/A 7722 G /usr/bin/akonadi_ical_resource 3MiB | | 0 N/A N/A 7723 G /usr/bin/akonadi_indexing_agent 3MiB | | 0 N/A N/A 7724 G /usr/bin/akonadi_maildir_resource 3MiB | | 0 N/A N/A 7725 G /usr/bin/akonadi_maildispatcher_agent 3MiB | | 0 N/A N/A 7726 G /usr/bin/akonadi_migration_agent 3MiB | | 0 N/A N/A 7727 G /usr/bin/akonadi_newmailnotifier_agent 3MiB | | 0 N/A N/A 7862 G /usr/bin/krunner 36MiB | | 0 N/A N/A 8618 G /usr/lib/firefox/firefox 364MiB | | 0 N/A N/A 9047 G ...bin/plasma-browser-integration-host 3MiB | | 0 N/A N/A 9344 G /usr/lib/firefox/firefox 318MiB | | 0 N/A N/A 9742 G /usr/lib/firefox/firefox 3MiB | | 0 N/A N/A 10903 G /usr/lib/kf6/kiod6 3MiB | | 0 N/A N/A 10911 G /usr/bin/kwalletd6 3MiB | | 0 N/A N/A 25763 C+G /usr/bin/sunshine 219MiB | | 0 N/A N/A 85122 G /usr/bin/python 3MiB | | 0 N/A N/A 109291 G /usr/bin/dolphin 4MiB | | 0 N/A N/A 111116 G /usr/bin/cpu-x 3MiB | | 0 N/A N/A 166770 G /usr/bin/konsole 3MiB | | 0 N/A N/A 201950 G /usr/bin/dolphin 3MiB | | 0 N/A N/A 264433 G /usr/bin/dolphin 3MiB | | 0 N/A N/A 598280 G /usr/bin/plasmashell 151MiB | | 0 N/A N/A 598370 G /usr/lib/kdeconnectd 3MiB | | 0 N/A N/A 680069 G /usr/lib/baloorunner 3MiB | | 0 N/A N/A 782651 G /usr/bin/mpv 20MiB | | 0 N/A N/A 809277 G /usr/bin/plasma-systemmonitor 99MiB | +-----------------------------------------------------------------------------------------+ It clearly list some amount of resource usage next to a number of processes. Perhaps the formatted output command is somehow messed up? Or are these values just too small to bother reporting a percentage above zero? If it's stable_diffusion maybe there is a distinction between compute and graphics? (In reply to David Redondo from comment #15) > If it's stable_diffusion maybe there is a distinction between compute and > graphics? Your guess is as good as mine here? I just new it used a lot of vram, so it would probably be good to test with. Could it be that nvidia-smi pmon somehow accounts the memory that is used by stable diffusion to kwin_wayland? | 0 N/A N/A 5311 G /usr/bin/kwin_wayland 200MiB | That should be only around 2% and not the 40% it shows earlier. (In reply to David Redondo from comment #17) > Could it be that nvidia-smi pmon somehow accounts the memory that is used by > stable diffusion to kwin_wayland? > > | 0 N/A N/A 5311 G /usr/bin/kwin_wayland > 200MiB | > That should be only around 2% and not the 40% it shows earlier. I thought about that, but since the gpu usage doesn't seem to be updating either. I couldn't confirm it, by closing stable diffusion while system monitor was open. (In reply to David Redondo from comment #17) > Could it be that nvidia-smi pmon somehow accounts the memory that is used by > stable diffusion to kwin_wayland? > > | 0 N/A N/A 5311 G /usr/bin/kwin_wayland > 200MiB | > That should be only around 2% and not the 40% it shows earlier. Another thing I tried was opening and closing system monitor in between running stable diffusion to see if the results would be different, but it did not appear to have any effect on the reported values in system monitor. Gonna close this, after reading the man pages and help pages for nvidia-smi. It clearly shows more useful information when running nvidia-smi by it itself rather than when running it in process monitor mode. That isn't a problem for kde to solve. |