OBS Studio v27.1.3 will not run on Opensuse 15.2

wcleaver

New Member
OBS Studio v27.1.3 will not run on Opensuse 15.2 release and shuts down with "Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated." error dialog.

The last time OBS Studio was used was 06-Jun-2021 and worked without any problem, OBS Studio was at v27.0.1 at that time. Since then, no hardware on the system changed nor software except for normal system updates which updated OBS Studio to v27.1.3 at some point. The video driver, amdgpu-pro v21.10, is unchanged and current for Opensuse 15.2.

The only thing I could find with web searches suggested running OBS Studio from the command via the command "LIBGL_ALWAYS_SOFTWARE=1 obs", however, this did not resolve the problem.

Does anyone know how to fix this problem?

Below is video info:
Code:
user:~> glxinfo | grep render
direct rendering: Yes
    GLX_INTEL_swap_event, GLX_MESA_copy_sub_buffer, GLX_MESA_query_renderer, 
OpenGL renderer string: Radeon RX550/550 Series
    GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_copy_depth_to_color, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_copy_depth_to_color, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_copy_depth_to_color,

Code:
user:~> glxinfo | grep OpenGL
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: Radeon RX550/550 Series
OpenGL core profile version string: 4.5.14735 Core Profile Context
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.14735 Compatibility Profile Context
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: 4.6.14735 Compatibility Profile Context
OpenGL ES profile shading language version string: 4.60
OpenGL ES profile extensions:


Attached is OBS Studio log of working version (v27.0.1), file 2021-06-21 08-04-39.txt


Below is OBS Studio log on current non-working version (v27.1.3):
Code:
09:38:26 AM.547: Platform: Wayland
09:38:26 AM.571: CPU Name: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
09:38:26 AM.571: CPU Speed: 2120.414MHz
09:38:26 AM.571: Physical Cores: 4, Logical Cores: 4
09:38:26 AM.571: Physical Memory: 14994MB Total, 11969MB Free
09:38:26 AM.571: Kernel Version: Linux 5.3.18-lp152.106-preempt
09:38:26 AM.571: Distribution: "openSUSE Leap" "15.2"
09:38:26 AM.571: Session Type: wayland
09:38:26 AM.572: Portable mode: false
09:38:27 AM.269: OBS 27.1.3 (linux)
09:38:27 AM.269: ---------------------------------
09:38:27 AM.270: ---------------------------------
09:38:27 AM.271: audio settings reset:
09:38:27 AM.271:     samples per sec: 48000
09:38:27 AM.271:     speakers:        2
09:38:27 AM.322: ---------------------------------
09:38:27 AM.322: Initializing OpenGL...
09:38:27 AM.323: Using EGL/Wayland
09:38:27 AM.510: Initialized EGL 1.4
09:38:27 AM.510: eglChooseConfig failed
09:38:27 AM.515: device_create (GL) failed
09:38:27 AM.516: Failed to initialize video.  Your GPU may not be supported, or 
your graphics drivers may need to be updated.
09:39:18 AM.870: Freeing OBS context data
09:39:18 AM.896: == Profiler Results =============================
09:39:18 AM.896: run_program_init: 53278.8 ms
09:39:18 AM.896:  ┣OBSApp::AppInit: 127.476 ms
09:39:18 AM.896:  ┃ ┗OBSApp::InitLocale: 84.431 ms
09:39:18 AM.896:  ┗OBSApp::OBSInit: 968.622 ms
09:39:18 AM.896:    ┣obs_startup: 24.388 ms
09:39:18 AM.896:    ┗OBSBasic::OBSInit: 246.094 ms
09:39:18 AM.896:      ┣OBSBasic::InitBasicConfig: 0.136 ms
09:39:18 AM.896:      ┣OBSBasic::ResetAudio: 1.083 ms
09:39:18 AM.896:      ┗OBSBasic::ResetVideo: 244.734 ms
09:39:18 AM.896: obs_hotkey_thread(25 ms): min=0 ms, median=0 ms, max=0.019 ms, 
99th percentile=0.002 ms, 100% below 25 ms
09:39:18 AM.896: audio_thread(Audio): min=0 ms, median=0.026 ms, max=0.138 ms, 9
9th percentile=0.082 ms
09:39:18 AM.896: =================================================
09:39:18 AM.896: == Profiler Time Between Calls ==================
09:39:18 AM.897: obs_hotkey_thread(25 ms): min=25.032 ms, median=25.081 ms, max=
26.814 ms, 99.904% within ±2% of 25 ms (0% lower, 0.0959693% higher)
09:39:18 AM.897: =================================================
09:39:18 AM.897: Number of memory leaks: 200

TIA!
 

Attachments

  • 2021-06-21 08-04-39.txt
    14.3 KB · Views: 26

Harold

Active Member
Then there's a possibility that the package maintainer actually did not compile the package properly for 27.1.3 compared to 27.0.1

Currently the only officially maintained packages are those on the PPA listed on the downloads page.
 

wcleaver

New Member
27.0.1 runs on opensuse 15.2 on Wayland without problem. However, 27.1.3 will not run on opensuse 15.2 on Wayland but runs without problem on opensuse 15.2 on X11. While suse is not officially supported, someone on the OBS project might find this of interest.

Below is OBS Studio log of v27.1.3 running in X11 session on opensuse 15.2:
Code:
06:48:48 PM.642: CPU Name: Intel(R) Core(TM)2 Quad CPU    Q6600  @ 2.40GHz
06:48:48 PM.642: CPU Speed: 1596.022MHz
06:48:48 PM.643: Physical Cores: 4, Logical Cores: 4
06:48:48 PM.643: Physical Memory: 14994MB Total, 13294MB Free
06:48:48 PM.643: Kernel Version: Linux 5.3.18-lp152.106-preempt
06:48:48 PM.643: Distribution: "openSUSE Leap" "15.2"
06:48:48 PM.643: Session Type: x11
06:48:48 PM.643: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.3
06:48:48 PM.643: Portable mode: false
06:48:49 PM.168: OBS 27.1.3 (linux)
06:48:49 PM.168: ---------------------------------
06:48:49 PM.169: ---------------------------------
06:48:49 PM.169: audio settings reset:
06:48:49 PM.169:     samples per sec: 48000
06:48:49 PM.169:     speakers:        2
06:48:49 PM.222: ---------------------------------
06:48:49 PM.223: Initializing OpenGL...
06:48:49 PM.306: Loading up OpenGL on adapter ATI Technologies Inc. Radeon RX550/550 Series
06:48:49 PM.306: OpenGL loaded successfully, version 3.3.14735 Core Profile Context, shading language 4.60
06:48:49 PM.584: ---------------------------------
06:48:49 PM.584: video settings reset:
06:48:49 PM.584:     base resolution:   1920x1080
06:48:49 PM.584:     output resolution: 1920x1080
06:48:49 PM.584:     downscale filter:  Bicubic
06:48:49 PM.584:     fps:               30/1
06:48:49 PM.584:     format:            NV12
06:48:49 PM.584:     YUV mode:          709/Partial
06:48:49 PM.585: NV12 texture support not available
06:48:49 PM.586: Audio monitoring device:
06:48:49 PM.586:     name: Monitor of OBS_NULL_SINK
06:48:49 PM.586:     id: OBS_NULL_SINK.monitor
06:48:49 PM.586: ---------------------------------
06:48:49 PM.621: Failed to load 'en-US' text for module: 'decklink-captions.so'
06:48:49 PM.633: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
06:48:50 PM.135: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
06:48:50 PM.135: No blackmagic support
06:48:50 PM.705: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
06:48:50 PM.705: 
06:48:50 PM.705: FFMPEG VAAPI supported
06:48:51 PM.250: VLC found, VLC video source enabled
06:48:51 PM.250: ---------------------------------
06:48:51 PM.250:   Loaded Modules:
06:48:51 PM.250:     vlc-video.so
06:48:51 PM.250:     text-freetype2.so
06:48:51 PM.250:     rtmp-services.so
06:48:51 PM.250:     obs-x264.so
06:48:51 PM.250:     obs-vst.so
06:48:51 PM.250:     obs-transitions.so
06:48:51 PM.250:     obs-outputs.so
06:48:51 PM.250:     obs-libfdk.so
06:48:51 PM.250:     obs-filters.so
06:48:51 PM.250:     obs-ffmpeg.so
06:48:51 PM.250:     linux-v4l2.so
06:48:51 PM.250:     linux-pulseaudio.so
06:48:51 PM.250:     linux-jack.so
06:48:51 PM.250:     linux-decklink.so
06:48:51 PM.250:     linux-capture.so
06:48:51 PM.250:     image-source.so
06:48:51 PM.250:     frontend-tools.so
06:48:51 PM.250:     decklink-ouput-ui.so
06:48:51 PM.250:     decklink-captions.so
06:48:51 PM.250: ---------------------------------
06:48:51 PM.251: ==== Startup complete ===============================================
06:48:51 PM.287: Switched to Preview/Program mode
06:48:51 PM.287: ------------------------------------------------
06:48:51 PM.344: All scene data cleared
06:48:51 PM.344: ------------------------------------------------
06:48:51 PM.424: v4l2-input: Start capture from /dev/video0
06:48:51 PM.498: [rtmp-services plugin] Successfully updated file 'services.json' (version 187)
06:48:51 PM.498: [rtmp-services plugin] Successfully updated package (version 187)
06:48:51 PM.544: v4l2-input: Input: 0
06:48:51 PM.545: v4l2-input: Resolution: 640x480
06:48:51 PM.545: v4l2-input: Pixelformat: YUYV
06:48:51 PM.545: v4l2-input: Linesize: 1280 Bytes
06:48:51 PM.545: v4l2-input: Framerate: 30.00 fps
06:48:51 PM.546: v4l2-input: /dev/video0: select timeout set to 166666us (5x frame periods)
06:48:51 PM.550: pulse-input: Server name: 'pulseaudio 13.0-rebootstrapped'
06:48:51 PM.551: pulse-input: An error occurred while getting the source info!
06:48:51 PM.552: pulse-am: Server name: 'pulseaudio 13.0-rebootstrapped'
06:48:51 PM.552: pulse-am: An error occurred while getting the source info!
06:48:51 PM.570: [Media Source 'Media Source']: settings:
06:48:51 PM.570:     input:                   /home/cosmic/Videos/Monty Python and the Holy Grail- Intermission Music-O0wOD9TWynM.mkv
06:48:51 PM.570:     input_format:            (null)
06:48:51 PM.570:     speed:                   100
06:48:51 PM.570:     is_looping:              yes
06:48:51 PM.570:     is_linear_alpha:         no
06:48:51 PM.570:     is_hw_decoding:          yes
06:48:51 PM.570:     is_clear_on_media_end:   yes
06:48:51 PM.570:     restart_on_activate:     yes
06:48:51 PM.570:     close_when_inactive:     no
06:48:51 PM.572: pulse-am: Server name: 'pulseaudio 13.0-rebootstrapped'
06:48:51 PM.572: pulse-am: An error occurred while getting the source info!
06:48:51 PM.573: Switched to scene 'Scene 2'
06:48:51 PM.576: ------------------------------------------------
06:48:51 PM.576: Loaded scenes:
06:48:51 PM.576: - scene 'Scene':
06:48:51 PM.576:     - source: 'Media Source' (ffmpeg_source)
06:48:51 PM.576:         - monitoring: monitor only
06:48:51 PM.576: - scene 'Scene 2':
06:48:51 PM.576:     - source: 'Audio Input Capture (PulseAudio)' (pulse_input_capture)
06:48:51 PM.577:         - monitoring: monitor only
06:48:51 PM.577:         - filter: 'Noise Suppression' (noise_suppress_filter_v2)
06:48:51 PM.577:         - filter: 'Compressor' (compressor_filter)
06:48:51 PM.577:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
06:48:51 PM.577: ------------------------------------------------
06:51:51 PM.896: ==== Shutting down ==================================================
06:51:51 PM.916: v4l2-input: /dev/video0: Stopped capture after 2724 frames
06:51:52 PM.014: All scene data cleared
06:51:52 PM.014: ------------------------------------------------
06:51:52 PM.112: [Scripting] Total detached callbacks: 0
06:51:52 PM.113: Freeing OBS context data
06:51:52 PM.161: == Profiler Results =============================
06:51:52 PM.161: run_program_init: 5492.39 ms
06:51:52 PM.161:  ┣OBSApp::AppInit: 110.746 ms
06:51:52 PM.161:  ┃ ┗OBSApp::InitLocale: 59.343 ms
06:51:52 PM.161:  ┗OBSApp::OBSInit: 3378.82 ms
06:51:52 PM.161:    ┣obs_startup: 17.879 ms
06:51:52 PM.161:    ┗OBSBasic::OBSInit: 2818.66 ms
06:51:52 PM.161:      ┣OBSBasic::InitBasicConfig: 0.136 ms
06:51:52 PM.161:      ┣OBSBasic::ResetAudio: 0.284 ms
06:51:52 PM.161:      ┣OBSBasic::ResetVideo: 416.562 ms
06:51:52 PM.161:      ┣OBSBasic::InitOBSCallbacks: 0.015 ms
06:51:52 PM.161:      ┣OBSBasic::InitHotkeys: 0.075 ms
06:51:52 PM.161:      ┣obs_load_all_modules: 1664.06 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(decklink-captions.so): 0.105 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(decklink-ouput-ui.so): 1.394 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(frontend-tools.so): 374.548 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(image-source.so): 0.016 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(linux-capture.so): 0.417 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(linux-decklink.so): 0.328 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(linux-jack.so): 0.016 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.006 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(linux-v4l2.so): 92.304 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-ffmpeg.so): 11.553 ms
06:51:52 PM.161:      ┃ ┃ ┗nvenc_check: 11.475 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-filters.so): 0.07 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-libfdk.so): 0.005 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-outputs.so): 0.009 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-transitions.so): 0.016 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-vst.so): 0.007 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(obs-x264.so): 0.009 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(rtmp-services.so): 1.908 ms
06:51:52 PM.161:      ┃ ┣obs_init_module(text-freetype2.so): 0.039 ms
06:51:52 PM.161:      ┃ ┗obs_init_module(vlc-video.so): 80.346 ms
06:51:52 PM.162:      ┣OBSBasic::ResetOutputs: 29.543 ms
06:51:52 PM.162:      ┣OBSBasic::CreateHotkeys: 0.078 ms
06:51:52 PM.162:      ┣OBSBasic::InitService: 3.145 ms
06:51:52 PM.162:      ┣OBSBasic::InitPrimitives: 0.293 ms
06:51:52 PM.162:      ┗OBSBasic::Load: 287.038 ms
06:51:52 PM.162: obs_hotkey_thread(25 ms): min=0.11 ms, median=0.204 ms, max=32.899 ms, 99th percentile=1.285 ms, 99.9862% below 25 ms
06:51:52 PM.162: audio_thread(Audio): min=0 ms, median=0.069 ms, max=6.44 ms, 99th percentile=2.878 ms
06:51:52 PM.162: obs_graphics_thread(33.3333 ms): min=0.148 ms, median=4.651 ms, max=121.059 ms, 99th percentile=7.259 ms, 99.9452% below 33.333 ms
06:51:52 PM.162:  ┣tick_sources: min=0 ms, median=0.023 ms, max=120.627 ms, 99th percentile=0.044 ms
06:51:52 PM.162:  ┣output_frame: min=0.087 ms, median=2.709 ms, max=8.985 ms, 99th percentile=4.311 ms
06:51:52 PM.162:  ┃ ┗gs_context(video->graphics): min=0.087 ms, median=2.708 ms, max=8.984 ms, 99th percentile=4.31 ms
06:51:52 PM.162:  ┃   ┣render_video: min=0.028 ms, median=2.572 ms, max=8.759 ms, 99th percentile=4.119 ms
06:51:52 PM.162:  ┃   ┃ ┗render_main_texture: min=0.021 ms, median=2.561 ms, max=8.744 ms, 99th percentile=4.105 ms
06:51:52 PM.162:  ┃   ┗gs_flush: min=0.03 ms, median=0.077 ms, max=1.543 ms, 99th percentile=0.162 ms
06:51:52 PM.162:  ┗render_displays: min=0.027 ms, median=1.746 ms, max=88.254 ms, 99th percentile=3.708 ms
06:51:52 PM.162: =================================================
06:51:52 PM.162: == Profiler Time Between Calls ==================
06:51:52 PM.162: obs_hotkey_thread(25 ms): min=25.131 ms, median=25.292 ms, max=57.969 ms, 93.1287% within ±2% of 25 ms (0% lower, 6.87128% higher)
06:51:52 PM.162: obs_graphics_thread(33.3333 ms): min=8.867 ms, median=33.334 ms, max=121.067 ms, 99.6162% within ±2% of 33.333 ms (0.20106% lower, 0.182782% higher)
06:51:52 PM.162: =================================================
06:51:52 PM.203: Number of memory leaks: 1
 
Top