Question / Help OBS won't start on Ubuntu

TwisterGE

New Member
Hi,

I recently formatted my PC, and moved from Windows to Ubuntu 14.04. Everything is working just fine, except for OBS...
It fails to initialize video, and I don't know why. It worked just fine on Windows so I don't understand what's the matter here, and I don't have any alternatives for live streams on Linux (except pure ffmpeg, but that's just inefficient af)...
I've looked everywhere for answers, but anything seems to help.

This is the error message:
h_1450663519_9106710_f094fd2acb.png


glxinfo yields this:
Code:
$ glxinfo | grep OpenGL

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
OpenGL version string: 2.1 Mesa 11.2.0-devel (git-97eee90 2015-12-19 trusty-oibaf-ppa)
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.0-devel (git-97eee90 2015-12-19 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16

And the console output:
Code:
$ 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/pt-BR.ini
Attempted path: /usr/share/obs/obs-studio/locale/pt-BR.ini
info: Using preferred locale 'pt-BR'
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 CPU       M 350  @ 2.27GHz
info: Physical Memory: 3752MB Total
info: Kernel Version: Linux 3.16.0-57-generic
info: Distribution: "Ubuntu" "14.04"
QObject::connect: invalid null parameter
info: OBS 0.12.4-6-g1192226 (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
QPaintDevice::metrics: Device has no metric information
info: == Profiler Results =============================
info: run_program_init: 1452,68 ms
info:  ┣OBSApp::AppInit: 2,047 ms
info:  ┃ ┗OBSApp::InitLocale: 1,742 ms
info:  ┗OBSApp::OBSInit: 76,47 ms
info:    ┣obs_startup: 2,011 ms
info:    ┗OBSBasic::OBSInit: 33,895 ms
info:      ┣OBSBasic::InitBasicConfig: 0,954 ms
info:      ┣OBSBasic::ResetAudio: 0,201 ms
info:      ┗OBSBasic::ResetVideo: 32,651 ms
info: obs_hotkey_thread(25 ms): min=0,169 ms, median=0,622 ms, max=7,289 ms, 99th percentile=7,289 ms, 100% below 25 ms
info: audio_thread(Audio): min=0,005 ms, median=0,007 ms, max=0,052 ms, 99th percentile=0,052 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25,275 ms, median=25,747 ms, max=32,368 ms, 21,2766% within ±2% of 25 ms (0% lower, 78,7234% higher)
info: =================================================
info: Number of memory leaks: 124

I would appreciate any help, thank you in advance!
 

DoK_-

New Member
Hi, the first thing that comes out to me is your kernel version. Have you try an up to date kernel? actual version is 4.3.3. As Intel work a lot on their kernel drivers, it might help you.
 

TwisterGE

New Member
But it worked on Windows before, that doesn't make any sense! My GPU doesn't fully support OpenGL 3.2, but has some features implemented, and enough for OBS to run.
 

TwisterGE

New Member
Well, that's a real shame, I really liked this software so I'm disappointed. I think I'll build my own streaming app around FFMPEG, it's the only solution for me...
 
Top