Steam for Linux

Steam for Linux

Zehtonic Sep 25, 2020 @ 9:15pm
Problem whit Linux Ubuntu 18.04
Im trying to open Among Us, and the game closes every time when i wanna play this ♥♥♥♥♥♥♥ game, i've never played a game in ubuntu, i need to install something??
< >
Showing 1-15 of 19 comments
Zyro Sep 25, 2020 @ 11:19pm 
Among Us doesn't support Linux, but it works with a little tinkering for most people.
Read here: https://www.protondb.com/app/945360
Marlock Sep 26, 2020 @ 5:17am 
Windows exclusive games can be run on Steam on Linux via Proton, which you probably already enabled in steam settings but may need some other requirements to be met. Steam itself has a couple needs that weren't taken care of by default on Ubuntu 18.04 yet (eg: vulkan libs weren't yet installed by default on that distro version, to much critic at the time of launch) and on Ubuntu in general (the 32bit versions of libs aren't installed by default, or even the 32bit arch enabled)

For steam games in general, not even just for Proton games, these steps may help:

1) enable support for 32-bit libs
sudo dpkg --add-architecture i386

2) update local cache list of installable packages
sudo apt update

3A) for Intel and AMD GPUs: install vulkan and opengl libs in 64bit and 32bit versions plus respective testing tools:
sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 libgl1-mesa-dri libgl1-mesa-dri:i386 mesa-utils mesa-utils:i386 vulkan-utils vulkan-utils:i386
OR
3B) for Nvidia GPUs: (re)install the proprietary drivers to ensure opengl and vulkan libs are properly installed including 32bit versions (now that 32bit support is enabled)
sudo apt install --reinstall nvidia-driver-XXX/
(where XXX is the current installed version)


Then check items [2] and [4] here for general help getting proton games to behave properly:
https://steamcommunity.com/app/221410/discussions/0/2515771867783119938/#c2566437997129363475
Last edited by Marlock; Sep 26, 2020 @ 5:22am
1chard Sep 26, 2020 @ 12:58pm 
Remember that you can't use proton 5.0 if you dont have a working vulkan drivers or set "PROTON_USE_WINED3D=1 %command%" at launch options, or all games will fail to start and instant crash.
longgoneby Oct 11, 2020 @ 7:59pm 
"E: Unable to locate package mesa-utils:i386
E: Unable to locate package vulkan-utils:i386"
I did everything why isn't this working
Marlock Oct 11, 2020 @ 10:24pm 
Originally posted by the piss monster of aber-deen:
"E: Unable to locate package mesa-utils:i386
E: Unable to locate package vulkan-utils:i386"
I did everything why isn't this working
if those are the only missing ones, then fine... the "utils" packages are just for installing testing tools so not really needed

they're probably under a slightly different name or so
longgoneby Oct 12, 2020 @ 12:06pm 
Originally posted by Marlock:
Originally posted by the piss monster of aber-deen:
"E: Unable to locate package mesa-utils:i386
E: Unable to locate package vulkan-utils:i386"
I did everything why isn't this working
if those are the only missing ones, then fine... the "utils" packages are just for installing testing tools so not really needed

they're probably under a slightly different name or so
Alright I'm pretty damn stupid so I'm just gonna ask, is this supposed to fix the issue?
Marlock Oct 12, 2020 @ 1:13pm 
Originally posted by the piss monster of aber-deen:
Originally posted by Marlock:
if those are the only missing ones, then fine... the "utils" packages are just for installing testing tools so not really needed

they're probably under a slightly different name or so
Alright I'm pretty damn stupid so I'm just gonna ask, is this supposed to fix the issue?

the utils packages are just so you could later run vulkan and opengl test software... not actually needed to fix the issue, only to confirm if those components are ok (so if the game doesn't work, at least you can stop digging there and start looking for other issues)

the actual fix depends on having an Intel/AMD or an Nvidia GPU, as mentioned in 3A and 3B here:

Originally posted by Marlock:
For steam games in general, not even just for Proton games, these steps may help:

1) enable support for 32-bit libs
sudo dpkg --add-architecture i386

2) update local cache list of installable packages
sudo apt update

3A) for Intel and AMD GPUs: install vulkan and opengl libs in 64bit and 32bit versions plus respective testing tools:
sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386 libgl1-mesa-dri libgl1-mesa-dri:i386 mesa-utils mesa-utils:i386 vulkan-utils vulkan-utils:i386
OR
3B) for Nvidia GPUs: (re)install the proprietary drivers to ensure opengl and vulkan libs are properly installed including 32bit versions (now that 32bit support is enabled)
sudo apt install --reinstall nvidia-driver-XXX/
(where XXX is the current installed version)


But maybe lets take it step by step with you...

Can you get us more info on you specific config? Go to Steam > Help > System Info > copy/paste it here in the thread...
Last edited by Marlock; Oct 12, 2020 @ 1:13pm
longgoneby Oct 12, 2020 @ 2:46pm 
Well, first of all, the games are now back to crashing the whole PC.

Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected

Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD A9-9410 RADEON R5, 5 COMPUTE CORES 2C+3G
CPU Family: 0x15
CPU Model: 0x70
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 2900 Mhz
2 logical processors
2 physical processors
HyperThreading: Unsupported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Unsupported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Unsupported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported

Operating System Version:
Ubuntu 20.04.1 LTS (64 bit)
Kernel Name: Linux
Kernel Version: 5.4.0-48-generic
X Server Vendor: The X.Org Foundation
X Server Release: 12008000
X Window Manager: GNOME Shell
Steam Runtime Version: steam-runtime_0.20201005.0

Video Card:
Driver: X.Org AMD STONEY (DRM 3.37.0, 5.4.0-48-generic, LLVM 10.0.0)
Driver Version: 4.5 (Compatibility Profile) Mesa 20.0.5
OpenGL Version: 4.5
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 59 Hz
VendorID: 0x1002
DeviceID: 0x98e4
Revision Not Detected
Number of Monitors: 1
Number of Logical Video Cards: 1
Primary Display Resolution: 1366 x 768
Desktop Resolution: 1366 x 768
Primary Display Size: 13.54" x 7.64" (15.51" diag)
34.4cm x 19.4cm (39.4cm diag)
Primary VRAM: 512 MB

Sound card:
Audio device: ATI R6xx HDMI

Memory:
RAM: 7415 Mb

VR Hardware:
VR Headset: None detected

Miscellaneous:
UI Language: English
LANG: en_CA.UTF-8
Total Hard Disk Space Available: 447254 Mb
Largest Free Hard Disk Block: 267653 Mb

The runtime information tool is preparing a report, please wait...
Marlock Oct 12, 2020 @ 8:37pm 
ah, I see... you have an old AMD A9 2-core APU and the video is just the on-chip stuff, no dedicated graphics

I'm not sure about this without doing some ectra searching (very late now, going to sleep in a minute) but it looks like it might not support vulkan at all, or it may be one of those early batches of chip models supported by AMDGPU which aren't quite so stable...

...not to mention it has very weak cpu and gpu processing power, and quite short video memory available, so some lockups may just be the poor fellow being pushed too far?
Last edited by Marlock; Oct 12, 2020 @ 8:37pm
longgoneby Oct 12, 2020 @ 8:44pm 
Originally posted by Marlock:
ah, I see... you have an old AMD A9 2-core APU and the video is just the on-chip stuff, no dedicated graphics

I'm not sure about this without doing some ectra searching (very late now, going to sleep in a minute) but it looks like it might not support vulkan at all, or it may be one of those early batches of chip models supported by AMDGPU which aren't quite so stable...

...not to mention it has very weak cpu and gpu processing power, and quite short video memory available, so some lockups may just be the poor fellow being pushed too far?
well then how did it run these games just fine on windows?
Zyro Oct 13, 2020 @ 4:23am 
Originally posted by the piss monster of aber-deen:
well then how did it run these games just fine on windows?

Are we still talking about Among Us? It doesn't support Linux...!
Your weak hardware would need to cope with an extra level of complexity (WINE/Proton)...

Additional problems probably arise because AMD has ramped up their drivers Linux massively in the last years - but probably not for years old entry level embedded GPUs. So, you might not profit too much from these improvements.
longgoneby Oct 13, 2020 @ 3:50pm 
Originally posted by Zyro:
Originally posted by the piss monster of aber-deen:
well then how did it run these games just fine on windows?

Are we still talking about Among Us? It doesn't support Linux...!
Your weak hardware would need to cope with an extra level of complexity (WINE/Proton)...

Additional problems probably arise because AMD has ramped up their drivers Linux massively in the last years - but probably not for years old entry level embedded GPUs. So, you might not profit too much from these improvements.
What? I'm talking about games like Call of Duty: World at War and Fallout: New Vegas. They were completely able to run these games at above 60 FPS on Windows, especially with recent drivers.
Zyro Oct 13, 2020 @ 11:30pm 
Originally posted by the piss monster of aber-deen:
What? I'm talking about games like Call of Duty: World at War and Fallout: New Vegas. They were completely able to run these games at above 60 FPS on Windows, especially with recent drivers.

Everything I wrote applies to those as well.
You asked why you could play the games just fine on Windows but not on Linux, and (part of) the answer is: These games do not support Linux.
longgoneby Oct 14, 2020 @ 3:32pm 
Originally posted by Zyro:
Everything I wrote applies to those as well.
You asked why you could play the games just fine on Windows but not on Linux, and (part of) the answer is: These games do not support Linux.
I think you don't understand what I'm saying. I know they aren't native to Linux, but you're telling me my computer is bad and can't run these games. Even though when I was on windows, the performance wasn't awful.
Marlock Oct 14, 2020 @ 7:17pm 
Originally posted by the piss monster of aber-deen:
Originally posted by Zyro:
Everything I wrote applies to those as well.
You asked why you could play the games just fine on Windows but not on Linux, and (part of) the answer is: These games do not support Linux.
I think you don't understand what I'm saying. I know they aren't native to Linux, but you're telling me my computer is bad and can't run these games. Even though when I was on windows, the performance wasn't awful.
Your computer isn't "bad", that's not the point.

tl;dr:

fitting a square block into a round hole is expensive


long version:

Your computer needs to have more power on linux than on windows to run the same task due to the extra effort required to translate windows system calls into linux system calls.

This process has a high cost depending on how it is done, and that is especially true when DirectX calls need to be translated into OpenGL calls due to absent or incomplete Vulkan suport.

If the game was designed for OpenGL on windows, this extra cost (called "overhead") would be minimal even over old hardware.

If DXVK could be used to translate DirectX into Vulkan, it would also be much smaller.

If you had a much stronger computer, the extra effort wouldn't sink the resulting performance below acceptable levels.

And if the game devs released a native linux version properly optimized for using OpenGL, as they optimized it for DirectX on Windows, all would probably work well too.
< >
Showing 1-15 of 19 comments
Per page: 1530 50

Date Posted: Sep 25, 2020 @ 9:15pm
Posts: 19