openSUSE / SUSEPrime

Provide nvidia-prime like package for openSUSE
65 stars 11 forks source link

bbswitch is installed but seems broken. Cannot get NVIDIA power status #67

Closed sith-on-mars closed 3 years ago

sith-on-mars commented 3 years ago

After the latest 20210904 upgrade which updates the kernel to 5.14, bbswitch which I use to power off Nvidia seems to stop working. Here is the output:

/usr/sbin/prime-select get-current
Driver configured: intel
[bbswitch] bbswitch is installed but seems broken. Cannot get NVIDIA power status

Should I just wait for another kernel update to fix it?

bubbleguuum commented 3 years ago

Looks like there is no bbswitch kmp package for 5.14 yet, thus no module.

sith-on-mars commented 3 years ago

Thanks! Does that mean we need to wait until Nvidia provides the kmp package for 5.14 first so that bbswitch kmp package can be updated to 5.14 as well?

bubbleguuum commented 3 years ago

No, we need to wait for that package to appear in Tumbleweed. Not sure why it is not already there in the first place.

bubbleguuum commented 3 years ago

Specifically, there's a problem building some kmp packages currently due to an rpmlint error:

https://lists.opensuse.org/archives/list/kernel@lists.opensuse.org/thread/J2T3BWW3SGKIKOACCK7BSALMHSC5TKNS/

travis-82 commented 3 years ago

I have this issue in Leap 15.3 as well:

/usr/sbin/prime-select get-current
Driver configured: intel
grep: /proc/acpi/bbswitch: No such file or directory
grep: /proc/acpi/bbswitch: No such file or directory
bbswitch is installed but seems broken. Cannot get NVIDIA power status

Edit: I commented out blacklist bbswitch in modprobe.d/09-nvidia-modprobe-bbswitch-G04.conf and it seems that the problem solved:

/usr/sbin/prime-select get-current
Driver configured: intel
[bbswitch] NVIDIA card is OFF

Why does bbswitch must be blacklisted?

sith-on-mars commented 3 years ago

Not quite about the Leap issue. On my Tumbleweed the issue is fixed in the 20210906 snapshot.

sndirsch commented 3 years ago

It is my understanding that it has been a Tumbleweed-only issue.

sndirsch commented 3 years ago

Closing as fixed.