You are not logged in.

#1 2015-08-23 02:19:13

ruthan
Member
Registered: 2015-08-23
Posts: 7

Solved - Steam execution libGL error: failed to load driver: swrast

Hello,
i have installed lastest 4.1.5-1-ARCH 64bit driver+ lastest Nvidia 352.30 drivers, everything works fine (Include Unigine heaven 4 Linux Opengl Benchmark), only steam not working. I use able to install Steam client but i got execution error:
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast

  Multilib enabled, Iris IGP and Optimus disabled, NV960, Brodwell 5675C CPU.

  I have tried lots of hints from the Internet and wiki, usually all hints are about delete some lib or symlink, but nothing helped me to solve it. I suppose that other users from there solved it.

Last edited by ruthan (2015-08-23 15:26:04)

Offline

#2 2015-08-23 10:06:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,402

Re: Solved - Steam execution libGL error: failed to load driver: swrast

lib32-nvidia-libgl is probably what you need, and post the full output not just some last excerpt and list all the steps you have done so far as you potentially broke something

Offline

#3 2015-08-23 15:05:59

ruthan
Member
Registered: 2015-08-23
Posts: 7

Re: Solved - Steam execution libGL error: failed to load driver: swrast

Full output - didnt mess mess with libs,
-  i properly installed nvidia drivers
- enabled multilib
- did repository update
- checked nvidia driver work - nvidia settings working, glxgears working, Unigine heaven benchmark working
- install steam
- run steam

Offline

#4 2015-08-23 15:08:13

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 5,880
Website

Re: Solved - Steam execution libGL error: failed to load driver: swrast


There are two ways of constructing a software design: one way is to make it so simple that there are obviously no deficiencies and the other way is to make it so complicated that there are no obvious deficiencies.

— C.A.R. Hoare, The 1980 ACM Turing Award Lecture

Offline

#5 2015-08-23 15:25:11

ruthan
Member
Registered: 2015-08-23
Posts: 7

Re: Solved - Steam execution libGL error: failed to load driver: swrast

Thanks, installation of lib32-nvidia-libgl, realy fixes my problem, its shame that i didnt find it earlier in any guide. Problem was some mesa not proprietary libs were still in system after nvidia drivers installation and i needed to replace them by nvidia great blob.

Here is full output if someone else would meet same problem:

[ruthan@localhost ~]$ sudo pacman -S lib32-nvidia-libgl
resolving dependencies...
looking for conflicting packages...
:: lib32-nvidia-libgl and lib32-mesa-libgl are in conflict (lib32-libgl). Remove lib32-mesa-libgl? [y/N] y

Packages (3) lib32-mesa-libgl-10.6.4-1 [removal]  lib32-nvidia-utils-352.30-1
             lib32-nvidia-libgl-352.30-1

Total Download Size:   17.40 MiB
Total Installed Size:  84.20 MiB
Net Upgrade Size:      84.20 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
lib32-nvidia-utils-352.30-1-x86_64              17.4 MiB  1558K/s 00:11 [#########################################] 100%
lib32-nvidia-libgl-352.30-1-x86_64            1264.0   B  0.00B/s 00:00 [#########################################] 100%
(2/2) checking keys in keyring                                           [#########################################] 100%
(2/2) checking package integrity                                         [#########################################] 100%
(2/2) loading package files                                              [#########################################] 100%
(2/2) checking for file conflicts                                        [#########################################] 100%
(3/3) checking available disk space                                      [#########################################] 100%
(1/1) removing lib32-mesa-libgl                                          [#########################################] 100%
(1/2) installing lib32-nvidia-utils                                      [#########################################] 100%
Optional dependencies for lib32-nvidia-utils
    lib32-opencl-nvidia
(2/2) installing lib32-nvidia-libgl                                      [#########################################] 100%
[ruthan@localhost ~]$ sudo pacman -S steam             
resolving dependencies...
looking for conflicting packages...

Packages (1) steam-1.0.0.50-1

Total Download Size:   2.59 MiB
Total Installed Size:  2.61 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
steam-1.0.0.50-1-x86_64                          2.6 MiB  1480K/s 00:02 [#########################################] 100%
(1/1) checking keys in keyring                                           [#########################################] 100%
(1/1) checking package integrity                                         [#########################################] 100%
(1/1) loading package files                                              [#########################################] 100%
(1/1) checking for file conflicts                                        [#########################################] 100%
(1/1) checking available disk space                                      [#########################################] 100%
(1/1) installing steam                                                   [#########################################] 100%
if you are running x86_64, you need the lib32 opt depends for your driver
if you are having problems with the steam license, remove .steam and .local/share/Steam
Optional dependencies for steam
    lib32-mesa-dri: for open source driver users
    lib32-catalyst-utils: for AMD Catalyst users
    lib32-nvidia-utils: for NVIDIA proprietary blob users [installed]
    lib32-alsa-plugins: for pulseaudio on some games
[ruthan@localhost ~]$ steam   

// After this all runining.

Offline

#6 2015-08-23 16:31:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 14,402

Re: Solved - Steam execution libGL error: failed to load driver: swrast

Nvidia wiki page mentions it which the only guide you have to look at, for the future don't forget to post command output in [ code ] tags

Offline

Board footer

Powered by FluxBB