Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
`STEAM_RUNTIME=0 steam` won't start
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Thu Sep 14, 2017 7:57 am    Post subject: `STEAM_RUNTIME=0 steam` won't start Reply with quote

Gets to the logging in screen, and then my console is spammed with lines of:
Code:
appdatacache.cpp (2095) : Assertion Failed: !bSharedKVSymbols

Searching for answers this seems to be a very common problem caused by some missing library. Naturally since this is a port of a Windows program built to Windows quality standards, the error messages are all worthless and it's impossible to figure out what it wants. I've already given it everything that the steam-overlay ebuilds with USE=-steamruntime asked for. I saw a suggestion to run `DEBUGGER=gdb steam` somewhere, but that backtrace tells me nothing useful.

I know I can just set STEAM_RUNTIME=1, but that kind of defeats the point of polluting the rest of my system with hours of abi_x86_32 rebuilds to accommodate Valve's special child, no?

If anyone has any hints how to fix this properly, it'd be appreciated.
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Thu Sep 14, 2017 1:38 pm    Post subject: Reply with quote

I'm right in the same boat. I haven't figured it out either.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Sep 29, 2017 7:19 pm    Post subject: Reply with quote

Set both runtime flags.

STEAM_RUNTIME=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1


http://store.steampowered.com/news/26953/
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Fri Sep 29, 2017 8:21 pm    Post subject: Reply with quote

Naib wrote:
Set both runtime flags.

STEAM_RUNTIME=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1


http://store.steampowered.com/news/26953/


I haven't tried it yet, shouldn't STEAM_RUNTIME=0 and STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1? That way the steam runtime is turned off and the prefer host libraries is turned on? I'm not sure what the point is of turning on the steam runtime if you are using the system libraries anyway.

If somebody could explain the logic, that would help me to understand.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Fri Sep 29, 2017 10:02 pm    Post subject: Reply with quote

duby2291 wrote:
Naib wrote:
Set both runtime flags.

STEAM_RUNTIME=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1


http://store.steampowered.com/news/26953/


I haven't tried it yet, shouldn't STEAM_RUNTIME=0 and STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1? That way the steam runtime is turned off and the prefer host libraries is turned on? I'm not sure what the point is of turning on the steam runtime if you are using the system libraries anyway.

If somebody could explain the logic, that would help me to understand.


no, with STEAM_RUNTIME=0 then the host libs are always used and thus STEAM_RUNTIME_PREFER_HOST_LIBRARIES is redundant (as you have already told steam to use host)
With STEAM_RUNTIME = 1 & STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 then Steam with always used the libraries it is shipped with regardless of whether the host has newer or more compatbible versions
With STEAM_RUNTIME=1 & STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 then Steam will use the libraries it is shipped with, unless there are newer versions on the host machine
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Fri Sep 29, 2017 10:53 pm    Post subject: Reply with quote

Naib wrote:
duby2291 wrote:
Naib wrote:
Set both runtime flags.

STEAM_RUNTIME=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1


http://store.steampowered.com/news/26953/


I haven't tried it yet, shouldn't STEAM_RUNTIME=0 and STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1? That way the steam runtime is turned off and the prefer host libraries is turned on? I'm not sure what the point is of turning on the steam runtime if you are using the system libraries anyway.

If somebody could explain the logic, that would help me to understand.


no, with STEAM_RUNTIME=0 then the host libs are always used and thus STEAM_RUNTIME_PREFER_HOST_LIBRARIES is redundant (as you have already told steam to use host)
With STEAM_RUNTIME = 1 & STEAM_RUNTIME_PREFER_HOST_LIBRARIES=0 then Steam with always used the libraries it is shipped with regardless of whether the host has newer or more compatbible versions
With STEAM_RUNTIME=1 & STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1 then Steam will use the libraries it is shipped with, unless there are newer versions on the host machine


Ah ok, That makes perfect sense. I suppose Steam's runtime has libraries in it that I don't have installed, and that is why it won't start with STEAM_RUNTIME=0. But, if that's true, shouldn't the ebuild pull them in as a dependency so that wouldn't happen?
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Sep 30, 2017 10:08 am    Post subject: Reply with quote

That's assuming the ebuild keeps up with the libraries that steam bundles.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Sat Sep 30, 2017 3:17 pm    Post subject: Reply with quote

Naib wrote:
That's assuming the ebuild keeps up with the libraries that steam bundles.


So then that indicates to me that the Steam ebuild is not keeping up with the libraries bundled in the runtime. Something should be done about that.
Back to top
View user's profile Send private message
geki
Advocate
Advocate


Joined: 13 May 2004
Posts: 2387
Location: Germania

PostPosted: Sun Oct 01, 2017 8:23 pm    Post subject: Reply with quote

I got STEAM_RUNTIME=0 steam to launch client application. I had to merge some packages by hand or add 32bit abi or both.
The console output actually pointed me to where to look at. If additions below, plus refs[0][1], do not help, please pastebin the output, so that I may look at it.

/etc/portage/package.use/32bit.conf wrote:
# merged by hand
media-libs/libcanberra abi_x86_32
media-libs/libsdl2 abi_x86_32
x11-themes/gtk-engines-murrine abi_x86_32
# missing meta ^^^^

/etc/portage/package.use/various.conf wrote:
media-libs/libcanberra gtk
media-libs/libsdl2 X dbus joystick pulseaudio sound tslib video xscreensaver

JFYI, I just did not want to install networkmanager, so I started STEAM_RUNTIME=1 steam, copied libnm-* libraries, removed steam-runtime again and am happy now.

Code:
STEAM_RUNTIME=1 steam
cd ~/.local/share/Steam/
cp ubuntu12_32/steam-runtime/i386/usr/lib/libnm-* ubuntu12_32/
rm -rf ubuntu12_32/steam-runtime*
cd -

I hope this helps. :roll:

[0] steam-launcher package.use changes
https://github.com/geki-yaba/gekis-salt-seed/commit/81108340663bd11f660432ec0176c2e8f245e876#diff-c2788e19b819b12f4b9b8969653490b1
[1] manual labour
https://github.com/geki-yaba/gekis-salt-seed/commit/6b1dffc0050d160125f6b4dc7de4f100e70fde5d#diff-c2788e19b819b12f4b9b8969653490b1
_________________
hear hear
Back to top
View user's profile Send private message
psycho_driver
n00b
n00b


Joined: 03 Feb 2011
Posts: 20

PostPosted: Sat Oct 13, 2018 11:02 pm    Post subject: Reply with quote

Here's my eventual ~/.local/bin/steam launcher script that got STEAM_RUNTIME=0 working. Current libva versions are .2 and steam wants .1. Same with udev .1 to .0. Only the one nm library link was needed for me to get things working. The apulse thing is just if you have the good sense to avoid poetteringware on your machine.

Code:

#!/bin/bash

mkdir -p /tmp/steam-libs
ln -s /usr/lib32/libva.so.2 /tmp/steam-libs/libva.so.1
ln -s /usr/lib32/libva-x11.so.2 /tmp/steam-libs/libva-x11.so.1
ln -s /usr/lib32/libudev.so.1 /tmp/steam-libs/libudev.so.0
ln -s /home/ixion/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnm-util.so.2 /tmp/steam-libs/

LD_LIBRARY_PATH=/usr/lib32/apulse:/tmp/steam-libs:$LD_LIBRARY_PATH STEAM_RUNTIME=0 SDL_AUDIODRIVER=alsa /usr/bin/steam "$@"

_________________
Gentoo user since 2001 or 2002? <- Early onset dementia thanks to dementia.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players 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