Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to initialize NVML driver. If gpu is disabled #237

Open
Dronte opened this issue Feb 9, 2024 · 1 comment
Open

Failed to initialize NVML driver. If gpu is disabled #237

Dronte opened this issue Feb 9, 2024 · 1 comment

Comments

@Dronte
Copy link

Dronte commented Feb 9, 2024

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

@EnzephaloN
Copy link

EnzephaloN commented Feb 27, 2024

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
[...]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants