New install: Coredump on Arch Linux, nvidia

dts

New Member
I need help with Arch Linux - obs-studio 29.1.3-1 (x86_64). I installed it for the first time and it fails to launch. My system is fully up to date. Here is the log file:

Code:
$ cat '2023-07-24 14-53-26.txt'
14:53:26.817: Using EGL/X11
14:53:26.818: Kernel Version: Linux 6.4.4-arch1-1
14:53:26.818: Distribution: "Arch Linux" Unknown
14:53:26.818: Desktop Environment: KDE
14:53:26.818: Session Type: tty
14:53:26.818: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
14:53:26.821: Qt Version: 6.5.2 (runtime), 6.5.1 (compiled)
14:53:26.821: Portable mode: false
14:53:26.872: OBS 29.1.3-1 (linux)
14:53:26.872: ---------------------------------
14:53:26.872: ---------------------------------
14:53:26.872: audio settings reset:
14:53:26.872:   samples per sec: 48000
14:53:26.872:   speakers:        2
14:53:26.872:   max buffering:   960 milliseconds
14:53:26.872:   buffering type:  dynamically increasing
14:53:26.876: ---------------------------------
14:53:26.876: Initializing OpenGL...
14:53:26.979: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1070/PCIe/SSE2
14:53:26.979: OpenGL loaded successfully, version 3.3.0 NVIDIA 535.86.05, shading language 3.30 NVIDIA via Cg compiler
14:53:27.179: ---------------------------------
14:53:27.179: video settings reset:
14:53:27.179:   base resolution:   1920x1080
14:53:27.179:   output resolution: 1280x720
14:53:27.179:   downscale filter:  Bicubic
14:53:27.179:   fps:               30/1
14:53:27.179:   format:            NV12
14:53:27.179:   YUV mode:          Rec. 709/Partial
14:53:27.180: NV12 texture support not available
14:53:27.180: P010 texture support not available
14:53:27.180: Audio monitoring device:
14:53:27.180:   name: Default
14:53:27.180:   id: default
14:53:27.180: ---------------------------------
14:53:27.194: Failed to load 'en-US' text for module: 'decklink-captions.so'
14:53:27.206: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
14:53:27.216: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
14:53:27.216: Failed to initialize module 'decklink.so'
14:53:27.417: [pipewire] Available captures:
14:53:27.417: [pipewire]     - Desktop capture
14:53:27.417: [pipewire]     - Window capture
14:53:27.448: v4l2loopback not installed, virtual camera disabled
14:53:27.504: NVENC supported

The journal further shows this coredump:

Code:
Jul 24 21:28:17 desktop systemd-coredump[166373]: [] Process 166346 (obs) of user 1234 dumped core.
  Stack trace of thread 166346:
  #0  0x00007feb882e8a34 XDisplayString (libX11.so.6 + 0x2ba34)
  #1  0x00007feb557b8a1d __vaDriverInit_1_13 (nvidia_drv_video.so + 0xda1d)
  #2  0x00007feb934c29f9 n/a (libva.so.2 + 0x39f9)
  #3  0x00007feb934c5c20 vaInitialize (libva.so.2 + 0x6c20)
  #4  0x00007feb55887d56 vaapi_open_device (obs-ffmpeg.so + 0x18d56)
  #5  0x00007feb55888134 vaapi_device_h264_supported (obs-ffmpeg.so + 0x19134)
  #6  0x00007feb55888209 vaapi_get_h264_default_device (obs-ffmpeg.so + 0x19209)
  #7  0x00007feb558841f0 obs_module_load (obs-ffmpeg.so + 0x151f0)
  #8  0x00007feb96f5493e obs_init_module (libobs.so.0 + 0x5693e)
  #9  0x00007feb96f54e4f n/a (libobs.so.0 + 0x56e4f)
  #10 0x00007feb96f55359 obs_find_modules2 (libobs.so.0 + 0x57359)
  #11 0x00007feb96f55a5d obs_load_all_modules2 (libobs.so.0 + 0x57a5d)
  #12 0x000055e479baa231 n/a (obs + 0x13d231)
  #13 0x000055e479b0dafa main (obs + 0xa0afa)
  #14 0x00007feb94839850 n/a (libc.so.6 + 0x23850)
  #15 0x00007feb9483990a __libc_start_main (libc.so.6 + 0x2390a)
  #16 0x000055e479b10cc5 n/a (obs + 0xa3cc5)

I am running the latest version of libva:

Code:
$ pacman -Qi libva
Name            : libva
Version         : 2.19.0-1

Temporary Workaround:

obs launches correctly using `LIBVA_DRIVER_NAME=dummy obs`


I would like to be able to use hardware-accelerated video encoding.

The following info might be helpful too.

Code:
    $ ldconfig -p | grep libva
        libvamp-sdk.so.2 (libc6,x86-64) => /usr/lib/libvamp-sdk.so.2
        libvamp-sdk.so (libc6,x86-64) => /usr/lib/libvamp-sdk.so
        libvamp-hostsdk.so.3 (libc6,x86-64) => /usr/lib/libvamp-hostsdk.so.3
        libvamp-hostsdk.so (libc6,x86-64) => /usr/lib/libvamp-hostsdk.so
        libva.so.2 (libc6,x86-64) => /usr/lib/libva.so.2
        libva.so (libc6,x86-64) => /usr/lib/libva.so
        libva-x11.so.2 (libc6,x86-64) => /usr/lib/libva-x11.so.2
        libva-x11.so (libc6,x86-64) => /usr/lib/libva-x11.so
        libva-wayland.so.2 (libc6,x86-64) => /usr/lib/libva-wayland.so.2
        libva-wayland.so (libc6,x86-64) => /usr/lib/libva-wayland.so
        libva-glx.so.2 (libc6,x86-64) => /usr/lib/libva-glx.so.2
        libva-glx.so (libc6,x86-64) => /usr/lib/libva-glx.so
        libva-drm.so.2 (libc6,x86-64) => /usr/lib/libva-drm.so.2
        libva-drm.so (libc6,x86-64) => /usr/lib/libva-drm.so
    $ ldconfig -p | grep nvidia
        libnvidia-wayland-client.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-wayland-client.so.535.86.05
        libnvidia-vulkan-producer.so.1 (libc6,x86-64) => /usr/lib/libnvidia-vulkan-producer.so.1
        libnvidia-vulkan-producer.so (libc6,x86-64) => /usr/lib/libnvidia-vulkan-producer.so
        libnvidia-tls.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-tls.so.535.86.05
        libnvidia-tls.so (libc6,x86-64) => /usr/lib/libnvidia-tls.so
        libnvidia-rtcore.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-rtcore.so.535.86.05
        libnvidia-rtcore.so (libc6,x86-64) => /usr/lib/libnvidia-rtcore.so
        libnvidia-ptxjitcompiler.so.1 (libc6,x86-64) => /usr/lib/libnvidia-ptxjitcompiler.so.1
        libnvidia-ptxjitcompiler.so (libc6,x86-64) => /usr/lib/libnvidia-ptxjitcompiler.so
        libnvidia-pkcs11.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-pkcs11.so.535.86.05
        libnvidia-pkcs11.so (libc6,x86-64) => /usr/lib/libnvidia-pkcs11.so
        libnvidia-pkcs11-openssl3.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-pkcs11-openssl3.so.535.86.05
        libnvidia-pkcs11-openssl3.so (libc6,x86-64) => /usr/lib/libnvidia-pkcs11-openssl3.so
        libnvidia-opticalflow.so.1 (libc6,x86-64) => /usr/lib/libnvidia-opticalflow.so.1
        libnvidia-opticalflow.so (libc6,x86-64) => /usr/lib/libnvidia-opticalflow.so
        libnvidia-opencl.so.1 (libc6,x86-64) => /usr/lib/libnvidia-opencl.so.1
        libnvidia-opencl.so (libc6,x86-64) => /usr/lib/libnvidia-opencl.so
        libnvidia-nvvm.so.4 (libc6,x86-64) => /usr/lib/libnvidia-nvvm.so.4
        libnvidia-nvvm.so (libc6,x86-64) => /usr/lib/libnvidia-nvvm.so
        libnvidia-ngx.so.1 (libc6,x86-64) => /usr/lib/libnvidia-ngx.so.1
        libnvidia-ngx.so (libc6,x86-64) => /usr/lib/libnvidia-ngx.so
        libnvidia-ml.so.1 (libc6,x86-64) => /usr/lib/libnvidia-ml.so.1
        libnvidia-ml.so (libc6,x86-64) => /usr/lib/libnvidia-ml.so
        libnvidia-gtk3.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-gtk3.so.535.86.05
        libnvidia-glvkspirv.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-glvkspirv.so.535.86.05
        libnvidia-glvkspirv.so (libc6,x86-64) => /usr/lib/libnvidia-glvkspirv.so
        libnvidia-glsi.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-glsi.so.535.86.05
        libnvidia-glsi.so (libc6,x86-64) => /usr/lib/libnvidia-glsi.so
        libnvidia-glcore.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-glcore.so.535.86.05
        libnvidia-glcore.so (libc6,x86-64) => /usr/lib/libnvidia-glcore.so
        libnvidia-fbc.so.1 (libc6,x86-64) => /usr/lib/libnvidia-fbc.so.1
        libnvidia-fbc.so (libc6,x86-64) => /usr/lib/libnvidia-fbc.so
        libnvidia-encode.so.1 (libc6,x86-64) => /usr/lib/libnvidia-encode.so.1
        libnvidia-encode.so (libc6,x86-64) => /usr/lib/libnvidia-encode.so
        libnvidia-eglcore.so.535.86.05 (libc6,x86-64) => /usr/lib/libnvidia-eglcore.so.535.86.05
        libnvidia-eglcore.so (libc6,x86-64) => /usr/lib/libnvidia-eglcore.so
        libnvidia-egl-wayland.so.1 (libc6,x86-64) => /usr/lib/libnvidia-egl-wayland.so.1
        libnvidia-egl-wayland.so (libc6,x86-64) => /usr/lib/libnvidia-egl-wayland.so
        libnvidia-egl-gbm.so.1 (libc6,x86-64) => /usr/lib/libnvidia-egl-gbm.so.1
        libnvidia-egl-gbm.so (libc6,x86-64) => /usr/lib/libnvidia-egl-gbm.so
        libnvidia-cfg.so.1 (libc6,x86-64) => /usr/lib/libnvidia-cfg.so.1
        libnvidia-cfg.so (libc6,x86-64) => /usr/lib/libnvidia-cfg.so
        libnvidia-api.so.1 (libc6,x86-64) => /usr/lib/libnvidia-api.so.1
        libnvidia-api.so (libc6,x86-64) => /usr/lib/libnvidia-api.so
        libnvidia-allocator.so.1 (libc6,x86-64) => /usr/lib/libnvidia-allocator.so.1
        libnvidia-allocator.so (libc6,x86-64) => /usr/lib/libnvidia-allocator.so
        libGLX_nvidia.so.0 (libc6,x86-64) => /usr/lib/libGLX_nvidia.so.0
        libGLX_nvidia.so (libc6,x86-64) => /usr/lib/libGLX_nvidia.so
        libGLESv2_nvidia.so.2 (libc6,x86-64) => /usr/lib/libGLESv2_nvidia.so.2
        libGLESv2_nvidia.so (libc6,x86-64) => /usr/lib/libGLESv2_nvidia.so
        libGLESv1_CM_nvidia.so.1 (libc6,x86-64) => /usr/lib/libGLESv1_CM_nvidia.so.1
        libGLESv1_CM_nvidia.so (libc6,x86-64) => /usr/lib/libGLESv1_CM_nvidia.so
        libEGL_nvidia.so.0 (libc6,x86-64) => /usr/lib/libEGL_nvidia.so.0
        libEGL_nvidia.so (libc6,x86-64) => /usr/lib/libEGL_nvidia.so
 
Top