Obs-studio: error: Failed to initialize video. Your GPU may not be supported, or your graphics drivers may need to be updated.

Created on 26 Nov 2020  路  11Comments  路  Source: obsproject/obs-studio

I am running Gentoo Linux with Kernel 5.9.0

  1. Install obs-studio from source, using these steps:
git clone --recursive https://github.com/obsproject/obs-studio.git
cd obs-studio
mkdir build && cd build
cmake -DUNIX_STRUCTURE=1 ..
make -j4
sudo make install
  1. run `/usr/local/bin/obs
  2. results in
    latest-screenshot
  3. Attached logfile: 2020-11-26 08-29-13.txt
  4. glxinfo | grep OpenGL results in
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 19.1.7
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 19.1.7
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

All 11 comments

Please use the Discord or forums for assistance.

OBS requires at least OpenGL 3.3 support to function, which your system does not have.

Ok, thank you, then I will try to install OpenGL from source. Why does the build script not check that?

That's not how it works. OpenGL is a hardware function, not software. Your GPU does not support the minimum requirements to run OBS, you will need to use a different machine.

Ok, that is very interesting, thank you. I just bought a new Nvidia GP107 card and it runs great with Nouveau and the latest kernel. Is Nvidia not supported? I would think my card should handle Video well.

Do you think it will work if I install the Nvidia Drivers for GP107? I will also upgrade my media-libs/libglvnd to version 1.3.2

Considering

OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer

it looks like nouveau might not be being used, but that's kind of getting off-topic here. :]

I am not using any Nvidia closed source drivers at the moment. I am only using what is in the Kernel and Gentoo supplies via emerge.

Right, but I believe you should be seeing something along the lines of

OpenGL vendor string: nouveau

instead of Mesa Project.

Perhaps check the Gentoo wiki and/or forums/IRC to make sure things are set up right-like.

My setup is correct AFAICT. Everything works fine, only obs-studio is not working (but it does compile and install). Does it work on your Gentoo machine? If yes, what Graphics Card do you have?

Again, please use the forums or Discord for support. This is not an appropriate place to troubleshoot environment issues.

@Fenrirthviti I do think obs-studio should offer a solution that is not based on Nvidia proprietary drivers and that works out of the box for Nouveau Users. FYI.

We don't have any dependency on NVIDIA proprietary drivers, this is purely an issue with your environment not running properly, not OBS.

Was this page helpful?
0 / 5 - 0 ratings