Libva issues (vlc, obs-studio crashing)

For two months I’ve had issues with vlc and obs. I kept libva and obs-studio downgraded (libva 2.16.0-1 and obs-studio 28.1.2-2) since they first stopped working, which fixed my issue, but it feels like a temporary fix. Today I un-downgraded and installed the recent manjaro stable updates, and I can no longer downgrade obs. (it says “obs: error while loading shared libraries: libavcodec.so.59: cannot open shared object file: No such file or directory” when I try to launch it from the commandline).

I fixed the VLC issue just now by by changing my VLC Preferences > Video > Output from Automatic to VDPAU (as suggested in the stable update notes) but the obs issue remains: when I launch it from the commandline, it crashes right after saying “info: NVENC supported”.

full output
> obs --version
OBS Studio - 29.0.2-2 (linux)

> obs
debug: Found portal inhibitor
debug: Attempted path: share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
debug: Attempted path: share/obs/obs-studio/locale.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale.ini
debug: Attempted path: share/obs/obs-studio/locale/en-GB.ini
debug: Attempted path: /usr/share/obs/obs-studio/locale/en-GB.ini
info: Using preferred locale 'en-GB'
debug: Attempted path: share/obs/obs-studio/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD FX(tm)-8350 Eight-Core Processor
info: CPU Speed: 2100.000MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 7842MB Total, 2383MB Free
info: Kernel Version: Linux 5.15.104-2-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.4.3 (runtime), 6.4.2 (compiled)
info: Portable mode: false
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
info: OBS 29.0.2-2 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 530.41.03, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 768x432
        downscale filter:  Bilinear
        fps:               30/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
warning: Failed to load 'en-GB' text for module: 'frontend-tools.so'
warning: Failed to load 'en-GB' text for module: 'linux-alsa.so'
warning: Failed to load 'en-GB' text for module: 'linux-capture.so'
warning: Failed to load 'en-GB' text for module: 'linux-jack.so'
warning: Failed to load 'en-GB' text for module: 'linux-pipewire.so'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
warning: Failed to load 'en-GB' text for module: 'linux-pulseaudio.so'
warning: v4l2loopback not installed, virtual camera disabled
info: NVENC supported
zsh: segmentation fault (core dumped)  obs

I don’t really understand how to interpret this command, but it looks like libva / __vaDriverInit_1_13 / XDisplayString crashed it:

`coredumpctl debug obs`
> coredumpctl debug obs
          PID: 4961 (obs)
          UID: 1000 (pancelor)
          GID: 1000 (pancelor)
       Signal: 11 (SEGV)
    Timestamp: Wed 2023-04-05 20:04:29 PDT (17min ago)
 Command Line: obs
   Executable: /usr/bin/obs
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.yakuake@autostart.service
         Unit: user@1000.service
    User Unit: app-org.kde.yakuake@autostart.service
        Slice: user-1000.slice
    Owner UID: 1000 (pancelor)
      Boot ID: 33759e0a76bd4a0285235744d126c79f
   Machine ID: 4eec57f899074b4eb49773a72b91be1c
     Hostname: pancelor-manjaro
      Storage: /var/lib/systemd/coredump/core.obs.1000.33759e0a76bd4a0285235744d126c79f.4961.1680750269000000.zst (present)
 Size on Disk: 6.8M
      Message: Process 4961 (obs) of user 1000 dumped core.
               
               Stack trace of thread 4961:
               #0  0x00007f7d4b06e8b4 XDisplayString (libX11.so.6 + 0x2b8b4)
               #1  0x00007f7d13168a1d __vaDriverInit_1_13 (nvidia_drv_video.so + 0xda1d)
               #2  0x00007f7d4b1b69c3 n/a (libva.so.2 + 0x39c3)
               #3  0x00007f7d4b1b9cd0 vaInitialize (libva.so.2 + 0x6cd0)
               #4  0x00007f7d13259b56 vaapi_open_device (obs-ffmpeg.so + 0x16b56)
               #5  0x00007f7d1325a104 vaapi_device_h264_supported (obs-ffmpeg.so + 0x17104)
               #6  0x00007f7d1325a1d9 vaapi_get_h264_default_device (obs-ffmpeg.so + 0x171d9)
               #7  0x00007f7d13256364 obs_module_load (obs-ffmpeg.so + 0x13364)
               #8  0x00007f7d58e1c72e obs_init_module (libobs.so.0 + 0x5172e)
               #9  0x00007f7d58e1cc3f n/a (libobs.so.0 + 0x51c3f)
               #10 0x00007f7d58e1d149 obs_find_modules2 (libobs.so.0 + 0x52149)
               #11 0x00007f7d58e1d84d obs_load_all_modules2 (libobs.so.0 + 0x5284d)
               #12 0x000056382847066d n/a (obs + 0x12666d)
               #13 0x00005638283d5d30 main (obs + 0x8bd30)
               #14 0x00007f7d57a96790 n/a (libc.so.6 + 0x23790)
               #15 0x00007f7d57a9684a __libc_start_main (libc.so.6 + 0x2384a)
               #16 0x00005638283d7695 n/a (obs + 0x8d695)
               
               Stack trace of thread 4965:
               #0  0x00007f7d57b730dd syscall (libc.so.6 + 0x1000dd)
               #1  0x00007f7d564537b5 g_cond_wait (libglib-2.0.so.0 + 0xb07b5)
               #2  0x00007f7d563c7fb4 n/a (libglib-2.0.so.0 + 0x24fb4)
               #3  0x00007f7d5642ef9e n/a (libglib-2.0.so.0 + 0x8bf9e)
               #4  0x00007f7d5642a315 n/a (libglib-2.0.so.0 + 0x87315)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4966:
               #0  0x00007f7d57b6d9df __poll (libc.so.6 + 0xfa9df)
               #1  0x00007f7d5645a17f n/a (libglib-2.0.so.0 + 0xb717f)
               #2  0x00007f7d563fc1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
               #3  0x00007f7d563fc1f2 n/a (libglib-2.0.so.0 + 0x591f2)
               #4  0x00007f7d5642a315 n/a (libglib-2.0.so.0 + 0x87315)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4963:
               #0  0x00007f7d57b6d9df __poll (libc.so.6 + 0xfa9df)
               #1  0x00007f7d4a61026b n/a (libxcb.so.1 + 0xd26b)
               #2  0x00007f7d4a611d1d xcb_wait_for_event (libxcb.so.1 + 0xed1d)
               #3  0x00007f7d464c1442 n/a (libQt6XcbQpa.so.6 + 0x4e442)
               #4  0x00007f7d58268ee1 n/a (libQt6Core.so.6 + 0x285ee1)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4964:
               #0  0x00007f7d57b6d9df __poll (libc.so.6 + 0xfa9df)
               #1  0x00007f7d5645a17f n/a (libglib-2.0.so.0 + 0xb717f)
               #2  0x00007f7d563fc1a2 g_main_context_iteration (libglib-2.0.so.0 + 0x591a2)
               #3  0x00007f7d583309b2 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x34d9b2)
               #4  0x00007f7d581191f4 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x1361f4)
               #5  0x00007f7d58200e08 _ZN7QThread4execEv (libQt6Core.so.6 + 0x21de08)
               #6  0x00007f7d4a2c811f n/a (libQt6DBus.so.6 + 0x2d11f)
               #7  0x00007f7d58268ee1 n/a (libQt6Core.so.6 + 0x285ee1)
               #8  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #9  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4968:
               #0  0x00007f7d57af5766 n/a (libc.so.6 + 0x82766)
               #1  0x00007f7d57af8294 pthread_cond_timedwait (libc.so.6 + 0x85294)
               #2  0x00007f7d58e7fa0a os_event_timedwait (libobs.so.0 + 0xb4a0a)
               #3  0x00007f7d58e15265 obs_hotkey_thread (libobs.so.0 + 0x4a265)
               #4  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #5  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4967:
               #0  0x00007f7d57b6d9df __poll (libc.so.6 + 0xfa9df)
               #1  0x00007f7d5645a17f n/a (libglib-2.0.so.0 + 0xb717f)
               #2  0x00007f7d563fcc7f g_main_loop_run (libglib-2.0.so.0 + 0x59c7f)
               #3  0x00007f7d4a4e1d5c n/a (libgio-2.0.so.0 + 0x10ed5c)
               #4  0x00007f7d5642a315 n/a (libglib-2.0.so.0 + 0x87315)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4969:
               #0  0x00007f7d57af5766 n/a (libc.so.6 + 0x82766)
               #1  0x00007f7d57b00930 n/a (libc.so.6 + 0x8d930)
               #2  0x00007f7d58e7e313 n/a (libobs.so.0 + 0xb3313)
               #3  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #4  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4972:
               #0  0x00007f7d57b3fdb5 clock_nanosleep (libc.so.6 + 0xccdb5)
               #1  0x00007f7d57b44987 __nanosleep (libc.so.6 + 0xd1987)
               #2  0x00007f7d58e7fe25 os_sleepto_ns (libobs.so.0 + 0xb4e25)
               #3  0x00007f7d58e4e41b obs_graphics_thread_loop (libobs.so.0 + 0x8341b)
               #4  0x00007f7d58e4fa39 obs_graphics_thread (libobs.so.0 + 0x84a39)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4970:
               #0  0x00007f7d57b3fdb5 clock_nanosleep (libc.so.6 + 0xccdb5)
               #1  0x00007f7d57b44987 __nanosleep (libc.so.6 + 0xd1987)
               #2  0x00007f7d57b70aa9 usleep (libc.so.6 + 0xfdaa9)
               #3  0x00007f7d58e7fe99 os_sleepto_ns_fast (libobs.so.0 + 0xb4e99)
               #4  0x00007f7d58e69aea n/a (libobs.so.0 + 0x9eaea)
               #5  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #6  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4977:
               #0  0x00007f7d57af5766 n/a (libc.so.6 + 0x82766)
               #1  0x00007f7d57b00930 n/a (libc.so.6 + 0x8d930)
               #2  0x00007f7d28b193e6 n/a (libobs-scripting.so.1 + 0x63e6)
               #3  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #4  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               
               Stack trace of thread 4971:
               #0  0x00007f7d57af5766 n/a (libc.so.6 + 0x82766)
               #1  0x00007f7d57b00930 n/a (libc.so.6 + 0x8d930)
               #2  0x00007f7d58e69cb8 n/a (libobs.so.0 + 0x9ecb8)
               #3  0x00007f7d57af8bb5 n/a (libc.so.6 + 0x85bb5)
               #4  0x00007f7d57b7ad90 n/a (libc.so.6 + 0x107d90)
               ELF object binary architecture: AMD x86-64

Failed to invoke gdb: No such file or directory

Why is OBS crashing? How can I fix it?

System info:

`inxi --admin --verbosity=7 --filter --width`
> inxi --admin --verbosity=7 --filter --width
System:
  Kernel: 5.15.104-2-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=5cca366c-3f6c-47f2-8665-504baa926be5 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: KDE Plasma v: 5.27.3 tk: Qt v: 5.15.8 wm: kwin_x11 vt: 1 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: M5A97 R2.0 v: Rev 1.xx
    serial: <superuser required> BIOS: American Megatrends v: 2201
    date: 12/10/2013
Battery:
  Device-1: sony_controller_battery_04:76:6e:1f:01:99 model: N/A serial: N/A
    charge: N/A status: N/A
Memory:
  RAM: total: 7.66 GiB used: 4.31 GiB (56.3%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD FX-8350 bits: 64 type: MT MCP arch: Piledriver level: v2
    built: 2012-13 process: GF 32nm family: 0x15 (21) model-id: 2 stepping: 0
    microcode: 0x6000852
  Topology: cpus: 1x cores: 8 smt: enabled cache: L1: 384 KiB
    desc: d-8x16 KiB; i-4x64 KiB L2: 8 MiB desc: 4x2 MiB L3: 8 MiB desc: 1x8 MiB
  Speed (MHz): avg: 1411 high: 1456 min/max: 1400/4000 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 1451 2: 1456
    3: 1398 4: 1390 5: 1404 6: 1403 7: 1404 8: 1388 bogomips: 64239
  Flags: 3dnowprefetch abm aes aperfmperf apic arat avx bmi1 clflush cmov
    cmp_legacy constant_tsc cpb cpuid cr8_legacy cx16 cx8 de decodeassists
    extapic extd_apicid f16c flushbyasid fma fma4 fpu fxsr fxsr_opt ht
    hw_pstate ibpb ibs lahf_lm lbrv lm mca mce misalignsse mmx mmxext monitor
    msr mtrr nodeid_msr nonstop_tsc nopl npt nrip_save nx osvw pae pat
    pausefilter pclmulqdq pdpe1gb perfctr_core perfctr_nb pfthreshold pge pni
    popcnt pse pse36 rdtscp rep_good sep skinit ssbd sse sse2 sse4_1 sse4_2
    sse4a ssse3 svm svm_lock syscall tbm tce topoext tsc tsc_scale vmcb_clean
    vme vmmcall wdt xop xsave
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl and seccomp
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, STIBP:
    disabled, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GM107 [GeForce GTX 750 Ti] vendor: eVga.com. driver: nvidia
    v: 530.41.03 alternate: nouveau,nvidia_drm non-free: 530.xx+
    status: current (as of 2023-03) arch: Maxwell code: GMxxx
    process: TSMC 28nm built: 2014-19 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:1380 class-ID: 0300
  Device-2: Logitech HD Webcam C910 type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 10-2:2 chip-ID: 046d:0821 class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.0
    compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 3840x1242 s-dpi: 94 s-size: 1038x335mm (40.87x13.19")
    s-diag: 1091mm (42.94")
  Monitor-1: DVI-I-1 pos: primary,bottom-r res: 1920x1080 hz: 60 dpi: 94
    size: 521x293mm (20.51x11.54") diag: 598mm (23.53") modes: N/A
  Monitor-2: HDMI-0 pos: top-left res: 1920x1080 hz: 60 dpi: 93
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 530.41.03 renderer: NVIDIA GeForce GTX 750
    Ti/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: AMD SBx00 Azalia vendor: ASUSTeK driver: snd_hda_intel v: kernel
    bus-ID: 10-2:2 chip-ID: 046d:0821 bus-ID: 00:14.2 class-ID: 0e02
    chip-ID: 1002:4383 class-ID: 0403 serial: <filter>
  Device-2: NVIDIA GM107 High Definition Audio [GeForce 940MX]
    vendor: eVga.com. driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0fbc
    class-ID: 0403
  Device-3: Logitech HD Webcam C910 type: USB driver: snd-usb-audio,uvcvideo
  Device-4: Shure MV5 type: USB driver: hid-generic,snd-usb-audio,usbhid
    bus-ID: 5-1:2 chip-ID: 14ed:1000 class-ID: 0300
  API: ALSA v: k5.15.104-2-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.67 status: off with: pipewire-media-session
    status: active tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active tools: pacat,pactl
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK P8 series driver: r8169 v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 02:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 577.55 GiB used: 334.64 GiB (57.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 EVO 120GB
    size: 111.79 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: BB6Q scheme: MBR
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WDS500G2B0A-00SM50 size: 465.76 GiB block-size: physical: 512 B
    logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 40WD
    scheme: MBR
  Optical-1: /dev/sr0 vendor: ASUS model: DRW-24B1ST i rev: 1.00
    dev-links: cdrom
  Features: speed: 48 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 87.89 GiB size: 85.95 GiB (97.80%) used: 74.18 GiB (86.3%)
    fs: ext4 dev: /dev/sdb2 maj-min: 8:18 label: N/A
    uuid: 5cca366c-3f6c-47f2-8665-504baa926be5
  ID-2: /run/media/pancelor/data raw-size: 344.34 GiB
    size: 344.34 GiB (100.00%) used: 260.45 GiB (75.6%) fs: ntfs dev: /dev/sdb1
    maj-min: 8:17 label: data uuid: 462C821B2C8205E1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 10.74 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sdb3 maj-min: 8:19 label: myswap
    uuid: 12e8fc9c-b3b1-45ad-bf01-487427b0b06a
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 103.89 GiB fs: ntfs label: N/A
    uuid: 6EF3AF59591C039D
  ID-2: /dev/sda2 maj-min: 8:2 size: 1 KiB fs: <superuser required>
    label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: Full speed or root hub ports: 5 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Full speed or root hub ports: 5 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-3: 3-0:1 info: Full speed or root hub ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-4: 4-0:1 info: Full speed or root hub ports: 5 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 4-1:2 info: Logitech G402 Gaming Mouse type: Mouse,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 300mA
    chip-ID: 046d:c07e class-ID: 0300 serial: <filter>
  Device-2: 4-2:3 info: Razer USA BlackWidow Tournament Edition Stealth
    type: Keyboard,Mouse driver: hid-generic,usbhid interfaces: 3 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 1532:011c class-ID: 0300
  Hub-5: 5-0:1 info: Full speed or root hub ports: 5 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Device-1: 5-1:2 info: Shure MV5 type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 14ed:1000 class-ID: 0300
  Hub-6: 6-0:1 info: Full speed or root hub ports: 2 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-7: 7-0:1 info: Full speed or root hub ports: 4 rev: 1.1 speed: 12 Mb/s
    chip-ID: 1d6b:0001 class-ID: 0900
  Hub-8: 8-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 8-2:2 info: Sony Batoh Device / PlayStation 3 Controller
    type: HID driver: sony,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 500mA chip-ID: 054c:0268 class-ID: 0300
  Hub-9: 9-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-10: 10-0:1 info: Hi-speed hub with single TT ports: 2 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 10-2:2 info: Logitech HD Webcam C910 type: Audio,Video
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:0821 class-ID: 0e02 serial: <filter>
  Hub-11: 11-0:1 info: Super-speed hub ports: 2 rev: 3.0 speed: 5 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 16.9 C mobo: N/A gpu: nvidia temp: 21 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 42%
Info:
  Processes: 256 Uptime: 2h 54m wakeups: 1 Init: systemd v: 252
  default: graphical tool: systemctl Compilers: gcc: 12.2.1 clang: 15.0.7
  Packages: 1480 pm: pacman pkgs: 1451 libs: 379 tools: pamac pm: flatpak
  pkgs: 14 pm: snap pkgs: 15 Shell: Zsh v: 5.9 default: Bash v: 5.1.16
  running-in: yakuake inxi: 3.3.26
`pamac list --installed | grep -E "nvidia|libva"`
> pamac list --installed | grep -E "nvidia|libva"
lib32-libva                        2.17.0-1                      multilib      296.1 kB
lib32-libva-intel-driver           2.4.1-1                       multilib      8.3 MB
lib32-libva-mesa-driver            23.0.1-2.0                    multilib      12.7 MB
lib32-libva-vdpau-driver           0.7.4-7                       multilib      91.4 kB
lib32-nvidia-utils                 530.41.03-1                   multilib      194.5 MB
libva                              2.17.0-1                      extra         918.8 kB
libva-intel-driver                 2.4.1-2                       extra         8.2 MB
libva-mesa-driver                  23.0.1-2.0                    extra         13.2 MB
libva-utils                        2.17.1-1                      community     3.3 MB
libva-vdpau-driver                 0.7.4-6                       extra         83.8 kB
linux515-nvidia                    530.41.03-1                   extra         53.4 MB
mhwd-nvidia                        530.41.03-4                   extra         1.6 kB
mhwd-nvidia-390xx                  390.157-5                     extra         1.9 kB
mhwd-nvidia-470xx                  470.182.03-1                  extra         1.8 kB
nvidia-settings                    530.41.03-3                   extra         1.6 MB
nvidia-utils                       530.41.03-4                   extra         690.8 MB

Looks like this issue: OBS 29 linux crash segmentation fault on startup · Issue #8056 · obsproject/obs-studio · GitHub

1 Like

Read from this point on

1 Like

Oh yeah that’s exactly my issue. How does this relate to the nvidia driver versus the nouveau driver? I’d rather try switching from nvidia to nouveau; everything I’ve read about the AUR comes with big “You must know what you’re doing!!” warnings and… I don’t think I know what I’m doing, ha.

I did some reading:

I figured out that running LIBVA_DRIVER_NAME=nouveau obs in the terminal works! I tried switching my driver from nvidia to nouveau (without uninstalling the nvidia ones – I’m not sure how I would uninstall them. There’s a lot of packages in pamac and I don’t know which ones to uninstall, plus some packages (e.g. ffmpeg) supposedly depend on them)

edit: Ah, I found the place in the system settings GUI where I could uninstall the nvidia drivers; I did that and restarted but now my second monitor is slightly fuzzy in a way that gives me a headache to look at, which is the reason I chose the nvidia drivers in the first place. I guess LIBVA_DRIVER_NAME=nouveau obs is an okay workaround… this all feels very haphazard and unstable though, I wish there was a better way

Yes, nouveau has some VAAPI support, proprietary doesn’t.
But if nvidia is correct, you should be able to use NVENC in OBS with proprietary.