You are not logged in.

#1 2020-03-15 16:44:05

danielausparis
Member
Registered: 2010-06-22
Posts: 34

obs studio not working (black scene)

Dear experts,
Unfortunately I am not able to run obs studio on my desktop, although it works fine on my laptop (also Arch). The issue is a black scene, even the sound mixer zone is all black. I can add objects (text, for example) but they are not displayed at all.
My desktop is a recent AMD setup (AMD Ryzen 5 3600, Radeon RX 580).
Any Idea ? To me it looks like a graphical issue. Some info below, obs start log and first part of glxinfo :

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 5 3600 6-Core Processor
info: CPU Speed: 3610.329MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 15989MB Total, 12122MB Free
info: Kernel Version: Linux 5.5.8-arch1-1
info: Distribution: "Arch Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.7
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_clicked()
QMetaObject::connectSlotsByName: No matching signal for on_advAudioProps_destroyed()
QMetaObject::connectSlotsByName: No matching signal for on_program_customContextMenuRequested(QPoint)
info: OBS 24.0.6-1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 44100
        speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter X.Org Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.8-arch1-1, LLVM 9.0.1)
info: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 19.3.4, shading language 4.50
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1920x1080
        downscale filter:  Bicubic
        fps:               30/1
        format:            NV12
        YUV mode:          601/Partial
info: NV12 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
info: No blackmagic support
error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory

info: FFMPEG VAAPI supported
info: VLC 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-transitions.so
info:     obs-outputs.so
info:     obs-libfdk.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info: ---------------------------------
info: ==== Startup complete ===============================================
error: Service '' not found
info: All scene data cleared
info: ------------------------------------------------
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x480
info: v4l2-input: Pixelformat: 3RGB
info: v4l2-input: Linesize: 1920 Bytes
info: v4l2-input: Framerate: -nan fps
info: Switched to scene 'Scene'info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info:     - source: 'Text (FreeType 2)' (text_ft2_source)
info:     - source: 'Text (FreeType 2) 2' (text_ft2_source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, GLX_ARB_multisample, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_libglvnd, GLX_EXT_no_config_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_OML_swap_method, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_context_flush_control, GLX_ARB_create_context, 
    GLX_ARB_create_context_no_error, GLX_ARB_create_context_profile, 
    GLX_ARB_create_context_robustness, GLX_ARB_fbconfig_float, 
    GLX_ARB_framebuffer_sRGB, GLX_ARB_get_proc_address, GLX_ARB_multisample, 
    GLX_EXT_buffer_age, GLX_EXT_create_context_es2_profile, 
    GLX_EXT_create_context_es_profile, GLX_EXT_fbconfig_packed_float, 
    GLX_EXT_framebuffer_sRGB, GLX_EXT_import_context, 
    GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control, 
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
GLX version: 1.4
GLX extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_no_error, 
    GLX_ARB_create_context_profile, GLX_ARB_create_context_robustness, 
    GLX_ARB_fbconfig_float, GLX_ARB_framebuffer_sRGB, 
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_buffer_age, 
    GLX_EXT_create_context_es2_profile, GLX_EXT_create_context_es_profile, 
    GLX_EXT_fbconfig_packed_float, GLX_EXT_framebuffer_sRGB, 
    GLX_EXT_import_context, GLX_EXT_texture_from_pixmap, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, 
    GLX_MESA_query_renderer, GLX_MESA_swap_control, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group, GLX_SGI_make_current_read, 
    GLX_SGI_swap_control, GLX_SGI_video_sync
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.8-arch1-1, LLVM 9.0.1) (0x67df)
    Version: 19.3.4
    Accelerated: yes
    Video memory: 8192MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.5
    Max compat profile version: 4.5
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 8112 MB, largest block: 8112 MB
    VBO free aux. memory - total: 8169 MB, largest block: 8169 MB
    Texture free memory - total: 8112 MB, largest block: 8112 MB
    Texture free aux. memory - total: 8169 MB, largest block: 8169 MB
    Renderbuffer free memory - total: 8112 MB, largest block: 8112 MB
    Renderbuffer free aux. memory - total: 8169 MB, largest block: 8169 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 8192 MB
    Total available memory: 16384 MB
    Currently available dedicated video memory: 8112 MB
OpenGL vendor string: X.Org
OpenGL renderer string: Radeon RX 580 Series (POLARIS10, DRM 3.36.0, 5.5.8-arch1-1, LLVM 9.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.3.4
OpenGL core profile shading language version string: 4.50

Offline

#2 2020-03-16 08:31:13

gnumdk
Member
Registered: 2009-10-15
Posts: 175

Re: obs studio not working (black scene)

Gnome ? You  need to install Flathub version that provides Wayland/Pipewire/Portal plugin.

Offline

#3 2020-03-16 17:52:03

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

@gnumdk : thank you for your kind help. Wow I would never have thought of that, and to my knowledge it is mentioned nowhere in the docs! Anyway I'm not with Gnome but with good old plain FVWM (no desktop, no nothing). And still, it works on my laptop over fvwm as well... Am I stuck ? or might there be a workaround ?

Last edited by danielausparis (2020-03-16 18:11:21)

Offline

#4 2020-04-03 07:58:56

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

I am still stuck. I tried the flatpack version with identical results. And by the way the Snap version as well. Same.
I am quite convinced that there is a missing dependency. Given that OBS works fine and out of the box on my laptop Arch system, I am wondering what may be missing from my desktop installation.
My hardware does not seem to be faulty : I deployed an xubuntu on the desktop machine and boom, OBS works like a charm there. However I am really sad to have to boot this ubuntu just for a single application.
Any clue ?

Offline

#5 2020-04-03 11:37:53

rowdog
Member
From: East Texas
Registered: 2009-08-19
Posts: 118

Re: obs studio not working (black scene)

I haven't used Obs but this error fails to open a bunch of Nvidia libraries. My guess is that there should be a configuration option to use AMD rather than Nvidia.

error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory

Offline

#6 2020-04-03 12:00:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: obs studio not working (black scene)

It could be a missing optional dependency, post pacman -Qi obs-studio .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2020-04-03 16:27:38

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

@rowdog :
The problem is, OBS works perfectly on the same machine within a xubuntu that I deployed (I needed OBS urgently).

BTW here is OBS's boot sequence under xubuntu :

Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/locale.ini
Attempted path: /usr/share/obs/obs-studio/locale.ini
Attempted path: share/obs/obs-studio/themes/Dark.qss
Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
info: CPU Name: AMD Ryzen 5 3600 6-Core Processor
info: CPU Speed: 2195.466MHz
info: Physical Cores: 6, Logical Cores: 12
info: Physical Memory: 16016MB Total, 14421MB Free
info: Kernel Version: Linux 4.15.0-91-generic
info: Distribution: "Ubuntu" "18.04"
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.19.6
info: Portable mode: false
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
info: OBS 25.0.3 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 44100
        speakers:        2
info: ---------------------------------
info: Initializing OpenGL...
info: Loading up OpenGL on adapter X.Org Radeon RX 580 Series (POLARIS10, DRM 3.23.0, 4.15.0-91-gene
ric, LLVM 9.0.0)
info: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 19.2.8, shading language 4.50
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1280x720
        downscale filter:  Bicubic
        fps:               30/1
        format:            NV12
        YUV mode:          601/Partial
info: NV12 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
info: No blackmagic support
info: [obs-browser]: Version 2.8.6
info: FFMPEG VAAPI supported
info: VLC found, VLC video source enabled
info: ---------------------------------
info:   Loaded Modules:
info:     libobs-linuxbrowser.so
info:     vlc-video.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-transitions.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-jack.so
info:     linux-decklink.so
info:     linux-capture.so
info:     linux-alsa.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-ouput-ui.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.ana
log-stereo.monitor'
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.anal
og-stereo'
info: pulse-input: Server name: 'pulseaudio 11.1'
info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.anal
og-stereo'
info: pulse-am: Server name: 'pulseaudio 11.1'
info: pulse-am: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-
stereo.monitor'
info: pulse-am: Server name: 'pulseaudio 11.1'
info: pulse-am: Audio format: s16le, 44100 Hz, 2 channels
info: pulse-am: Started Monitoring in 'alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-
stereo.monitor'
info: v4l2-input: Start capture from /dev/video0
info: v4l2-input: Input: 0
info: v4l2-input: Resolution: 640x480
info: v4l2-input: Pixelformat: 3RGB
info: v4l2-input: Linesize: 1920 Bytes
info: v4l2-input: Framerate: 15,00 fps
info: Switched to scene 'cours'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'cours':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info:     - source: 'chat' (linuxbrowser-source)
info:     - source: 'slides xpdf' (xcomposite_input)
info:     - source: 'slides aude ep' (xcomposite_input)
info: - scene 'pause':
info:     - source: 'annonce pause' (text_ft2_source)
info:     - source: 'coffee1' (image_source)
info:     - source: 'coffee2' (image_source)
info:     - source: 'coffee3' (image_source)
info:     - source: 'VLC Video Source' (vlc_source)
info:         - monitoring: monitor and output
info: - scene 'attente démarrage':
info:     - source: 'Image' (image_source)
info:     - source: 'annonce rv' (text_ft2_source)
info:     - source: 'music' (vlc_source)
info:         - monitoring: monitor and output
info: - scene 'cours youtube':
info:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
info:     - source: 'chat youtube' (linuxbrowser-source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info:     - source: 'slides' (xcomposite_input)
info:     - source: 'Image Slide Show' (slideshow)
info:     - source: 'slides xpdf' (xcomposite_input)
info:     - source: 'slides aude' (xcomposite_input)
info: ------------------------------------------------
Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /usr/share/obs/obs-studio/images/overflow.png
info: adding 46 milliseconds of audio buffering, total audio buffering is now 46 milliseconds (sourc
e: Mic/Aux)

@Lone_Wolf: (btw, i have no Intel video card on my mobo)

[daniel@frisee ~]$ pacman -Qi obs-studio
Name            : obs-studio
Version         : 25.0.3-1
Description     : Free, open source software for live streaming and recording
Architecture    : x86_64
URL             : https://obsproject.com
Licenses        : GPL2
Groups          : None
Provides        : None
Depends On      : ffmpeg  jansson  libxinerama  libxkbcommon-x11  mbedtls  qt5-svg  qt5-x11extras
                  curl  jack  gtk-update-icon-cache
Optional Deps   : libfdk-aac: FDK AAC codec support [installed]
                  libxcomposite: XComposite capture support [installed]
                  libva-intel-driver: hardware encoding
                  libva-mesa-driver: hardware encoding [installed]
                  luajit: scripting support [installed]
                  python: scripting support [installed]
                  vlc: VLC Media Source support [installed]
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 13.48 MiB
Packager        : Jonathan Steel <jsteel@archlinux.org>
Build Date      : Thu 26 Mar 2020 11:38:27 AM CET
Install Date    : Fri 03 Apr 2020 09:47:40 AM CEST
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature

Last edited by danielausparis (2020-04-03 16:28:52)

Offline

#8 2020-04-04 13:42:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: obs studio not working (black scene)

No obvious issues among optional deps.

Difference between ubuntu and arch setups are kernel , mesa , llvm , vlc ffmpeg .

ffmpeg was just rebuild, check if latest change things ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2020-04-04 16:08:38

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

Lone_Wolf wrote:

No obvious issues among optional deps.

Difference between ubuntu and arch setups are kernel , mesa , llvm , vlc ffmpeg .

ffmpeg was just rebuild, check if latest change things ?

Sadly I was up to date... Thanks anyway for your efforts.
Meanwhile I gave the git version a shot, to no avail (same result). Thus none of the community, git, flatpak, snap versions work on my Arch system. A very sad and unfortunate situation that forces me literally to boot xubuntu when using this marvelous application (given quarantine, OBS has become mandatory to me for giving courses to large audiences).

Offline

#10 2020-04-05 12:27:17

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: obs studio not working (black scene)

I checked the change log for obs-studio and noticed 25.x.y is very new.

Which version of obs-studio are you using on xubuntu ?

We can try to build that version against current archlinux to verify where the problem lies.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#11 2020-04-05 16:38:00

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

Lone_Wolf wrote:

I checked the change log for obs-studio and noticed 25.x.y is very new.

Which version of obs-studio are you using on xubuntu ?

We can try to build that version against current archlinux to verify where the problem lies.

Dear Lone_Wolf I just checked and it is version 25.0.3.

Offline

#12 2020-04-05 18:48:28

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,772

Re: obs studio not working (black scene)

Ok, so we don't have to try that.


I suggest you

- file a bugreport in archlinux bugtracker to alert maintainer to the existence of this problem
- contact obs-studio and ask them for help

While the cause may be something in archlinux, finding and solving it will require very good insight in obs-studio.
Maybe user danielausparis , arch devs, obs-studio devs and other interested parties (1647 thread views can't be from just the 2 of us) can solve this together.

Please post links to bugreports / Mailing list posts and such in this thread.

Last edited by Lone_Wolf (2020-04-05 18:49:00)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#13 2020-04-06 07:34:41

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

Lone_Wolf, I filed a bug in the Arch bugtracker and in OBS Studio bug tracker and forum as well.

Last edited by danielausparis (2020-04-06 08:25:49)

Offline

#14 2020-06-07 08:41:07

danielausparis
Member
Registered: 2010-06-22
Posts: 34

Re: obs studio not working (black scene)

Dear experts,

Unfortunately this issue is still there, however here some new insights for information :

- I see the exact same issue noticed by silmanduin on this page https://github.com/bazukas/obs-linuxbrowser/issues/110 : /usr//lib/obs-plugins/browser: symbol lookup error: /usr//lib/obs-plugins/browser: undefined symbol: cef_cookie_manager_create_manager

- when executed with root access rights (with sudo) my OBS works fine ! And does not produce this symbol lookup error.

Maybe this reduces to some trivial permission problem -- however, how to locate it ? Using strace ?

Last edited by danielausparis (2020-06-07 08:46:05)

Offline

Board footer

Powered by FluxBB