You are not logged in.

#1 2020-03-08 15:09:11

Fabius
Member
Registered: 2019-05-21
Posts: 5

Bumblebee bbswitch problem

I'm facing a problem with Bumblebee and bbswitch.

I got this error:

$ optirun glxgears
[  428.288985] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

[  428.289011] [ERROR]Aborting because fallback start is disabled.

So i checked this:

$ cat /proc/acpi/bbswitch
0000:01:00.0 OFF

Tryed to turn it ON, with no success:

$ echo ON | sudo tee /proc/acpi/bbswitch
ON

$ cat /proc/acpi/bbswitch
0000:01:00.0 OFF

And giving that command also spawned this in dmesg:

$ dmesg
[  670.901792] bbswitch: enabling discrete graphics
[  670.901874] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)

I noticed that this is caused by:

[driver-nvidia]
PMMethod=bbswitch

[driver-nouveau]
PMMethod=bbswitch

inside my /etc/bumblebee/bumblebee.conf, which i set as suggested by the ArchWiki here to enable NVIDIA card after waking from suspend.

If i change this to:

[driver-nvidia]
PMMethod=auto

[driver-nouveau]
PMMethod=auto

and reboot, i can use optirun smoothly.

But if i do so it always stays ON and seems it cannot be turned OFF:

$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

$ echo OFF | sudo tee /proc/acpi/bbswitch
OFF

$ cat /proc/acpi/bbswitch
0000:01:00.0 ON

Any idea on why this is happening and how should i deal with this?

Offline

#2 2020-03-10 22:13:39

Fabius
Member
Registered: 2019-05-21
Posts: 5

Re: Bumblebee bbswitch problem

Now all of sudden, and without any other change, even with

PMMethod=auto

bbswitch keeps staying OFF. The only way to use optirun is to set

PMMethod=none

Btw seems i'm not the only one who recently had this issue: https://bugs.launchpad.net/lpbugreporte … mments/849

Last edited by Fabius (2020-03-10 22:13:56)

Offline

Board footer

Powered by FluxBB