You are not logged in.

#1 2015-12-11 20:09:00

choolz
Member
Registered: 2015-01-12
Posts: 12

[Solved] steam doesn't open with primusrun

hello
after i updated my system yesterday, i get an error when i put
# primusrun steam
and the error is:
Fatal Error: failed to load steamui.so
i don't seem to find any solution for this anywhere.
can anyone help me out?
thank you in advanced.

Last edited by choolz (2015-12-15 16:34:14)

Offline

#2 2015-12-11 20:19:10

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [Solved] steam doesn't open with primusrun


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2015-12-11 20:25:19

choolz
Member
Registered: 2015-01-12
Posts: 12

Re: [Solved] steam doesn't open with primusrun

thanks Trilby. i did all those stuff but still getting the same error.. sad

Offline

#4 2015-12-11 20:28:23

choolz
Member
Registered: 2015-01-12
Posts: 12

Re: [Solved] steam doesn't open with primusrun

i should note that steam opens when i type #steam in the terminal. however i get that error when i do #primusrun steam

Offline

#5 2015-12-12 01:01:03

varg04444
Member
From: Colombia
Registered: 2009-09-26
Posts: 22

Re: [Solved] steam doesn't open with primusrun

Same here. I read all old post, but the issue still happens


[EN] In the world there are 10 kinds of people, those who understand binary and those who not.
[ES] En el mundo hay 10 tipos de personas, las que entienden binario y las que no.

Offline

#6 2015-12-12 13:30:11

GreenTuxer
Member
From: Lisboa, Portugal
Registered: 2013-06-06
Posts: 15
Website

Re: [Solved] steam doesn't open with primusrun

Exactly the same issue here. Without primusrun works, with primusrun I get that error. I already removed the folder .local/share/Steam, which created a new one, but the same occurrs...

Last edited by GreenTuxer (2015-12-12 13:31:03)

Offline

#7 2015-12-12 15:16:49

stormhaden
Member
Registered: 2013-10-02
Posts: 6

Re: [Solved] steam doesn't open with primusrun

Try it with `LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' primusrun steam`.

The error happens because primus's libGL.so is looking for a symbol not available in the steam runtime libstdc++.so (or something along these lines). The above command basically makes it so that steam will use the system's libstdc++, libgcc and libxcb instead of its bundled versions.

You can start steam with 'LD_DEBUG=libs primusrun steam` if you want to dig further.

Last edited by stormhaden (2015-12-12 15:18:20)

Offline

#8 2015-12-12 17:42:15

choolz
Member
Registered: 2015-01-12
Posts: 12

Re: [Solved] steam doesn't open with primusrun

hello Stormhaden
that almost made me think it's going to work, but it didn't. same error sad

Last edited by choolz (2015-12-12 17:42:38)

Offline

#9 2015-12-13 18:57:56

Heis
Member
Registered: 2015-12-13
Posts: 16

Re: [Solved] steam doesn't open with primusrun

I had the same error since yesterday when attempting to use primus. Like OP, it worked with both optirun alone and without bumblebee altogether. unlike OP, however, stormhaden's solution worked here. The command i now use to run steam is the following:

vblank_mode=0 LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' optirun -b primus steam

Last edited by Heis (2015-12-13 18:58:29)

Offline

#10 2015-12-13 20:32:27

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [Solved] steam doesn't open with primusrun

I don't have my laptop handy, but there is a command I use to remove steam's built-in and offending libraries, thereby causing steam to use Arch's system libraries. This should be on the wiki, though I haven't found it yet. Note that I don't use primus, so this may not be an option for you.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#11 2015-12-14 16:11:59

choolz
Member
Registered: 2015-01-12
Posts: 12

Re: [Solved] steam doesn't open with primusrun

Heis wrote:

I had the same error since yesterday when attempting to use primus. Like OP, it worked with both optirun alone and without bumblebee altogether. unlike OP, however, stormhaden's solution worked here. The command i now use to run steam is the following:

vblank_mode=0 LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1' optirun -b primus steam


haha this worked thanks big_smile

Offline

#12 2015-12-14 16:15:41

choolz
Member
Registered: 2015-01-12
Posts: 12

Re: [Solved] steam doesn't open with primusrun

but works only with the above comment not the usual #primusrun steam

Offline

#13 2016-12-04 09:46:15

guss77
Member
Registered: 2016-12-04
Posts: 3

Re: [Solved] steam doesn't open with primusrun

On my system (KDE Neon 5.8 aka Ubuntu 16.04 on Dell E5540), the following command worked well:

vblank_mode=0 LD_PRELOAD='/lib/x86_64-linux-gnu/libgcc_s.so.1 /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /usr/lib/x86_64-linux-gnu/libxcb.so.1 
  /lib/i386-linux-gnu/libgcc_s.so.1 /usr/lib/i386-linux-gnu/libstdc++.so.6 /usr/lib/i386-linux-gnu/libxcb.so.1' primusrun steam

The problem is that the Steam runtime is a 32-bit application, so you have to preload the 32 bit libraries, but some (most?) games are 64 bit and will not load without the 64 bit libraries. The result is a lot of error messages, but it seems to mostly work. It even starts Bioshock infinite for me, which didn't load on IGC due to no Open-GL 4 on Mesa, but started on optirun (didn't play, but I will solve that later).

Last edited by guss77 (2016-12-04 09:46:36)

Offline

Board footer

Powered by FluxBB