I am running Gentoo Linux with Kernel 5.9.0
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

glxinfo | grep OpenGL results inOpenGL 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:
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.