bumblebee fails to work correctly on 15.04

Bug #1457150 reported by Tessa on 2015-05-20
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bumblebee (Ubuntu)
High
Unassigned

Bug Description

After upgrading to 15.04, bumblebee's optirun fails to work correctly:

$ optirun --verbose glxgears
[10626.593169] [INFO]Response: No - error: Could not load GPU driver

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

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

$ tail /var/log/syslog
May 20 10:14:19 warbird bumblebeed[17024]: modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='off'
May 20 10:14:19 warbird bumblebeed[17024]: modprobe: ERROR: could not insert 'off': Function not implemented
May 20 10:14:19 warbird bumblebeed[17024]: modprobe: ERROR: ../libkmod/libkmod-module.c:816 kmod_module_insert_module() could not find module by name='off'
May 20 10:14:19 warbird bumblebeed[17024]: modprobe: ERROR: could not insert 'off': Function not implemented
May 20 10:14:19 warbird bumblebeed[17024]: [10626.593148] [ERROR]Module nouveau could not be loaded (timeout?)
May 20 10:14:19 warbird bumblebeed[17024]: [10626.593154] [ERROR]Could not load GPU driver

This persists even after upgrading to the latest NVidia binary drivers (nvidia-346). lspci shows that the nvidia chip is present:

04:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 730M] (rev a1)

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: bumblebee-nvidia 3.2.1-7
ProcVersionSignature: Ubuntu 3.19.0-16.16-generic 3.19.3
Uname: Linux 3.19.0-16-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Wed May 20 10:12:46 2015
InstallationDate: Installed on 2014-04-22 (393 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: bumblebee
UpgradeStatus: Upgraded to vivid on 2015-05-07 (13 days ago)

Tessa (unit3) wrote :
Launchpad Janitor (janitor) wrote :

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

Changed in bumblebee (Ubuntu):
status: New → Confirmed
Changed in bumblebee (Ubuntu):
importance: Undecided → High
STrRedWolf (strredwolf) wrote :

I'm affected by this too, but I've found a work-around. The big thing is that the bumblebee package expects the nvidia-current package to be installed, which loads in nvidia-304... and expects the kernel module to be named "nvidia-current" and the X11 driver modules to be in /usr/lib/nvidia-current.

The problem is, that's not the current set of drivers. The latest NVidia has is 352, while Ubuntu offers 346. The kernel module for 346 in the nvidia-346-updates package is "nvidia_346_updates" and the library path is /usr/lib/nvidia-346-updates.

Well, at least the naming convention is consistent.

So? Edit /etc/bumblebee/bumblebee.conf. Change the following lines in the [driver-nvidia] section:

KernelDriver=nvidia-current
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
XorgModulePath=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules

to

KernelDriver=nvidia-346-updates
LibraryPath=/usr/lib/nvidia-346-updates:/usr/lib32/nvidia-346-updates
XorgModulePath=/usr/lib/nvidia-346-updates/xorg,/usr/lib/xorg/modules

Basicaly find/replace "nvidia-current" with "nvidia-346-updates". Save, reboot, test with "primusrun glxgears". If that works, brutally test it by installing Steam and Team Fortress 2. :)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers