Apparently, the 378.13 version somehow breaks the bumblebee setup and refuses to load. This is the working configuration for me: $ eix bumblebee [I] x11-misc/bumblebee Available versions: 3.2.1 (~)3.2.1_p20170123 **9999 {+bbswitch VIDEO_CARDS="nouveau nvidia"} Installed versions: 3.2.1_p20170123(10:56:48 07/04/2017)(bbswitch VIDEO_CARDS="nvidia -nouveau") Homepage: http://bumblebee-project.org https://github.com/Bumblebee-Project/Bumblebee Description: Service providing elegant and stable means of managing Optimus graphics chipsets $ eix virtualgl [I] x11-misc/virtualgl Available versions: 2.4.1-r3 ~2.5.1 {libressl ssl ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"} Installed versions: 2.4.1-r3(22:48:16 17/03/2017)(ssl -libressl ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32") Homepage: http://www.virtualgl.org/ Description: Run OpenGL applications remotely with full 3D hardware acceleration $ eix bbswitch [I] sys-power/bbswitch Available versions: 0.8 {KERNEL="linux"} Installed versions: 0.8(10:54:07 07/04/2017)(KERNEL="linux") Homepage: https://github.com/Bumblebee-Project/bbswitch Description: Toggle discrete NVIDIA Optimus graphics card $ eix nvidia-drivers [I] x11-drivers/nvidia-drivers Available versions: [M]96.43.23-r1(0/96)^msd [M]173.14.39-r1(0/173)^msd [M]~173.14.39-r2(0/173)^msd 304.134(0/304)^md ~304.134-r1(0/304)^md 304.135(0/304)^md 340.101(0/340)^md ~340.101-r1(0/340)^md 340.102(0/340)^md 375.26(0/375)^md ~375.26-r3(0/375)^md 375.39(0/375)^md [m]378.13(0/378)^md {+X acpi compat custom-cflags +driver gtk gtk3 +kms multilib pax_kernel static-libs (+)tools uvm wayland ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" KERNEL="FreeBSD linux"} Installed versions: 375.39^md(14:28:13 07/04/2017)(X acpi compat driver kms multilib -gtk3 -pax_kernel -static-libs -tools -uvm -wayland ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32" KERNEL="linux -FreeBSD") Homepage: http://www.nvidia.com/ http://www.nvidia.com/Download/Find.aspx Description: NVIDIA Accelerated Graphics Driver Unmasking 378.13, same configuration, X complains not being able to start the secondary graphic adapter. Relevant portion of messages: Apr 7 14:20:03 tardis kernel: bbswitch: enabling discrete graphics Apr 7 14:20:03 tardis kernel: nvidia: module license 'NVIDIA' taints kernel. Apr 7 14:20:03 tardis kernel: Disabling lock debugging due to kernel taint Apr 7 14:20:03 tardis kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 246 Apr 7 14:20:03 tardis kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module 378.13 Tue Feb 7 20:10:06 PST 2017 Apr 7 14:20:03 tardis kernel: (using threaded interrupts) Apr 7 14:20:03 tardis kernel: Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: NVRM: RmInitAdapter failed! (0x26:0xffff:1097) Apr 7 14:20:03 tardis kernel: NVRM: rm_init_adapter failed for device bearing minor number 0 Apr 7 14:20:03 tardis kernel: vgaarb: this pci device is not a vga device Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:03 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:04 tardis kernel: ACPI Warning: \x5c_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95) Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(GPU-0): README for additional information. Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device! Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) NVIDIA(0): Failing initialization of X screen 0 Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Screen(s) found, but none have a usable configuration. Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) no screens found(EE) Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information. Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Apr 7 14:20:04 tardis bumblebeed[4987]: [XORG] (EE) Server terminated with error (1). Closing log file. Apr 7 14:20:04 tardis kernel: NVRM: RmInitAdapter failed! (0x26:0xffff:1097) Apr 7 14:20:04 tardis kernel: NVRM: rm_init_adapter failed for device bearing minor number 0 Relevant portion of Xorg.log: [ 63.654] (II) NVIDIA(0): Creating default Display subsection in Screen section "Default Screen Section" for depth/fbbpp 24/32 [ 63.654] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32 [ 63.654] (==) NVIDIA(0): RGB weight 888 [ 63.654] (==) NVIDIA(0): Default visual is TrueColor [ 63.654] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0) [ 63.654] (**) NVIDIA(0): Option "NoLogo" "true" [ 63.654] (**) NVIDIA(0): Option "ProbeAllGpus" "false" [ 63.654] (**) NVIDIA(0): Option "UseEDID" "false" [ 63.654] (**) NVIDIA(0): Option "UseDisplayDevice" "none" [ 63.654] (**) NVIDIA(0): Enabling 2D acceleration [ 63.654] (**) NVIDIA(0): Ignoring EDIDs [ 63.654] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout [ 63.654] (**) NVIDIA(0): mode [ 63.739] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0. Please [ 63.739] (EE) NVIDIA(GPU-0): check your system's kernel log for additional error [ 63.739] (EE) NVIDIA(GPU-0): messages and refer to Chapter 8: Common Problems in the [ 63.739] (EE) NVIDIA(GPU-0): README for additional information. [ 63.739] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device! [ 63.739] (EE) NVIDIA(0): Failing initialization of X screen 0 [ 63.739] (II) UnloadModule: "nvidia" [ 63.739] (II) UnloadSubModule: "wfb" [ 63.739] (II) UnloadSubModule: "fb" [ 63.739] (EE) Screen(s) found, but none have a usable configuration. [ 63.739] (EE) Fatal server error: [ 63.739] (EE) no screens found(EE) [ 63.739] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 63.739] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information. [ 63.739] (EE) [ 63.739] (EE) Server terminated with error (1). Closing log file. Reproducible: Always
387.22 works, so this can be closed.