Bug Report Cannot run OBS on Ubuntu

Avoura

New Member
I just installed OBS on Ubuntu Studio 14.04, as per
sudo add-apt-repository ppa:obsproject/obs-studio
sudo apt-get update && sudo apt-get install obs-studio​
I then ran OBS from the menu and got the following error:
error: Failed to initialize video: Unspecified error​

I then ran from CLI and got this output:
~$ 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/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: 8 logical cores
info: Processor: AMD FX(tm)-8350 Eight-Core Processor
info: Physical Memory: 15947MB Total
info: Kernel Version: Linux 3.13.0-65-lowlatency
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
info: Freeing OBS context data
QPaintDevice::metrics: Device has no metric information
info: == Profiler Results =============================
info: run_program_init: 3628.41 ms
info: ┣OBSApp::AppInit: 0.978 ms
info: ┃ ┗OBSApp::InitLocale: 0.59 ms
info: ┗OBSApp::OBSInit: 225.922 ms
info: ┣obs_startup: 1.581 ms
info: ┗OBSBasic::OBSInit: 59.796 ms
info: ┣OBSBasic::InitBasicConfig: 0.782 ms
info: ┣OBSBasic::ResetAudio: 0.084 ms
info: ┗OBSBasic::ResetVideo: 58.86 ms
info: obs_hotkey_thread(25 ms): min=0.09 ms, median=0.188 ms, max=12.27 ms, 99th percentile=0.8 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.004 ms, median=0.009 ms, max=0.036 ms, 99th percentile=0.027 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.159 ms, median=25.294 ms, max=37.397 ms, 94.3089% within ±2% of 25 ms (0% lower, 5.69106% higher)
info: =================================================
info: Number of memory leaks: 124​

Any idea what is going wrong or how to fix this to make it work?

I cannot create a log file as the program will not even run -- although if a log file is created somewhere let me know where so I can add that.
 

Adazi

New Member
What is the output of the following command: glxinfo | grep "OpenGL"
Same problem to me, My output of glxinfo | grep "OpenGL" is
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
OpenGL version string: 2.1 Mesa 10.1.3
OpenGL shading language version string: 1.20
OpenGL extensions:

Please help, I have laptop BTW
 

dodgepong

Administrator
Community Helper
You need to have OpenGL 3.2 or later to run OBS. Try updating your GPU driver, and if it still doesn't work, you're out of luck.
 

Avoura

New Member
This is what I get

~$ glxinfo | grep "OpenGL"
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.3
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 10.1.3
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:


So I guess I need to update the driver
 

Avoura

New Member
After installing the proprietary driver, other things stopped working, so that was no good, I had to go back to the open source driver. So how do I use that and get the right OpenGL 3.2 installed to make it work?
 

Harold

Active Member
You MIGHT be able to update the mesa version, but as it stands, you need to make a choice if that doesn't work.
OBS or the other stuff that stopped working when you switched to proprietary.
 
Top