You are not logged in.

#1 2022-06-12 11:33:04

mrlogick
Member
Registered: 2013-10-27
Posts: 2

[SOLVED] bumblebee: Failed to initialize the NVIDIA kernel module.

I cannot use my NVIDIA GeForce GTX 1650 on my Tuxedo XP14 with bumblebee.

$ optirun glxspheres64
[  735.385022] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

[  735.385044] [ERROR]Aborting because fallback start is disabled.
 $ optirun -vv glxspheres64
[ 1085.228487] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1085.228916] [DEBUG]optirun version 3.2.1 starting...
[ 1085.228938] [DEBUG]Active configuration:
[ 1085.228945] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1085.228952] [DEBUG] X display: :8
[ 1085.228957] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
[ 1085.228964] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1085.228973] [DEBUG] Accel/display bridge: auto
[ 1085.228978] [DEBUG] VGL Compression: proxy
[ 1085.228982] [DEBUG] VGLrun extra options: 
[ 1085.228989] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
[ 1085.229031] [DEBUG]Using auto-detected bridge virtualgl
[ 1085.251108] [INFO]Response: No - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

[ 1085.251120] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

[ 1085.251122] [DEBUG]Socket closed.
[ 1085.251129] [ERROR]Aborting because fallback start is disabled.
[ 1085.251131] [DEBUG]Killing all remaining processes.
$ primusrun glxspheres64
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMultMatrixd'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glPopAttrib'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEvalPoint2'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glBegin'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glDisable'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEvalMesh1'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTexImage2D'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glPixelStorei'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTexCoord2f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEvalMesh2'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMultMatrixf'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glGetString'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glGetTexLevelParameteriv'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEvalCoord1f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glPolygonMode'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glNormal3f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEnable'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glGetIntegerv'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTranslated'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTexImage3D'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMapGrid1f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEnd'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glPushAttrib'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMap1f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glEvalCoord2f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMapGrid2d'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTexImage1D'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glScalef'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glTranslatef'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glMap2f'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glGetFloatv'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glOrtho'
glxspheres64: Relink `/usr/lib/libGLU.so.1' with `/usr/lib/primus/libGL.so.1' for IFUNC symbol `glVertex3f'
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

Now, I post some other stuff:

$ lspci -v
00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel modules: igen6_edac

00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01) (prog-if 00 [VGA controller])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 157
	Memory at 6032000000 (64-bit, non-prefetchable) [size=16M]
	Memory at 4000000000 (64-bit, prefetchable) [size=128M]
	I/O ports at 5000 [size=64]
	Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:06.0 PCI bridge: Intel Corporation 11th Gen Core Processor PCIe Controller (rev 01) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 123
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 5cb00000-5cbfffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 124
	Bus: primary=00, secondary=02, subordinate=33, sec-latency=0
	I/O behind bridge: 6000-6fff [size=4K] [16-bit]
	Memory behind bridge: 50000000-5c7fffff [size=200M] [32-bit]
	Prefetchable memory behind bridge: 6000000000-601f3fffff [size=500M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
	Flags: fast devsel
	Memory at 601f550000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec

00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01) (prog-if 30 [XHCI])
	Flags: bus master, medium devsel, latency 0, IRQ 130
	Memory at 601f540000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01) (prog-if 40 [USB4 Host Interface])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 601f500000 (64-bit, non-prefetchable) [size=256K]
	Memory at 601f566000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt

00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20) (prog-if 30 [XHCI])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, medium devsel, latency 0, IRQ 131
	Memory at 5cc80000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0
	Memory at 601f55c000 (64-bit, non-prefetchable) [size=16K]
	Memory at 601f565000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>

00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 400f000000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 400f001000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:15.2 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #2 (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 400f002000 (64-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: intel-lpss
	Kernel modules: intel_lpss_pci

00:1c.0 PCI bridge: Intel Corporation Device a0bc (rev 20) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 125
	Bus: primary=00, secondary=34, subordinate=34, sec-latency=0
	I/O behind bridge: 4000-4fff [size=4K] [16-bit]
	Memory behind bridge: 5d000000-5dffffff [size=16M] [32-bit]
	Prefetchable memory behind bridge: 6020000000-6031ffffff [size=288M] [32-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 126
	Bus: primary=00, secondary=35, subordinate=35, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 5ca00000-5cafffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.1 PCI bridge: Intel Corporation Device a0b1 (rev 20) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 127
	Bus: primary=00, secondary=36, subordinate=36, sec-latency=0
	I/O behind bridge: 3000-3fff [size=4K] [16-bit]
	Memory behind bridge: 5c900000-5c9fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.2 PCI bridge: Intel Corporation Device a0b2 (rev 20) (prog-if 00 [Normal decode])
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 128
	Bus: primary=00, secondary=37, subordinate=37, sec-latency=0
	I/O behind bridge: [disabled] [16-bit]
	Memory behind bridge: 5c800000-5c8fffff [size=1M] [32-bit]
	Prefetchable memory behind bridge: [disabled] [64-bit]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0

00:1f.3 Audio device: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 32, IRQ 170
	Memory at 601f558000 (64-bit, non-prefetchable) [size=16K]
	Memory at 601f400000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl

00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: medium devsel, IRQ 16
	Memory at 601f560000 (64-bit, non-prefetchable) [size=256]
	I/O ports at efa0 [size=32]
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801

00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0
	Memory at 4e800000 (32-bit, non-prefetchable) [size=4K]
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci

01:00.0 Non-Volatile memory controller: Kingston Technology Company, Inc. A2000 NVMe SSD (rev 03) (prog-if 02 [NVM Express])
	Subsystem: Kingston Technology Company, Inc. A2000 NVMe SSD
	Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
	Memory at 5cb00000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

34:00.0 3D controller: NVIDIA Corporation TU117M (rev a1)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at 5d000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 6020000000 (64-bit, prefetchable) [size=256M]
	Memory at 6030000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 4000 [size=128]
	Expansion ROM at <ignored> [disabled]
	Capabilities: <access denied>
	Kernel modules: nouveau, nvidia_drm, nvidia

35:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 129
	Memory at 5ca00000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

36:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
	Subsystem: CLEVO/KAPOK Computer Device 4018
	Flags: bus master, fast devsel, latency 0, IRQ 17
	I/O ports at 3000 [size=256]
	Memory at 5c904000 (64-bit, non-prefetchable) [size=4K]
	Memory at 5c900000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

37:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Intel Corporation Wi-Fi 6 AX200NGW
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at 5c800000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
$ cat /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:52:00:0"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
EndSection
$ uname -a
Linux tux 5.18.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 09 Jun 2022 16:14:10 +0000 x86_64 GNU/Linux
$ groups
bumblebee users video input audio wheel
$ pacman -Qe | grep -i "nvidia\|bumblebee\|bbswitch\|primus"
bbswitch 0.8-511
bumblebee 3.2.1-21
nvidia 515.48.07-9
opencl-nvidia 515.48.07-2
primus 20151110-9

Last edited by mrlogick (2022-06-12 18:37:19)

Offline

#2 2022-06-12 11:37:26

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,290

Re: [SOLVED] bumblebee: Failed to initialize the NVIDIA kernel module.

Offline

#3 2022-06-12 18:36:42

mrlogick
Member
Registered: 2013-10-27
Posts: 2

Re: [SOLVED] bumblebee: Failed to initialize the NVIDIA kernel module.

I tried putting ibt=off as kernel parameter. In /etc/default/grub:

GRUB_CMDLINE_LINUX="ibt=off"

Now, it works. Thanks.

Offline

Board footer

Powered by FluxBB