protonscr

libGL.so error with nVidia 435 on Ubuntu 18.04(using Proprietary GPU Drivers PPA)

steamclosed NVIDIA driversDistro Family: Ubuntu
ValveSoftware/steam-for-linux#6517 · opened 2019-09-19 by SudoUserReal · updated 2022-01-21 · 5 comments · github
SSudoUserReal 2019-09-19 github

Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1568860339)
Installing breakpad exception handler for appid(steam)/version(1568860339)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request: GLXBadContext
Major opcode of failed request: 152
Serial number of failed request: 49
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 152
Value in failed request: 0x0
Serial number of failed request: 48
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 152
Serial number of failed request: 50
xerror_handler: X failed, continuing
crash_20190920014229_1.dmp[31084]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190920014229_1.dmp
/home/daiqiang/.local/share/Steam/steam.sh: 行 720: 31069 段错误 (核心已转储) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190920014229_1.dmp[31084]: Finished uploading minidump (out-of-process): success = yes
crash_20190920014229_1.dmp[31084]: response: CrashID=bp-cc49ed0e-98db-44ee-9867-1e3702190919
crash_20190920014229_1.dmp[31084]: file ''/tmp/dumps/crash_20190920014229_1.dmp'', upload yes: ''CrashID=bp-cc49ed0e-98db-44ee-9867-1e3702190919''

Kkisak-valve maintainer 2019-09-19 github

Hello @DaiQiangReal, can you verify any 32 bit opengl like glxinfo from mesa-utils:i386 works?

Please check if you have the libnvidia-gl-435:i386 package installed with something like apt policy libnvidia-gl-435:i386.

Swrast is mesa's slower cpu renderer and implies that the system is trying to use mesa's libGL.so with the nvidia proprietary driver, which is incompatible.

Eeyduh 2019-11-27 github

I hadn't thought of searching in here for "cuda 10", which I did, and found #https://github.com/ValveSoftware/steam-for-linux/issues/5778#issuecomment-424481629
purged my system of 'nvidia' and 'cuda' and reinstalled both using telinit 3 and the .run installer solved my issue.

I have a similar issue but with nvidia-driver-440.

The problem is I can't sudo apt install nvidia-driver-440:i386 without being told that it would uninstall the 64bit version (alongside cuda 10, and a bunch of other 64bit only nvidia stuff)

If I extract the libnvidia-gl-440:i386 from the driver package could I just copy that over to /appropriate/path/ (usr lib?) and run steam with env LD_PRELOAD=/appropriate/path ?

steam error:

Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/user/.steam/ubuntu12_32/steam
[2019-11-27 17:31:42] Startup - updater built Nov 20 2019 01:49:17
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:  151 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  42
xerror_handler: X failed, continuing
Major opcode of failed request:  151 (GLX)
Minor opcode of failed request:  6 (X_GLXIsDirect)
Serial number of failed request:  43
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2019-11-27 17:31:42] Checking for update on startup
[2019-11-27 17:31:42] Checking for available updates...
[2019-11-27 17:31:42] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2019-11-27 17:31:42] Download skipped: /client/steam_client_ubuntu12 version 1574216296, installed version 1574216296
[2019-11-27 17:31:42] Nothing to do
[2019-11-27 17:31:42] Verifying installation...
[2019-11-27 17:31:42] Performing checksum verification of executable files
[2019-11-27 17:31:43] Verification complete

The difference here, I think, is that I did install the i386 version once, played a bit, went back to a 64bit only program (Davinci Resolve) and noticed it didn't work. So I reinstalled the 64bit drivers

Ggaborpapp 2019-12-11 github

I'm experiencing the same on Fedora 30 with NVidia 4.40. It's an optimus laptop. Steam runs fine with the Intel card. When switching to the discrete gpu with nvidia-xrun steam crashes.

Running Steam on fedora 30 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
/home/gabor/.local/share/Steam/ubuntu12_32/steam
Installing breakpad exception handler for appid(steam)/version(1575604565)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Installing breakpad exception handler for appid(steam)/version(1575604565)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Steam: An X Error occurred
X Error of failed request:  GLXBadContext
Major opcode of failed request:  150
Serial number of failed request:  51
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  150
Value in failed request:  0x0
Serial number of failed request:  50
xerror_handler: X failed, continuing
Steam: An X Error occurred
X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  150
Serial number of failed request:  52
xerror_handler: X failed, continuing
assert_20191211222204_1.dmp[19214]: Uploading dump (out-of-process)
/tmp/dumps/assert_20191211222204_1.dmp
/home/gabor/.local/share/Steam/steam.sh: line 722: 19185 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
assert_20191211222204_1.dmp[19214]: Finished uploading minidump (out-of-process): success = yes
assert_20191211222204_1.dmp[19214]: response: CrashID=bp-872c1b6a-d325-4255-84cb-d4c142191211
assert_20191211222204_1.dmp[19214]: file ''/tmp/dumps/assert_20191211222204_1.dmp'', upload yes: ''CrashID=bp-872c1b6a-d325-4255-84cb-d4c142191211''
Ggaborpapp 2019-12-11 github

I had to install the 32-bit nVidia libraries. In Fedora this worked for me:

sudo dnf install xorg-x11-drv-nvidia-libs.i686
Kkisak-valve maintainer 2022-01-21 github

Closing as outdated. It's still possible to install the NVIDIA proprietary driver with the driver's 32 bit userspace libraries missing, but that's a distro packaging issue, not a Steam client issue.