You are not logged in.

#1 2015-05-15 10:33:17

Phalkon
Member
Registered: 2014-10-19
Posts: 117

Bumblebee stopped working with the latest kernel

Hi,

with the latest kernel (4.0.2-1) for Arch, bumblebee stopped working.

optirun firefox
[ 3494.992621] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 3494.992653] [ERROR]Aborting because fallback start is disabled.

Here is output with -vv option.

optirun -vv firefox
[ 3514.649092] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 3514.649716] [DEBUG]optirun version 3.2.1 starting...
[ 3514.649761] [DEBUG]Active configuration:
[ 3514.649782] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 3514.649806] [DEBUG] X display: :8
[ 3514.649822] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
[ 3514.649838] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 3514.649853] [DEBUG] Accel/display bridge: auto
[ 3514.649868] [DEBUG] VGL Compression: proxy
[ 3514.649883] [DEBUG] VGLrun extra options: 
[ 3514.649898] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 3514.649945] [DEBUG]Using auto-detected bridge virtualgl
[ 3514.756262] [INFO]Response: No - error: Could not load GPU driver

[ 3514.756289] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

[ 3514.756297] [DEBUG]Socket closed.
[ 3514.756346] [ERROR]Aborting because fallback start is disabled.
[ 3514.756356] [DEBUG]Killing all remaining processes.

bumbleebee.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=
# 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/primus:/usr/lib32/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
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/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

lsmod:

lsmod
Module                  Size  Used by
tun                    28672  2 
fuse                   90112  3 
nf_log_ipv4            16384  1 
nf_log_common          16384  1 nf_log_ipv4
xt_LOG                 16384  1 
xt_tcpudp              16384  1 
xt_conntrack           16384  1 
iptable_filter         16384  1 
iptable_nat            16384  0 
nf_conntrack_ipv4      20480  2 
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  1 nf_nat_ipv4
nf_conntrack           90112  4 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4
iptable_mangle         16384  0 
ip_tables              28672  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               28672  6 ip_tables,xt_tcpudp,xt_conntrack,xt_LOG,iptable_filter,iptable_mangle
uvcvideo               86016  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              135168  3 uvcvideo,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
nvram                  16384  0 
msr                    16384  0 
mousedev               20480  0 
joydev                 20480  0 
arc4                   16384  2 
b43                   413696  0 
mac80211              655360  1 b43
cfg80211              483328  2 b43,mac80211
ssb                    65536  1 b43
mmc_core              110592  2 b43,ssb
rng_core               16384  1 b43
pcmcia                 53248  2 b43,ssb
pcmcia_core            20480  1 pcmcia
acer_wmi               20480  0 
sparse_keymap          16384  1 acer_wmi
i915                 1024000  5 
led_class              16384  2 b43,acer_wmi
rfkill                 24576  3 cfg80211,acer_wmi
iTCO_wdt               16384  0 
iTCO_vendor_support    16384  1 iTCO_wdt
mxm_wmi                16384  0 
bcma                   49152  1 b43
coretemp               16384  0 
intel_powerclamp       20480  0 
pcspkr                 16384  0 
evdev                  24576  17 
psmouse               110592  0 
mac_hid                16384  0 
serio_raw              16384  0 
i2c_i801               20480  0 
intel_ips              20480  0 
snd_hda_codec_hdmi     53248  1 
broadcom               20480  0 
drm_kms_helper        102400  1 i915
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
tg3                   167936  0 
snd_hda_intel          28672  5 
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
ptp                    20480  1 tg3
pps_core               20480  1 ptp
libphy                 32768  2 tg3,broadcom
hwmon                  16384  2 tg3,coretemp
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              28672  2 snd_pcm
snd                    69632  16 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
battery                20480  0 
drm                   282624  7 i915,drm_kms_helper
soundcore              16384  2 snd,snd_hda_codec
intel_agp              20480  0 
i2c_algo_bit           16384  1 i915
i2c_core               53248  7 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,videodev
shpchp                 36864  0 
wmi                    20480  2 acer_wmi,mxm_wmi
mei_me                 20480  0 
mei                    77824  1 mei_me
ac                     16384  0 
lpc_ich                24576  0 
intel_gtt              20480  3 i915,intel_agp
button                 16384  1 i915
video                  24576  2 i915,acer_wmi
acpi_cpufreq           20480  1 
processor              28672  1 acpi_cpufreq
sch_fq_codel           20480  11 
ext4                  512000  2 
crc16                  16384  1 ext4
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
hid_generic            16384  0 
usbhid                 49152  0 
hid                   110592  2 hid_generic,usbhid
sr_mod                 24576  0 
cdrom                  53248  1 sr_mod
sd_mod                 36864  4 
atkbd                  24576  0 
libps2                 16384  2 atkbd,psmouse
ahci                   36864  3 
libahci                28672  1 ahci
libata                184320  2 ahci,libahci
scsi_mod              147456  3 libata,sd_mod,sr_mod
ehci_pci               16384  0 
ehci_hcd               73728  1 ehci_pci
usbcore               200704  4 uvcvideo,ehci_hcd,ehci_pci,usbhid
usb_common             16384  1 usbcore
i8042                  20480  2 acer_wmi,libps2
serio                  20480  6 serio_raw,atkbd,i8042,psmouse

installed nvidia packages:

pacman -Qs nvidia
local/bumblebee 3.2.1-10
    NVIDIA Optimus support for Linux through VirtualGL
local/lib32-nvidia-utils 349.16-1
    NVIDIA drivers utilities (32-bit)
local/libcl 1.1-4
    OpenCL library and ICD loader from NVIDIA
local/libvdpau 1.1-1
    Nvidia VDPAU library
local/nvidia 349.16-2
    NVIDIA drivers for linux
local/nvidia-cg-toolkit 3.1-3
    NVIDIA Cg libraries
local/nvidia-utils 349.16-1
    NVIDIA drivers utilities
local/xf86-video-nouveau 1.0.11-3 (xorg-drivers xorg)
    Open Source 2D acceleration driver for nVidia cards

Let me know if more info is needed.
Thanks for any help.


Why Linux? Because it doesn't hide anything from you. It puts you so closely in control of your machine that you can feel its heartbeat.

Offline

#2 2015-05-15 14:40:49

Phalkon
Member
Registered: 2014-10-19
Posts: 117

Re: Bumblebee stopped working with the latest kernel

Downgrading back to 4.0.1-1 fixed the problem.

I noticed that I have whole bunch of modules that failed to load with 4.0.2-1 kernel.

lsmod
Module                  Size  Used by
tun                    28672  2 
nvidia               8409088  25 
fuse                   90112  3 
bbswitch               16384  0 
nf_log_ipv4            16384  1 
nf_log_common          16384  1 nf_log_ipv4
xt_LOG                 16384  1 
xt_tcpudp              16384  1 
xt_conntrack           16384  1 
iptable_filter         16384  1 
iptable_nat            16384  0 
nf_conntrack_ipv4      20480  2 
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 24576  1 nf_nat_ipv4
nf_conntrack           90112  4 nf_nat,nf_nat_ipv4,xt_conntrack,nf_conntrack_ipv4
iptable_mangle         16384  0 
ip_tables              28672  3 iptable_filter,iptable_mangle,iptable_nat
x_tables               28672  6 ip_tables,xt_tcpudp,xt_conntrack,xt_LOG,iptable_filter,iptable_mangle
nvram                  16384  0 
msr                    16384  0 
uvcvideo               86016  0 
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_core         40960  1 uvcvideo
v4l2_common            16384  1 videobuf2_core
videodev              135168  3 uvcvideo,v4l2_common,videobuf2_core
media                  20480  2 uvcvideo,videodev
mousedev               20480  1 
arc4                   16384  2 
joydev                 20480  0 
b43                   413696  0 
mac80211              655360  1 b43
cfg80211              483328  2 b43,mac80211
ssb                    65536  1 b43
mmc_core              110592  2 b43,ssb
broadcom               20480  0 
rng_core               16384  1 b43
pcmcia                 53248  2 b43,ssb
pcmcia_core            20480  1 pcmcia
acer_wmi               20480  0 
iTCO_wdt               16384  0 
sparse_keymap          16384  1 acer_wmi
led_class              16384  2 b43,acer_wmi
iTCO_vendor_support    16384  1 iTCO_wdt
rfkill                 24576  3 cfg80211,acer_wmi
mxm_wmi                16384  0 
evdev                  24576  17 
tg3                   167936  0 
coretemp               16384  0 
intel_powerclamp       20480  0 
psmouse               110592  0 
ptp                    20480  1 tg3
pcspkr                 16384  0 
mac_hid                16384  0 
pps_core               20480  1 ptp
libphy                 32768  2 tg3,broadcom
i2c_i801               20480  0 
hwmon                  16384  2 tg3,coretemp
serio_raw              16384  0 
snd_hda_codec_hdmi     53248  1 
intel_ips              20480  0 
snd_hda_codec_realtek    65536  1 
snd_hda_codec_generic    65536  1 snd_hda_codec_realtek
i915                 1024000  3 
bcma                   49152  1 b43
drm_kms_helper        102400  1 i915
snd_hda_intel          28672  2 
snd_hda_controller     28672  1 snd_hda_intel
snd_hda_codec         114688  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
shpchp                 36864  0 
mei_me                 20480  0 
drm                   282624  7 i915,drm_kms_helper,nvidia
mei                    77824  1 mei_me
snd_hwdep              16384  1 snd_hda_codec
snd_pcm                90112  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
ac                     16384  0 
snd_timer              28672  1 snd_pcm
snd                    69632  12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              16384  2 snd,snd_hda_codec
i2c_algo_bit           16384  1 i915
i2c_core               53248  8 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,v4l2_common,videodev
wmi                    20480  2 acer_wmi,mxm_wmi
battery                20480  0 
lpc_ich                24576  0 
intel_agp              20480  0 
button                 16384  1 i915
intel_gtt              20480  3 i915,intel_agp
video                  24576  2 i915,acer_wmi
acpi_cpufreq           20480  1 
processor              28672  1 acpi_cpufreq
sch_fq_codel           20480  11 
vboxdrv               356352  0 
ext4                  512000  2 
crc16                  16384  1 ext4
mbcache                20480  1 ext4
jbd2                   90112  1 ext4
hid_generic            16384  0 
usbhid                 49152  0 
hid                   110592  2 hid_generic,usbhid
sd_mod                 36864  4 
sr_mod                 24576  0 
cdrom                  53248  1 sr_mod
atkbd                  24576  0 
libps2                 16384  2 atkbd,psmouse
ehci_pci               16384  0 
ehci_hcd               73728  1 ehci_pci
usbcore               200704  4 uvcvideo,ehci_hcd,ehci_pci,usbhid
ahci                   36864  3 
libahci                28672  1 ahci
libata                184320  2 ahci,libahci
scsi_mod              147456  3 libata,sd_mod,sr_mod
usb_common             16384  1 usbcore
i8042                  20480  2 acer_wmi,libps2
serio                  20480  6 serio_raw,atkbd,i8042,psmouse

This is probably what was causing the problem. Because nvidia modules were one of those which failed to run.

lsmod | grep nvidia
nvidia               8409088  25 
drm                   282624  7 i915,drm_kms_helper,nvidia
i2c_core               53248  8 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,nvidia,v4l2_common,videodev

I have no idea what caused these modules fail to run though.


Why Linux? Because it doesn't hide anything from you. It puts you so closely in control of your machine that you can feel its heartbeat.

Offline

Board footer

Powered by FluxBB