Q:

OBS Studio is still black screen on ubuntu 18.04 LTS Xorg with nvidia

when I use Intel CPU as my gpu OBS works properly but when I switch to Nvidia (390 driver), then it shows just black screen. 
I changed this file :
/etc/gdm3/custom.conf

and removed WaylandEnable=false from comment.
then restarted, but nothing is happened and still OBS studio shows black screen with my Nvidia driver.
please help ! thanks.

A:

I have Ubuntu 18.04, after Nvidia driver installation OBS window capture stopped work at all. Just giving black screen.
For me helped Mesa utils installation: sudo apt install mesa-utils
Also check your opengl version.
glxinfo | grep "OpenGL version"
The app mesa-utils was missing in my case. After installation OBS window capture function works like a charm.

