thinkfan icon indicating copy to clipboard operation
thinkfan copied to clipboard

Failed to initialize NVML driver. If gpu is disabled

Open Dronte opened this issue 1 year ago • 1 comments

I have a dedicated nvidia gpu on my laptop that I enable and disable. nvidia (proprietary) driver is loaded and unloaded accordingly

My thinkfan.conf has section

sensors:
  - nvml: 03:00.0
    optional: true

but when gpu is off and nvidia driver is offloaded, I get

ERROR: Failed to initialize NVML driver. Error code (cf. nvml.h): 28

on thinkfan start

Dronte avatar Feb 09 '24 09:02 Dronte

Same here on ThinkPad P1 gen4 with nVidia A2000 I use nVidia-driver, Bumblebee and bbswitch. thinkfan 1.3.1-1 on Arch Linux

sensors:
[...]
  - nvml: 01:00.0
    optional: true
[...]

EnzephaloN avatar Feb 27 '24 07:02 EnzephaloN