hey guys…i’m about to pull my hair out, cant figure out why i cant make it work.
so i’m trying to get bumblebee to work, no luck so far.
–>>FRESH ARCH INSTALL<<–
installed i3,spotify, steam and a couple of other things but have yet to mess with system settings and what not.
computer name:
Acer Aspire E5-571G
i added some stuff:
8G ram, 500GB SSD
not that it matters just to give you guys as much info as possible.
uname -a
Linux void 5.0.0-arch1-1-ARCH #1 SMP PREEMPT Mon Mar 4 14:11:43 UTC 2019 x86_64 GNU/Linux
lspci | egrep ‘VGA|3D’
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
03:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)
packages installed:
nvidia
lib32-nvidia-utils
nvidia-settings
nvidia-utils
bumblebee
mesa
xf86-video-intel
lib32-virtualgl
mesa-demos
xorg-server
xorg-server-common
optirun -vvv glxgears:
[ 1033.858761] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1033.859447] [DEBUG]optirun version 3.2.1 starting...
[ 1033.859477] [DEBUG]Active configuration:
[ 1033.859486] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1033.859494] [DEBUG] X display: :8
[ 1033.859502] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1033.859576] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1033.859627] [DEBUG] Accel/display bridge: auto
[ 1033.859648] [DEBUG] VGL Compression: proxy
[ 1033.859667] [DEBUG] VGLrun extra options:
[ 1033.859691] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1033.859750] [DEBUG]Using auto-detected bridge virtualgl
[ 1042.063171] [INFO]Response: No - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:3:0:0. Please
[ 1042.063186] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA GPU at PCI:3:0:0. Please
[ 1042.063191] [DEBUG]Socket closed.
[ 1042.063200] [ERROR]Aborting because fallback start is disabled.
[ 1042.063204] [DEBUG]Killing all remaining processes.
etc/bumblebee/xorg.conf.nvidia
bootloeader options (systemd)
title Arch Linux
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options cryptdevice=/dev/sda2:luks:allow-discards resume=/dev/mapper/vg0-swap root=/dev/mapper/vg0-root rw quiet modprobe.blacklist=nouveau rcutree.rcu_idle_gp_delay=1
hope you guys can help me, let me know if you need any more info.
edit:
i found this thread about the “RmInitAdapter failed!” , sadly i dont have the
Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerDefaultAC=0x1
on my xorg.conf.nvidia…
also as pointed out on my systemd conf, i do have
rcutree.rcu_idle_gp_delay=1
digging into the nvidia forums:
nvidia-smi -q
No devices were found
honestly i’m just trying anything and everything at this point…
found another thread that said to use
pcie_aspm=off
on the kernel, that didnt work
about the report:
aside from the obvious
RmInitAdapter failed!
i found this:
[ 11.287967] bbswitch: module verification failed: signature and/or required key missing - tainting kernel
[ 11.288207] bbswitch: version 0.8
[ 11.288213] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 11.288222] bbswitch: Found discrete VGA device 0000:03:00.0: \_SB_.PCI0.RP05.PEGP
[ 11.288236] ACPI Warning: \_SB.PCI0.RP05.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20181213/nsarguments-66)
[ 11.288361] bbswitch: detected an Optimus _DSM function
[ 11.288375] pci 0000:03:00.0: enabling device (0006 -> 0007)
[ 11.288435] bbswitch: Succesfully loaded. Discrete card 0000:03:00.0 is on
[ 11.303338] bbswitch: disabling discrete graphics
also
[ 45.003098] bbswitch: enabling discrete graphics
[ 45.068449] IPMI message handler: version 39.2
[ 45.070418] ipmi device interface
[ 45.190433] nvidia: module license 'NVIDIA' taints kernel.
[ 45.190435] Disabling lock debugging due to kernel taint
[ 45.204573] nvidia-nvlink: Nvlink Core is being initialized, major device number 236
[ 45.305139] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 418.43 Tue Feb 19 01:12:11 CST 2019
[ 53.504298] NVRM: RmInitAdapter failed! (0x26:0x65:1106)
[ 53.504326] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 68.249397] NVRM: RmInitAdapter failed! (0x26:0x65:1106)
[ 68.249430] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 234.642029] NVRM: RmInitAdapter failed! (0x26:0x65:1106)
[ 234.642068] NVRM: rm_init_adapter failed for device bearing minor number 0
is the connection with the gpu broken or something? not sure what to make of this:
*** /proc/driver/nvidia/./gpus/0000:03:00.0/information
*** ls: -r--r--r-- 1 root root 0 2019-03-11 18:02:31.852095882 +0000 /proc/driver/nvidia/./gpus/0000:03:00.0/information
Model: Unknown
IRQ: 48
GPU UUID: GPU-????????-????-????-????-????????????
Video BIOS: ??.??.??.??.??
Bus Type: PCIe
DMA Size: 40 bits
DMA Mask: 0xffffffffff
Bus Location: 0000:03:00.0
Device Minor: 0
Blacklisted: No
i didnt changed the ???, thats how the log shows it…but then again i’m no nvidia/hardware expert, so it could be nothing related