Question / Help Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.

c0re

New Member
built the git 22.0.3 branch from source and receiving this error when trying to lauch obs. (same goes for the obs-studio package on debian:buster)
The portable build has no problem launching (athough it doesn't seem to come with scripting support).

I'm thankful for any clues.

Log Output starting obs:
Code:
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
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: CPU Name: AMD FX(tm)-8320 Eight-Core Processor
info: CPU Speed: 4002.259MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15933MB Total, 4696MB Free
info: Kernel Version: Linux 4.19.0-1-amd64
info: Distribution: "Debian GNU/Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.3
info: Portable mode: false
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 22.0.3-modified (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 AMD TAHITI (DRM 2.50.0, 4.19.0-1-amd64, LLVM 7.0.1)
info: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 18.3.2, shading language 4.50
error: Failed to initialize video.  Your GPU may not be supported, or your graphics drivers may need to be updated.
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 4136.04 ms
info:  ┣OBSApp::AppInit: 2.481 ms
info:  ┃ ┗OBSApp::InitLocale: 1.096 ms
info:  ┗OBSApp::OBSInit: 469.849 ms
info:    ┣obs_startup: 19.863 ms
info:    ┗OBSBasic::OBSInit: 238.367 ms
info:      ┣OBSBasic::InitBasicConfig: 0.129 ms
info:      ┣OBSBasic::ResetAudio: 0.191 ms
info:      ┗OBSBasic::ResetVideo: 237.966 ms
info: obs_hotkey_thread(25 ms): min=0.072 ms, median=0.106 ms, max=3.977 ms, 99th percentile=0.77 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.029 ms, median=0.031 ms, max=0.104 ms, 99th percentile=0.076 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.128 ms, median=25.183 ms, max=29.046 ms, 95.4248% within ±2% of 25 ms (0% lower, 4.57516% higher)
info: =================================================
info: Number of memory leaks: 230

glxinfo | grep
Code:
OpenGL vendor string: X.Org
OpenGL renderer string: AMD TAHITI (DRM 2.50.0, 4.19.0-1-amd64, LLVM 7.0.1)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.2
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 18.3.2
OpenGL shading language version string: 4.50
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:
 
Last edited:

WizardCM

Forum Moderator
Community Helper
Could you post a comparison log of the OBS build that does run correctly?
 

c0re

New Member
Could you post a comparison log of the OBS build that does run correctly?
sure

Git-obs (22.0.3 - portable) log
Code:
cd ~/obs-studio-portable/bin/64bit
./obs

Attempted path: ../../data/obs-studio/locale/en-US.ini
Attempted path: ../../data/obs-studio/locale.ini
Attempted path: ../../data/obs-studio/themes/Dark.qss
Attempted path: ../../data/obs-studio/license/gplv2.txt
info: CPU Name: AMD FX(tm)-8320 Eight-Core Processor
info: CPU Speed: 4002.321MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15933MB Total, 2690MB Free
info: Kernel Version: Linux 4.19.0-1-amd64
info: Distribution: "Debian GNU/Linux" Unknown
info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.3                                                        
info: Portable mode: false
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 22.0.3-modified (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 AMD TAHITI (DRM 2.50.0, 4.19.0-1-amd64, LLVM 7.0.1)                                     
info: OpenGL loaded successfully, version 4.5 (Core Profile) Mesa 18.3.2, 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:          709/Full
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
error: os_dlopen(../../obs-plugins/64bit/frontend-tools.so->../../obs-plugins/64bit/frontend-tools.so): libobs-scripting.so: cannot open shared object file: No such file or directory

warning: Module '../../obs-plugins/64bit/frontend-tools.so' not loaded                                                           
libDeckLinkAPI.so: cannot open shared object file: No such file or directory                                                     
info: No blackmagic support
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:     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: ---------------------------------
info: ==== Startup complete ===============================================                                                      
info: All scene data cleared
info: ------------------------------------------------
info: Switched to scene 'Scene'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Scene':
info: ------------------------------------------------
 
Top