Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem running steam OS in gentoo...
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
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Wed Feb 07, 2018 3:09 pm    Post subject: problem running steam OS in gentoo... Reply with quote

Dear All,

I installed steam OS in gentoo testing (amd64) on a kaveri box.

I had to change some file permissions because it wants you to be a user not root etc but it did eventually fire up as follows:

Code:
mikef@djt ~/steam $ ./steam
Setting up Steam content in /home/mikef/.local/share/Steam
cp: cannot stat '/usr/share/applications/steam.desktop': No such file or directory
chmod: cannot access '/home/mikef/Desktop/steam.desktop': No such file or directory
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Warning: locale not supported by Xlib, locale set to C
Couldn't find dpkg, please update steamdeps for your distribution.
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Running Steam on gentoo  64-bit
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast



I checked with a google search on the errors I see here. The people in ARCH linux were saying that removing certain libc related libraries
could help fix this etc.

Does anyone know of a gentoo version of those fixes?

Cheers

Michael Fothergill

PS I found a recommendation in another post on gentoo on steam suggesting these files be removed (looks similar to the ARCH linux suggestions):

Code:
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/lib/i386-linux-gnu/libgcc_s.so.1
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/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libxcb.so.1
rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libgpg-error.so.0
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1108
Location: Romania

PostPosted: Wed Feb 07, 2018 7:51 pm    Post subject: Reply with quote

I use this:
Code:

find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Thu Feb 08, 2018 12:20 pm    Post subject: Reply with quote

Many thanks for this.

I tried running the command as follows:

Code:
djt /home/mikef # find ~/.local/share/Steam/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete
find: ‘/root/.local/share/Steam/’: No such file or directory


Do you think I have forgotten to install something here?

When I run steam I get the following output:

Code:
mikef@djt ~/steam $ ./steam
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Couldn't find dpkg, please update steamdeps for your distribution.
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Running Steam on gentoo  64-bit
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
STEAM_RUNTIME is enabled automatically
Installing breakpad exception handler for appid(steam)/version(0)
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: radeonsi_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: radeonsi
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast



Comments appreciated

Cheers

MF

PS I am running gentoo testing with gcc 7.3 etc. I am using mesa 17.3.3 or whatever it is not the 18 rc3 etc.



I think I am too up to date for steam and confusing it perhaps.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


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

PostPosted: Thu Feb 08, 2018 12:46 pm    Post subject: Reply with quote

STEAM comes with a variable to prefer system libraries over bundle libraries to mitigate this. please set this
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Thu Feb 08, 2018 1:32 pm    Post subject: Reply with quote

Many thanks for advice.

Are you referring to something like this:

Quote:
The question is how developers can verify that their games don't rely on external dependencies. I'm no C expert, but I think using ldd on the binary and comparing with Steam SDK libs and bundled libs should be enough and quite easy. Alternatively developers could override LD_LIBRARY_PATH to point just to Steam SDK and their bundled libs (and avoid system libs directories) and try whether their game works. I'm sure Valve devs can supply an easy howto guide to game developers (and quite possibly already did somewhere in their guides collections).


which I found here:

https://www.gamingonlinux.com/articles/valve-rep-confirms-why-some-games-have-their-steamos-icon-removed.6092

I will nose around further on this.

Cheers

MF
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1108
Location: Romania

PostPosted: Thu Feb 08, 2018 3:07 pm    Post subject: Reply with quote

Run the command as the user or use the full path:
Code:

find [STEAM_PATH] \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" \) -print -delete


You can also try with "STEAM_RUNTIME=0 steam".
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Fri Feb 09, 2018 2:50 pm    Post subject: Reply with quote

Many thanks again here,

I ran make install as root in the steam directory and then became a user and ran
Code:
STEAM_RUNTIME=0 steam


and to my surprise it steam actually fired up and installed a lot of updates.

after doing so it became a bit unhappy saying that some 32 bit libraries were missing
and conked out....

see here


Code:
Restarting Steam by request...
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Couldn't find dpkg, please update steamdeps for your distribution.
/home/mikef/.local/share/Steam/steam.sh: line 152: DISTRIB_RELEASE: unbound variable
Running Steam on gentoo  64-bit
STEAM_RUNTIME is disabled by the user
Error: You are missing the following 32-bit libraries, and Steam may not run:
libva.so.1
libvdpau.so.1
libva.so.1
libva-x11.so.1
Installing breakpad exception handler for appid(steam)/version(1513371133)
Installing breakpad exception handler for appid(steam)/version(1513371133)
Failed to load steamui.so - dlerror(): libva.so.1: cannot open shared object file: No such file or directory
[2018-02-09 14:45:27] Startup - updater built Dec 15 2017 11:47:44
[2018-02-09 14:45:27] Verifying installation...
[2018-02-09 14:45:27] Verification complete
[2018-02-09 14:45:32] Shutdown
mikef@djt ~/steam $


Any suggestions or workarounds here?

Cheers

MF
Back to top
View user's profile Send private message
sebaro
Veteran
Veteran


Joined: 03 Jul 2006
Posts: 1108
Location: Romania

PostPosted: Fri Feb 09, 2018 6:56 pm    Post subject: Reply with quote

Why don't you try the steam ebuilds, they work for me:
https://github.com/anyc/steam-overlay/tree/master/games-util
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


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

PostPosted: Fri Feb 09, 2018 7:06 pm    Post subject: Reply with quote

STEAM_FRAME_FORCE_CLOSE=1
STEAM_RUNTIME_PREFER_HOST_LIBRARIES=1
STEAM_RUNTIME=1

set these...don't just delete ibraries ... they exist for a reason and THAT is why steam has an env variable to prefer system libraries when relevant
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
mikefot
Apprentice
Apprentice


Joined: 19 Nov 2014
Posts: 299

PostPosted: Fri Feb 09, 2018 7:40 pm    Post subject: Reply with quote

Many thanks again,

When you sat "set" these things, do I issue them as commands when I
start the steam OS up or are these environment pathway command type things?

Cheers

MF

PS wait a minute they look like steam commands that set environment variables but the steam runtime =0
must be one too I guess......

PPS

I entered the three commands at the user terminal

followed by

steam

and it fired up and is asking me to create a new account......

Cheers!!!!!!!!!!!!!!!!!!!!!!!!!!!
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