Question / Help 'Failed to initialize video: Unspecified error' for OBS Linux Mint

TurtleKicks

New Member
I get this error whenever I try to start OBS in Linux Mint 17.2, heres an output in terminal when I type obs in terminal,
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/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: 2 logical cores
info: Processor: Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
info: Physical Memory: 1993MB Total
info: Kernel Version: Linux 3.16.0-38-generic
info: Distribution: "Ubuntu" "14.04"
QObject::connect: invalid null parameter
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

and the error that I get is Failed to initialize video: Unspecified error, OBS won't start, please help :(
 

dodgepong

Administrator
Community Helper
What is the output when you type this into the command line: glxinfo | grep "OpenGL"
 
I am having the same issue. That command gives me this:

glxinfo | grep "OpenGL"
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 960/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 346.72
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 346.72
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
 
I can't belive that the issue still be not resolved, there much thread talking about this.
The problem can be the library mesa that was upgraded after months of the obs package.
 
Code:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 610/PCIe/SSE2
OpenGL core profile version string: 4.3.0 NVIDIA 352.41
OpenGL core profile shading language version string: 4.30 NVIDIA via Cg compiler
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.5.0 NVIDIA 352.41
OpenGL shading language version string: 4.50 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:

My system have a Nvidia 610 that supports OpenGL 3.2 or higher (i have OpenGL 4.5), and the issue continued, and other people have himself problem.
 

repeat

New Member
Pls FIX it! (less None)

obs-studio-0.12.0/libobs-opengl/gl-x11.c

Line number: 64


static int ctx_visual_attribs[] = {
GLX_STENCIL_SIZE, 0,
GLX_DEPTH_SIZE, 0,
GLX_BUFFER_SIZE, 32,
GLX_DOUBLEBUFFER, true,
GLX_X_RENDERABLE, true,
None
};

struct gl_windowinfo {
 
Top