You are not logged in.
Pages: 1
Topic closed
I have configured Bumblebee, it was working fine but now it stops. I'am not sure exactly when, coz i didn't play anything few weeks.
When I'am trying to run anything by optirun it just hangs, and nothing is displayed.
$ optirun -vv glxspheres64
[ 2559.085783] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2559.085953] [INFO]Configured driver: nvidia
[ 2559.086064] [DEBUG]optirun version 3.2.1 starting...
[ 2559.086074] [DEBUG]Active configuration:
[ 2559.086079] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2559.086085] [DEBUG] X display: :8
[ 2559.086091] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[ 2559.086096] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2559.086102] [DEBUG] Accel/display bridge: primus
[ 2559.086108] [DEBUG] VGL Compression: proxy
[ 2559.086113] [DEBUG] VGLrun extra options:
[ 2559.086119] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
And when i stop it be ctrl+c
[ 2893.354339] [WARN]Received Interrupt signal.
[ 2893.354363] [DEBUG]Socket closed.
[ 2893.354392] [WARN]Could not read data! Error: Bad file descriptor
[ 2893.354397] [DEBUG]Socket closed.
[ 2893.354400] [DEBUG]Killing all remaining processes.
Any one can help with that?
My configuration:
/etc/bumblebee/bumblebee.conf
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=true
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/etc/bumblebee/xorg.conf.d
[optirun]
Bridge=primus
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
AllowFallbackToIGC=false
[driver-nvidia]
KernelDriver=nvidia
PMMethod=auto
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
/etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:1:0:0"
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
Any help will be appreciated.
Offline
This post is quite old but I got the exactly same problem.
Finally I found how to solve it.
Everything looks fine :
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2016-09-13 22:23:15 JST; 2min 28s ago
Main PID: 335 (bumblebeed)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/bumblebeed.service
└─335 /usr/bin/bumblebeedSep 13 22:23:15 Arch systemd[1]: Started Bumblebee C Daemon.
Sep 13 22:23:20 Arch bumblebeed[335]: [ 17.752234] [INFO]/usr/bin/bumblebeed 3.2.1 started
[ 2386.309] (II) NVIDIA(0): [DRI2] Setup complete
[ 2386.309] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[root@Arch ~]# modinfo nvidia
filename: /lib/modules/4.7.2-1-ARCH/extramodules/nvidia.ko.gz
alias: char-major-195-*
version: 304.131
supported: external
license: NVIDIA
alias: pci:v000010DEd00000E00sv*sd*bc04sc80i00*
alias: pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00*
alias: pci:v000010DEd*sv*sd*bc03sc02i00*
alias: pci:v000010DEd*sv*sd*bc03sc00i00*
depends: drm
vermagic: 4.7.2-1-ARCH SMP preempt mod_unload modversions
But starting anything with optirun hangs, just nothing after this lines :
[ 310.992027] [DEBUG] VGLrun extra options:
[ 310.992036] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 310.992082] [DEBUG]Using auto-detected bridge virtualgl
I strace bumblebeed and I can see some ipv6 stuff.
I disable ipv6 using sysctl :
[root@Arch ~]# more /etc/sysctl.d/99-salt.conf
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.wls1.disable_ipv6 = 1
net.ipv6.conf.ens5.disable_ipv6 = 1
And ... it works.
The only problem I see is that I try to reproduce, turning on ipv6 and can't.
But what is sure is that I did search for days on that and now I got it working.
OpenGL Renderer: GeForce 310M/PCIe/SSE2
126.789712 frames/sec - 116.185020 Mpixels/sec
110.158740 frames/sec - 100.945063 Mpixels/sec
139.327829 frames/sec - 127.674450 Mpixels/sec
Which is much better than my intel card :
OpenGL Renderer: Mesa DRI Intel(R) Ironlake Mobile
32.093897 frames/sec - 29.409563 Mpixels/sec
30.077826 frames/sec - 27.562116 Mpixels/sec
Apart this problem, Arch setup for bumblebee is the easiest I have seen.
Great job.
Last edited by manifesto (2016-09-13 13:48:37)
Offline
Thanks for sharing your experience, I think this old topic can be closed now.
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed