[arch-general] Fail to use optirun when using bumblebee 3.2.1-3

Stephen Zhang zsrkmyn at gmail.com
Thu Sep 11 13:47:00 EDT 2014


Hi all,
I installed bumblebee to support my nvidia GT-620m card, but failed to use
optirun sometimes. Here are some details.

When I use "optirun firefox", it works fine. But when I use it to launch
"wine osu!.exe"(a game), it fails. and I got these outputs:
/-------------
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]    :8 is indirect, which may cause performance to suffer.
|[VGL]    If :8 is a local X display, then the framebuffer device
|[VGL]    permissions may be set incorrectly.
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]    :8 is indirect, which may cause performance to suffer.
|[VGL]    If :8 is a local X display, then the framebuffer device
|[VGL]    permissions may be set incorrectly.
|[VGL] ERROR: glXCreateContextAttribsARB symbol not loaded
\-------------

Then I tried "optirun --debug glxgears", it also failed to start. The ouputs
were:
/-------------
|[ 1826.023482] [DEBUG]optirun version 3.2.1 starting...
|[ 1826.023552] [DEBUG]Active configuration:
|[ 1826.023577] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
|[ 1826.023601] [DEBUG] X display: :8
|[ 1826.023623] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
|[ 1826.023645] [DEBUG] Socket path: /var/run/bumblebee.socket
|[ 1826.023665] [DEBUG] Accel/display bridge: auto
|[ 1826.023687] [DEBUG] VGL Compression: proxy
|[ 1826.023709] [DEBUG] VGLrun extra options: 
|[ 1826.023730] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
|[ 1826.023819] [DEBUG]Using auto-detected bridge virtualgl
|[ 1829.389796] [INFO]Response: Yes. X is active.
|
|[ 1829.389827] [INFO]Running application using virtualgl.
|[ 1829.389960] [DEBUG]Process vglrun started, PID 2144.
|libGL error: failed to load driver: swrast
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]    :8 is indirect, which may cause performance to suffer.
|[VGL]    If :8 is a local X display, then the framebuffer device
|[VGL]    permissions may be set incorrectly.
|[VGL] ERROR: in readpixels--
|[VGL]    358: GL_ARB_pixel_buffer_object extension not available
|[ 1829.487837] [DEBUG]SIGCHILD received, but wait failed with No child
|processes
|[ 1829.487863] [DEBUG]Socket closed.
|[ 1829.487878] [DEBUG]Killing all remaining processes.
\-------------
"optirun glxspheres{32,64}" got the almost same outputs above.

I googled "358: GL_ARB_pixel_buffer_object extension not available", only got
this[1], which was useless for me. I also googled ":8 is indirect, which may
cause performance to suffer", but got nothing helpful as well.

Here are some more details.
The output of "# systemctl status bumblebeed -l" was:
/-------------
|● bumblebeed.service - Bumblebee C Daemon
|   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
|   Active: active (running) since Fri 2014-09-12 00:53:56 CST; 26min ago
| Main PID: 1182 (bumblebeed)
|   CGroup: /system.slice/bumblebeed.service
|           └─1182 /usr/bin/bumblebeed
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389601] [WARN][XORG]
|(WW) Warning, couldn't open module mouse
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389606]
|[ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist,
|0)
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389615] [WARN][XORG]
|(WW) Unresolved symbol: fbGetGCPrivateKey
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389637] [WARN][XORG]
|(WW) NVIDIA(0): Unable to get display device for DPI computation.
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389644]
|[ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389648]
|[ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389654] [WARN][XORG]
|(WW) Warning, couldn't open module mouse
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389658]
|[ERROR][XORG] (EE) Failed to load module "mouse" (module does not exist,
|0)
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389668]
|[ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version
|1.4: Permission denied
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.543431]
|[ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
\-------------

And this is my xorg.conf.nvidia file:
/-------------
|$ cat /etc/bumblebee/xorg.conf.nvidia |grep -v ^#|grep -v ^$
|Section "ServerLayout"
|    Identifier  "Layout0"
|    Option      "AutoAddDevices" "false"
|    Option      "AutoAddGPU" "false"
|EndSection
|Section "Device"
|    Identifier  "DiscreteNvidia"
|    Driver      "nvidia"
|    VendorName  "NVIDIA Corporation"
|    Option "ProbeAllGpus" "false"
|    Option "NoLogo" "true"
|    Option "UseEDID" "false"
|    Option "UseDisplayDevice" "none"
|    Option "ConnectedMonitor" "CRT-0"
|EndSection
|Section "Screen"
|    Identifier "Default Screen"
|    Device "DiscreteNvidia"
|EndSection
\-------------

Also, I have these packages installed:
/-------------
|bumblebee
|lib32-nvidia-utils
|libvdpau
|nvidia
|nvidia-utils
|glu
|intel-dri
|lib32-glu
|lib32-intel-dri
|lib32-libtxc_dxtn
|lib32-mesa
|lib32-mesa-libgl
|libtxc_dxtn
|mesa
|mesa-demos
|mesa-libgl
|libva-intel-driver
|xf86-video-intel
\-------------

So, is there anyone got the same problem as mine? And what should I to solve
the problem?
Thanks a lot!

[1]http://unix.stackexchange.com/questions/137437/broken-glx-error-when-using-bumblebee-3-2-1-on-opensuse-13-1

Regards,
Stephen


More information about the arch-general mailing list