OBS-Studio not working after last update

How did you add it? Did you reboot after?

I just executed obs with it

LIBVA_DRIVER_NAME=nvidia obs

I guess it’s not fair to say there was no change. This warning was printed.

warning: LIBVA_DRIVER_NAME variable is set, this could prevent FFmpeg VAAPI from working correctly

But it still crashed at without starting with a segfault.

1 Like

Sorry, didn’t notice earlier this was your first post here.

Welcome to the forum! :wave:

Please post your system info as outlined here:

Please also see:

I got this error as well when running it with that command.

I certainly am using a NVIDIA GPU, but this has not really been an issue up to this point. Gotta get OBS up and running =/

I don’t want to hijack the thread from Noven but here is my output in case it’s helpful

results after typing in obs, latest stable kernel, latest “stable” Manjaro version, latest proprietary Nvidia driver

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/themes/Yami.qss
debug: Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
info: Using EGL/X11
info: CPU Name: AMD Ryzen 7 5800X3D 8-Core Processor
info: CPU Speed: 2161.766MHz
info: Physical Cores: 8, Logical Cores: 16
info: Physical Memory: 32002MB Total, 29646MB Free
info: Kernel Version: Linux 6.1.7-1-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.2 (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.0-1 (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 RTX 2080 SUPER/PCIe/SSE2
info: OpenGL loaded successfully, version 3.3.0 NVIDIA 525.85.05, shading language 3.30 NVIDIA via Cg compiler
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1920x1080
        downscale filter:  Bicubic
        fps:               60/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'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
info: NVENC supported
zsh: segmentation fault (core dumped)  obs

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text

I had the same OBS issue and logged errors after applying the updates on the week of 1/25/23. The fix is to remove the nvida drivers and use the basic linux video drivers only if you can live without the nvidia drivers until there is a fix. Reboot the OS after the change and OBS will then open.

I’ve just downloaded the flatpak for now as I don’t want to go with the free Nvidia drivers.

It’s not really a solution, but until this is resolved.

I’m having the exact same issue. It seems like someone broke something with the latest update, probably coming from the OBS team.

I think the issue is the Manjaro staff not testing. I had other bad experience with applying update and thing breaks or packages get removed and I have to reinstall the package after research or wipe the OS. The one bad thing about the Linux community vs Mac/Windows. Cannot recall Ubuntu/Mint had this much post upgrade issues. Random things with Manjaro – the bleeding edge I guess.

1 Like

This is what I did to fix the OBS open and close issue after the Jan 25, 2023 patching issue.

I think the main concept is reinstalling the Nvidia drivers and reboot. That is, strip the Nvidia drivers, reboot, install video-linux driver, reboot, re-install Nvidia drivers, reboot, remove the video-linux driver, reboot. Then OBS works with Nvidia drivers with the Jan 25, 2023 patches.

Notes:

I did wiped my Manjaro OS and re-install it with the open source drivers initally, but you can skip this step because OBS still broke after a post wipe full patching reboot. I am not sure if this huge step made a difference.

And I used the mhwd auto propietery Nvidia GPU drivers and open source video-Linux drivers via the Manjaro Setting HW GUI install tool (not the Nvidia drivers by downloading from Nvidia’s site CLI “make” methods).

Hope this helps.

3 Likes

This, actually, what I did last night and it magically fixed the issue.

Before doing anything, is there an explanation why it broke and why would some reinstall fix it?

I don’t want to worry about losing settings.

1 Like

this is about to be the reason my distro hop again

2 Likes

Hey, I have the same problem. Can you list the commands for this fix? :grinning:

how does one do this without breaking cuda and nvidia-prime the mhwd gui and commandline don’t have a way to do it or at least not in a way that isn’t going to break everything else

open manjaro settings, then double-click the hardware configuration icon. Then:

  • Right-click video-linux → install
  • Right-click video-nvidia (or whatever specific version is installed) → remove

Reboot, log back in, then manjaro settings → hw config again and do the opposite:

  • Right click video-nvidia → install
  • Right click video-linux → remove

Reboot.

You can do everything from the command line:

sudo mhwd -i pci video-linux
sudo mhwd -r pci video-nvidia
sudo reboot
sudo mhwd -i pci video-nvidia
sudo mhwd -r pci video-linux
sudo reboot

Also, it was too late when I thought about it, but one might just want to try and reinstall the nvidia drivers instead of doing a full switch to the nouveau driver and reboot twice… That would be nice to let the others know if this works or not.

Anyhow, cycling the drivers worked for me. First time I see this on linux lol. I there hadn’t been a few people already saying that this fixed the issue, I wouldn’t have even tried.

7 Likes

Also, it was too late when I thought about it, but one might just want to try and reinstall the nvidia drivers instead of doing a full switch to the nouveau driver and reboot twice… That would be nice to let the others know if this works or not.

I tried this with sudo mhwd -r pci video-nvidia -f but it made no difference. I had to uninstall and reinstall with two reboots to get it to work.

This worked for me, thanks!

The solution given does not work for me. I tried multiple times. When I remove video-nvidia driver and install video-linux, then my system will not load and I have to do a CTRL-ALT-F2, log in, and reinstall the nvidia driver. Then my system loads normally but OBS seg faults, exactly as others have described.

I need to use OBS later and so my only solution was to use Timeshift and return my system to a 2023-01-17 snapshot.

Also, VLC wasn’t working either and now it works again after going back.

I’m not sure if its necessary but here’s my current info (After restoring the 2023-01-17 snapshot):

$ inxi -v7azy
System:
  Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=7f43684f-af68-4b29-a9b3-e5b81a7ddf9d rw quiet intel_iommu=on
  Desktop: Xfce v: 4.18.0 tk: Gtk v: 3.24.35 info: xfce4-panel wm: xfwm
    v: 4.18.0 vt: 7 dm: 1: GDM v: 43.0 note: stopped 2: LightDM v: 1.32.0
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASUSTeK model: ROG MAXIMUS XI HERO (WI-FI) v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 0602
    date: 10/19/2018
Battery:
  Device-1: hidpp_battery_0 model: Logitech G305 Lightspeed Wireless Gaming
    Mouse serial: <filter> charge: 100% (should be ignored) rechargeable: yes
    status: discharging
Memory:
  RAM: total: 62.72 GiB used: 2.18 GiB (3.5%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i9-9900KF bits: 64 type: MT MCP arch: Coffee Lake
    gen: core 9 level: v3 note: check built: 2018 process: Intel 14nm family: 6
    model-id: 0x9E (158) stepping: 0xC (12) microcode: 0xF0
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 2 MiB desc: 8x256 KiB L3: 16 MiB
    desc: 1x16 MiB
  Speed (MHz): avg: 799 high: 800 min/max: 800/5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 799 10: 800 11: 800 12: 800 13: 800 14: 800
    15: 800 16: 800 bogomips: 115232
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor
    movbe mpx msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
    pdpe1gb pebs pge pln pni popcnt pse pse36 pts rdrand rdseed rdtscp
    rep_good sdbg sep smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp
    syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi
    vpid x2apic xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  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: IBRS, IBPB: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort mitigation: TSX disabled
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2070] vendor: eVga.com. driver: nvidia
    v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Turing code: TUxxx
    process: TSMC 12nm FF built: 2018-22 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1f02
    class-ID: 0300
  Device-2: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 1-10.1:7 chip-ID: 046d:08e5
    class-ID: 0102 serial: <filter>
  Display: x11 server: X.Org v: 21.1.6 with: Xwayland v: 22.1.7
    compositor: xfwm v: 4.18.0 driver: N/A display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00")
    s-diag: 777mm (30.58")
  Monitor-1: DP-0 res: 2560x1440 hz: 60 dpi: 109
    size: 597x336mm (23.5x13.23") diag: 685mm (26.97") modes: N/A
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo missing.
Audio:
  Device-1: Intel Cannon Lake PCH cAVS vendor: ASUSTeK driver: snd_hda_intel
    v: kernel bus-ID: 1-10.1:7 alternate: snd_soc_skl,snd_sof_pci_intel_cnl
    chip-ID: 046d:08e5 class-ID: 0102 bus-ID: 00:1f.3 chip-ID: 8086:a348
    serial: <filter> class-ID: 0403
  Device-2: NVIDIA TU106 High Definition Audio vendor: eVga.com.
    driver: snd_hda_intel v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    link-max: gen: 3 speed: 8 GT/s bus-ID: 01:00.1 chip-ID: 10de:10f9
    class-ID: 0403
  Device-3: Logitech C920 PRO HD Webcam type: USB
    driver: snd-usb-audio,uvcvideo
  Device-4: Logitech Yeti X type: USB
    driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-8:4 chip-ID: 046d:0aaf
    class-ID: 0300 serial: <filter>
  Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
  Sound Interface: sndio v: N/A running: no
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  Device-2: Intel Ethernet I219-V vendor: ASUSTeK driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15bc class-ID: 0200
  IF: eno2 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
  IF-ID-1: vmnet1 state: unknown speed: N/A duplex: N/A mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  IF-ID-2: vmnet8 state: unknown speed: N/A duplex: N/A mac: <filter>
  Message: Output throttled. IPs: 2; Limit: 10; Override: --limit [1-x;-1
    all]
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Hardware-1: Intel SATA Controller [RAID mode] driver: ahci v: 3.0 port: 4020
    bus-ID: 00:17.0 chip-ID: 8086:2822 rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 5.46 TiB used: 1.44 TiB (26.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: SSD 970 EVO Plus 1TB size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 1B2QEXM7 temp: 34.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 870 EVO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 1B6Q scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: Western Digital
    model: WD40EFRX-68N32N0 size: 3.64 TiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter>
    rev: 0A82 scheme: GPT
  Optical-1: /dev/sr0 vendor: HL-DT-ST model: BD-RE WH16NS40 rev: 1.03
    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: 931.22 GiB size: 915.53 GiB (98.32%)
    used: 648.49 GiB (70.8%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
    label: N/A uuid: 7f43684f-af68-4b29-a9b3-e5b81a7ddf9d
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 296 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A
    uuid: 0739-7E33
  ID-3: /run/media/design215/data2 raw-size: 931.51 GiB
    size: 915.82 GiB (98.32%) used: 821.41 GiB (89.7%) fs: ext4 dev: /dev/sda1
    maj-min: 8:1 label: data2 uuid: 9bc0c66f-4f38-4e10-a50c-052478c7331e
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-1:2 info: ASUSTek AURA MOTHERBOARD type: HID
    driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s power: 100mA
    chip-ID: 0b05:18a3 class-ID: 0300 serial: <filter>
  Device-2: 1-3:3 info: Microdia Backlit Gaming Keyboard type: Keyboard,Mouse
    driver: hid-generic,usbhid interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 400mA
    chip-ID: 0c45:652f class-ID: 0301
  Device-3: 1-8:4 info: Logitech Yeti X type: Audio,HID
    driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 2.0
    speed: 12 Mb/s power: 100mA chip-ID: 046d:0aaf class-ID: 0300
    serial: <filter>
  Hub-2: 1-10:5 info: Hitachi ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 045b:0209 class-ID: 0900
  Device-1: 1-10.1:7 info: Logitech C920 PRO HD Webcam type: Video,Audio
    driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
    power: 500mA chip-ID: 046d:08e5 class-ID: 0102 serial: <filter>
  Device-2: 1-10.4:9 info: Logitech USB Receiver type: Keyboard,Mouse,HID
    driver: logitech-djreceiver,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s
    power: 98mA chip-ID: 046d:c53f class-ID: 0300
  Hub-3: 1-13:6 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s
    power: 100mA chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-13.1:8 info: American Power Conversion Uninterruptible Supply
    type: HID driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s
    power: 2mA chip-ID: 051d:0002 class-ID: 0300 serial: <filter>
  Hub-4: 2-0:1 info: Super-speed hub ports: 10 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
  Hub-5: 3-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
  Hub-6: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s
    chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 30.0 C mobo: N/A gpu: nvidia temp: 33 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 0%
Info:
  Processes: 369 Uptime: 1m wakeups: 4 Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 alt: 10/11 clang: 14.0.6
  Packages: 1935 pm: pacman pkgs: 1931 libs: 509 tools: pamac pm: flatpak
  pkgs: 4 Shell: Bash v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.24
[design215@pc2019 ~]$ 


1 Like