Bug#1023552: bumblebee: segfault in libGL.so.1

Nicolas nicolas at progweb.com
Sun Nov 6 14:48:29 GMT 2022


Package: bumblebee
Version: 3.2.1-28+b1
Severity: normal

Dear Maintainer,

Since last dist-upgrade, I can't use nvidia GPU with Optimus.


$ inxi -G
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: NVIDIA GM107M [GeForce GTX 850M] driver: N/A
  Device-3: IMC Networks USB2.0 UVC HD Webcam type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5 driver: X:
    loaded: nvidia dri: crocus gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL v: 4.6 Mesa 22.2.2 renderer: Mesa Intel HD Graphics 4600 (HSW
    GT2)

$ optirun --debug inxi -G
[  307.842673] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  307.842771] [INFO]Configured driver: nvidia
[  307.842958] [DEBUG]optirun version 3.2.1 starting...
[  307.842968] [DEBUG]Active configuration:
[  307.842972] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  307.842979] [DEBUG] X display: :8
[  307.842983] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-
gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-
gnu:/usr/lib/i386-linux-gnu
[  307.842989] [DEBUG] Socket path: /var/run/bumblebee.socket
[  307.842994] [DEBUG] Accel/display bridge: auto
[  307.842999] [DEBUG] VGL Compression: proxy
[  307.843009] [DEBUG] VGLrun extra options:
[  307.843014] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-
gnu/primus:/usr/lib/i386-linux-gnu/primus
[  307.843057] [DEBUG]Using auto-detected bridge primus
[  309.459102] [INFO]Response: Yes. X is active.

[  309.459115] [INFO]Running application using primus.
[  309.459275] [DEBUG]Process inxi started, PID 3792.
Graphics:
  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915
    v: kernel
  Device-2: NVIDIA GM107M [GeForce GTX 850M] driver: nvidia v: 510.85.02
  Device-3: IMC Networks USB2.0 UVC HD Webcam type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.4 with: Xwayland v: 22.1.5 driver: X:
    loaded: nvidia gpu: i915 resolution: 1920x1080~60Hz
  API: OpenGL Message: No GL data found on this system.
[  309.765970] [DEBUG]SIGCHILD received, but wait failed with No child
processes
[  309.765990] [DEBUG]Socket closed.
[  309.766014] [DEBUG]Killing all remaining processes.


Output logs as I exec: optirun glxgears -info

[  189.797140] bbswitch: enabling discrete graphics
[  190.385877] nvidia-nvlink: Nvlink Core is being initialized, major device
number 241
[  190.385882] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  510.85.02  Tue
Jul 12 16:51:23 UTC 2022
[  190.511621] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for
UNIX platforms  510.85.02  Tue Jul 12 16:42:29 UTC 2022
[  190.514022] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[  190.514025] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on
minor 1
[  191.398476] glxgears[3650]: segfault at 0 ip 00007f98c763cd13 sp
00007fffab17b3f0 error 4 in libGL.so.1[7f98c762a000+19000]
[  191.398485] Code: 48 89 d3 48 83 ec 28 64 48 8b 04 25 28 00 00 00 48 89 44
24 18 31 c0 e8 6b d9 fe ff 45 89 e0 48 89 d9 ba 14 80 00 00 48 89 c5 <48> 8b 30
48 8b 3d 4b b4 01 00 ff 15 65 b4 01 00 48 8b 6d 00 48 89
[  191.517942] [drm] [nvidia-drm] [GPU ID 0x00000100] Unloading driver
[  191.538539] nvidia-modeset: Unloading
[  191.590933] nvidia-nvlink: Unregistered the Nvlink Core, major device number
241
[  191.628706] bbswitch: disabling discrete graphics

Of course, if I can help to fix the issue.

Regards,

Nicolas


-- Package-specific info:
OpenGL and NVIDIA library files installed:
lrwxrwxrwx 1 root root 15 Oct 21 09:42 /etc/alternatives/glx -> /usr/lib/nvidia
lrwxrwxrwx 1 root root 51 Oct 21 09:42 /etc/alternatives/glx--libEGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libEGL.so.1
lrwxrwxrwx 1 root root 48 Aug 24 14:14 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 50 Oct 21 09:42 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
lrwxrwxrwx 1 root root 57 Aug 24 14:14 /etc/alternatives/glx--libGLESv1_CM.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1
lrwxrwxrwx 1 root root 54 Oct 21 09:42 /etc/alternatives/glx--libGLESv2.so.2-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2
lrwxrwxrwx 1 root root 42 Oct 21 09:42 /etc/alternatives/glx--libGLX_indirect.so.0-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/libGLX_mesa.so.0
lrwxrwxrwx 1 root root 51 Oct 21 09:42 /etc/alternatives/glx--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 23 Oct 21 17:31 /etc/alternatives/nvidia -> /usr/lib/nvidia/current
lrwxrwxrwx 1 root root 51 Oct 21 17:31 /etc/alternatives/nvidia--libcuda.so-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so
lrwxrwxrwx 1 root root 53 Oct 21 17:31 /etc/alternatives/nvidia--libcuda.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libcuda.so.1
lrwxrwxrwx 1 root root 54 Oct 21 17:31 /etc/alternatives/nvidia--libnvcuvid.so-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvcuvid.so
lrwxrwxrwx 1 root root 56 Oct 21 17:31 /etc/alternatives/nvidia--libnvcuvid.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvcuvid.so.1
lrwxrwxrwx 1 root root 59 Oct 21 17:31 /etc/alternatives/nvidia--libnvidia-cfg.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-cfg.so.1
lrwxrwxrwx 1 root root 62 Oct 17 15:40 /etc/alternatives/nvidia--libnvidia-encode.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-encode.so.1
lrwxrwxrwx 1 root root 58 Oct 21 17:31 /etc/alternatives/nvidia--libnvidia-ml.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ml.so.1
lrwxrwxrwx 1 root root 70 Oct 21 17:31 /etc/alternatives/nvidia--libnvidia-ptxjitcompiler.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libnvidia-ptxjitcompiler.so.1
lrwxrwxrwx 1 root root 61 Oct 21 17:31 /etc/alternatives/nvidia--libvdpau_nvidia.so.1-x86_64-linux-gnu -> /usr/lib/x86_64-linux-gnu/nvidia/current/libvdpau_nvidia.so.1
lrwxrwxrwx 1 root root 73 Oct 21 17:31 /etc/alternatives/nvidia--nvidia-application-profiles-key-documentation -> /usr/share/nvidia/nvidia-application-profiles-510.85.02-key-documentation
lrwxrwxrwx 1 root root 34 Oct 21 17:31 /etc/alternatives/nvidia--nvidia-smi -> /usr/lib/nvidia/current/nvidia-smi
lrwxrwxrwx 1 root root 39 Oct 21 17:31 /etc/alternatives/nvidia--nvidia-smi.1.gz -> /usr/lib/nvidia/current/nvidia-smi.1.gz

/etc/modprobe.d:
total 24
drwxr-xr-x   2 root root  4096 Oct 21 10:44 .
drwxr-xr-x 165 root root 12288 Nov  6 15:19 ..
-rw-r--r--   1 root root   567 Oct 21 10:44 bumblebee.conf
-rw-r--r--   1 root root   127 Feb 12  2021 dkms.conf

/etc/modprobe.d/bumblebee.conf:# do not automatically load nouveau as it may prevent nvidia from loading
/etc/modprobe.d/bumblebee.conf:# do not automatically load nvidia as it's unloaded anyway when bumblebeed
/etc/modprobe.d/bumblebee.conf:blacklist nvidia
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-current
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-510
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-470
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-450
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-tesla-418
/etc/modprobe.d/bumblebee.conf:blacklist nvidia-legacy-390xx
/etc/modprobe.d/bumblebee.conf:# do not automatically load nouveau as it may prevent nvidia from loading
/etc/modprobe.d/bumblebee.conf:blacklist nouveau


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bumblebee depends on:
ii  init-system-helpers        1.65.2
ii  libbsd0                    0.11.7-1
ii  libc6                      2.36-4
ii  libglib2.0-0               2.74.1-1
ii  libkmod2                   30+20220905-1
ii  libx11-6                   2:1.8.1-2
ii  lsb-base                   11.5
ii  sysvinit-utils [lsb-base]  3.05-6
ii  xserver-xorg-core          2:21.1.4-2

Versions of packages bumblebee recommends:
ii  bbswitch-dkms  0.8-13
ii  primus-libs    0~20150328-14

Versions of packages bumblebee suggests:
ii  bumblebee-nvidia  3.2.1-28+b1

Versions of packages bumblebee is related to:
ii  nvidia-tesla-driver [nvidia-driver-any]                       510.85.02-2
ii  nvidia-tesla-driver-libs [nvidia-driver-libs-any]             510.85.02-2
ii  primus-libs                                                   0~20150328-14
ii  xserver-xorg-video-nvidia-tesla [xserver-xorg-video-nvidia-a  510.85.02-2

-- Configuration Files:
/etc/bumblebee/bumblebee.conf changed:
[bumblebeed]
VirtualDisplay=:8
KeepUnusedXServer=false
ServerGroup=bumblebee
TurnCardOffAtExit=false
NoEcoModeOverride=false
Driver=nvidia
XorgConfDir=/etc/bumblebee/xorg.conf.d
XorgBinary=/usr/lib/xorg/Xorg
[optirun]
Bridge=auto
VGLTransport=proxy
PrimusLibraryPath=/usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
AllowFallbackToIGC=false
[driver-nvidia]
KernelDriver=nvidia-tesla-drm
PMMethod=auto
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/x86_64-linux-gnu:/usr/lib/i386-linux-gnu
XorgModulePath=/usr/lib/nvidia,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
AlwaysUnloadKernelDriver=false
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau

/etc/bumblebee/xorg.conf.nvidia changed:
Section "ServerLayout"
    Identifier  "Layout0"
    Option      "AutoAddDevices" "false"
    Option      "AutoAddGPU" "false"
EndSection
Section "Device"
    Identifier  "DiscreteNvidia"
    Driver      "nvidia"
    VendorName  "NVIDIA Corporation"
    BusID "PCI:01:00:0"
    Option "ProbeAllGpus" "false"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "UseDisplayDevice" "none"
    Option "HardDPMS" "false"
EndSection


-- no debconf information



More information about the pkg-nvidia-devel mailing list