Hi,

The hardware is a Dell XPS 9570:

00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation LPSS I2C Controller #0 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a369 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Device a353 (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #17 (rev f0)
00:1c.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #1 (rev f0)
00:1c.4 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #5 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a30e (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev ff)
3b:00.0 Network controller: Intel Corporation Wireless-AC 9260 (rev 29)
3c:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3d:00.0 Non-Volatile memory controller: Toshiba America Info Systems Device 0116


After disabling Secure Boot in BIOS I did a fresh install of Tumbleweed and followed this guide:

https://en.opensuse.org/SDB:NVIDIA_Bumblebee

Please notice that I followed only Tumbleweed specific sections and I did not installed the Nvidia driver or configure the X11 links. Basically (from the history output):

2 sudo snapper create -d BeforeBB
3 sudo zypper in bumblebee bbswitch
4 sudo usermod -aG bumblebee codrut
5 sudo usermod -aG video codrut
6 id codrut
7 sudo systemctl enable bumblebeed
8 sudo systemctl start bumblebeed
9 cat /etc/modprobe.d/
10 cat /etc/modprobe.d/99-local.conf
11 echo "blacklist nouveau" | sudo tee -a /etc/modprobe.d/99-local.conf
12 cat /etc/modprobe.d/99-local.conf
13 sudo mkinitrd
14 sudo zypper in Mesa-libGL1-32bit libX11-6-32bit primus-32bit
15 sudo zypper addrepo https://download.opensuse.org/reposi...Bumblebee.repo
16 sudo zypper in nvidia-bumblebee nvidia-bumblebee-32bit
17 sudo systemctl enable dkms
18 sudo mkinitrd
19 optirun --status
20 optirun glxgears

This failed to run even after I blacklisted the GPU in TLP, stopping TLP and powertop is not configured on my system.

codrut@linux-ht9t:/etc/bumblebee> sudo systemctl status tlp
● tlp.service - TLP system startup/shutdown
Loaded: loaded (/usr/lib/systemd/system/tlp.service; disabled; vendor preset: disabled)
Active: inactive (dead)
Docs: http://linrunner.de/tlp
codrut@linux-ht9t:/etc/bumblebee> sudo systemctl status powertop
Unit powertop.service could not be found.

In dmesg for boot time:

[ 9.388463] Bluetooth: hci0: Firmware revision 0.1 build 113 week 38 2018
[ 9.394848] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input33
[ 9.394963] usbcore: registered new interface driver uvcvideo
[ 9.394964] USB Video Class driver (1.1.1)
[ 9.470946] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 9.471191] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 9.471191] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 9.471194] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.471205] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.471205] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 9.471290] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 9.487780] bpfilter: Loaded bpfilter_umh pid 1781
[ 9.543363] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 9.543364] Bluetooth: BNEP filters: protocol multicast
[ 9.543366] Bluetooth: BNEP socket layer initialized
[ 9.560592] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 9.560784] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 9.560785] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 9.560788] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.560795] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.560796] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 9.560915] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 9.643870] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 9.644080] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 9.644081] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 9.644083] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.644092] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.644092] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 9.644180] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242
[ 9.736615] nvidia-nvlink: Nvlink Core is being initialized, major device number 242
[ 9.736853] NVRM: This is a 64-bit BAR mapped above 4GB by the system
NVRM: BIOS or the Linux kernel, but the PCI bridge
NVRM: immediately upstream of this GPU does not define
NVRM: a matching prefetchable memory window.
[ 9.736854] NVRM: This may be due to a known Linux kernel bug. Please
NVRM: see the README section on 64-bit BARs for additional
NVRM: information.
[ 9.736858] nvidia: probe of 0000:01:00.0 failed with error -1
[ 9.736868] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 9.736869] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 9.736984] nvidia-nvlink: Unregistered the Nvlink Core, major device number 242



after issuing the command:

codrut@linux-ht9t:/etc/bumblebee> optirun --status
Bumblebee status: Ready (3.2.1). X inactive. Discrete video card is off.

codrut@linux-ht9t:/etc/bumblebee> optirun glxgears

in dmesg:

[ 585.957616] [ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card

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

[ 585.894214] bbswitch: enabling discrete graphics
[ 585.894274] pci 0000:01:00.0: Refused to change power state, currently in D3