Can't use bbswitch

  • I’m a EndeavourOS user, I was using many distros before with optimus manager.
  • but after installing EndeavourOS I can’t use optimus manager because of bbswitch
  • I can’t install bbswitch, I tried bbswitch and bbswitch-dkms
  • I’m using envycontrol now, but I want to use optimus manager
journalctl -b 0 -p err  | grep kernel 
Aug 06 19:48:48 Endeavour-Legion5 kernel: integrity: Problem loading X.509 certificate -65
Aug 06 19:48:54 Endeavour-Legion5 kernel: 
Aug 06 19:48:54 Endeavour-Legion5 kernel: amdgpu 0000:05:00.0: amdgpu: Secure display: Generic Failure.
Aug 06 19:48:54 Endeavour-Legion5 kernel: amdgpu 0000:05:00.0: amdgpu: SECUREDISPLAY: query securedisplay TA failed. ret 0x0
Aug 06 19:50:38 Endeavour-Legion5 kernel: [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Aug 06 19:50:38 Endeavour-Legion5 kernel: [drm:drm_new_set_master] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Aug 06 19:51:08 Endeavour-Legion5 kernel: bbswitch: No suitable _DSM call found.

sudo dmesg | grep bbswitch

[  140.987144] bbswitch: version 0.8
[  140.987169] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.GPP0.PEGP
[  140.987175] bbswitch: Found discrete VGA device 0000:05:00.0: \_SB_.PCI0.GP17.VGA_
[  140.987200] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[  140.987213] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[  140.987216] bbswitch: No suitable _DSM call found.
[ 2348.101133] bbswitch: version 0.8
[ 2348.101150] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.GPP0.PEGP
[ 2348.101154] bbswitch: Found discrete VGA device 0000:05:00.0: \_SB_.PCI0.GP17.VGA_
[ 2348.101169] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xF8,0xD8,0x86,0xA4,0xDA,0x0B,0x1B,0x47,0xA7,0x2B,0x60,0x42,0xA6,0xB5,0xBE,0xE0} 0x100 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 2348.101177] bbswitch: failed to evaluate \_SB_.PCI0.GP17.VGA_._DSM {0xA0,0xA0,0x95,0x9D,0x60,0x00,0x48,0x4D,0xB3,0x4D,0x7E,0x5F,0xEA,0x12,0x9F,0xD4} 0x102 0x0 {0x00,0x00,0x00,0x00}: AE_NOT_FOUND
[ 2348.101179] bbswitch: No suitable _DSM call found.

Purely out of curiosity, why do you prefer optimus manager?

I’ve tried both myself and found envycontrol to be much more straightforward, so I’d be interested in your thoughts just in case there’s something I’m missing :smile:

  • envycontrol takes too long to switch because it rebuilds initramfs. optimus manager switches in just a second

  • envycontrol does not detect the suitable mode automatically, optimus manager you can specify which mode to use while AC and battery.