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

bbswitch does not work on boot #194

Open
rhysperry111 opened this issue Feb 13, 2020 · 0 comments
Open

bbswitch does not work on boot #194

rhysperry111 opened this issue Feb 13, 2020 · 0 comments

Comments

@rhysperry111
Copy link

rhysperry111 commented Feb 13, 2020

Hi, if I try to load bbswitch automatically (by creating an entry in /etc/modules-load.d/) my system fails to boot. It just hangs with the HP logo and does not respond to anything (even SysRq keys)
If it inserted after boot (through modprobe) it seems to work perfectly fine.
Here is the journal from a failed boot:

Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: loading out-of-tree module taints kernel.
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: module verification failed: signature and/or required key missing - tainting kernel
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: version 0.8
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: detected an Optimus _DSM function
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: disabling discrete graphics
Feb 13 19:42:50 archlinux-laptop kernel: bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off
Feb 13 19:42:49 archlinux-laptop systemd-modules-load[326]: Inserted module 'bbswitch'

FULL LOG: https://pastebin.com/eS7rzWFe
And here is the journal after inserting via modprobe:

Feb 13 19:46:08 archlinux-laptop sudo[1169]:     rhys : TTY=pts/0 ; PWD=/home/rhys ; USER=root ; COMMAND=/usr/bin/modprobe bbswitch
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: loading out-of-tree module taints kernel.
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: module verification failed: signature and/or required key missing - tainting kernel
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: version 0.8
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: detected an Optimus _DSM function
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: disabling discrete graphics
Feb 13 19:46:08 archlinux-laptop kernel: bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off

Output of uname -a:

Linux archlinux-laptop 5.5.3-zen1-1-zen #1 ZEN SMP PREEMPT Tue, 11 Feb 2020 15:35:45 +0000 x86_64 GNU/Linux

I am using bbswitch-zen from the AUR (no DKMS)

I use wayland

I do not use my nVidia gpu (only intel), do not have the proprietary driver installed and I have blacklisted nouveau.

System info:
https://bugs.launchpad.net/lpbugreporter/+bug/752542/comments/850

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

1 participant