You are not logged in.

#1 2018-06-09 15:40:36

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

[SOLVED] primus: fatal: Bumblebee error: Could not load GPU driver

Hi,

Since some time ago I'm unable to use my discrete Nvidia card with primusrun.
I believe some update must have broke it, but since I don't recall when was it working, I don't know what to downgrade to.

This is what I have installed:

local/bumblebee 3.2.1-17
    NVIDIA Optimus support for Linux through VirtualGL
local/lib32-primus 20151110-4
    Faster OpenGL offloading for Bumblebee (32-bit)
local/primus 20151110-7
    Faster OpenGL offloading for Bumblebee
local/bbswitch 0.8-139
    Kernel module allowing to switch dedicated graphics card on Optimus laptops
local/lib32-nvidia-utils 396.24-2
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/nvidia 396.24-7
    NVIDIA drivers for linux
local/nvidia-utils 396.24-2
    NVIDIA drivers utilities
local/opencl-nvidia 396.24-2
    OpenCL implemention for NVIDIA

Kernel version: 4.16.13-2-ARCH

Modules

Module                  Size  Used by
ipmi_devintf           20480  0
ipmi_msghandler        57344  1 ipmi_devintf
fuse                  118784  5
tun                    45056  2
bbswitch               16384  0
nf_log_ipv4            16384  3
nf_log_common          16384  1 nf_log_ipv4
xt_LOG                 16384  3
xt_limit               16384  3
nf_conntrack_ipv4      16384  2
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
xt_multiport           16384  1
xt_iprange             16384  1
xt_conntrack           16384  2
nf_conntrack          155648  2 nf_conntrack_ipv4,xt_conntrack
libcrc32c              16384  1 nf_conntrack
iptable_filter         16384  1
uvcvideo              114688  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
videobuf2_common       53248  2 uvcvideo,videobuf2_v4l2
videodev              208896  3 uvcvideo,videobuf2_common,videobuf2_v4l2
media                  45056  2 uvcvideo,videodev
arc4                   16384  2
joydev                 24576  0
mousedev               24576  0
snd_hda_codec_hdmi     57344  1
b43                   454656  0
nls_utf8               16384  4
isofs                  45056  5
snd_hda_codec_realtek   110592  1
loop                   32768  10
mac80211              905216  1 b43
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
cfg80211              741376  2 b43,mac80211
ssb                    86016  1 b43
mmc_core              172032  2 b43,ssb
pcmcia                 69632  1 ssb
pcmcia_core            28672  1 pcmcia
rng_core               16384  1 b43
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
wmi_bmof               16384  0
acer_wmi               24576  0
sparse_keymap          16384  1 acer_wmi
mxm_wmi                16384  0
i915                 1994752  9
rfkill                 28672  4 acer_wmi,cfg80211
intel_powerclamp       16384  0
coretemp               16384  0
intel_cstate           16384  0
intel_uncore          131072  0
broadcom               20480  1
bcm_phy_lib            16384  1 broadcom
snd_hda_intel          45056  3
i2c_algo_bit           16384  1 i915
drm_kms_helper        200704  1 i915
pcspkr                 16384  0
tg3                   184320  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
drm                   466944  10 i915,drm_kms_helper
input_leds             16384  0
snd_hda_core           94208  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
led_class              16384  3 b43,input_leds,acer_wmi
ptp                    20480  1 tg3
psmouse               167936  0
snd_hwdep              16384  1 snd_hda_codec
intel_agp              24576  0
intel_gtt              24576  2 intel_agp,i915
snd_pcm               135168  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_timer              36864  1 snd_pcm
pps_core               20480  1 ptp
intel_ips              24576  0
agpgart                49152  3 intel_agp,intel_gtt,drm
mei_me                 45056  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
libphy                 77824  3 bcm_phy_lib,tg3,broadcom
bcma                   61440  1 b43
i2c_i801               32768  0
mei                   102400  1 mei_me
snd                    98304  14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
soundcore              16384  1 snd
lpc_ich                28672  0
fb_sys_fops            16384  1 drm_kms_helper
shpchp                 40960  0
battery                24576  0
rtc_cmos               24576  1
evdev                  20480  36
mac_hid                16384  0
ac                     16384  0
acpi_cpufreq           24576  1
wmi                    28672  3 wmi_bmof,acer_wmi,mxm_wmi
vboxnetflt             32768  0
vboxnetadp             28672  0
vboxpci                28672  0
vboxdrv               487424  3 vboxnetadp,vboxnetflt,vboxpci
sg                     40960  0
ip_tables              28672  1 iptable_filter
x_tables               45056  7 xt_LOG,xt_multiport,ip_tables,iptable_filter,xt_limit,xt_iprange,xt_conntrack
ext4                  716800  3
crc32c_generic         16384  4
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
crypto_simd            16384  0
glue_helper            16384  0
cryptd                 28672  1 crypto_simd
aes_x86_64             20480  4
xts                    16384  2
algif_skcipher         16384  0
af_alg                 28672  1 algif_skcipher
dm_crypt               45056  2
dm_mod                151552  5 dm_crypt
hid_generic            16384  0
usbhid                 57344  0
hid                   139264  2 hid_generic,usbhid
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  5
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
ahci                   40960  4
libahci                40960  1 ahci
libata                278528  2 ahci,libahci
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
scsi_mod              258048  4 sd_mod,libata,sr_mod,sg
usbcore               286720  4 uvcvideo,usbhid,ehci_hcd,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  1 acer_wmi
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

Strange thing is, I cannot see nvidia in modules, that might actually be the problem, but I have no idea, how to resolve this. I have aready tried to reinstall nvidia package and rebooted several times.

Last edited by Phalkon (2018-06-10 18:03:18)


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 2018-06-09 17:59:00

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

Re: [SOLVED] primus: fatal: Bumblebee error: Could not load GPU driver

I tried to install linux-lts with nvidia-lts drivers.
Still the same issue as on the previous kernel.

EDIT: also tried to disable bbswitch and tlp, if they perhaps shut down the card and therefore kernel doesn't load the module. It didn't help.
Then I looked for errors in log files during bootup, but there's nothing.

EDIT2: tried to install nvidia-dkms driver, didn't help

Last edited by Phalkon (2018-06-10 10:08:27)


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

#3 2018-06-10 18:02:38

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

Re: [SOLVED] primus: fatal: Bumblebee error: Could not load GPU driver

Solved.

Apparently, my card is no longer supported by the current driver, so I needed to install nvidia-390xx legacy driver.

I also needed to set the "AutoAddDevices" option to "true" in /etc/bumblebee/xorg.conf.nvidia after installing the new driver.


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