I have been trying to find a way to display (AMD) GPU load in my conky, and while researching methods to display load, I found a command that - while requiring sudo - worked to print the GPU load to the terminal (
sudo cat /sys/kernel/debug/dri/64/amdgpu_pm_info). Conky cannot run sudo commands, so I attempted to both:
- use visudo to allow myself access to the
/sys/kernel/debug/dri/64folder without having to enter the sudo password, and
- use chown to modify the permissions of the file to a+rwx.
Neither of these methods seemed to work to allow me to use the command without entering the sudo password, however.
All help is appreciated!