You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the card is automatically set to card0. But, in the case of a integrated graphics card being detected, the gpu then becomes card1 which then causes the graph to not display anything. At least that's what I noticed after switching from card0 to card1 as card0 is not present on my system as I have integrated graphics disabled. Easy fix at any rate for those with anyone with a AMD gpu that may have the same issue I did. All I did was edit gpu_usage.sh to report card1 instead of card0 and it seemed to fix the issue for me.
Cheers! ^^
The text was updated successfully, but these errors were encountered:
I noticed that the gpu line graph was empty and after some investigating; I found that in the gpu_usage.sh this section ->
elslif lsmod | grep amdgpu > /dev/null; then
total=$(cat /sys/class/drm/card0/device/mem_info_vram_total)
echo $(($total / 1024 / 1024))
used=$(cat /sys/class/drm/card0/device/mem_info_vram_used)
echo $(($used / 1024 / 1024))
cat /sys/class/drm/card0/device/gpu_busy_percent
the card is automatically set to card0. But, in the case of a integrated graphics card being detected, the gpu then becomes card1 which then causes the graph to not display anything. At least that's what I noticed after switching from card0 to card1 as card0 is not present on my system as I have integrated graphics disabled. Easy fix at any rate for those with anyone with a AMD gpu that may have the same issue I did. All I did was edit gpu_usage.sh to report card1 instead of card0 and it seemed to fix the issue for me.
Cheers! ^^
The text was updated successfully, but these errors were encountered: