Help with "Failed to initialize video. Your GPU..." error

Nekrodamus

New Member
Hi! I just installed OBS from the apt (not the flatpack) and I'm getting this error:
Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
I tried the line:
LIBGL_ALWAYS_SOFTWARE=1 obs
but to no avail

The result of "glxinfo | grep OpenGL" is:
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 750M/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 418.226.00
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6.0 NVIDIA 418.226.00
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 418.226.00
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

The log I get is:
12:07:54.185: Using EGL/X11
12:07:54.202: CPU Name: Intel(R) Core(TM) i7-4702MQ CPU @ 2.20GHz
12:07:54.202: CPU Speed: 2885.889MHz
12:07:54.203: Physical Cores: 4, Logical Cores: 8
12:07:54.203: Physical Memory: 15889MB Total, 9451MB Free
12:07:54.203: Kernel Version: Linux 5.4.0-148-generic
12:07:54.203: Distribution: "Linux Mint" "20.3"
12:07:54.203: Desktop Environment: X-Cinnamon (cinnamon)
12:07:54.203: Session Type: x11
12:07:54.203: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.20.13
12:07:54.204: Qt Version: 5.12.8 (runtime), 5.12.8 (compiled)
12:07:54.204: Portable mode: false
12:07:54.252: OBS 29.1.1 (linux)
12:07:54.252: ---------------------------------
12:07:54.252: ---------------------------------
12:07:54.252: audio settings reset:
12:07:54.252: samples per sec: 48000
12:07:54.252: speakers: 2
12:07:54.252: max buffering: 960 milliseconds
12:07:54.252: buffering type: dynamically increasing
12:07:54.261: ---------------------------------
12:07:54.261: Initializing OpenGL...
12:07:54.270: Unable to create EGL context: EGL_BAD_ATTRIBUTE
12:07:54.270: Failed to create context!
12:07:54.270: device_create (GL) failed
12:07:54.271: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.
12:12:44.301: Freeing OBS context data

Is the graphics card too old?
Is there any other problem?
Thanks in advance!
 

Tuna

Member
The graphics driver is most likely too old. And I guess NVIDIA does not give a more recent driver for that card?
The current driver does not handle EGL.
 
Top