I'm just adding the information on a new issue here that may or may not be caused by the x11 update that caused the bug, I copy the text from the bug because the bug may be fixed or the issue split:
I don't know if it's related, but now that I applied the configuration uncommenting the BusID line in bumblebee/xorg.conf.nvidia to workaround this issue, when my notebook wakes from sleep, the card is not available.
In /proc/acpi/bbswitch the card is OFF, but it seems that bumblebeed can't turn it back on no matter what.
I wonder if it's the case for other people too.
I'm on a Dell XPS 15 (9550), I can provide the errors if needed but the optirun output is not very helpful, tonight I can try to get some info from dmesg or the bumblebeed logs in the journal.
Rebooting the notebook renders the card available again.
These are some outputs and logs:
- Code: Select all
[optirun]
$ optirun <software>
[11387.526745] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
[11387.526799] [ERROR]Aborting because fallback start is disabled.
[dmesg]
[11388.134933] bbswitch: enabling discrete graphics
[11388.134960] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
[journalctl -u bumblebeed]
Sep 04 20:53:08 <hostname> bumblebeed[6972]: Could not enable discrete graphics card
# cat /proc/acpi/bbswitch
0000:01:00.0 OFF
[syslog]
Sep 4 20:53:08 <hostname> kernel: [11388.134933] bbswitch: enabling discrete graphics
Sep 4 20:53:08 <hostname> kernel: [11388.134960] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
If I rmmod bbswitch and modprobe it:
- Code: Select all
[syslog]
Sep 4 21:00:21 <hostname> kernel: [11820.692973] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
Sep 4 21:00:21 <hostname> kernel: [11820.692991] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
Sep 4 21:00:21 <hostname> kernel: [11820.693050] bbswitch: detected an Optimus _DSM function
Sep 4 21:00:21 <hostname> kernel: [11820.693054] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off
Sep 4 21:00:32 <hostname> bumblebeed[6972]: Could not enable discrete graphics card
Sep 4 21:00:32 <hostname> kernel: [11831.757218] bbswitch: enabling discrete graphics
Sep 4 21:00:32 <hostname> kernel: [11831.757231] pci 0000:01:00.0: can't change power state from D3cold to D0 (config space inaccessible)
I think that maybe the last one is the key, when notebook goes to sleep, card is in a state that the system is unable to change.