KrispyCamel4u / SysMonTask

Linux system monitor with the compactness and usefulness of windows task manager to allow higher control and monitoring.
BSD 3-Clause "New" or "Revised" License
688 stars 60 forks source link

AMD Graphics Cards support #9

Open lollilol opened 3 years ago

lollilol commented 3 years ago

I see you already have GPU support for nvidia cards, but i have an AMD Radeon Vega 56 and i cant see stats for it in SysMonTask. I see you are using nvidia-smi and i have searched a little bit and fond "rocm-smi". Its just called like that in the fedora repos and i guess in basically every other distro too.

lollilol commented 3 years ago

sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info also shows some info about the GPU.

KrispyCamel4u commented 3 years ago

Thanks for this info. I will see if that can be done, but at present, I don't have any AMD card. So won't be able to test it on my machine. But I will try and if you can help, that would be awesome.

lollilol commented 3 years ago

yes i can help, if you want to contact me im most active on telegram: https://t.me/lollilol01

Seltonu commented 3 years ago

I would also be happy to test, I have a 6800XT

KrispyCamel4u commented 3 years ago

I would also be happy to test, I have a 6800XT

Thank you very much. I will ping you when start working on it. :)

IrenvanderBeekPXL commented 3 years ago

I'm a little late, but I can also test (with my rx 570)

KrispyCamel4u commented 3 years ago

Hi, Can you guys check if "radeontop" works for you and what it shows and how much it shows?

Seltonu commented 3 years ago

Apologies for the late reply, it's midterms week for me. Here is a screenshot of radeontop, doesn't seem to support the 6800XT yet. This is the version of radeontop that was installed via "sudo apt install radeontop" (1.2) on Pop!_OS 20.10 (Ubuntu distro)

image

I compiled the latest version (1.3) from the radeontop github and get the following: image

For anyone struggling to compile the latest radeontop like I was to test, you need to install the following dependencies: "sudo apt install libdrm-dev libncurses-dev libpciaccess-dev libxcb-dri2-0-dev"

Danny3 commented 3 years ago

I can help too with RX 560 and also with Intel integrated GPU, if needed.

KrispyCamel4u commented 3 years ago

Apologies for the late reply, it's midterms week for me. Here is a screenshot of radeontop, doesn't seem to support the 6800XT yet. This is the version of radeontop that was installed via "sudo apt install radeontop" (1.2) on Pop!_OS 20.10 (Ubuntu distro)

image

I compiled the latest version (1.3) from the radeontop github and get the following: image

For anyone struggling to compile the latest radeontop like I was to test, you need to install the following dependencies: "sudo apt install libdrm-dev libncurses-dev libpciaccess-dev libxcb-dri2-0-dev"

Thanks @Seltonu

IrenvanderBeekPXL commented 3 years ago

Schermafdruk van 2021-05-06 09-41-48 Here you go (rx 570 on pop os 20.04 while doing nothing)

IrenvanderBeekPXL commented 3 years ago

O jea, my rx 570 is with 8gb of ram

KrispyCamel4u commented 3 years ago

Schermafdruk van 2021-05-06 09-41-48 Here you go (rx 570 on pop os 20.04 while doing nothing)

Thankyou @IrenvanderBeekPXL

IrenvanderBeekPXL commented 3 years ago

I can also try taking a picture while having rocket league open in the menu...

IrenvanderBeekPXL commented 3 years ago

And if you want to, here are my values while running basemark gpu Schermafdruk van 2021-05-18 08-13-20 Schermafdruk van 2021-05-18 08-14-50

KrispyCamel4u commented 3 years ago

thanks @IrenvanderBeekPXL Can anyone try with the -d (dump to a file) option in readeontop and share the output?

IrenvanderBeekPXL commented 3 years ago

Ill see if i can do that this week

IrenvanderBeekPXL commented 3 years ago

This is my dump while crashing while overclocking :)

dump.txt

IrenvanderBeekPXL commented 3 years ago

so I probably need to reflash my bios

IrenvanderBeekPXL commented 3 years ago

Thied it again without OC bios (i have double bios), I got this:

dump.txt

KrispyCamel4u commented 3 years ago

Thied it again without OC bios (i have double bios), I got this:

dump.txt

thanks @IrenvanderBeekPXL for this.

IrenvanderBeekPXL commented 3 years ago

I will just get my overclocking a bit better, then I can also test with OC

KrispyCamel4u commented 3 years ago

I will just get my overclocking a bit better, then I can also test with OC

it isn't required as of now XD

IrenvanderBeekPXL commented 3 years ago

but I want to OC it because I got CPU bottleneck in games

IrenvanderBeekPXL commented 3 years ago

Are we still working on this?

KrispyCamel4u commented 3 years ago

@IrenvanderBeekPXL Thanks for asking. It is on pause, I will be changing the overall code structure/underlying code architecture after that I will continue this. I had thought of using the existing tools like radeontop or intel-gpu-top and running these in parallel to sysmontask and get data from them to use. But the approach isn't a production-ready type(but to be used as a trick during development).

IrenvanderBeekPXL commented 3 years ago

Why is radeontop not production-ready?

KrispyCamel4u commented 3 years ago

Radeontop is a production software. It is the approach to use in sysmontask is not good as per the production standard.