steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Centos 7.6

Open mzigaib opened this issue 7 years ago • 21 comments

I am getting an error trying to run steam on my linux distro.

STEAM_RUNTIME is enabled automatically Pins up-to-date! /home/mzigaib/.local/share/Steam/steam.sh: line 828: /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: No such file or directory Installing breakpad exception handler for appid(steam)/version(0) /home/mzigaib/.local/share/Steam/steam.sh: line 889: 3319 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

It was working before a new fresh install that I did recently I got in touch with valve and they told me that maybe you guys could help me to make it work again.

Thanks.

mzigaib avatar Dec 27 '18 04:12 mzigaib

It seems that some scripts are missing in this installation like "run.sh", maybe a bug in this installation?

mzigaib avatar Dec 29 '18 01:12 mzigaib

Which rpm did you install steam with?

h1z1 avatar Dec 29 '18 02:12 h1z1

I did install through the epel repository.

mzigaib avatar Dec 29 '18 06:12 mzigaib

I also tried to convert the .deb from the steam site and the result is the same, it installs but when I try to run it shows the same error.

mzigaib avatar Dec 29 '18 07:12 mzigaib

I also just copied the run.sh from your github to the my local "steam-runtime" directory and I now I am getting this error: Gtk-Message: 03:25:22.455: GtkDialog mapped without a transient parent. This is discouraged. Setting up Steam content in /home/mzigaib/.local/share/Steam Running Steam on centos 7 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 7: syntax error near unexpected token newline' /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 7: ' Installing breakpad exception handler for appid(steam)/version(0) /home/mzigaib/.local/share/Steam/steam.sh: line 889: 8616 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

mzigaib avatar Dec 29 '18 07:12 mzigaib

Granted it's fairly old but should bootstrap fine. I don't get that with the steam rpm from epel. Which github repo are you refering to?

h1z1 avatar Dec 30 '18 03:12 h1z1

I am sorry, it seems that the right repository where I am installing from is RPMFusion. https://negativo17.org/steam-for-centos-rhel-7/

The github which I am referring to is this very one here https://github.com/ValveSoftware/steam-runtime

What do you mean it should bootstrap fine? I am not a programmer but for what I understand you are saying that it should work correctly so why it is not? any tips?

mzigaib avatar Dec 30 '18 04:12 mzigaib

No tips?

mzigaib avatar Dec 31 '18 19:12 mzigaib

Steam will check for updates when it starts. The process of doing that is refered to as a bootstrap. The RPM itself doesn't contain really any of a full steam client as it's downloaded on first run.

Not sure what doing an entire reinstall entails but it looks like either steam was not completely reinstalled or something borked it. I would verify steam and start with a new config

## Verify Steam.. 
 rpm --verify -v steam
## If that fails ..shouldn't really break anything either way
  yum reinstall steam
  mv -v ~/.steam ~/.steam.bak

 
  ## Ignore not found errors.. just a precaution
  rm -fv ~/.steampath ~/.steampid

  ##   Make sure steam is not running
  ps ax |grep -i steam

Then run steam, it should go through a new setup. Steam has a reset feature but given the unknown state of your config I wouldn't run it. You can manually move installed games from your old steam install. It's also worth noting the RPM must be installed properly to pull in any dependencies and even then you may still be missing some (32bit). Based on your error though I'd say something overwrote the system steam.sh.

h1z1 avatar Jan 01 '19 01:01 h1z1

Thanks for the feedback but the result is the same, after the verify command:

......... c /etc/profile.d/steam.csh ......... c /etc/profile.d/steam.sh ......... /usr/bin/steam ......... /usr/lib/firewalld/services/steam.xml ......... /usr/lib/steam ......... /usr/lib/steam/bootstraplinux_ubuntu12_32.tar.xz ......... /usr/lib/systemd/system.conf.d ......... /usr/lib/systemd/system.conf.d/01-steam.conf ......... /usr/lib/systemd/user.conf.d ......... /usr/lib/systemd/user.conf.d/01-steam.conf ......... /usr/lib/udev/rules.d/51-these-are-not-joysticks-rm.rules ......... /usr/lib/udev/rules.d/60-steam-input.rules ......... /usr/lib/udev/rules.d/60-steam-vr.rules ......... /usr/lib/udev/rules.d/99-shield-controller.rules ......... /usr/share/appdata/steam.appdata.xml ......... /usr/share/applications/steam.desktop ......... /usr/share/doc/steam-1.0.0.59 ......... d /usr/share/doc/steam-1.0.0.59/README ......... d /usr/share/doc/steam-1.0.0.59/README.Fedora ......... d /usr/share/doc/steam-1.0.0.59/changelog ......... /usr/share/icons/hicolor/16x16/apps/steam.png ......... /usr/share/icons/hicolor/24x24/apps/steam.png ......... /usr/share/icons/hicolor/256x256/apps/steam.png ......... /usr/share/icons/hicolor/32x32/apps/steam.png ......... /usr/share/icons/hicolor/48x48/apps/steam.png ......... /usr/share/licenses/steam-1.0.0.59 ......... l /usr/share/licenses/steam-1.0.0.59/COPYING ......... l /usr/share/licenses/steam-1.0.0.59/steam_subscriber_agreement.txt ......... d /usr/share/man/man6/steam.6.gz ......... /usr/share/pixmaps/steam.png ......... /usr/share/pixmaps/steam_tray_mono.png

And then after the other commands the same result:

Repairing installation, linking /home/mzigaib/.steam/steam to /home/mzigaib/.local/share/Steam Running Steam on centos 7 64-bit STEAM_RUNTIME is enabled automatically Pins up-to-date! /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 7: syntax error near unexpected token newline' /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 7: ' Installing breakpad exception handler for appid(steam)/version(0) /home/mzigaib/.local/share/Steam/steam.sh: line 889: 28837 Segmentation fault (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"

I don't know if this is just in Centos or if someone else with Centos have the same issue, would be good to know, all that I know is that it was working before and now it doesn't to be fair Centos just had some updates that messed somethings up but nothing big I also don't know if this can be a cause of this malfunction but I would really hope to get it working again, I just can't change the distro. Any help will be welcome thanks again for the feedback.

mzigaib avatar Jan 02 '19 00:01 mzigaib

Repairing installation, linking /home/mzigaib/.steam/steam to /home/mzigaib/.local/share/Steam

Are you sure you moved .steam to .steam.bak? You can rm / move /home/mzigaib/.local/share/Steam as well.

If you did the commands I gave it should have reinstalled steam.

h1z1 avatar Jan 02 '19 05:01 h1z1

Yes I am sure, but I'll do it again to be sure I also already tried to remove the steam and manually deleted all those directories and installed it again and I also had the same result. I also in my laptop which have the same system got a different but also a error:

Running Steam on centos 7 64-bit STEAM_RUNTIME is enabled automatically Installing breakpad exception handler for appid(steam)/version(0_client) /home/mzigaib/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds mv: cannot stat ‘/home/mzigaib/.steam/registry.vdf’: No such file or directory Installing bootstrap /home/mzigaib/.local/share/Steam/bootstrap.tar.xz Reset complete! Restarting Steam by request... Running Steam on centos 7 64-bit STEAM_RUNTIME has been set by the user to: /home/mzigaib/.local/share/Steam/ubuntu12_32/steam-runtime Installing breakpad exception handler for appid(steam)/version(0_client) /home/mzigaib/.local/share/Steam/ubuntu12_32/steam: symbol lookup error: /lib/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds

It is the first time i installed it there.

mzigaib avatar Jan 02 '19 17:01 mzigaib

Hello @mzigaib, that's #4816, and has various workarounds that are only needed on first run.

Also, the 1.0.0.56 steam package should not hit that issue in most cases.

kisak-valve avatar Jan 02 '19 17:01 kisak-valve

Thanks for the feedback, yeah I ran steam on Centos several times before with no issues but now something is different I'll take a look on the thread you posted and i'll let you know if i got some progress. Thanks.

mzigaib avatar Jan 02 '19 18:01 mzigaib

You could also consider migrating from your distro package to the Steam Flatpak. I've been running Flapak'd Steam on Fedora for half a year and it's pretty smooth.

Pobega avatar Jan 29 '19 14:01 Pobega

I was about to quit trying to use steam on Centos but there was a steam update and baamm, working again. it seems it was just a matter of a new update but i'll try the flatpak option next time. Thanks.

mzigaib avatar Jan 29 '19 19:01 mzigaib

I am having the same issue again after a fresh install on my system. I turned to Flatpak but it doesn't recognize the games installed on my external drive.

Any tips?

mzigaib avatar Mar 16 '19 16:03 mzigaib

Any chance you ended up running steam as different users? There are a few old bugs that appear never were patched upstream with regard to permissions

++ command -v tee
+ '[' /bin/tee '!=' '' ']'
+ mkdir -p --mode=777 /tmp/dumps
mkdir: cannot create directory ‘/tmp/dumps’: File exists
+ [[ -f /tmp/dumps/steam2_stdout.txt ]]
+ exec -a /home/steam2/.local/share/Steam/steam.sh /home/steam2/.local/share/Steam/steam.sh
+ tee /tmp/dumps/steam2_stdout.txt
tee: /tmp/dumps/steam2_stdout.txt: Not a directory
/home/steam2/.local/share/Steam/steam.sh: line 99: no match: **: 
+ rm -f /tmp/steam_chrome_shmem```

h1z1 avatar Mar 28 '19 16:03 h1z1

@mzigaib Flatpak uses a sandbox for running applications. This just means that the application doesn't request access to those external drives, and, as a result, doesn't get access.

kb-1000 avatar Mar 01 '20 13:03 kb-1000

Hello @mzigaib, are you still experiencing this issue on an up to date system?

It's not really clear what's gone wrong here besides the Steam runtime (~/.local/share/Steam/ubuntu12_32/steam-runtime) being partially or completely missing.

Moving/removing the steam-runtime folder should get Steam to re-unpack it the next time you try to run Steam, and a log of the terminal spew from that might give a hint.

kisak-valve avatar May 14 '21 13:05 kisak-valve