Ask Your Question
0

Issue Running steam after installing nvidia drivers

asked 2015-12-10 04:19:43 -0600

joemoe gravatar image

updated 2016-03-06 15:03:58 -0600

I am running the Fedora 23 Workstation OS. I installed steam and it worked fine (hadn't tested games). I decided to install an nvidia graphics driver after. I tried many different variations but this one seemed to have worked for me:

sudo yum --releasever=23 install akmod-nvidia
sudo yum install "kernel-devel-uname-r == $(uname -r)"

Possibly Important info

My nvidia driver version as of right now is on 361.28 I found this out by running this command:

cat /proc/driver/nvidia/version

This is the output:

NVRM version: NVIDIA UNIX x86_64 Kernel Module  361.28  Wed Feb  3 15:48:04 PST 2016
GCC version:  gcc version 5.3.1 20151207 (Red Hat 5.3.1-2) (GCC)

I restarted and then tried to load up steam again to play some games and sure enough it stopped working. Didn't do anything when trying to launch it.

I tried it in terminal and I get some error messages. I seem to get additional error messages when running the steam.sh file so I will post those results plus additional debug info:

$ LIBGL_DEBUG=verbose ~/.local/share/Steam/steam.sh

Running Steam on fedora 23 64-bit
STEAM_RUNTIME is enabled automatically
[2015-12-10 01:54:22] Startup - updater built Nov  9 2015 18:23:22
Installing breakpad exception handler for appid(steam)/version(1447125378)
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: Can't open configuration file /home/joemoe/.drirc: No such file or directory.
libGL: Can't open configuration file /home/joemoe/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)

I have tried many solutions but none have worked. Mainly from this previous question asked before:

https://ask.fedoraproject.org/en/ques...

Here are a few I have tried and the results:

I tried this command:

sudo dnf install xorg-x11-drv-nvidia-libs.i686

however I ran into this error.

Error: installed package nvidia-driver-libs-2:358.16-1.fc23.x86_64 obsoletes xorg-x11-drv-nvidia-libs < 2:358.16 provided by xorg-x11-drv-nvidia-libs-1:358.16-1.fc23.i686

I ran the same command with the --allowerasing flag

Error: Transaction check error:
  file /usr/share/applications/nvidia-settings.desktop from install of xorg-x11-drv-nvidia-1:358.16-1.fc23.x86_64 conflicts with file from package nvidia-settings-2:358.16-1.fc23.x86_64
  file /usr/bin/nvidia-settings from install of xorg-x11-drv-nvidia-1:358.16-1.fc23.x86_64 conflicts with file from package nvidia-settings-2:358.16-1.fc23.x86_64
  file /usr/share/man/man1/nvidia-settings.1.gz from install of xorg-x11-drv-nvidia-1:358.16-1.fc23.x86_64 conflicts with file from package nvidia-settings-2:358.16-1.fc23.x86_64

I tried moving those files and installing again but same error happened. I gave up on that one.

I tried removing all the libstd...files and it still didn't work. The command was listed on this page:

https://wiki.archlinux ... (more)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-12-10 13:17:11 -0600

I'm sure others may be able to provide better responses, but removing the following libraries has fixed dozens of start up issues I've seen across multiple distributions with Opensource, AMD and Nvidia drivers.

Remove libstdc++

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_amd64.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6-4.6-pic_4.6.3-1ubuntu5+srt4_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/installed/libstdc++6_4.8.1-2ubuntu1~12.04+steamrt2+srt1_i386.md5 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.a && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/gcc/i686-linux-gnu/4.6/libstdc++_pic.map && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6.0.18 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/share/doc/libstdc++6-4.6-pic && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/share/doc/libstdc++6

Remove libgcc_s

rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 && rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgcc_s.so.1

The following library was causing my systems with AMD opensource drivers from starting steam, adding if others may find use..

rm ~/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6

Again, others may be able to provide better info, but from all of my web searches I've found this to be the best and I've never seen an issue with it. Worst case, your steam already wont launch, so you can always reinstall. Let me know if you have any luck.

edit flag offensive delete link more

Comments

I have tried the commands that remove the libstdc++ and libgcc_s libraries already. Unfortunately the same error still occurs. I will update my answer with the exact command I used that worked for other people.

joemoe gravatar imagejoemoe ( 2015-12-10 16:49:41 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-12-10 04:19:43 -0600

Seen: 826 times

Last updated: Mar 06 '16