You are not logged in.

#1 2017-05-01 20:49:05

VinceNardelli
Member
From: London
Registered: 2017-03-12
Posts: 41

[SOLVED] Steam Runtime or Native?

Hello guys,
after tweaking around, hoping and loud prayers I have finally steam working in Native.

I had that ugly missing libraries message when I launched Steam-Native at first, but now it seems I have done something good to actually install it correctly.

Now, however it seems it is going but...
This is the message I have when I launch via terminal:

/home/vince/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
/home/vince/.local/share/Steam/steam.sh: line 154: VERSION_ID: unbound variable
Running Steam on arch  64-bit
STEAM_RUNTIME is disabled by the user

I disabled Runetime as you can see, hoping to force STEAM-NATIVE.
However, when steam starts, on the application bar (using GNOME) the name is "Steam (Runtime)" which makes me suspect I am actually running Runtime, not Native.

Is there any way to see for certain what version of steam am I running?

This seems quite silly I know, but I had problems running Civ6 and having Steam Native running seems key.

Best !

Last edited by VinceNardelli (2017-05-04 13:06:44)

Offline

#2 2017-05-01 23:11:36

Rethil
Member
Registered: 2014-08-21
Posts: 83

Re: [SOLVED] Steam Runtime or Native?

I really don't get it.
Arch has 2 packages in multilib: steam and steam-native-runtime.
What to do to install steam native runtime:
1. Uncomment multilib in /etc/pacman.conf
2. Synchronize package databases.
3. Install steam and steam-native-runtime.
Now you shoud have 2 entries in your DE, one with (native) and other with (runtime) or/and 2 commands avalible - steam, steam-native.
Steam (Native), steam-native - up-to-date libs, STEAM_RUNTIME disabled.
Steam (Runtime), steam - STEAM_RUNTIME enabled.

Last edited by Rethil (2017-05-01 23:12:47)

Offline

#3 2017-05-02 09:53:42

VinceNardelli
Member
From: London
Registered: 2017-03-12
Posts: 41

Re: [SOLVED] Steam Runtime or Native?

I will try to reinstall Steam. At the moment my problem is that I can't seem to run steam native even if I disable steam runtime

Offline

#4 2017-05-03 00:42:11

olegabrielz
Member
From: Norway
Registered: 2015-12-23
Posts: 255

Re: [SOLVED] Steam Runtime or Native?

I don't believe you understood what Rethil was trying to tell you. How did you install steam and steam-native-runtime? What tweaking are you talking about? How do you try to start 'steam-native'? (hint, hint)
And just to be sure please also post the output of:

uname -a

Be aware of my Newbie Powers

Offline

#5 2017-05-03 10:06:24

VinceNardelli
Member
From: London
Registered: 2017-03-12
Posts: 41

Re: [SOLVED] Steam Runtime or Native?

I followed the arch wiki, specifically:
-  I uncommented multilib in the pacman conf through nano editor as superuser (su)
- I installed the Nvidia drivers, also the 32bit libraries.
-Installed the arial font (ttf-liberation)
- installed Nvidia and nvidia-native-runtime

At this point Steam runs good, however it seems to always switch back to steam runtime.
I execute via command prompt "steam-native" but it still seems to go back to runtime.
I executed STEAM_RUNTIME=0 to disable runtime manually but still no change.

When I say tweaking I mean installing missing libraries and on the specific game in steam, on Set launch option I add (as wiki suggests) : LD_PRELOAD='./libcxxrt.so:/usr/$LIB/libstdc++.so.6' %command%

This solved the problem for Civilisation V. However, Civilisation Vi is still not starting.

Furthermore, I installed through the AUR, the package "libopensll-1.0-compat" and this solved my launch for Deus Ex.
Now... This is what I mean by tweaking, more or less.. I followed the wiki and tried my best. I solved some of the problems, not all.

I just wanted to solve my steam native lunch problem, which seems to switch back to runtime.
For the uname -a , I will update it on here as soon as I get home.

Offline

#6 2017-05-03 10:41:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Steam Runtime or Native?

I feel there's some misunderstanding here. From what I gather the only reason you think that it "switches back to runtime" is because the entry in your launcher still contains some runtime string? That really isn't indicative of much, and that entry is usually replaced by whatever the WM resp. the running program decides to set the title at. There are many other indicators (terminal output of the respective commands, games that start/stop to work on one set or the other) which are from what I gather evidently present and working no matter if you start via terminal or the desktop entry. Your focus should be on what you have to do to get specific games working therefore looking at the terminal output of a run when you start a game and maybe post the output you got from that. On a system that often requires steam-native you'd probably be better off by making sure you are always starting the (Native) launcher (which AFTER the start might be replaced by steam-runtime in your launcher because that's the window title, it should still have started the correct version as will be evident by trying games that you know break on RUNTIME=1 but work on RUNTIME=0)

Offline

#7 2017-05-03 18:53:00

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Steam Runtime or Native?

So you are using the NVIDIA drivers? With NVIDIA, you shouldn't use a native runtime. You should just use the normal Steam without any changes done to it, meaning let Steam use its own runtime that ships with it.

Offline

#8 2017-05-03 21:21:30

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [SOLVED] Steam Runtime or Native?

@Ropid; Where are you getting that nonsense from?


@VinceNardelli; As V1del said, I also suspect there is a bit of a misunderstanding probably caused by the title set by the application and shown by the WM.
If the log tells you "STEAM_RUNTIME is disabled by the user", you're running native.

For the problem with Civ6, you could try to run Civ6 once when not using native. If it ends up working at that point you get to know 2 things for sure; you were indeed running native earlier and the problem is most likely caused by an incompatible/missing library on your system.
But regardless of if it does or does not work in any runtime, your best bet is to check the logs when you run Civ6. These should at the very least give you an indication on where to start looking.

Last edited by Omar007 (2017-05-03 21:27:51)

Offline

#9 2017-05-03 21:48:12

Ropid
Member
Registered: 2015-03-09
Posts: 1,069

Re: [SOLVED] Steam Runtime or Native?

Why do you think it's nonsense? It seems there's nothing in that "Steam Runtime" that has problems with nvidia's OpenGL libraries. If it works, then you might want to use it and not replace it as games might depend on the old libraries in it.

Offline

#10 2017-05-04 08:06:17

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: [SOLVED] Steam Runtime or Native?

By your logic you're basically saying 'never use native if it runs fine in non-native'.

And that logic can very easily be inverted as well if something is running fine on native: It seems there's nothing in the native runtime that causes problems with [INSERT APPLICATION HERE]. If it works, you might want to use that as it will provide you with the latest and greatest functionality. (an example would be SDL with new controller support, up-to-date mappings, proper Xwayland pointer locking etcetc.)

In other words, there is no inherently 'better' choice between native or not. It totally depends on the specific application you're trying to run (and at that point the cause can be any library, not specifically nVidia).
Personally, I ALWAYS use native first and only when I encounter issues, try the Steam Runtime instead to see if there is a difference. Times I had to use the Steam Runtime instead of native so far: 0. Though I have personally not played any Civ games.

Last edited by Omar007 (2017-05-04 08:13:19)

Offline

#11 2017-05-04 10:00:35

VinceNardelli
Member
From: London
Registered: 2017-03-12
Posts: 41

Re: [SOLVED] Steam Runtime or Native?

I see. Well I clarified my question. It seems the application won't say "native" on the window, but if I execute it, it will work. Thanks to you all for the great support. smile All the best!

Offline

#12 2017-05-04 10:36:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [SOLVED] Steam Runtime or Native?

Please mark as [SOLVED] or similar by editing the title in your initial post if you feel the question has been answered

Offline

Board footer

Powered by FluxBB