bumblebee does not work with XPS 9560

Bug #1705015 reported by Wang-Zhou Dai
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bumblebee (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I have Debian Sid on my XPS 15 9560, the system informations are like follows:

```
Debian GNU/Linux buster/sid \n \l

Dell Inc.
baseboard-product-name: 05FFDN
baseboard-version : A00
system-manufacturer : Dell Inc.
system-product-name : XPS 15 9560
system-version : Not Specified
bios-vendor : Dell Inc.
bios-version : 1.3.4
bios-release-date : 06/08/2017

optirun (Bumblebee) 3.2.1
```

I have installed the `bumblebee-nvidia` package from the official repository. But when I use `optirun`, the terminal outputs following error:

```
$ optirun -vv glxgears
[ 713.774178] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 713.774285] [INFO]Configured driver: nvidia
[ 713.774494] [DEBUG]optirun version 3.2.1 starting...
[ 713.774511] [DEBUG]Active configuration:
[ 713.774513] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 713.774514] [DEBUG] X display: :8
[ 713.774515] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 713.774516] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 713.774536] [DEBUG] Accel/display bridge: auto
[ 713.774537] [DEBUG] VGL Compression: proxy
[ 713.774538] [DEBUG] VGLrun extra options:
[ 713.774540] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 713.774578] [DEBUG]Using auto-detected bridge primus
[ 713.869006] [INFO]Response: No - error: Could not load GPU driver

[ 713.869018] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 713.869021] [DEBUG]Socket closed.
[ 713.869036] [ERROR]Aborting because fallback start is disabled.
[ 713.869040] [DEBUG]Killing all remaining processes.
```

Then I tried to configure the `KernelDrive` in `/etc/bumblebee/bumblebee.conf`, neither `nvidia` or `nvidia-current` works.

When I run `sudo modprobe nvidia-current`, the error is like this:
```
$ sudo modprobe -vv nvidia-current
modprobe: INFO: ../libkmod/libkmod.c:364 kmod_set_log_fn() custom logging function 0x9820ee7390 registered
insmod /lib/modules/4.11.0-2-amd64/updates/dkms/nvidia-current.ko
modprobe: INFO: ../libkmod/libkmod-module.c:886 kmod_module_insert_module() Failed to insert module '/lib/modules/4.11.0-2-amd64/updates/dkms/nvidia-current.ko': No such device
modprobe: ERROR: could not insert 'nvidia_current': No such device
modprobe: INFO: ../libkmod/libkmod.c:331 kmod_unref() context 0x982129d200 released
```

I have checked the `modules` directory, it contains all `nvidia-current.ko` and `nvidia-current-drm.ko` etc files.

I remember that when Debian was using kernel `linux-image-4.9.0-3-amd64` there weren't any problem, however when it automatically upgrades to `4.11.0-1-amd64` and `4.11.0-2-amd64` then bumblebee produces the error above.

Attached please find the report generated by `bumblebee-bugreport`.

Tags: debian
Revision history for this message
Wang-Zhou Dai (haldai) wrote :
Wang-Zhou Dai (haldai)
affects: bumblebee (Ubuntu) → the-bumblebee-project
affects: the-bumblebee-project → bumblebee (Ubuntu)
Revision history for this message
Wang-Zhou Dai (haldai) wrote :

The problem has been fixed. It is the conflict between TLP and bumblebee that causes the problem. Although I had included PCI "01:00.00" in tlp's pci blacklist, tlp still holds the control of nvidia graphic card's power management.

After I add "pcie_port_pm=off" in kernel options the problem suddenly disappeared.

Plz set this bug thread as invalid since this is a problem between tlp and the linux kernel.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bumblebee (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.