Bug Report Can't start OBS: Failed to initialize video: Unspecified error

Sivard

New Member
I have this same problem with Mint 17 and have an integrated Intel video card. However I am not familiar with the terminal and am wondering if someone can explain how to add the mesa PPA so I can update or install it, and how to update or install OpenGL?
 

Sivard

New Member
I made it as far as Jurik did, but when I restarted my screen is black and garbled if I move mouse around. Is there a way to revert back?
 
you should be able to just add the oibaf ppa for updated mesa, it's very easy. google it. sorry at work and don't have time to list step by step
 

Sivard

New Member
Hi ubuntuaddicted, thanks for the reply.

I figured out how to do that but the distro update thing broke my video. I'm currently backing everything up in recovery mode and am going to reinstall Mint,
 
Sivard, you should be able to access a tty session still and cat /var/log/Xorg.0.log to see why your desktop is failing. You're saying you don't have a GUI correct?
 

Sivard

New Member
There is no GUI or anything, just black and flickering white. I have to boot into recovery mode to do anything.
 

dmillerw

New Member
I don't have particularly high hopes on finding a solution for me regarding the OpenGL issue, but I'll post anyway.

Code:
[dylan@localhost 64bit]$ ./obs
Attempted path: ../../data/obs-studio/locale/en-US.ini
Attempted path: ../../data/obs-studio/locale.ini
Attempted path: ../../data/obs-studio/license/gplv2.txt
QObject::connect: invalid null parameter
info: OBS 0.6.1-16-gdb9204d-modified (linux)
info: Processor: 4 logical cores
info: Processor: Intel(R) Core(TM) i5-2450M CPU @ 2.50GHz
info: Physical Memory: 5853MB Total
info: Kernel Version: Linux 3.16.4-200.fc20.x86_64
info: Distribution: Fedora 20
info: audio settings reset:
    samples per sec: 44100
    speakers:        2
    buffering (ms):  1000

info: X and Y: 909 467
Backbuffers: 2
Color Format: 3
ZStencil Format: 0
Adapter: 0

error: Failed to create OpenGL context.
error: device_create (GL) failed
error: Failed to initialize video:  Unspecified error
info: Number of memory leaks: 146

Code:
[dylan@localhost 64bit]$ sudo lshw -C video
  *-display              
       description: VGA compatible controller
       product: 2nd Generation Core Processor Family Integrated Graphics Controller
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 09
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:46 memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64)

Code:
[dylan@localhost 64bit]$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.1.5
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.5
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
 
dmillerw, i would suggest using the oibaf ppa as you'll get much better performance from your iGPU but I am not certain if that will solve your issue with ./obs not starting.
 

dmillerw

New Member
I'm using Fedora. I've been trying to get something above Mesa 10.1.5, but haven't really had luck.

EDIT: I was able to update to Mesa 10.4, but I'm still limited to OpenGL 3 :(

Code:
[dylan@localhost lib]$ glxinfo | grep OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.4.0-devel
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.4.0-devel
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
[dylan@localhost lib]$
 
Last edited:
dmillerw if you read a few pages back I don't believe the intel driver has shader support which obs uses so i don't think you'll be able to use this particular setup you have with obs-studio. Have you ensured you have lib32-mesa-dev or similar named package installed ?
 

Lain

Forum Admin
Lain
Forum Moderator
Developer
I'm pretty sure that the latest mesa versions should work for almost everyone, even people on intel adapters, though still not 100% sure.
 

dmillerw

New Member
See, that's what I thought, but didn't have any luck. :/

EDIT: So supposedly GL3.2 support has been added for Sandybridge. Source
I'll see if I can get it running and report back. I had 10.4-devel running, but it may have been outdated as this was a really recent update.
 
Last edited:

raku

New Member
I'm also having this issue, I have a radeon HD 4550, and I am on linux mint 17 x64 this is the exact error:
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/license/gplv2.txt
Attempted path: /usr/share/obs/obs-studio/license/gplv2.txt
QObject::connect: invalid null parameter
info: OBS 0.6.2 (linux)
info: Processor: 2 logical cores
info: Processor: Intel(R) Pentium(R) 4 CPU 3.00GHz
info: Physical Memory: 3260MB Total
info: Kernel Version: Linux 3.13.0-24-generic
info: Distribution: "Ubuntu" "14.04"
info: audio settings reset:
   samples per sec: 44100
   speakers:  2
   buffering (ms):  1000

info: X and Y: 909 480
Backbuffers: 2
Color Format: 3
ZStencil Format: 0
Adapter: 0

error: Failed to create OpenGL context.
error: device_create (GL) failed
error: Failed to initialize video:  Unspecified error
info: Number of memory leaks: 146

And this is my glxinfo | grep OpenGL output:
Code:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
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:

And here's my sudo lshw -C video output:
Code:
PCI (sysfs) 
  *-display  
  description: VGA compatible controller
  product: RV710 [Radeon HD 4350/4550]
  vendor: Advanced Micro Devices, Inc. [AMD/ATI]
  physical id: 0
  bus info: pci@0000:01:00.0
  version: 00
  width: 64 bits
  clock: 33MHz
  capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
  configuration: driver=radeon latency=0
  resources: irq:42 memory:d0000000-dfffffff memory:efdf0000-efdfffff ioport:dc00(size=256) memory:efe00000-efe1ffff

EDIT:
So I just updated to newer drivers with the oibaf PPA with following process:
sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt-get dist-upgrade
Which all completed successfully, now my glxinfo | grep OpenGL output is as follows:
Code:
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV710
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.4.0-devel (git-5695303 2014-11-03 trusty-oibaf-ppa)
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.4.0-devel (git-5695303 2014-11-03 trusty-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.4.0-devel (git-5695303 2014-11-03 trusty-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
OpenGL ES profile extensions:

But still it doesn't launch and I get the same error. If I missed a step or similar i'm open to trying other things to make this work.
 
Last edited:

irya100

New Member
hello obs install on my laptop with intel hd graphics 3000 and gives me this error as I can solve. I'm new to ubuntu, vercion that I have to obs 0.6.4
 
as the developer stated previously, you need GL 3.2 and GLSL 1.5 and he's not 100% sure that obs will work with even an updated graphics stack (mesa/opengl)
 

boxman139

New Member
You can either wait for the PPA package maintainer (btbn) to release the latest revision or just download the repo and compile it.

EDIT: Also it appears that the latest PPA was only updated to the latest commit two days ago. You may have to check again. Latest version is 0.5.1-72
I have noob question to ask of you, Jim. How do I compile the update? I looked it over and I have no idea.
 
I have noob question to ask of you, Jim. How do I compile the update? I looked it over and I have no idea.
i suggest using 14.04 for obs-studio and using either the unstable OR stable ppa for obs. that along with the severenson ppa for ffmpeg you'll be golden.

if you aren't using ubuntu 14.04 and need to compile it well then i need to know which distro you use
 

linkviii

New Member
So on a school computer with both mint 17 and ubuntu 14.10 just installed (and every windows and many, many different linuxs), obs (intalled from the ppa on both) starts on ubuntu but fails to start on mint with
error: Failed to create OpenGL context.
error: Failed to create context!
*** Error in `obs': munmap_chunk(): invalid pointer: 0x0000000002661920 ***
Aborted

Mint reports "advanced micro devices inc amd/ati rv610 radeon hd 2400 pro/xt" under system info graphics card. I guess mint uses bad drivers? I know nothing about such.

I don't even plan on using obs on this computer, just testing it out. (and now its time for class)
 
Your Radeon HD 2400 pro might be too old to fully run OBS...a GPU that supports at least OpenGL 3.3 is required for OBS
(To know which OpenGL version your GPU is running, type "glxinfo | grep OpenGL" in a terminal)
 
Last edited:
Top