N
N
Nikolay Shamanovich2014-04-30 21:19:09
linux
Nikolay Shamanovich, 2014-04-30 21:19:09

How to install bubblebee on linux?

The machine is acer v5-572 with two vidyuhi (VGA and 3D), OS - debian 7. The driver is proprietary from the testing branch (because only 331 has support for my card). Bumblebee works, but very clumsily, for example:

Launching the console
[email protected]:~$ optirun xterm 
[  235.084566] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[  235.084597] [ERROR]Aborting because fallback start is disabled.
[email protected]:~$ optirun -v xterm 
[  244.738862] [INFO]Configured driver: nvidia
[  245.763681] [INFO]Response: Yes. X is active.

[  245.763710] [INFO]Running application using primus.

In the first case - an error, in the second everything is fine. From the terminal, glxgears is launched and the nvidia card and the 331 driver are determined there.
Or here:
ferret running
[email protected]:~$ optirun -v iceweasel 
[ 1000.770716] [INFO]Configured driver: nvidia
[ 1006.680317] [INFO]Response: No - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[ 1006.680344] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:1:0:0.  Please

[ 1006.680369] [ERROR]Aborting because fallback start is disabled.
[email protected]:~$ optirun -vv iceweasel 
[ 1014.825166] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1014.825415] [INFO]Configured driver: nvidia
[ 1014.825509] [DEBUG]optirun version 3.2.1 starting...
[ 1014.825522] [DEBUG]Active configuration:
[ 1014.825532] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1014.825542] [DEBUG] X display: :8
[ 1014.825551] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 1014.825561] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1014.825571] [DEBUG] Accel/display bridge: auto
[ 1014.825581] [DEBUG] VGL Compression: proxy
[ 1014.825590] [DEBUG] VGLrun extra options: 
[ 1014.825599] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 1014.825634] [DEBUG]Using auto-detected bridge primus
[ 1015.549596] [INFO]Response: Yes. X is active.

[ 1015.549617] [INFO]Running application using primus.
[ 1015.549758] [DEBUG]Process iceweasel started, PID 4250.

(process:4250): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-label-select-on-focus after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-can-change-accels after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popup-delay after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-popdown-delay after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-button-images after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-bar-popup-delay after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-select-on-focus after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-entry-password-hint-timeout after class was initialised
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 103: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-droid-sans-fonts.conf", line 138: Having multiple values in <test> isn't supported and may not work as expected

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-scrolled-window-placement after class was initialised

(iceweasel:4250): GLib-GObject-WARNING **: Attempt to add property GtkSettings::gtk-menu-images after class was initialised
[ 1022.306097] [DEBUG]SIGCHILD received, but wait failed with No child processes
[ 1022.306122] [DEBUG]Socket closed.
[ 1022.306136] [DEBUG]Killing all remaining processes.

As you can see, the ferret needs 2 v to start. glxgears starts with one v. Some application requires 4 v. Without parameters, I was only able to run kate. By the way, all programs run normally from the kate terminal.
What should I do with this nonsense? Who has a success story with a bumblebee on this laptop or similar?
lspci -k
01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 750M] (rev ff)
VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)                                                                                        
        Subsystem: Acer Incorporated [ALI] Device 0798                                                                                                                                          
        Kernel driver in use: i915

ядро 3.13 с почти стандартным конфигом (добавлена пара драйверов).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nazar Mokrinsky, 2014-04-30
@nazarpc

You can try VirtualGL instead of optirun as an option. Performance can potentially sag, but minimal in my experience.

S
svd71, 2014-04-30
@svd71

had similar sex with bumblebee, but under Ubuntu 12.04. I installed bumblebee and the driver "out of the box" of the ubuntaria stopped loading. I went to the nvidia website, downloaded the installer of their driver for my model for my axis, launched it, and after that everything started up. No magic.
PS: after each update of the kernel, it is required to repeat the operation with the installation (although this information is written when installing the driver). This has happened twice in the past six months.

P
proDOOMman, 2014-05-01
@proDOOMman

And in my opinion it's not at all in the amount of -v. You have a successful every second launch.
To fix it, add the line rcutree.rcu_idle_gp_delay=1 to the kernel boot parameters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question