You are not logged in.

#1 2016-11-19 15:47:58

IVI14
Member
Registered: 2016-11-19
Posts: 4

Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

Hello Arch Community,

I'm running Arch with Kernel 4.8.8-2
I have a 940M and a Intel HD Graphics 520, I tried to install bumblebee, nvidia, xf86-video-intel, lib32-virtualgl, lib32-nvidia-utils, lib32-mesa-libgl and add myself to the bumblebee group, like it said in the Bumblebee wiki of Arch.
I installed nvidia-settings to switch from the cards grafically, but if I generate a xconfig with nvidia-xconfig I get next reboot:

PCIe Bus Error: severity=Corrected, type=Physical layer, id=00e5(Receiver ID)

And if I do not delete the xorg.conf, the xserver won't start.

lspci | grep VGA outputs:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)

lspci | grep NVIDIA outputs:

01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)

I installed bbswitch I don't know if there is a alternative, I read about that bbswitch doesn't work with Kernel 4.8 and there is a fix.
Adding: rcutree.rcu_idle_gp_delay=1, these Kernel parameters in /etc/default/grub.
The fix didn't work.

Offline

#2 2016-11-19 17:09:45

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

What's the output of this?

optirun glxgears

Offline

#3 2016-11-20 07:02:40

IVI14
Member
Registered: 2016-11-19
Posts: 4

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

Output of optirun glxgears is:

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

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

Offline

#4 2016-11-20 08:04:08

propheis
Member
Registered: 2016-11-16
Posts: 3

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

You should not use the xconfig generated by Nvidia. It doesn't work for bumblebee users (source)

Can you double check that lib32-nvidia-libgl is not installed?

Try editing

/etc/bumblebee/bumblebee.conf

and change "KernelDriver=nvidia" to "KernelDriver=nvidia-current", then restart the bumblebee daemon. (source)

Also, can you provide the output of

lspci -k | grep -E "(VGA|3D)" -A 2

This will show us which module is being loaded for the graphics card and integrated graphics.

Offline

#5 2016-11-20 08:55:25

IVI14
Member
Registered: 2016-11-19
Posts: 4

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

If I change nvidia to nvidia-current in /etc/bumblebee/bumblebee.conf and restart bumblebeed.service bumblebee doesn't start anymore.
If I systemctl status bumblebeed.service it returns:

 bumblebeed.service - Bumblebee C Daemon
   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor p
   Active: activating (auto-restart) (Result: exit-code) since Sun 2016-11-20 09
  Process: 2019 ExecStart=/usr/bin/bumblebeed (code=exited, status=1/FAILURE)
 Main PID: 2019 (code=exited, status=1/FAILURE)

Nov 20 09:47:21 ivan-arch systemd[1]: bumblebeed.service: Unit entered failed st
Nov 20 09:47:21 ivan-arch systemd[1]: bumblebeed.service: Failed with result 'ex
~

If I substitute nvidia-current with nvidia, bumblebee is able to start again.

lspci -k | grep -E "(VGA|3D)" -A 2:

00:02.0 VGA compatible controller: Intel Corporation HD Graphics 520 (rev 07)
	Subsystem: Hewlett-Packard Company Device 80a4
	Kernel driver in use: i915
--
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940M] (rev a2)
	Subsystem: Hewlett-Packard Company Device 80a4
	Kernel modules: nouveau, nvidia_drm, nvidia

Offline

#6 2016-11-20 16:32:51

The Loko
Member
From: Spain
Registered: 2014-07-23
Posts: 103

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

What fix did you apply to solve the 4.8 bug? This is the correct one.

Last edited by The Loko (2016-11-20 16:33:06)

Offline

#7 2016-11-21 16:08:30

IVI14
Member
Registered: 2016-11-19
Posts: 4

Re: Can't get Bumblebee with Nvidia 940M/Intel HD 520 to work.

Yes, I'm sorry I meant this fix because of the power saving.
But that's not the real problem, first I have to get working
On other Distros like Ubuntu I had no problems.
Once I had the same problem on another Distro called Deepin based on Debian, I changed because I did not manage to fix this problem there too.

Under section Device in /etc/bumblebee/xorg.conf.nvidia I added:

    BusID       "PCI:01:00:0"

Now I don't get:

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

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

Now I get when I try optirun glxgears:

Error: couldn't open display (null)

Seems like a little step forward to solve this problem with bumblebee.

Offline

Board footer

Powered by FluxBB