Question / Help Failed to initialize video: Unspecified error

adamos42

New Member
Fresh installed obs followed the install guide on the main site:

Code:
adamos42@a42pc:~$ obs
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/locale/hu-HU.ini
Attempted path: /usr/share/obs/obs-studio/locale/hu-HU.ini
info: Using preferred locale 'hu-HU'
Attempted path: share/obs/obs-studio/themes/Default.qss
Attempted path: /usr/share/obs/obs-studio/themes/Default.qss
Attempted path: share/obs/obs-studio/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
info: Processor: 4 logical cores
info: Processor: Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz
info: Physical Memory: 15988MB Total
info: Kernel Version: Linux 3.13.0-68-generic
info: Distribution: "Ubuntu" "14.04"
info: OBS 0.12.0 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
    samples per sec: 44100
    speakers:        2
    buffering (ms):  1000
error: X Error: GLXBadFBConfig
error: Failed to create OpenGL context.
error: Failed to create context!
error: device_create (GL) failed
error: Failed to initialize video:  Unspecified error
info: Freeing OBS context data
info: == Profiler Results =============================
info: run_program_init: 2463,75 ms
info:  ┣OBSApp::AppInit: 1,079 ms
info:  ┃ ┗OBSApp::InitLocale: 0,779 ms
info:  ┗OBSApp::OBSInit: 247,89 ms
info:    ┣obs_startup: 28,541 ms
info:    ┗OBSBasic::OBSInit: 109,35 ms
info:      ┣OBSBasic::InitBasicConfig: 7,597 ms
info:      ┣OBSBasic::ResetAudio: 0,119 ms
info:      ┗OBSBasic::ResetVideo: 101,551 ms
info: obs_hotkey_thread(25 ms): min=0,075 ms, median=15,177 ms, max=44,722 ms, 99th percentile=44,722 ms, 73,5849% below 25 ms
info: audio_thread(Audio): min=0,004 ms, median=0,005 ms, max=0,434 ms, 99th percentile=0,434 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,139 ms, median=40,558 ms, max=69,787 ms, 25% within ±2% of 25 ms (0% lower, 75% higher)
info: =================================================
info: Number of memory leaks: 124
 

dukespeaks

New Member
Hi, world. I have a little the same error in Debian 8 just traying to run Obs from build directory: Error Failed to initialize video. Unspecified error.
Captura de pantalla de 2015-11-23 07:54:15.png
 

zenobs

Member
Hi, world. I have a little the same error in Debian 8 just traying to run Obs from build directory: Error Failed to initialize video. Unspecified error.
View attachment 11120

I compiled obs from git and ran successfully in Debian Jessie 8.2. It has nothing to do with OpenGL version in my case (my OpenGL version string shows 3.0 which is below recommended 3.2):

"OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD ARUBA
OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.2
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.3.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:"


SOLUTION:

The only thing that I needed to launch obs flawlessly was "apt-get install linux-firmware-nonfree" and rebooted. Thus, the "failed to initialize" error was gone and obs got launched.

Posting this thinking it is helpful to others.

Cheers,
/z
 
Top