File: README.Debian

package info (click to toggle)
bumblebee 3.2.1-29
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,304 kB
  • sloc: ansic: 2,845; sh: 1,796; makefile: 190
file content (96 lines) | stat: -rw-r--r-- 3,556 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
bumblebee for Debian/Ubuntu
---------------------------

Post-installation instructions:
-------------------------------

You must add your user to the bumblebee group in order to use optirun or
primusrun, i.e.

 $ sudo adduser $USER bumblebee

where $USER corresponds to your username. Don't forget to log out and log back
in for this to take effect.

If you have sudo configured for your current user, i.e. your user is a member
of the sudo group, this step is not needed (the bumblebee package postinst
script takes care of adding sudo users to the bumblebee group automatically).
To clarify, sudo is not needed to use bumblebee; it simply makes adding your
user to the bumblebee group unnecessary.

This step is unnecessary for Ubuntu users since sudo comes pre-configured and
ready to be used by default (for user accounts created during install).

To test whether bumblebee has been configured correctly, try running the
glxgears demo (you must first install mesa-utils):

 $ optirun glxgears -info


Primus vs. VirtualGL:
---------------------

Bumblebee in Debian and Ubuntu defaults to using the primus backend, because
virtualgl has not yet been packaged for Debian/Ubuntu proper. For Ubuntu users,
it is however easy to switch to using virtualgl by using upstream's PPAs.
Follow the instructions at:
https://launchpad.net/~bumblebee/+archive/stable


Common issues:
--------------

- If optirun returns the following error:
[ERROR]Cannot access secondary GPU - error: Could not load GPU driver

You must edit /etc/bumblebee/bumblebee.conf using your preferred editor as
root, and change "KernelDriver=nvidia" to "KernelDriver=nvidia-current",
then restart the bumblebee daemon, i.e.

 $ sudo service bumblebeed restart 

(Refer to https://bugs.debian.org/717687 for a brief explanation.)

- If optirun returns the following error:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected

You may have to set the BusID manually, in /etc/bumblebee/xorg.conf.nvidia.
To get the BusID, run lspci | egrep 'VGA|3D' in a terminal. Refer to the
comments in that file for further instructions.

- If optirun returns the following error:
[ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0:
failed to set DRM interface version 1.4: Permission denied

You have to append the following section to /etc/bumblebee/xorg.conf.nvidia:

Section "Screen"
    Identifier "Default Screen"
    Device "DiscreteNvidia"
EndSection

Also refer to https://bugs.debian.org/756522 for a brief explanation.

- If optirun errors out and dmesg reports that the GPU has "fallen off the bus"
or "nvidia_frontend_open: minor 0, module->open() failed, error -5" on Linux
>= 3.10 and < 3.19, either stick with an older kernel version (<= 3.9) or
upgrade to > 3.19, or add rcutree.rcu_idle_gp_delay=1 to your grub command line
(in /etc/default/grub, then run update-grub and reboot) as a workaround.

This is a known problem upstream and suspected to be an issue with the
proprietary nvidia driver. Refer to Bumblebee github issue #455 and #615,
https://github.com/Bumblebee-Project/Bumblebee/issues/455 and
https://github.com/Bumblebee-Project/Bumblebee/issues/615.

A more up-to-date list of common issues can be found on the Debian/Ubuntu wiki
pages relating to bumblebee, i.e.:

https://wiki.debian.org/Bumblebee
https://wiki.ubuntu.com/Bumblebee

A more comprehensive list is available upstream:

https://github.com/Bumblebee-Project/Bumblebee/wiki/Troubleshooting


 -- Vincent Cheng <vcheng@debian.org>  Sat, 25 Oct 2014 10:13:42 -0700