Steam for Linux

Steam for Linux

此主題已被鎖定
1nsaNe-iwnl 2019 年 3 月 5 日 下午 8:56
[SOLVED!]Can't start steam on Linux Mint 19.1 Tessa.
I am not able to open steam on my install of linux mint. I used the .deb file at first. I saw somewhere that the .deb file is... not the latest. I then ran

sudo apt install steam:i386

It seemed to work at first, then.. I saw the following

STEAM_RUNTIME has been set by the user to: /home/john/.steam/ubuntu12_32/steam-runtime
Pins up-to-date!
Error: You are missing the following 32-bit libraries, and Steam may not run:
libc.so.6
[2019-03-06 10:22:01] Startup - updater built Feb 18 2019 22:08:53
[2019-03-06 10:22:01] Verifying installation...
[2019-03-06 10:22:01] Verification complete
[2019-03-06 10:22:02] Shutdown



Kindly help me. Thank you!
最後修改者:1nsaNe-iwnl; 2019 年 3 月 8 日 下午 10:39
< >
目前顯示第 16-30 則留言,共 92
1nsaNe-iwnl 2019 年 3 月 6 日 上午 5:34 
It's not for Mint and I don't think it will help a lot if it stopped working...
What isn't for mint? OHHH... The tutorial... sorry
最後修改者:1nsaNe-iwnl; 2019 年 3 月 6 日 上午 5:40
Marlock 2019 年 3 月 6 日 上午 9:51 
A word of advise about Linux Mint: when in doubt it should be treated like Ubuntu not like Debian.

There are very little differences regarding the basic building blocks and available packages, etc.

LM19 and 19.1 specifically are based on Ubuntu 18.04.

About the current error, since TS (whatever happened to "OP"="Original Poster"?!:steammocking:) has an Nvidia GPU there is a high chance it is just missing 32-bit libs that should have been pulled in when the driver was installed...

To fix it, I'd recommend these steps:

sudo dpkg --add-architecture i386 && sudo apt update sudo apt install python3 sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt purge nvidia-driver-* sudo apt install nvidia-driver-XXX
....and reboot

XXX => replace by desired available nvidia driver version...

The latest branch available on this PPA is 415, which is also the recommended one if TS is going to play windows-only games via Proton, as per the Proton Requirements page:
https://github.com/ValveSoftware/Proton/wiki/Requirements
Aoi Blue 2019 年 3 月 6 日 下午 1:53 
OK. First make sure you are using the Steam package from your distro. This has updated dependent package lists for newer distros. This package should be in the Multiverse repository. Make sure that is enabled.

Then run the following:
apt add-architecture i386 apt update apt uninstall Steam apt install Steam

This should get the right packages installed.
ripntime 2019 年 3 月 6 日 下午 2:59 
引用自 Aoi Blue
OK. First make sure you are using the Steam package from your distro. This has updated dependent package lists for newer distros. This package should be in the Multiverse repository. Make sure that is enabled.

Then run the following:
apt add-architecture i386 apt update apt uninstall Steam apt install Steam

This should get the right packages installed.

(This is the first step you need to do)
Then reinstall the Steam package.
And with the Nvidia 1050Ti the 390.77 drivers are what i have on the same card on a Kubuntu system, And all my steam games and Proton based games work fine.
The main error is you do not have the 32 bit libraries that are provided by the ad-arch command.
1nsaNe-iwnl 2019 年 3 月 6 日 下午 5:49 
引用自 Marlock
A word of advise about Linux Mint: when in doubt it should be treated like Ubuntu not like Debian.

There are very little differences regarding the basic building blocks and available packages, etc.

LM19 and 19.1 specifically are based on Ubuntu 18.04.

About the current error, since TS (whatever happened to "OP"="Original Poster"?!:steammocking:) has an Nvidia GPU there is a high chance it is just missing 32-bit libs that should have been pulled in when the driver was installed...

To fix it, I'd recommend these steps:

sudo dpkg --add-architecture i386 && sudo apt update sudo apt install python3 sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt purge nvidia-driver-* sudo apt install nvidia-driver-XXX
....and reboot

XXX => replace by desired available nvidia driver version...

The latest branch available on this PPA is 415, which is also the recommended one if TS is going to play windows-only games via Proton, as per the Proton Requirements page:
https://github.com/ValveSoftware/Proton/wiki/Requirements

Hi Marlock, I added the repo and tried to install 415. The following was my output.
Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: nvidia-driver-415 : Depends: libnvidia-gl-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed Depends: nvidia-dkms-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed Depends: libnvidia-decode-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed Depends: libnvidia-encode-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed Depends: libnvidia-ifr1-415 (= 415.27-0ubuntu0~gpu18.04.2) but it is not going to be installed E: Unable to correct problems, you have held broken packages.
Something is clearly broken. I don't believe that I've held any broken packages, as I mentioned above. Do I just reinstall mint, or install ubuntu instead?

[EDIT]:

After following what rogue said, I tried to install 415 again. It worked! (Installing it now)

Thanks for the help !
最後修改者:1nsaNe-iwnl; 2019 年 3 月 6 日 下午 5:58
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:10 
引用自 Rogue
引用自 losT.boi
Something is clearly broken. I don't believe that I've held any broken packages, as I mentioned above. Do I just reinstall mint, or install ubuntu instead?

Seems like the Nvidia 415 stuff that you're trying to install is conflicting with the Nvidia 390 stuff that you had installed from before. Maybe APT is having a hard time resolving this because the 390 drivers came from the repos and the 415 drivers are from the PPA. Not sure. You could try purging all the Nvidia 390 stuff and then re-installing the Nvidia 415 stuff.

Luckily for you, the GTX 1050 Ti can tolerate the open source nouveau drivers, so you have those to fall back on if something goes wrong (although I don't recommend nouveau drivers for Steam). You definitely do not need to reinstall the system or install another distro yet.

引用自 losT.boi
After following what rogue said, I tried to install 415 again. It worked! (Installing it now)

Thanks for the help !

Awesome. Let us know if you need any more help.

After installing it and rebooting, my monitor's resolution looks quite bad. I can't change it through the settings thing. Something I noticed when installing the driver was a dkms error.

DKMS make.log for nvidia-415.27 for kernel 4.15.0-46-generic (x86_64) Thu Mar 7 07:32:17 2019 make[1]: Entering directory '/usr/src/linux-headers-4.15.0-46-generic' include/config/auto.conf:5870: warning: NUL character seen; rest of line ignored include/config/auto.conf:5870: *** missing separator. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-46-generic' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2
Thanks for the help !
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:15 
引用自 ripntime
引用自 Aoi Blue
OK. First make sure you are using the Steam package from your distro. This has updated dependent package lists for newer distros. This package should be in the Multiverse repository. Make sure that is enabled.

Then run the following:
apt add-architecture i386 apt update apt uninstall Steam apt install Steam

This should get the right packages installed.

(This is the first step you need to do)
Then reinstall the Steam package.
And with the Nvidia 1050Ti the 390.77 drivers are what i have on the same card on a Kubuntu system, And all my steam games and Proton based games work fine.
The main error is you do not have the 32 bit libraries that are provided by the ad-arch command.

Hi ripntime, I have done the above.

Thanks for the help!
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:24 
引用自 hell🅞world
引用自 Rogue
You should read the comment I linked from the Valve dev...
As I said, Steam runtime^W bundle (it must be the most accurate word in English to stop the demagogy, isn't it?) has mixed bitness, and they prove it. 32-bit Steam client (aka "webbrowser") spawns some 64-bit processes (like webhelper).
As I said, I didn't know that steam:i386 and steam are the same in Debian and how multiarch Steam dependencies (libc, mesa) are handled there. Also, packages could contain same bundle, but different text files: scripts and configs, provided by maintainers when building them from source package, indifferent in terms of bitness but not in terms of how native libraries will be overrided by runtime ones (or vice versa). Better safe than sorry.

引用自 Rogue
Note that the Arch Wiki now has a warning about using the native runtime
Contrary to that, steam-native-runtime works perfectly for everyday use. Tested on not very well supported hardware. Also, for Debian you have no such note (see the link to Debian Wiki suggested by me at the beginning)

引用自 Rogue
Newer drivers may offer better performance
..and also may drop 32-bit support.

Are you implying that I should stick to the old driver? (I don't mean to be ignorant, I'm a little stupid).

Thanks for the help!
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:32 
引用自 hell🅞world
losT.boi,
So, was Steam issue solved?
Sadly, no. On running steam through terminal, I received the following output.
[2019-03-07 07:59:57] uninstalled manifest found in /home/john/.steam/package/steam_client_ubuntu12 (1). [2019-03-07 07:59:57] Extracting package... [2019-03-07 08:00:03] Installing update... [2019-03-07 08:00:04] Cleaning up... [2019-03-07 08:00:04] Update complete, launching... [2019-03-07 08:00:04] Shutdown Running Steam on linuxmint 19.1 64-bit STEAM_RUNTIME is enabled automatically Pins potentially out-of-date, rebuilding... Found newer runtime version for 32-bit libdbus-1.so.3. Host: 3.19.4 Runtime: 3.5.8 Found newer runtime version for 32-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004 Found newer runtime version for 32-bit libSDL2-2.0.so.0. Host: 0.8.0 Runtime: 0.9.0 Found newer runtime version for 32-bit libgtk-x11-2.0.so.0. Host: 0.2400.32 Runtime: 0.2400.10 Found newer runtime version for 64-bit libGLU.so.1. Host: 1.3.1 Runtime: 1.3.8004 Found newer runtime version for 64-bit libdbusmenu-glib.so.4. Host: 4.0.12 Runtime: 4.0.13 Found newer runtime version for 64-bit libdbusmenu-gtk.so.4. Host: 4.0.12 Runtime: 4.0.13 Found newer runtime version for 64-bit libopus.so.0. Host: 0.5.2 Runtime: 0.7.0 Error: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6 [2019-03-07 08:00:28] Startup - updater built Feb 18 2019 22:08:53 [2019-03-07 08:00:28] Verifying installation... [2019-03-07 08:00:29] Unable to read and verify install manifest /home/john/.steam/package/steam_client_ubuntu12.installed [2019-03-07 08:00:29] Verification complete [2019-03-07 08:00:29] Downloading update... [2019-03-07 08:00:29] Checking for available updates... [2019-03-07 08:00:29] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12 [2019-03-07 08:00:29] Download complete. [2019-03-07 08:00:29] uninstalled manifest found in /home/john/.steam/package/steam_client_ubuntu12 (1). [2019-03-07 08:00:29] Extracting package... [2019-03-07 08:00:35] Installing update... [2019-03-07 08:00:40] Cleaning up... [2019-03-07 08:00:40] Update complete, launching Steam... [2019-03-07 08:00:40] Shutdown Restarting Steam by request... Running Steam on linuxmint 19.1 64-bit STEAM_RUNTIME has been set by the user to: /home/john/.steam/ubuntu12_32/steam-runtime Pins up-to-date! Error: You are missing the following 32-bit libraries, and Steam may not run: libc.so.6 [2019-03-07 08:00:43] Startup - updater built Feb 18 2019 22:08:53 [2019-03-07 08:00:43] Verifying installation... [2019-03-07 08:00:43] Verification complete [2019-03-07 08:00:45] Shutdown
最後修改者:1nsaNe-iwnl; 2019 年 3 月 6 日 下午 7:02
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:40 
引用自 Rogue
引用自 losT.boi

After installing it and rebooting, my monitor's resolution looks quite bad. I can't change it through the settings thing. Something I noticed when installing the driver was a dkms error.

DKMS make.log for nvidia-415.27 for kernel 4.15.0-46-generic (x86_64) Thu Mar 7 07:32:17 2019 make[1]: Entering directory '/usr/src/linux-headers-4.15.0-46-generic' include/config/auto.conf:5870: warning: NUL character seen; rest of line ignored include/config/auto.conf:5870: *** missing separator. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-46-generic' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2
Thanks for the help !

Going back and checking your output from before...

It looks you had the "nvidia-dkms-390" package installed rather than the typical "nvidia-390" package.

So in Marlock's comment, instead of "sudo apt install nvidia-driver-XXX" where you replaced XXX with 415....

...it should have been "sudo apt install nvidia-dkms-415"

I don't know if you actually require the DKMS version or not. If you don't then you can remove the DKMS packages and install the standard ones.

I tried to install nvidia-drivers-410, just to see if that one worked. It didn't, I then saw that I have to install nvidia-dkms-415 in the quoted post. It is already installed. Do you mean that I must remove nvidia-driver-410 and only install only nvidia-dkms-410? I know of a fix that will fix all of this. I can completely reinstall Linux mint or try a different distro. I am trying to avoid it, but it saves all of our times.

Thank you for your help!
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:41 
引用自 hell🅞world
losT.boi,
ok, I understood. Don't reboot the system, please.
I did when I tried to install nvidia-driver-410. I apologize.
1nsaNe-iwnl 2019 年 3 月 6 日 下午 6:50 
引用自 Rogue
引用自 hell🅞world
<snipped for space>

As I said, "Steam client" refers to the graphical interface. The Steam browser is something built-in to that interface.

So, yeah, you could say that Steam, in its entirety, is "mixed bitness" because the web browser portion is based on a 64-bit Chromium build.

However the client (again, the graphical interface portion) is 32-bit.

You can confirm what I'm saying by simply running Steam and checking your process monitor.

You will see a process named "steam" from ~/.local/share/Steam/ubuntu12_32/

(your path may be slightly different, but the point is that "steam" is in the ubuntu12_32 folder because it is 32-bit)

And you will see other processes named "steamwebhelper" from ~/.local/share/Steam/ubuntu12_64/

(again, your path may be different, but the point is that the "steamwebhelper" is in the ubuntu12_64 folder because it is 64-bit)

Debian and Arch are obviously two vary different distributions. Debian doesn't have anything that's equivalent to the steam-native-runtime meta-package in Arch.

When using steam-native on Arch, YMMV. I used to use it, thinking native libs may yield better performance. Then I realized that Steam Play games needed the Runtime to work. So right now I'm using Steam on Arch without steam-native-runtime installed.

PS: Nvidia's support of 32-bit operating systems ended some time ago. They still provide 32-bit libraries for 64-bit drivers and that hasn't changed for newer drivers.

PPS: Please let's focus on helping the OP.

Not that it matters, I feel very stupid right now.
1nsaNe-iwnl 2019 年 3 月 6 日 下午 7:04 
引用自 Rogue
引用自 losT.boi
I tried to install nvidia-drivers-410, just to see if that one worked. It didn't, I then saw that I have to install nvidia-dkms-415 in the quoted post. It is already installed. Do you mean that I must remove nvidia-driver-410 and only install only nvidia-dkms-410? I know of a fix that will fix all of this. I can completely reinstall Linux mint or try a different distro. I am trying to avoid it, but it saves all of our times.

Thank you for your help!

The main takeaway here is that you don't want to mix up your packages.

For example, if you want to use nvidia-390 then you need to have libnvidia-gl-390:i386 for Steam

(in this case it's about having the same 32-bit OpenGL library as your driver version)

You also don't need to have nvidia-dkms-390 installed if you're using nvidia-390.

And vice versa, if you want to have nvidia-dkms-390 then you don't need nvidia-390.

(390 is just an example here, could be w/e version).

I hope this helps.

OK. So.. I completely purged the nvidia drivers and installed nvidia-dkms-415. I still received an error message.

Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libnvidia-cfg1-410 libnvidia-decode-410 libnvidia-encode-410 libnvidia-fbc1-410 libnvidia-gl-410 libnvidia-ifr1-410 libxnvctrl0 screen-resolution-extra xserver-xorg-video-nvidia-410 Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: nvidia-kernel-common-415 nvidia-kernel-source-415 The following NEW packages will be installed: nvidia-dkms-415 nvidia-kernel-common-415 nvidia-kernel-source-415 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 10.7 MB/10.8 MB of archives. After this operation, 29.6 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic/main amd64 nvidia-kernel-source-415 amd64 415.27-0ubuntu0~gpu18.04.2 [10.7 MB] Fetched 10.7 MB in 2s (4,527 kB/s) Selecting previously unselected package nvidia-kernel-source-415. (Reading database ... 363347 files and directories currently installed.) Preparing to unpack .../nvidia-kernel-source-415_415.27-0ubuntu0~gpu18.04.2_amd64.deb ... Unpacking nvidia-kernel-source-415 (415.27-0ubuntu0~gpu18.04.2) ... Selecting previously unselected package nvidia-kernel-common-415. Preparing to unpack .../nvidia-kernel-common-415_415.27-0ubuntu0~gpu18.04.2_amd64.deb ... Unpacking nvidia-kernel-common-415 (415.27-0ubuntu0~gpu18.04.2) ... Selecting previously unselected package nvidia-dkms-415. Preparing to unpack .../nvidia-dkms-415_415.27-0ubuntu0~gpu18.04.2_amd64.deb ... Unpacking nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ... Setting up nvidia-kernel-common-415 (415.27-0ubuntu0~gpu18.04.2) ... update-initramfs: deferring update (trigger activated) Setting up nvidia-kernel-source-415 (415.27-0ubuntu0~gpu18.04.2) ... Setting up nvidia-dkms-415 (415.27-0ubuntu0~gpu18.04.2) ... update-initramfs: deferring update (trigger activated) INFO:Enable nvidia DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad Loading new nvidia-415.27 DKMS files... Building for 4.15.0-46-generic Building for architecture x86_64 Building initial module for 4.15.0-46-generic ERROR (dkms apport): kernel package linux-headers-4.15.0-46-generic is not supported Error! Bad return status for module build on kernel: 4.15.0-46-generic (x86_64) Consult /var/lib/dkms/nvidia/415.27/build/make.log for more information. Processing triggers for initramfs-tools (0.130ubuntu3.7) ... update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic

CONTENTS OF /var/lib/dkms/nvidia/415.27/build/make.log
DKMS make.log for nvidia-415.27 for kernel 4.15.0-46-generic (x86_64) Thu Mar 7 08:29:56 IST 2019 make[1]: Entering directory '/usr/src/linux-headers-4.15.0-46-generic' include/config/auto.conf:5870: warning: NUL character seen; rest of line ignored include/config/auto.conf:5870: *** missing separator. Stop. make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-46-generic' Makefile:79: recipe for target 'modules' failed make: *** [modules] Error 2
1nsaNe-iwnl 2019 年 3 月 6 日 下午 7:12 
引用自 Rogue
The thing is, if you don't know what DKMS is, then you probably aren't using it and don't need it.

You are using the default kernel that came with your distro, correct? You're not using a custom kernel or anything, right?

Based on your output, it seems to be a stock Ubuntu kernel: 4.15.0-46-generic
Nope, no custom kernel. I have a gist of what DKMS is, I think. Doesn't it keep the software/application that I use the same even after kernel upgrades? My nvidia-390 install was a dkms install IIRC. I didn't choose to install it. I just went to the driver manager and installed 390 because it was the only version which did not have a screwed up resolution. Everything other than 390 had a messed up resolution.(like my current one)

Thanks for the help!
Bunnyhop 2019 年 3 月 6 日 下午 7:23 
I only skimmed over this thread so this may be redundant - or stupid - but I'd suggest not installing steam from the mint/ubuntu repos and going for the deb package from steampowered itself, and see if it makes a difference. If not, just remove it.

Maybe there's some issue with a fresh 19.1 Mint install and the steam ubuntu repo version?
Currently (running mint, for a long time) my 'policy steam' shows:

Candidate: 1:1.0.0.54+repack-5ubuntu1
Version table:
1:1.0.0.54+repack-5ubuntu1 500
500 http://*.archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages
1.0.0.59 500
500 http://repo.steampowered.com/steam precise/steam i386 Packages
< >
目前顯示第 16-30 則留言,共 92
每頁顯示: 1530 50

張貼日期: 2019 年 3 月 5 日 下午 8:56
回覆: 92