Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Getting Steam to run successfully
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
BillyD
Guru
Guru


Joined: 05 May 2002
Posts: 315
Location: Australia

PostPosted: Sat May 04, 2019 7:34 am    Post subject: Getting Steam to run successfully Reply with quote

I've had all sorts of problems trying to get steam to run from the steam-overlay. Launching the steam client would result in it hanging with:

Code:

libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast


After a few days of searching for a fix, I finally came across a solution.

Step 1 - create the file 99-nvidia.conf in /etc/ld.so.conf.d/ and add these lines:

Code:

/usr/lib/opengl/nvidia/lib
/usr/lib64/opengl/nvidia/lib


Then update the environment:

Code:

root# env-update


Now launch steam as your regular user, and you should be good to go. Hope that helps someone - it was driving me mad :)
_________________
We used to have hominid cousins that were vegetarian. The palæontological record suggests that our ancestors killed them and ate them.
Back to top
View user's profile Send private message
CrazyIvanMN
n00b
n00b


Joined: 20 Feb 2007
Posts: 45

PostPosted: Tue Nov 05, 2019 5:58 am    Post subject: Reply with quote

I did the /etc/ld.so.conf.d update, that wasn't enough, I was still receiving the errors.

However, I added the use flag multilib to nvidia-drivers in addition to the ld.so.conf.d update, and that seemed to resolve the "failed to load driver: swrast" for me.

[ebuild R ] x11-drivers/nvidia-drivers-435.21:0/435::gentoo USE="X acpi driver gtk3 kms multilib tools -compat (-libglvnd) -static-libs -uvm -wayland" ABI_X86="(64) -32 (-x32)" 0 KiB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum