You are not logged in.

#1 2019-07-11 13:47:41

SaJmoN170
Member
Registered: 2018-08-17
Posts: 3

Bumblebee can't access secondary gpu [Dell XPS 15 9570]

I have a GTX 1050 Ti and I've followed these instructions from Arch Wiki on how to use this GPU with Bumblebee, but even though I've followed them thoroughly I get this error when I get to the part when I have to check if the GPU is working:

[sajmon@sajmon-laptop ~]$ optirun glxgears
[ 1101.982723] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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

After checking the logs I've found out that modprobe doesn't work

[sajmon@sajmon-laptop ~]$ sudo bumblebeed -vv
[ 1647.768057] [DEBUG]Found card: 01:00.0 (discrete)
[ 1647.768081] [DEBUG]Found card: 00:02.0 (integrated)
[ 1647.768116] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1647.768478] [DEBUG]Process /sbin/modprobe started, PID 3766.
[ 1647.768597] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1647.769710] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1647.769735] [DEBUG]Detected nvidia driver (module nvidia)
[ 1647.769920] [INFO]Loading driver bbswitch (module bbswitch)
[ 1647.770124] [DEBUG]Process modprobe started, PID 3767.
modprobe: FATAL: Module bbswitch not found in directory /lib/modules/5.1.15-arch1-1-ARCH
[ 1647.771164] [DEBUG]Process with PID 3767 returned code 1
[ 1647.771307] [ERROR]Module bbswitch could not be loaded (timeout?)
[ 1647.771362] [DEBUG]bbswitch is not available, perhaps you need to insmod it?
[ 1647.771374] [INFO]Skipping switcheroo PM method because it is not explicitly selected in the configuration.
[ 1647.771477] [WARN]No switching method available. The dedicated card will always be on.
[ 1647.771534] [DEBUG]Active configuration:
[ 1647.771574] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1647.771618] [DEBUG] X display: :8
[ 1647.771630] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1647.771652] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1647.771664] [DEBUG] xorg.conf file: /etc/bumblebee/xorg.conf.nvidia
[ 1647.771686] [DEBUG] xorg.conf.d dir: /etc/bumblebee/xorg.conf.d
[ 1647.771719] [DEBUG] ModulePath: /usr/lib/nvidia/xorg,/usr/lib/xorg/modules
[ 1647.771742] [DEBUG] GID name: bumblebee
[ 1647.771793] [DEBUG] Power method: auto
[ 1647.771804] [DEBUG] Stop X on exit: 1
[ 1647.771827] [DEBUG] Driver: nvidia
[ 1647.771838] [DEBUG] Driver module: nvidia
[ 1647.771908] [DEBUG] Card shutdown state: 1
[ 1647.772076] [DEBUG]Process /sbin/modprobe started, PID 3768.
[ 1647.772302] [DEBUG]Hiding stderr for execution of /sbin/modprobe
[ 1647.773867] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1647.773879] [DEBUG]Configuration test passed.
[ 1647.774372] [INFO]bumblebeed 3.2.1 started
[ 1647.774517] [INFO]Initialization completed - now handling client requests
[ 1658.682930] [DEBUG]Accepted new connection
[ 1658.684095] [INFO]Loading driver nvidia (module nvidia)
[ 1658.684448] [DEBUG]Process modprobe started, PID 3778.
modprobe: ERROR: could not insert 'nvidia': No such device
[ 1659.151391] [DEBUG]Process with PID 3778 returned code 1
[ 1659.151909] [ERROR]Module nvidia could not be loaded (timeout?)
[ 1659.151944] [ERROR]Could not load GPU driver
[ 1659.152297] [DEBUG]Socket closed.
[sajmon@sajmon-laptop ~]$ sudo modprobe -v nvidia
insmod /lib/modules/5.1.15-arch1-1-ARCH/extramodules/nvidia.ko.gz 
modprobe: ERROR: could not insert 'nvidia': No such device

Am I doing something wrong?

Offline

#2 2019-07-11 15:20:39

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 7,635

Re: Bumblebee can't access secondary gpu [Dell XPS 15 9570]

Your kernel is outdated, if you've recently updated you will want to reboot.If you think you did reboot post

pacman -Q nvidia
pacman -Q linux

Last edited by V1del (2019-07-11 15:21:21)

Offline

#3 2019-07-12 12:06:28

SaJmoN170
Member
Registered: 2018-08-17
Posts: 3

Re: Bumblebee can't access secondary gpu [Dell XPS 15 9570]

Updating didn't really help me, as this problem has persisted through multiple updates. Nevertheless, here's the output of the commands:

[sajmon@sajmon-laptop ~]$ pacman -Q nvidia
nvidia 430.26-9
[sajmon@sajmon-laptop ~]$ pacman -Q linux
linux 5.2.arch2-1
[sajmon@sajmon-laptop ~]$

Offline

#4 2019-08-04 06:34:07

oddsocks
Member
Registered: 2008-12-08
Posts: 47

Re: Bumblebee can't access secondary gpu [Dell XPS 15 9570]

I found that the bumblebee daemon method didn't work for me as well, and I've used the script option from this long thread, also listed on the wiki page.

Offline

Board footer

Powered by FluxBB