"Failed to initialize video. Your GPU may not be supported": "EGL_BAD_MATCH [...] Failed to create context!"

Benjamim C.S

New Member
Heya!

I just downloaded through sudo pacman -Sy obs-studio on Manjaro GNU/Linux, but got the following error when running for the first time and on:

1786760245872.png


I did the log files getting their stdout from obs-studio on the CLI, fastfetch and inxi -Fz so I think there's enough info.

I got this years ago on Ubuntu too, with an i5 650 with the same Intel(R) Graphics.

Is this related to the iGPU from this generation of CPUs?

Thx in advance!
 

Attachments

eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL compatibility profile version: 2.1 Mesa 26.1.6-arch1.1
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL ES profile version: OpenGL ES 2.0 Mesa 26.1.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 1.0.16

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL compatibility profile version: 2.1 Mesa 26.1.6-arch1.1
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL ES profile version: OpenGL ES 2.0 Mesa 26.1.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 1.0.16

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL compatibility profile version: 2.1 Mesa 26.1.6-arch1.1
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL ES profile version: OpenGL ES 2.0 Mesa 26.1.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 1.0.16

Device platform:
Device #0:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL compatibility profile vendor: Intel
OpenGL compatibility profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL compatibility profile version: 2.1 Mesa 26.1.6-arch1.1
OpenGL compatibility profile shading language version: 1.20
OpenGL ES profile vendor: Intel
OpenGL ES profile renderer: Mesa Intel(R) HD Graphics (ILK)
OpenGL ES profile version: OpenGL ES 2.0 Mesa 26.1.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 1.0.16

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 22.1.8, 128 bits)
OpenGL core profile version: 4.6 (Core Profile) Mesa 26.1.6-arch1.1
OpenGL core profile shading language version: 4.60
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 22.1.8, 128 bits)
OpenGL compatibility profile version: 4.6 (Compatibility Profile) Mesa 26.1.6-arch1.1
OpenGL compatibility profile shading language version: 4.60
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 22.1.8, 128 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 26.1.6-arch1.1
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20
 
Can I ask what version of ffmpeg you’re running? I’ve been streaming with hardware encoding earlier this week, but now I'm getting the same popup you screenshot. I’ve been trying to roll back some drivers and rebuild/recompile some things and other things to see if any of that works. I’m suspecting it may be related to the bump to ffmpeg 9.0 which is a very invasive update in that a lot of packages depend on it, so it’d be a significant part of the system I’d have to roll back and use outdated. :\ (I use Arch (btw); so not sure if Manjaro has gotten the ffmpeg 9.0(.1) package yet.)
 
This log seems to show that the GPU driver can only do OpenGL 2.1. For OBS you will need a GPU and driver to support OpenGL 3.3 or higher. So perhaps the hardware is simply not capable or the driver isn't. There may be more drivers available for this GPU, maybe a Intel proprietary one, this is uop to you to research. By the age of this hardware it may just be that is does not support the requirements of current OBS.
 
okay, i just reverted ffmpeg to 8.1.2, and, indeed, OBS (32.2.0) works just fine with hardware encoding (nvidia driver 580.178.04), so it does indeed seem to be something related to ffmpeg 9—at least for my case (which may be something completely different from OP).
 
Can I ask what version of ffmpeg you’re running? I’ve been streaming with hardware encoding earlier this week, but now I'm getting the same popup you screenshot. I’ve been trying to roll back some drivers and rebuild/recompile some things and other things to see if any of that works. I’m suspecting it may be related to the bump to ffmpeg 9.0 which is a very invasive update in that a lot of packages depend on it, so it’d be a significant part of the system I’d have to roll back and use outdated. :\ (I use Arch (btw); so not sure if Manjaro has gotten the ffmpeg 9.0(.1) package yet.)
ffmpeg version n9.0 Copyright (c) 2000-2026 the FFmpeg developers
built with gcc 16 (GCC)


This log seems to show that the GPU driver can only do OpenGL 2.1. For OBS you will need a GPU and driver to support OpenGL 3.3 or higher. So perhaps the hardware is simply not capable or the driver isn't. There may be more drivers available for this GPU, maybe a Intel proprietary one, this is uop to you to research. By the age of this hardware it may just be that is does not support the requirements of current OBS.

Doing some research, I found bad news... for me at all. And what the heck! Understanding Intel's CPUs and GPUs (iGPU) sucks! These names are so counterintuitive! Looks like I'm studying biology, but it's even less fun!

In short, it doesn't support later 2.1 versions of OpenGL (see https://www.techpowerup.com/gpu-specs/hd-graphics-16eu-mobile.c1241).

For the whole history, my CPU [Intel(R) Core(TM) i5 450M] uses the Westmere microarchitecture which covers a lot of servers and desktop (Clarkdale) and mobile (laptop; Arrandale) CPUs. Looking for its microarchitecture capabilities it only supports till 2.1 OpenGL, not even Vulkan . You can see here too below Arrandale > Core i5-4x0M on the table.

On top of it, the years ago case on Ubuntu was the same history: the CPU — i5 650 (Clarkdale; desktop) — one is from the same microarchitecture.

I hope this helps those guys looking for playing some games on emulators like RetroArch with Flycast which needs Vulkan or OpenGL (glcore) and recording with OBS. It's frustrating — I know —, but for guys who started using PCs around 2015, the 10 older hardwere are now the ones from the last decade. It's time to change, and let it rest . Still it's not the end of the world at all LOL.
 
Back
Top