Glitch Artist

New Member
Hi; I am using Linux Mint 21.2 Kernel 5.15.0-91.
I recently built a new pc (sysinfo pasted below) and trying to run OBS crashes reading <Segmentation fault> whether booting normally or in safe mode.
I have tried uninstalling <libva-vdpau-driver>, but I didn't have it installed to begin with.
(Where I found that fix: #9914 (comment))
I've uninstalled and reinstalled quite a few times (purged as described here: https://obsproject.com/forum/threads/segmentation-fault.48105/post-299248).

I'm also trying to use the current PPA version. The Flatpack does "work", but it's capabilities are severely dampened as well as not supporting hardware encoding.

I found this fix I found quoted somewhere (sorry I don't have a link to the post), but I am wary of trying it since it seems like an NVidea fix whereas I am using all AMD hardware. https://github.com/elFarto/nvidia-vaapi-driver/

If I can get any idea as to either fix the segmentation fault or get the flatpack to support the AV1 hardware encoder, I would greatly appreciate the assistance. I'm not sure how to run a gbd backtrace to give you more details, but if you need anything more I'll do my best to provide the info. I'm somewhat new to linux so please be kind if this an easy fix and I'm dumb or something.

OBS log
<QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' 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 warning: [Safe Mode] Unclean shutdown detected! warning: [Safe Mode] User elected to launch normally. info: Using EGL/X11 info: CPU Name: AMD Ryzen 9 7900X 12-Core Processor info: CPU Speed: 3000.000MHz info: Physical Cores: 12, Logical Cores: 24 info: Physical Memory: 31293MB Total, 14844MB Free info: Kernel Version: Linux 5.15.0-91-generic info: Distribution: "Linux Mint" "21.2" info: Desktop Environment: X-Cinnamon info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1 info: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled) info: Portable mode: false info: OBS 30.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 AMD AMD Radeon RX 7800 XT (gfx1101, LLVM 16.0.6, DRM 3.54, 5.15.0-91-generic) info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.2.0-devel, shading language 4.60 info: --------------------------------- info: video settings reset: base resolution: 1920x1080 output resolution: 2560x1440 downscale filter: Lanczos 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: No AJA devices found, skipping loading AJA UI plugin warning: Failed to initialize module 'aja-output-ui.so' warning: No AJA devices found, skipping loading AJA plugin warning: Failed to initialize module 'aja.so' 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] No captures available info: [obs-browser]: Version 2.23.1 info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+g17f8588+chromium-103.0.5060.134 (compiled) info: VAAPI: API version 1.16 info: FFmpeg VAAPI H264 encoding supported info: FFmpeg VAAPI HEVC encoding supported info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.4 | RPC Version: 1) info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.2.4 | Qt version (run-time): 6.2.4 info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101801 info: [obs-websocket] [obs_module_load] Module loaded. info: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled info: --------------------------------- info: Loaded Modules: info: vlc-video.so info: text-freetype2.so info: rtmp-services.so info: obs-x264.so info: obs-websocket.so info: obs-vst.so info: obs-transitions.so info: obs-qsv11.so info: obs-outputs.so info: obs-libfdk.so info: obs-filters.so info: obs-ffmpeg.so info: obs-browser.so info: linux-v4l2.so info: linux-pulseaudio.so info: linux-pipewire.so info: linux-jack.so info: linux-capture.so info: linux-alsa.so info: image-source.so info: frontend-tools.so info: decklink-output-ui.so info: decklink-captions.so info: --------------------------------- warning: QWidget::setTabOrder: 'first' and 'second' must be in the same window info: ==== Startup complete =============================================== info: All scene data cleared info: ------------------------------------------------ info: Switched to scene 'Scene' info: ------------------------------------------------ info: Loaded scenes: info: - scene 'Scene': info: ------------------------------------------------ Segmentation fault>

System Info
<System: Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy Machine: Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required> Mobo: ASUSTeK model: PRIME B650-PLUS v: Rev 1.xx serial: <superuser required> UEFI: American Megatrends v: 1811 date: 10/07/2023 CPU: Info: 12-core model: AMD Ryzen 9 7900X bits: 64 type: MT MCP arch: Zen 3 rev: 2 cache: L1: 768 KiB L2: 12 MiB L3: 64 MiB Speed (MHz): avg: 3246 high: 5451 min/max: 3000/5733 boost: enabled cores: 1: 2754 2: 2732 3: 4488 4: 4660 5: 2758 6: 2818 7: 2790 8: 4136 9: 2732 10: 2806 11: 2797 12: 2853 13: 2797 14: 2746 15: 4898 16: 4467 17: 2735 18: 2730 19: 2707 20: 5451 21: 2806 22: 2733 23: 2728 24: 2788 bogomips: 225183 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD vendor: XFX driver: amdgpu v: 6.2.4 pcie: speed: 16 GT/s lanes: 16 ports: active: DP-3,HDMI-A-1 empty: DP-1,DP-2 bus-ID: 03:00.0 chip-ID: 1002:747e Device-2: AMD vendor: ASUSTeK driver: amdgpu v: 6.2.4 pcie: speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4,HDMI-A-2 bus-ID: 12:00.0 chip-ID: 1002:164e Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: amdgpu,ati unloaded: fbdev,modesetting,radeon,vesa gpu: amdgpu display-ID: :0 screens: 1 Screen-1: 0 s-res: 3000x1920 s-dpi: 96 Monitor-1: DisplayPort-2 mapped: DP-3 pos: primary,bottom-l model: Acer XN253Q X res: 1920x1080 dpi: 90 diag: 623mm (24.5") Monitor-2: HDMI-A-0 mapped: HDMI-A-1 pos: top-right model: LG (GoldStar) FULL HD res: 1080x1920 dpi: 102 diag: 551mm (21.7") OpenGL: renderer: AMD Radeon RX 7800 XT (gfx1101 LLVM 16.0.6 DRM 3.54 5.15.0-91-generic) v: 4.6 Mesa 23.2.0-devel direct render: Yes Audio: Device-1: AMD driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30 Device-2: AMD vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:1640 Device-3: AMD Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 12:00.6 chip-ID: 1022:15e3 Device-4: Focusrite-Novation Scarlett Solo (3rd Gen.) type: USB driver: snd-usb-audio bus-ID: 3-6:5 chip-ID: 1235:8211 Sound Server-1: ALSA v: k5.15.0-91-generic running: yes Sound Server-2: PulseAudio v: 15.99.1 running: yes Sound Server-3: PipeWire v: 0.3.48 running: yes Network: Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1 port: c000 bus-ID: 0d:00.0 chip-ID: 10ec:8125 IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> Bluetooth: Device-1: ASUSTek ASUS USB-BT500 type: USB driver: btusb v: 0.8 bus-ID: 3-3:2 chip-ID: 0b05:190e Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1 sub-v: d922 Repos: Packages: 2739 apt: 2731 flatpak: 8 No active apt repos in: /etc/apt/sources.list No active apt repos in: /etc/apt/sources.list.d/amdgpu-proprietary.list Active apt repos in: /etc/apt/sources.list.d/amdgpu.list 1: deb https: //repo.radeon.com/amdgpu/5.7.2/ubuntu jammy main Active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-jammy.list 1: deb [signed-by=/etc/apt/keyrings/obsproject-obs-studio-jammy.gpg] https: //ppa.launchpadcontent.net/obsproject/obs-studio/ubuntu jammy main Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 1: deb http: //packages.linuxmint.com victoria main upstream import backport 2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse 3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse 4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse 5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse Active apt repos in: /etc/apt/sources.list.d/protonvpn-stable.list 1: deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https: //repo.protonvpn.com/debian stable main Active apt repos in: /etc/apt/sources.list.d/rocm.list 1: deb [arch=amd64] https: //repo.radeon.com/rocm/apt/5.7.2 jammy main No active apt repos in: /etc/apt/sources.list.d/steam-beta.list Active apt repos in: /etc/apt/sources.list.d/steam-stable.list 1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam 2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam Active apt repos in: /etc/apt/sources.list.d/librewolf.sources 1: deb [arch=amd64] https: //deb.librewolf.net focal main Info: Processes: 513 Uptime: 4h 34m Memory: 30.56 GiB used: 6.94 GiB (22.7%) Init: systemd v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Cinnamon v: 5.8.4 inxi: 3.3.13>
 

Glitch Artist

New Member
UPDATE: Still doesn't work, but I've noticed after purging the files, re-installing it, and using <sudo obs>, it does run for the first time. after the first, then it continuously fails. A simple uninstall and re-install doesn't do this, only the purge I linked in my og post.
Starting to think it's something with config files that it doesn't like.
 

Glitch Artist

New Member
This is the terminal after it ran and I closed it.

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 9 7900X 12-Core Processor
info: CPU Speed: 4700.000MHz
info: Physical Cores: 12, Logical Cores: 24
info: Physical Memory: 31293MB Total, 5881MB Free
info: Kernel Version: Linux 5.15.0-91-generic
info: Distribution: "Linux Mint" "21.2"
info: Desktop Environment: X-Cinnamon (cinnamon)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.2.4 (runtime), 6.2.4 (compiled)
info: Portable mode: false
info: OBS 30.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 AMD AMD Radeon RX 7800 XT (gfx1101, LLVM 16.0.6, DRM 3.54, 5.15.0-91-generic)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 23.2.0-devel, shading language 4.60
info: ---------------------------------
info: video settings reset:
base resolution: 1920x1080
output resolution: 1280x720
downscale filter: Bicubic
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: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
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] No captures available
info: [obs-browser]: Version 2.23.1
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures.2594+g17f8588+chromium-103.0.5060.134 (compiled)
info: VAAPI: API version 1.16
info: FFmpeg VAAPI H264 encoding supported
info: FFmpeg VAAPI HEVC encoding supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.3.4 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.2.4 | Qt version (run-time): 6.2.4
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101801
info: [obs-websocket] [Config::Load] (FirstLoad) Generating new server password.
info: [obs-websocket] [obs_module_load] Module loaded.
info: [vlc-video]: VLC 3.0.16 Vetinari found, VLC video source enabled
info: ---------------------------------
info: Loaded Modules:
info: vlc-video.so
info: text-freetype2.so
info: rtmp-services.so
info: obs-x264.so
info: obs-websocket.so
info: obs-vst.so
info: obs-transitions.so
info: obs-qsv11.so
info: obs-outputs.so
info: obs-libfdk.so
info: obs-filters.so
info: obs-ffmpeg.so
info: obs-browser.so
info: linux-v4l2.so
info: linux-pulseaudio.so
info: linux-pipewire.so
info: linux-jack.so
info: linux-capture.so
info: linux-alsa.so
info: image-source.so
info: frontend-tools.so
info: decklink-output-ui.so
info: decklink-captions.so
info: ---------------------------------
warning: QWidget::setTabOrder: 'first' and 'second' must be in the same window
info: ==== Startup complete ===============================================
info: No scene file found, creating default scene
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s32le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y7NBVTF9980892-00.analog-stereo.monitor' (default)
info: pulse-input: Server name: 'pulseaudio 15.99.1'
info: pulse-input: Audio format: s32le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7NBVTF9980892-00.analog-stereo' (default)
info: Switched to scene 'Scene'
warning: Failed to glob scene collections
info: ==== Shutting down ==================================================
info: pulse-input: Stopped recording from 'alsa_output.usb-Focusrite_Scarlett_Solo_USB_Y7NBVTF9980892-00.analog-stereo.monitor'
info: pulse-input: Got 1533 packets with 288089 frames
info: pulse-input: Stopped recording from 'alsa_input.usb-Focusrite_Scarlett_Solo_USB_Y7NBVTF9980892-00.analog-stereo'
info: pulse-input: Got 389 packets with 289032 frames
info: All scene data cleared
info: ------------------------------------------------
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 429.29 ms
info: ┣OBSApp::AppInit: 2.305 ms
info: ┃ ┗OBSApp::InitLocale: 0.359 ms
info: ┗OBSApp::OBSInit: 386.468 ms
info: ┣obs_startup: 16.97 ms
info: ┗OBSBasic::OBSInit: 353.265 ms
info: ┣OBSBasic::InitBasicConfig: 0.109 ms
info: ┣OBSBasic::ResetAudio: 0.115 ms
info: ┣OBSBasic::ResetVideo: 46.287 ms
info: ┃ ┗obs_init_graphics: 45.283 ms
info: ┃ ┗shader compilation: 16.106 ms
info: ┣OBSBasic::InitOBSCallbacks: 0.006 ms
info: ┣OBSBasic::InitHotkeys: 0.016 ms
info: ┣obs_load_all_modules2: 237.283 ms
info: ┃ ┣obs_init_module(aja-output-ui.so): 0.05 ms
info: ┃ ┣obs_init_module(aja.so): 0.033 ms
info: ┃ ┣obs_init_module(decklink-captions.so): 0 ms
info: ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
info: ┃ ┣obs_init_module(decklink.so): 0.056 ms
info: ┃ ┣obs_init_module(frontend-tools.so): 10.861 ms
info: ┃ ┣obs_init_module(image-source.so): 0.007 ms
info: ┃ ┣obs_init_module(linux-alsa.so): 0.004 ms
info: ┃ ┣obs_init_module(linux-capture.so): 0.235 ms
info: ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info: ┃ ┣obs_init_module(linux-pipewire.so): 8.84 ms
info: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.002 ms
info: ┃ ┣obs_init_module(linux-v4l2.so): 1.406 ms
info: ┃ ┣obs_init_module(obs-browser.so): 0.04 ms
info: ┃ ┣obs_init_module(obs-ffmpeg.so): 10.658 ms
info: ┃ ┃ ┗nvenc_check: 0.56 ms
info: ┃ ┣obs_init_module(obs-filters.so): 0.017 ms
info: ┃ ┣obs_init_module(obs-libfdk.so): 0.001 ms
info: ┃ ┣obs_init_module(obs-outputs.so): 0.006 ms
info: ┃ ┣obs_init_module(obs-qsv11.so): 4.217 ms
info: ┃ ┣obs_init_module(obs-transitions.so): 0.005 ms
info: ┃ ┣obs_init_module(obs-vst.so): 0.003 ms
info: ┃ ┣obs_init_module(obs-websocket.so): 3.207 ms
info: ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
info: ┃ ┣obs_init_module(rtmp-services.so): 0.083 ms
info: ┃ ┣obs_init_module(text-freetype2.so): 0.022 ms
info: ┃ ┗obs_init_module(vlc-video.so): 0.51 ms
info: ┣OBSBasic::InitService: 0.729 ms
info: ┣OBSBasic::ResetOutputs: 0.123 ms
info: ┣OBSBasic::CreateHotkeys: 0.014 ms
info: ┣OBSBasic::InitPrimitives: 0.056 ms
info: ┗OBSBasic::Load: 37.709 ms
info: obs_hotkey_thread(25 ms): min=0.026 ms, median=0.056 ms, max=0.682 ms, 99th percentile=0.324 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.004 ms, median=0.014 ms, max=0.174 ms, 99th percentile=0.074 ms
info: obs_graphics_thread(33.3333 ms): min=0.064 ms, median=0.251 ms, max=11.398 ms, 99th percentile=0.86 ms, 100% below 33.333 ms
info: ┣tick_sources: min=0 ms, median=0.002 ms, max=0.031 ms, 99th percentile=0.006 ms
info: ┣output_frame: min=0.05 ms, median=0.08 ms, max=1.454 ms, 99th percentile=0.172 ms
info: ┃ ┗gs_context(video->graphics): min=0.05 ms, median=0.08 ms, max=1.45 ms, 99th percentile=0.171 ms
info: ┃ ┣render_video: min=0.004 ms, median=0.011 ms, max=0.04 ms, 99th percentile=0.026 ms
info: ┃ ┃ ┗render_main_texture: min=0.004 ms, median=0.009 ms, max=0.024 ms, 99th percentile=0.019 ms
info: ┃ ┗gs_flush: min=0.001 ms, median=0.002 ms, max=0.02 ms, 99th percentile=0.003 ms
info: ┗render_displays: min=0.001 ms, median=0.16 ms, max=11.314 ms, 99th percentile=0.391 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.084 ms, median=25.119 ms, max=26.649 ms, 98.913% within ±2% of 25 ms (0% lower, 1.08696% higher)
info: obs_graphics_thread(33.3333 ms): min=32.803 ms, median=33.333 ms, max=33.992 ms, 100% within ±2% of 33.333 ms (0% lower, 0% higher)
info: =================================================
info: Number of memory leaks: 0
 

Glitch Artist

New Member
Oh my god I just found the solution.

"Had the same issue here with Linux Mint, fresh install from two weeks ago, all libraries and modules current and up to date. Was worried that I had to remove my nvidia drivers (which are needed for DaVinci Resolve) and deleting the "DockState" in the ini file helped. Somehow this seems to be a bug in the config to me..."
_Originally posted by @Atkelar in https://github.com/obsproject/obs-studio/issues/7941#issuecomment-1784474425_

I found mine in <~/.config/obs-studio/global.ini>
A quick ctrl+f to search for DockState to find <DockState=(a lot of Letters)>
I deleted the entire string of characters following DockState= (stopping at ExtraBrowserDocks=) and it opens fine now.
After re-opening and re-closing a few times, it seems to have "rebuilt" the DockState, but it has been no issue. I'll update this forum post if that changes.
 

INS4NITY

Member
Oh my god I just found the solution.

"Had the same issue here with Linux Mint, fresh install from two weeks ago, all libraries and modules current and up to date. Was worried that I had to remove my nvidia drivers (which are needed for DaVinci Resolve) and deleting the "DockState" in the ini file helped. Somehow this seems to be a bug in the config to me..."
_Originally posted by @Atkelar in https://github.com/obsproject/obs-studio/issues/7941#issuecomment-1784474425_

I found mine in <~/.config/obs-studio/global.ini>
A quick ctrl+f to search for DockState to find <DockState=(a lot of Letters)>
I deleted the entire string of characters following DockState= (stopping at ExtraBrowserDocks=) and it opens fine now.
After re-opening and re-closing a few times, it seems to have "rebuilt" the DockState, but it has been no issue. I'll update this forum post if that changes.
You're a beautiful human being, thanks for posting this. That got me out of a jam where OBS was remembering an invalid dock configuration after changing display resolutions on Kubuntu and immediately segfaulting on startup
 

xcellsior

New Member
deleting all of the characters after DockState= in the ~/.config/obs-studio/global.ini also fixed it for me

I have no idea why it messed up but I was having to delete the whole folder previously. It always messes up and seg faults after the first successful launch. How did you figure out that it was DockState doing the dirty deed?

I am on ubuntu 22.04, kernel 6.5.0-18-generic
 

rob215x

New Member
I just found this thread but my situation is a little different...
- OBS is working for me and I just did a 2-hour livestream with it last night
- BUT, it doesn't shut down properly.

I tried the solution presented here but all it did was mess up the way I had my browser docks configured. Luckily, I made a backup of the global.ini so I just put it back the way it was.

Here's my terminal output showing my startup info, then the final output when shutting down:

Code:
warning: [Safe Mode] Unclean shutdown detected!
warning: [Safe Mode] User elected to launch normally.
info: Using EGL/X11
info: CPU Name: Intel(R) Celeron(R) N5105 @ 2.00GHz
info: CPU Speed: 2787.340MHz
info: Physical Cores: 4, Logical Cores: 4
info: Physical Memory: 15743MB Total, 14164MB Free
info: Kernel Version: Linux 6.6.19-1-MANJARO
info: Distribution: "Manjaro Linux" Unknown
info: Desktop Environment: XFCE (xfce)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
info: Qt Version: 6.6.2 (runtime), 6.6.2 (compiled)
info: Portable mode: false
info: OBS 30.1.0 (linux)

...

info: ------------------------------------------------
error: Tried to call obs_frontend_remove_save_callback with no callbacks!
error: Tried to call obs_frontend_remove_event_callback with no callbacks!
info: [obs-websocket] [obs_module_unload] Shutting down...
error: Tried to call obs_frontend_remove_event_callback with no callbacks!
info: [obs-websocket] [obs_module_unload] Finished shutting down.
Segmentation fault (core dumped)

I am selecting File > Quit to shutdown OBS and I'm NOT shutting down the computer.
 

rob215x

New Member
It turns out, if I close the TWITCH CHAT dock before I shut down OBS, everything is fine and OBS closes normally.

I'm going to research this further and I will open a new thread if necessary. I hope this helps someone.
 
Top