lestofante / ksysguard-gpu

add gpu visualization for ksysguard
GNU General Public License v3.0
96 stars 11 forks source link

nvidia-smi constantly starting and stopping #31

Open TheoCGaming opened 1 year ago

TheoCGaming commented 1 year ago

SMI Version: v530.41.03 Driver Version: 530.41.03 GPU: NVIDIA GeForce GTX 1650 SUPER Linux Distro/Version: Arch Linux (6.3.5-zen1-1-zen)

NVIDIA SMI Output

░▒▓   ~   10:34  
❯ nvidia-smi --query-gpu=index,temperature.gpu,utilization.gpu,utilization.memory,fan.speed,pstate,power.draw,clocks.sm,clocks.mem,clocks.gr --format=csv -l 1
index, temperature.gpu, utilization.gpu [%], utilization.memory [%], fan.speed [%], pstate, power.draw [W], clocks.current.sm [MHz], clocks.current.memory [MHz], clocks.current.graphics [MHz]
0, 47, 24 %, 16 %, 0 %, P5, 16.50 W, 660 MHz, 810 MHz, 660 MHz
0, 47, 18 %, 14 %, 0 %, P8, 16.52 W, 420 MHz, 405 MHz, 420 MHz
0, 47, 42 %, 27 %, 0 %, P5, 16.89 W, 720 MHz, 810 MHz, 720 MHz
0, 47, 17 %, 14 %, 0 %, P5, 16.28 W, 720 MHz, 810 MHz, 720 MHz
0, 47, 21 %, 16 %, 0 %, P8, 15.67 W, 480 MHz, 405 MHz, 480 MHz

ksysguard-gpu output

░▒▓   ~   10:34  
❯ sudo python /bin/ksysguard-gpu.py                                                                                                                                                                                           
[sudo] password for theocgaming: 
intel_gpu_top: executable not found
intel_gpu_top: process stopped
nvidia-smi: found and running
radeontop: executable not found
radeontop: process stopped
intel_gpu_top: terminated
radeontop: terminated
nvidia-smi: process stopped
nvidia-smi: found and running
nvidia-smi: process stopped
nvidia-smi: found and running
nvidia-smi: process stopped
nvidia-smi: found and running
nvidia-smi: process stopped
^CTraceback (most recent call last):
  File "/bin/ksysguard-gpu.py", line 108, in <module>
    time.sleep(0.5)
KeyboardInterrupt
nvidia-smi: found and running
nvidia-smi: process stopped
nvidia-smi: found and running
^CException ignored in: <module 'threading' from '/usr/lib/python3.11/threading.py'>
Traceback (most recent call last):
  File "/usr/lib/python3.11/threading.py", line 1583, in _shutdown
    lock.acquire()
KeyboardInterrupt: