I updated from Ubuntu 18.04 to 19.04 today but to my surprise steam stopped working after the update.
Running steam from the command line gives the following error:
SteamUpdateUI: An X Error occurred
X Error of failed request: GLXBadContext
SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 51
xerror_handler: X failed, continuing
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 52
xerror_handler: X failed, continuing
since the problem wasn't solved after a reboot, i googled and found that my opengl driver was broken.
output of glxinfo:
name of display: :0
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 6 (X_GLXIsDirect)
Serial number of failed request: 63
Current serial number in output stream: 62
I did the following to try solve this:
sudo apt install mesa-utils
sudo add-apt-repository ppa:ubuntu-x-swat/updates
sudo apt dist-upgrade
Now, output of glxinfo | grep "OpenGL version"
is: (glxgears works too)
OpenGL version string: 4.6.0 NVIDIA 430.26
But Steam is still giving the exact same error. How should i solve this ?
Any help would be much appreciated, Thanks in advance.