You are not logged in.

#1 2023-06-12 20:44:31

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Opening OBS not working

My PC Specs are
AMD Ryzen 5 4600G
NVIDIA GeForce GTX 1050
16GB DDR4 Memory

My arch kernel is 6.3.6-arch1-1, my bash is bash 5.1.16, my desktop enviroment is Cinnamon.

Not sure what here you need but im sending it on. My issue is. Whenever I try to open OBS, nothing happens. I ran obs --verbose, and this is the output I got.

[aubrey@claire-V7 ~]$ obs --verbose
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: Command Line Arguments: --verbose
info: Using EGL/X11
info: CPU Name: AMD Ryzen 5 4600G with Radeon Graphics
info: CPU Speed: 3904.194MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 15800MB Total, 244MB Free
info: Kernel Version: Linux 6.3.6-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Desktop Environment: X-Cinnamon (cinnamon)
info: Session Type: x11
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
debug: found alternate keycode 62 for OBS_KEY_SHIFT which already has keycode 50
debug: found alternate keycode 105 for OBS_KEY_CONTROL which already has keycode 37
debug: found alternate keycode 129 for OBS_KEY_NUMPERIOD which already has keycode 91
debug: found alternate keycode 190 for OBS_KEY_REDO which already has keycode 137
debug: found alternate keycode 208 for OBS_KEY_VK_MEDIA_PLAY_PAUSE which already has keycode 172
debug: found alternate keycode 215 for OBS_KEY_VK_MEDIA_PLAY_PAUSE which already has keycode 172
debug: found alternate keycode 218 for OBS_KEY_PRINT which already has keycode 107
debug: found alternate keycode 231 for OBS_KEY_CANCEL which already has keycode 136
info: Qt Version: 6.5.1 (runtime), 6.5.1 (compiled)
info: Portable mode: false
debug: Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
debug: Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
info: OBS 29.1.1-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...
debug: Created EGLDisplay 0x55bb5ae7d540
info: Loading up OpenGL on adapter NVIDIA Corporation NVIDIA GeForce GTX 1050/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:   2560x1440
	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: ---------------------------------
debug: ---------------------------------
debug: Loading module: decklink-captions.so
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
debug: ---------------------------------
debug: Loading module: decklink-output-ui.so
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
debug: ---------------------------------
debug: Loading module: decklink.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'
debug: ---------------------------------
debug: Loading module: frontend-tools.so
warning: Failed to load 'en-GB' text for module: 'frontend-tools.so'

(obs:38148): Gtk-WARNING **: 21:44:02.588: Theme parsing error: <data>:1:0: Expected a valid selector
debug: ---------------------------------
debug: Loading module: image-source.so
debug: ---------------------------------
debug: Loading module: linux-alsa.so
warning: Failed to load 'en-GB' text for module: 'linux-alsa.so'
debug: ---------------------------------
debug: Loading module: linux-capture.so
warning: Failed to load 'en-GB' text for module: 'linux-capture.so'
debug: ---------------------------------
debug: Loading module: linux-jack.so
warning: Failed to load 'en-GB' text for module: 'linux-jack.so'
debug: ---------------------------------
debug: Loading module: linux-pipewire.so
warning: Failed to load 'en-GB' text for module: 'linux-pipewire.so'
info: [pipewire] No captures available
debug: ---------------------------------
debug: Loading module: linux-pulseaudio.so
warning: Failed to load 'en-GB' text for module: 'linux-pulseaudio.so'
debug: ---------------------------------
debug: Loading module: linux-v4l2.so
warning: v4l2loopback not installed, virtual camera disabled
debug: ---------------------------------
debug: Loading module: obs-ffmpeg.so
info: NVENC supported
debug: VAAPI: Initializing display in vaapi_device_h264_supported
debug: Libva: VA-API version 1.18.0
debug: Libva: Trying to open /usr/lib/dri/nvidia_drv_video.so
debug: Libva: Found init function __vaDriverInit_1_13
Segmentation fault (core dumped)

Can somebody please help me fix this! It was working before

Last edited by Ayson_Roberto (2023-06-12 20:45:05)

Offline

#2 2023-06-12 20:57:31

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,237

Re: Opening OBS not working

Segmentation fault (core dumped)

https://wiki.archlinux.org/title/Core_d … _core_dump

Also, from context:

vainfo
LIBVA_DRIVER_NAME=vdpau vainfo
LIBVA_DRIVER_NAME=nvidia vainfo

And try to start obs w/ the working (if any) LIBVA_DRIVER_NAME exported.

Offline

#3 2023-06-12 21:17:49

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Re: Opening OBS not working

And try to start obs w/ the working (if any) LIBVA_DRIVER_NAME exported.

what does this mean

Offline

#4 2023-06-12 21:24:44

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,237

Offline

#5 2023-06-12 21:32:54

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Re: Opening OBS not working

seth wrote:
 [aubrey@claire-V7 ~]$ coredumpctl gdb 
           PID: 38148 (obs)
           UID: 1000 (aubrey)
           GID: 1000 (aubrey)
        Signal: 11 (SEGV)
     Timestamp: Mon 2023-06-12 21:44:02 IST (41min ago)
  Command Line: obs --verbose
    Executable: /usr/bin/obs
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.gnome.Terminal.slice/vte-spawn-adf20879-27d2-4e4e-aeed-aa9880be0e0d.scope
          Unit: user@1000.service
     User Unit: vte-spawn-adf20879-27d2-4e4e-aeed-aa9880be0e0d.scope
         Slice: user-1000.slice
     Owner UID: 1000 (aubrey)
       Boot ID: d6301514d7e04a7dae3b9ac16c7bce4e
    Machine ID: 6c1b8d9124e44cf88bea35c9b777421c
      Hostname: claire-V7
       Storage: /var/lib/systemd/coredump/core.obs.1000.d6301514d7e04a7dae3b9ac16c7bce4e.38148.1686602642000000.zst (present)
  Size on Disk: 7.6M
       Message: Process 38148 (obs) of user 1000 dumped core.
                
                Stack trace of thread 38148:
                #0  0x00007f5b3f6e8904 XDisplayString (libX11.so.6 + 0x2b904)
                #1  0x00007f5b08830a1d __vaDriverInit_1_13 (nvidia_drv_video.so + 0xda1d)
                #2  0x00007f5b4aafa9c3 n/a (libva.so.2 + 0x39c3)
                #3  0x00007f5b4aafdce0 vaInitialize (libva.so.2 + 0x6ce0)
                #4  0x00007f5b088f7d56 vaapi_open_device (obs-ffmpeg.so + 0x18d56)
                #5  0x00007f5b088f8134 vaapi_device_h264_supported (obs-ffmpeg.so + 0x19134)
                #6  0x00007f5b088f8209 vaapi_get_h264_default_device (obs-ffmpeg.so + 0x19209)
                #7  0x00007f5b088f41f0 obs_module_load (obs-ffmpeg.so + 0x151f0)
                #8  0x00007f5b4e5548fe obs_init_module (libobs.so.0 + 0x568fe)
                #9  0x00007f5b4e554e0f n/a (libobs.so.0 + 0x56e0f)
                #10 0x00007f5b4e555319 obs_find_modules2 (libobs.so.0 + 0x57319)
                #11 0x00007f5b4e555a1d obs_load_all_modules2 (libobs.so.0 + 0x57a1d)
                #12 0x000055bb58f9fd71 n/a (obs + 0x13fd71)
                #13 0x000055bb58f009da main (obs + 0xa09da)
                #14 0x00007f5b4be39850 n/a (libc.so.6 + 0x23850)
                #15 0x00007f5b4be3990a __libc_start_main (libc.so.6 + 0x2390a)
                #16 0x000055bb58f03ba5 n/a (obs + 0xa3ba5)
                
                Stack trace of thread 38149:
                #0  0x00007f5b4bf13c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007f5b4b181a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007f5b4b122032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032)
                #3  0x00007f5b4c7344d4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x3344d4)
                #4  0x00007f5b4c544cd3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x144cd3)
                #5  0x00007f5b4c62e0bf _ZN7QThread4execEv (libQt6Core.so.6 + 0x22e0bf)
                #6  0x00007f5b3ed8570f n/a (libQt6DBus.so.6 + 0x2e70f)
                #7  0x00007f5b4c673a92 n/a (libQt6Core.so.6 + 0x273a92)
                #8  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #9  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38153:
                #0  0x00007f5b4bf13c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007f5b4b181a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007f5b4b123f3f g_main_loop_run (libglib-2.0.so.0 + 0x59f3f)
                #3  0x00007f5b3ef1e28c n/a (libgio-2.0.so.0 + 0x11028c)
                #4  0x00007f5b4b156cc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38150:
                #0  0x00007f5b4bf13c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007f5b49d3f26b n/a (libxcb.so.1 + 0xd26b)
                #2  0x00007f5b49d40d1d xcb_wait_for_event (libxcb.so.1 + 0xed1d)
                #3  0x00007f5b3b5dc2a2 n/a (libQt6XcbQpa.so.6 + 0x4f2a2)
                #4  0x00007f5b4c673a92 n/a (libQt6Core.so.6 + 0x273a92)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38152:
                #0  0x00007f5b4bf13c0f __poll (libc.so.6 + 0xfdc0f)
                #1  0x00007f5b4b181a9f n/a (libglib-2.0.so.0 + 0xb7a9f)
                #2  0x00007f5b4b122032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032)
                #3  0x00007f5b4b122082 n/a (libglib-2.0.so.0 + 0x58082)
                #4  0x00007f5b4b156cc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38161:
                #0  0x00007f5b4bee59e5 clock_nanosleep (libc.so.6 + 0xcf9e5)
                #1  0x00007f5b4beea5e7 __nanosleep (libc.so.6 + 0xd45e7)
                #2  0x00007f5b4bf16cd9 usleep (libc.so.6 + 0x100cd9)
                #3  0x00007f5b4e5b50d9 os_sleepto_ns_fast (libobs.so.0 + 0xb70d9)
                #4  0x00007f5b4e5a62ea n/a (libobs.so.0 + 0xa82ea)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38151:
                #0  0x00007f5b4bf192ed syscall (libc.so.6 + 0x1032ed)
                #1  0x00007f5b4b179b85 g_cond_wait (libglib-2.0.so.0 + 0xafb85)
                #2  0x00007f5b4b0ef094 n/a (libglib-2.0.so.0 + 0x25094)
                #3  0x00007f5b4b15924e n/a (libglib-2.0.so.0 + 0x8f24e)
                #4  0x00007f5b4b156cc5 n/a (libglib-2.0.so.0 + 0x8ccc5)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38159:
                #0  0x00007f5b4be99f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007f5b4be9cab5 pthread_cond_timedwait (libc.so.6 + 0x86ab5)
                #2  0x00007f5b4e5b4c3a os_event_timedwait (libobs.so.0 + 0xb6c3a)
                #3  0x00007f5b4e54be25 obs_hotkey_thread (libobs.so.0 + 0x4de25)
                #4  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #5  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38163:
                #0  0x00007f5b4bee59e5 clock_nanosleep (libc.so.6 + 0xcf9e5)
                #1  0x00007f5b4beea5e7 __nanosleep (libc.so.6 + 0xd45e7)
                #2  0x00007f5b4e5b5065 os_sleepto_ns (libobs.so.0 + 0xb7065)
                #3  0x00007f5b4e581aa3 obs_graphics_thread_loop (libobs.so.0 + 0x83aa3)
                #4  0x00007f5b4e5830e9 obs_graphics_thread (libobs.so.0 + 0x850e9)
                #5  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #6  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38168:
                #0  0x00007f5b4be99f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007f5b4bea53e0 n/a (libc.so.6 + 0x8f3e0)
                #2  0x00007f5b2805b546 n/a (libobs-scripting.so.1 + 0x6546)
                #3  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #4  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38162:
                #0  0x00007f5b4be99f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007f5b4bea53e0 n/a (libc.so.6 + 0x8f3e0)
                #2  0x00007f5b4e5aa138 n/a (libobs.so.0 + 0xac138)
                #3  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #4  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                
                Stack trace of thread 38160:
                #0  0x00007f5b4be99f0e n/a (libc.so.6 + 0x83f0e)
                #1  0x00007f5b4bea53e0 n/a (libc.so.6 + 0x8f3e0)
                #2  0x00007f5b4e5bc773 n/a (libobs.so.0 + 0xbe773)
                #3  0x00007f5b4be9d44b n/a (libc.so.6 + 0x8744b)
                #4  0x00007f5b4bf20e40 n/a (libc.so.6 + 0x10ae40)
                ELF object binary architecture: AMD x86-64

what do i do with this?

Offline

#6 2023-06-12 21:34:38

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Re: Opening OBS not working

seth wrote:
SHELL=/bin/bash
SESSION_MANAGER=local/claire-V7:@/tmp/.ICE-unix/752,unix/claire-V7:/tmp/.ICE-unix/752
COLORTERM=truecolor
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
CINNAMON_VERSION=5.8.1
DESKTOP_SESSION=cinnamon
GTK_MODULES=canberra-gtk-module
XDG_SEAT=seat0
PWD=/home/aubrey
LOGNAME=aubrey
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_TYPE=x11
XAUTHORITY=/home/aubrey/.Xauthority
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/aubrey
MOTD_SHOWN=pam
HOME=/home/aubrey
LANG=en_GB.UTF-8
XDG_CURRENT_DESKTOP=X-Cinnamon
VTE_VERSION=7202
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/4f0fd2f1_7b16_41b0_a5b5_c123bc59acc4
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=aubrey
GNOME_TERMINAL_SERVICE=:1.395
DISPLAY=:0
SHLVL=1
XDG_VTNR=7
XDG_SESSION_ID=2
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
GTK3_MODULES=xapp-gtk3-module
XDG_DATA_DIRS=/home/aubrey/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDMSESSION=cinnamon
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/aubrey
_=/usr/bin/printenv 

Last edited by Ayson_Roberto (2023-06-12 21:34:58)

Offline

#7 2023-06-12 21:38:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,237

Re: Opening OBS not working

Not "printenv", "vainfo" - and yes, OBS crashes in the VAAPI code.
W/ https://github.com/obsproject/obs-studio/issues/8056 OBS seems incompatible w/ libva-vdpau-driver

Edit: the upstream bug suggests to try https://aur.archlinux.org/packages/libva-nvidia-driver instead.

Last edited by seth (2023-06-12 21:41:06)

Offline

#8 2023-06-12 22:04:34

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Re: Opening OBS not working

seth wrote:

Not "printenv", "vainfo"

sorry when i typed vainfo it said command not found

Offline

#9 2023-06-12 22:06:12

Ayson_Roberto
Member
Registered: 2023-06-12
Posts: 23

Re: Opening OBS not working

seth wrote:

the upstream bug suggests to try https://aur.archlinux.org/packages/libva-nvidia-driver instead.

okay thank you. to install it do i just git clone it and makepkg? or do i need to do anything special to actually enable the drivers

Offline

#10 2023-06-12 22:31:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,237

Re: Opening OBS not working

◉ pacman -F vainfo
community/libva-utils
    usr/bin/vainfo

https://github.com/elFarto/nvidia-vaapi … -variables but it should™ work OOTB, w/o the driver, OBS might also just use VDPAU and apparently you can configure the HW acceleration, https://wiki.archlinux.org/title/Open_B … celeration

Offline

Board footer

Powered by FluxBB