Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMD GPU Monitor #66

Open
0ry0n opened this issue Mar 23, 2023 · 6 comments
Open

AMD GPU Monitor #66

0ry0n opened this issue Mar 23, 2023 · 6 comments
Labels
enhancement New feature or request hardware support Support additional hardware

Comments

@0ry0n
Copy link
Owner

0ry0n commented Mar 23, 2023

No description provided.

@0ry0n 0ry0n added enhancement New feature or request hardware support Support additional hardware labels Mar 23, 2023
0ry0n added a commit that referenced this issue Mar 23, 2023
0ry0n added a commit that referenced this issue Mar 27, 2023
* Added CPU frequency unit. (#63)

* Cpu Frequency unit fix

* Fix prefs gui

* Fix units #57

* Hide gpu name #58

* New gpu Icon #59

* Added gnome 44 support and updated copyright

* Added display order #56

* Fix icons

* Fix disk stats unit

* Fix gpu mem unit

* Fix cpu thermal sensor categorization #61

* #66

* Fix for GNOME 40

* Better error handling

* Fix deprecated function

* Fix parsing disk space

* Added display of all disk devices #65

* Update README and version

---------

Co-authored-by: Giacomo Boldini <[email protected]>
0ry0n added a commit that referenced this issue Mar 27, 2023
* Added CPU frequency unit. (#63)

* Cpu Frequency unit fix

* Fix prefs gui

* Fix units #57

* Hide gpu name #58

* New gpu Icon #59

* Added gnome 44 support and updated copyright

* Added display order #56

* Fix icons

* Fix disk stats unit

* Fix gpu mem unit

* Fix cpu thermal sensor categorization #61

* #66

* Fix for GNOME 40

* Better error handling

* Fix deprecated function

* Fix parsing disk space

* Added display of all disk devices #65

* Update README and version
@KangZayd
Copy link

KangZayd commented Sep 4, 2023

is there a solution yet? on amd gpu

@murfidaz
Copy link

any solution?

@l1gi
Copy link

l1gi commented Sep 18, 2024

I am missing my AMD GPU card listed in GPUs conf tab also. Instead I am still hitting #71. Any progress?

Thank you,
m.

@antonio24073
Copy link

Hi,

Please add amd support with radeontop.

Steps:

  • Install radeontop
sudo apt install radeontop -y
  • run the command:
radeontop -d --

It will return something like this::

1732580637.806896: bus 01, gpu 10.00%, ee 0.00%, vgt 0.00%, ta 6.67%, sx 7.50%, sh 0.00%, spi 10.00%, sc 9.17%, pa 3.33%, db 10.00%, cb 7.50%, vram 55.08% 563.98mb, gtt 25.40% 519.07mb, mclk inf% 0.662ghz, sclk 52.02% 0.429ghz
1732580638.807094: bus 01, gpu 10.00%, ee 0.00%, vgt 0.00%, ta 6.67%, sx 7.50%, sh 0.00%, spi 10.00%, sc 9.17%, pa 3.33%, db 10.00%, cb 7.50%, vram 55.08% 563.98mb, gtt 25.40% 519.07mb, mclk inf% 0.662ghz, sclk 52.02% 0.429ghz
1732580639.807313: bus 01, gpu 11.67%, ee 0.00%, vgt 0.83%, ta 10.00%, sx 10.00%, sh 0.00%, spi 11.67%, sc 10.83%, pa 5.00%, db 11.67%, cb 10.00%, vram 54.22% 555.25mb, gtt 25.40% 519.07mb, mclk inf% 0.668ghz, sclk 52.27% 0.431ghz

To get gpu usage you can do:

radeontop -d --| grep -Poi 'gpu \K(\d{1,3}.\d{2}%)'

To get vram usage, you can replace gpu with vram:

radeontop -d --| grep -Poi 'vram \K(\d{1,3}.\d{2}%)'

So you can get all the specifications from:

1732580639.807313: bus 01, gpu 11.67%, ee 0.00%, vgt 0.83%, ta 10.00%, sx 10.00%, sh 0.00%, spi 11.67%, sc 10.83%, pa 5.00%, db 11.67%, cb 10.00%, vram 54.22% 555.25mb, gtt 25.40% 519.07mb, mclk inf% 0.668ghz, sclk 52.27% 0.431ghz

To better performance, you can put the result of radeontop -d into a text file or cache instead run multiple parallels processes. So run, something like cat radeontop.txt | grep -Poi 'gpu \K(\d{1,3}.\d{2}%)'

best regards,

@antonio24073
Copy link

alternative solution for those who don't want to wait:

add a -l 1 to the command

radeontop -l 1 -d --| grep -Poi 'gpu \K(\d{1,3}.\d{2}%)'

and put it in executor gnome extension

@0ry0n
Copy link
Owner Author

0ry0n commented Dec 19, 2024

Thanks for the help. is there a command that i can use without installing anything? I saw that amdsmi should be there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hardware support Support additional hardware
Projects
None yet
Development

No branches or pull requests

5 participants