bumblebee interview questions
Top bumblebee frequently asked interview questions
When attempting to run various pieces of software (notably Steam and Yenka), I have come across an error similar to this: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
I'm running a 64 bit system, with an NVidia Optimus card (I dual boot for certain windows only software that requires a dedicated graphics card). I have bumblebee installed, and I am using the nvidia-current driver, rather that one downloaded from NVidia, as recommended.
The library (libGL.so.1) is not present in the top directory of /usr/lib
, however it is present in /usr/lib32/nvidia-current
, as a softlink to /usr/lib32/nvidia-current/libGL.so.304.64
.
A section of the output from ldconfig -p:
libGL.so.1 (libc6,x86-64, OS ABI: Linux 2.4.20) => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
libGL.so (libc6,x86-64, OS ABI: Linux 2.4.20) => /usr/lib/x86_64-linux-gnu/libGL.so
libGL.so (libc6,x86-64, OS ABI: Linux 2.4.20) => /usr/lib/x86_64-linux-gnu/mesa/libGL.so
Obviously a library with that name is being loaded, but they are located in /usr/lib/x86_64-linux-gnu
, however installed software doesn't seem to able to 'see' it. For Steam, running it with optirun causes it to work, but this is not the case for Yenka. I assume that optirun causes the library stored in /usr/lib32/nvidia-current
to be used, which allows Steam to run, so I can't understant why Yenka won't run.
Can anyone explain why software can't see the normal mesa library, and why Yenka refuses to run with the nvidia-current library?
Source: (StackOverflow)
The previous methods i have used to set up Bumblebee on 13.10 based distributions is not working under Ubuntu 14.04
. How can I set up Bumblebee
and Bumblebee GUI
in Ubuntu 14.04
?
Source: (StackOverflow)
I have an ASUS N53S, and I am using bumblebee. I can see it from the frame rates in Tux Racer. Some people refer to Bumblebee and some to Ironhide. What is the difference?
Source: (StackOverflow)
My laptop Samsung RF411(Geforce 540M) is overheating when i run optirun glxspheres
the temperature of the core jumps to 97C and the GPU to 72C and after some minuties the computer shutdown.
An strange thing is that the GPU in Windows goes 84C and the core stays in 86C. I think that should be a problem in controlling the fan speed.
I'm using Ubuntu 12.04, kernel 3.2.0-25-generic and the drive of nvidia is 302.17.
Source: (StackOverflow)
I have a fresh install of Kubuntu 15.10, i have a msi GT70 laptop with optimus.
I have installed bumblebee bumblebee-nvidia
, it is absolutely needed because nouveau keeps crashing at login.
So i edited /etc/bumblebee/bumblebee.conf
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=auto
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux- gnu/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia-304
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-304:/usr/lib32/nvidia-304
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
I have
$ cat /proc/acpi/bbswitch
0000:01:00.0 ON
I putted in /etc/modules-load.d/modules.conf
i915
bbswitch
So i am able to do :
$ primusrun glxinfo | grep "OpenGL version"
OpenGL version string: 4.2.0 NVIDIA 304.128
But if i reboot all i have is a black screen, to get my system starting i have to login in tty1 and do:
sudo modprobe nvidia_304
sudo service sddm restart
to get the kubuntu login screen any ideas to fix that ?
Also if i replace nvidia-304 by nvidia-355 i can't boot at all : the modprobe tip is not working.
Here is my config with lspci:
$ lspci|grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GK104M [GeForce GTX 870M] (rev ff)
EDIT:
Some related info and potential fix http://forum.ubuntu-it.org/viewtopic.php?p=4760241 (italian through)
https://www.kubuntuforums.net/showthread.php?69190-Bumblebee-Nvidia355&p=381043
Also there is actually a bug with i915 module on kernel 4.2 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1494903
EDIT2 (working bumblebee solution):
I have manage to make this work https://www.kubuntuforums.net/showthread.php?69190-Bumblebee-Nvidia355&p=381043
- install nvidia-355 and nvidia-prime
- select intel driver in nvidia panel and logout
- install bumblebee only (not bumblebee-nvidia)
- edit as needed /etc/bumblebee/bumblebee.conf
line22 KernelDriver=nvidia
replace nvidia-current by nvidia-355
- /etc/bumblebee/xorg.conf.nvidia
uncomment BusID "PCI:01:00:0"
as described here http://askubuntu.com/questions/29044...vices-detected,
- you can now boot under intel card and use optirun and primusrun. It is working for me so far, test with primusrun glxinfo
EDIT3: (maj 03/12/2015)
Using ppa:graphics-drivers/ppa and ppa:xorg-edgers/ppa, after an update and reboot, I had a blackscreen using 358.16-0ubuntu0~gpu15.10.2.
So I purged everything and then just installed bumblee-nvidia nvidia-358, edited /etc/bumblebee/bumblebee.conf and did sudo service bumblebeed restart.
It did work again after a reboot.
Source: (StackOverflow)
Background: I'm a 3D artist (as a hobby) and have recently started using Ubuntu 12.04 LTS as a dual-boot with Windows 7. It's running on my a fairly new 64-bit Toshiba laptop with an nVidia GeForce GT 540M GPU (graphics card). It also, however has Intel Integrated Graphics (which I suspect Ubuntu's been using).
So, when I render my 3D scenes to images on Windows, I am able to choose between using my CPU or my nVidia GPU (faster). From the 3D application, I can set the GPU to use either CUDA or OpenCL. In Ubuntu, there's no GPU option.
After doing (too much?) research on the issues with Linux and the nVidia Optimus technology, I am slightly more enlightened, but a lot more confused.
I don't care one bit about the Optimus technology, as battery life is not by any means an issue for me.
Here's my question: What can I do to be able to use CUDA-utilizing programs (such as Blender) on my nVidia GPU in Ubuntu? Will I need nVidia drivers? (I have heard they don't play nicely with Optimus setups on Linux.) Is there at least a way to use OpenCL on my GPU in Ubuntu?
Source: (StackOverflow)
Recently I've bought my dream's notebook, a Dell XPS 15 but since then this dream became a kind of endless nightmare.
I'm almost getting crazy to make my graphic card driver work properly, but it seems to be just impossible. Yes, I have a 2GB NVIDIA GeForce GT 540m (Optimus) in it! It simply doesn't work. Every time I generate the xorg.conf Ubuntu hangs on while starting up, which forces me to remove this file to be able to start the notebook with the standard graphic settings.
Another problem is that the Dell XPS 15 does NOT have a VGA output, but a HDMI. So, to be able to use a second monitor I have to configure it by the NVIDIA X Server Settings, which just works if the driver is properly initialized with the xorg.conf.
I've also tried to make it work with the Bumblebee, but unfortunately it didn't help me much with the HDMI output.
Do you guys have any idea to solve this deadlock?
Is there any way for me to use my second monitor?
Source: (StackOverflow)
I am quite interested in installing Bumblebee-UI in Ubuntu 12.04 after seeing this video on youtube. Link to video
Has anyone been able to install it successfully?
Source: (StackOverflow)
I'm trying to connect my external monitor (via VGA cable) to my laptop, using Bumblebee and the Optimus configuration.
I have a Lenovo W520, with an Intel GMA HD 3000 and an Nvidia Quadro 2000M. The BIOS has three options regarding the graphic cards - integrated, discrete, and Optimus.
The use case is very simple. For work, I just use the integrated card and the laptop display; when I watch movies though, I want to use my projector. Now, what I have to do in this case is:
- reboot
- start windows
- watch the movie
Thanks to Bumblebee, I'm able now to keep the setup always as Optimus.
Before BB, I had to change the BIOS setting every time I wanted to watch a movie, because even in windows, using integrated graphics caused the projector not to be detected by the system (I suppose that this is what they generally mean by "hardwired output", and that the VGA output is hardwired to the discrete card).
Now, what I'd like to do, is to be able to connect the external monitor without having to switch O/S, that is, to use it in Ubuntu.
Is it possible?
Right now, if I want to use the external monitor on Ubuntu, the only option is to change the BIOS to use the discrete graphics, then use nvidia-settings.
If I use instead the Optimus setup, even when I run it using "optirun nvidia-settings -c :8", I don't get any option for an external monitor.
Is there something I can do?
Source: (StackOverflow)
The following appears when running optirun glxgears
with primus
and nvidia-331-updates
configured in bumblebee.conf
:
This is on 14.04 Trusty Tahr, upgraded from 13.10. The application seems to run on the nvidia gpu, but doesn't display correctly as it did in the previous distro version. I suspect this is a bug in primus in the 14.04 repos, unless one of my packages is poorly configured.
The window does refresh and display part of the glxgears image, but only when I shrink the window, and once per frame that the window is being resized. The GL viewport is scaled incorrectly in this process as well.
Continuing some testing, the PRIMUS_UPLOAD=1
flag seems to make the window refresh properly and everything works as intended. This is not a permanent solution though.
Source: (StackOverflow)
I have a Dell XPS 15z laptop.
As you can see here, there are some issues with NVidia drivers. The site recommends installation of Bumblebee (instructions given in the link).
I am posting it again for convenience:
$ sudo add-apt-repository ppa:bumblebee/stable
$ sudo apt-get update && sudo apt-get upgrade
$ sudo apt-get install bumblebee bumblebee-nvidia
$ sudo usermod -a -G bumblebee $USER
After restarting the computer however, the screen resolution was stuck at 640x480 and I got the following error message as soon as I logged in:
**Could not apply the stored configuration for monitors**
none of the selected modes were compatible with the possible modes:
Trying modes for CRTC 63
CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 63: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)
Trying modes for CRTC 64
CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 0)
CRTC 64: trying mode 640x480@60Hz with output at 1366x768@60Hz (pass 1)
Prior to the update, the display was absolutely normal and thus there is no doubt about the cause. Albeit, there was no support for graphic drivers.
In case it helps, some features of graphics drivers seem to be functional after bumblebee, ie, all features are in order except for the resolution.
And if the resolution can't be fixed, please suggest a way to retract the changes so that atleast the prior state may be reachieved.
Any help in the matter would be highly appreciated.
Source: (StackOverflow)
Does Ubuntu 16.04 support hybrid graphics cards?
I ask because of the support of ubuntu snappy core in Ubuntu 16.04.
I use bumblebee to start, for example a game, in better graphics quality.
(optirun ./start.sh)
Link to bumblebee
Does that work with Ubuntu 16.04?
Source: (StackOverflow)