40
submitted 10 months ago* (last edited 10 months ago) by Critical_Insight@feddit.uk to c/linux@lemmy.ml

This may not be a Linux specific problem as I had the exact same issue earlier with Windows 7 and it's one of the reasons I installed Linux in the first place.

The specific game I'm trying to play is DayZ but it may not be issue specific to this game. It worked flawlessly untill this point. I had made no changes to anything. Basically when I try to launch the game it starts loading up normally and then just apparently quits and the "Play" button goes back green. No error, no black screen, no freezing or anything. It just stops launching the game.

I've tried checking the integrity of files, deleting downloads catche, disabling steam cloud, removing launch options.. nothing. Almost like it gets blocked by firewall or something. However I feel like it may be an issue with steam itself or then it's a hardware issue (I've got really old PC)

Few things I've noticed that may or may not be related:

  • When opening up steam it almost always used to download some updates first and check the integrity of them or something. Now it doesn't. It just opens up Steam. When I click "check for updates" it says everything is up to date.

  • The firmware updater shows available updates for my SSD and HDD but no option to update. I also tried with sudo fwupdmgr get-devices but it says "UEFI firmware can not be updated in legacy BIOS mode See https://github.com/fwupd/fwupd/wiki/PluginFlag:legacy-bios for more information."

  • In the privacy settings it says "checks failed" and gives me this message:

  • I've tried reinstalling Proton BattlEye Runtime but it wont let me uninstall it and says "missing shared content"
you are viewing a single comment's thread
view the rest of the comments
[-] hollyberries@programming.dev 16 points 10 months ago

I don't have any idea about your hardware issues. They're likely unrelated if the game has already been played without issue.

For the steam diagnosing, start with running steam from your terminal, by running steam. You may get lucky and the error is clearly identified in the console.

If that fails, backup $HOME/.local/share/Steam/steamapps/compatdata/221100 - the 221100 is the app ID of of DayZ on the steam store. After backing it up, delete the original 221100 directory and re-launch the game. This doesn't delete the game, but rather deletes the Proton prefix for the game.

If the game launches, copy any save files (if any) you may have in the backed-up 221100 directory over to the new one.

The above worked for me when I had similar issues when playing Batman: Arkham Asylum.

To be thorough, have you tried any other games to rule out your hardware being an issue?

[-] Critical_Insight@feddit.uk 5 points 10 months ago

I installed DayZ Experimental and I have the same issue with that. I haven't tried with other games as I have none installed.

Trying to run steam via terminal gives me this wall of text:


(process:18363): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf6b24370
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf6b22cc0
steamwebhelper.sh[18409]: Runtime for steamwebhelper: defaulting to /home/pokko/snap/steam/common/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
/home/pokko/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 53: /proc/sys/kernel/unprivileged_userns_clone: Permission denied
/home/pokko/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 60: /proc/sys/user/max_user_namespaces: Permission denied
steamwebhelper.sh[18409]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
steamwebhelper.sh[18409]: CEF sandbox already disabled
flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13flock /usr/share/fonts/truetype/liberation/LiberationSans-Bold.ttf LOCK_SH failed. errno = 13CAppInfoCacheReadFromDiskThread took 44 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 18505
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.
BInit - Unable to initialize Vulkan!
BRefreshApplicationsInLibrary 1: 0ms

(steam:18363): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13BuildCompleteAppOverviewChange: 183 apps
RegisterForAppOverview 1: 18ms
RegisterForAppOverview 2: 18ms

(steam:18363): GLib-GIO-CRITICAL **: g_settings_schema_source_lookup: assertion `source != NULL' failed
[-] hollyberries@programming.dev 9 points 10 months ago

Oh damn, you're using the snap version of Steam, this is unfortunately outside of my area of experience :(

Some key error messages I see are:

/home/pokko/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 53: /proc/sys/kernel/unprivileged_userns_clone: Permission denied
/home/pokko/snap/steam/common/.local/share/Steam/ubuntu12_64/steamwebhelper.sh: line 60: /proc/sys/user/max_user_namespaces: Permission denied

and

flock /usr/share/fonts/truetype/liberation/LiberationSans-Regular.ttf LOCK_SH failed. errno = 13vkEnumeratePhysicalDevices failed, unable to init and enumerate GPUs with Vulkan.
BInit - Unable to initialize Vulkan!

You've got permission errors and a GPU driver issue somewhere, likely related to the permission errors. The flock errors stand out to me also, as they are fonts. Maybe required fonts for the game to run?

[-] Critical_Insight@feddit.uk 4 points 10 months ago

I've been using Linux for only a couple of weeks and all this is complete hebrew to me. I have no clue what is snap version of steam.

[-] Ozy@lemmy.world 7 points 10 months ago

I'm not trying to steal hollyberry's job here but here is my understanding of snaps (and why they aren't good).

Snaps were created by Canonical (The company behind Ubuntu) to fix the issue of inconsistent dependencies. The problem with the format is that the market is proprietary and they just aren't very good. Also they perform somewhat worse than Appimages and Flatpak.

Personally I reccomend you look into Flatpak, as it's a better sandboxing format than snap is.

Also the reason you ended up with the SNAP version of steam is because Ubuntu prioritizes the snap version over the native version when using

apt install steam 
[-] itslilith@lemmy.blahaj.zone 5 points 10 months ago* (last edited 10 months ago)

~~the last part is not true, apt installs things natively. Ubuntu software (the graphical app store) uses snap, however~~

I stand corrected. The apt packages on Ubuntu sometimes just install snaps under the hood. really strange move by Canonical

[-] Critical_Insight@feddit.uk 3 points 10 months ago

Yeah I installed Steam using the Ubuntu app store. Now I'm trying to uninstall it but it's been going on for an hour and doesn't seem to be progressing anywhere.

[-] itslilith@lemmy.blahaj.zone 5 points 10 months ago

I'm sorry you're having such a bad experience. It should be as simple as uninstalling in the Ubuntu store, and then reinstalling either using apt or flatpak. Is the uninstall not working?

[-] Critical_Insight@feddit.uk 3 points 10 months ago

I need no try again. The uninstall failed the first time. It got stuck at 80% or so. I've had so much issues with Linux from the start that I'm getting suspicious about wether it's a hardware issue.

[-] Para_lyzed@lemmy.world 2 points 10 months ago

The uninstalling issue almost certainly isn't hardware related, Ubuntu's app store is just a pile of hot garbage. Stuff like that happens all the time, or at least that was my experience years ago when I used Ubuntu, one of the (many) reasons I no longer recommend Ubuntu to new users.

As for the Steam issues, it's probably a mix of software and hardware issues. It seems there are some permissions issues (likely caused by snap), but it also seems like there are GPU driver issues. What GPU do you have? If you have an Nvidia card, have you installed their drivers? There is also a very real possibility that your card is so old that DayZ is no longer compatible with it (which may be the case given that it wasn't working in Windows, but to be fair Windows 7 is incredibly out of date and doesn't receive updates so it could have also been a software/driver issue there).

[-] Critical_Insight@feddit.uk 2 points 10 months ago* (last edited 10 months ago)

My GPU is just a few years old GeForce GTX 1660 SUPER and I just updated the drivers from 535 to 545 but no difference. However I've gotten a prompt saying that Steam needs nvidia-driver-libs:i386 so I'm not sure if I should install that instead or in addition to the ones I already have.

I still haven't been able to uninstall steam snap(?) either. I'd like to try the non-snap version using terminal but I don't know how to proceed. I'm sorry I'm such a novice with Linux. I'm feeling like my replies are really unhelpful.

EDIT: No luck trying to install the other drivers. All I got is this:

[-] Para_lyzed@lemmy.world 2 points 10 months ago

If you were to open the Software & Updates app and go to Additional Drivers, does the driver package you tested say it comes from Nvidia and it is "(proprietary, tested)"? If so, then your drivers should be fine. nvidia-driver-libs:i386 is 32-bit, so I don't know why you would need that installed unless DayZ is only compatible with 32-bit drivers for some reason. I have Steam installed on my Fedora install, and I don't have any 32-bit Nvidia drivers installed but everything works perfectly. That's a separate issue altogether, and I don't recommend running 32-bit drivers unless your system is 32-bit. Can you copy the "System Details" window in the About tab of the Settings app? It should have Hardware and Software information like the CPU, GPU, windowing system, etc. There are a few things that could cause issues that I might be able to glean from that.

I'm on Fedora, but since it's running Gnome it should theoretically look the same. You access the system details here:

SystemDetails

CopySystemDetails

Here's what mine looks like for reference:

System Details Report


Report details

  • Date generated: 2024-01-10 07:58:06

Hardware Information:

  • Hardware Model: ASUSTeK COMPUTER INC. ASUS TUF Dash F15 FX516PM_FX516PM
  • Memory: 16.0 GiB
  • Processor: 11th Gen Intel® Core™ i7-11370H × 8
  • Graphics: Intel® Xe Graphics (TGL GT2)
  • Graphics 1: NVIDIA GeForce RTX™ 3060 Laptop GPU
  • Disk Capacity: 1.0 TB

Software Information:

  • Firmware Version: FX516PM.329
  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.2
  • Windowing System: X11
  • Kernel Version: Linux 6.6.9-200.fc39.x86_64

To uninstall the steam snap, you should be able to open up a terminal and type the following:

sudo snap remove steam

And assuming that works, to install the native version of Steam (which should be what's installed anyway, but Canonical is pushing their proprietary snap BS that has never worked well), this should apparently work (I don't have an Ubuntu install to test on though):

sudo add-apt-repository multiverse
sudo apt update
sudo apt install steam

If it prompts you for anything, you can just confirm by typing "y". I'd recommend you check that it isn't installing the snap version, but I don't know how to guide you to do that, really. I haven't used a distro with the Aptitude package manager in over 5 years.

Of course, it probably isn't helpful, but I'd recommend avoiding vanilla Ubuntu if you aren't already too deeply invested. Linux Mint seems to be a common recommendation for new users and it's based off Ubuntu, but in all honesty I'd probably recommend Nobara (gaming focused and more user friendly version of Fedora). That way you don't get snaps shoved down your throat by Canonical, which break things constantly. Up to you if you want to install another OS though; in theory you shouldn't need to, and there should be a way to resolve these issues with your current install.

[-] Critical_Insight@feddit.uk 2 points 10 months ago* (last edited 10 months ago)

Yeah the unistallation gets stuck with terminal aswell. It managed to break steam so it no longer opens but wont remove it either. Guess I'll just try and install it again via terminal nevertheless.

[-] Para_lyzed@lemmy.world 1 points 10 months ago

Unless it errors out, it should eventually finish. But if you cancelled it, then just purge remove the snap like the following:

sudo snap remove --purge steam

That should skip the data backup when removing. I've seen reports of other users that this backup process sometimes takes 10-20 minutes with the default remove command, even with small programs. Blame Canonical for that one.

[-] Critical_Insight@feddit.uk 1 points 10 months ago* (last edited 10 months ago)

I wonder if this command would clear out the remaining files from the snap install that appears to have been left behind? Since the game is now working I'm afraid to tweak anything more so that I don't mess it up again

[-] Para_lyzed@lemmy.world 2 points 10 months ago

No, it wouldn't since the steam snap isn't installed anymore. But you can clear out the left over snapshot of it manually. Just use sudo snap saved, find the entry that says steam, and sudo snap forget

If there is no steam entry listed, then there's nothing else you have to do.

[-] Critical_Insight@feddit.uk 2 points 10 months ago* (last edited 10 months ago)

The drivers I had before were proprietary and tested but the ones I updated to now (545) are just proprietary. Earlier I got this message so that's why I'm trying to install the 32 bit drivers too though it worked just fine before without them.

Here's my system info. I'll try uninstalling steam again now.

System Details Report


Report details

  • Date generated: 2024-01-10 18:28:58

Hardware Information:

  • Hardware Model: ASUSTeK Computer INC. P5Q-PRO
  • Memory: 12.0 GiB
  • Processor: Intel® Core™2 Quad Q9450 × 4
  • Graphics: NVIDIA GeForce GTX 1660 SUPER
  • Disk Capacity: 1.5 TB

Software Information:

  • Firmware Version: 1613
  • OS Name: Ubuntu 23.10
  • OS Build: (null)
  • OS Type: 64-bit
  • GNOME Version: 45.1
  • Windowing System: X11
  • Kernel Version: Linux 6.5.0-14-generic
[-] Para_lyzed@lemmy.world 1 points 10 months ago

By the way, if you still have issues after the native Steam install and it gives you the same 32-bit driver warning, you should be able to resolve it with the following:

sudo dpkg --add-architecture i386
sudo apt update
sudo apt install nvidia-driver-libs:i386

That is of course assuming that the error message you pasted in another thread gave the correct package name, which is not a guarantee. It should have automatically been installed as a dependency to Steam if it was installed through apt though, so I don't feel like that will necessarily be a solution.

[-] Critical_Insight@feddit.uk 1 points 10 months ago* (last edited 10 months ago)

Yeah I actually saw that on an article while googling about it. I ran the code but haven't managed to test it yet. Trying again with the different steam version in a moment. I think I saw something about i386 scroll by while it was installing.

[-] Para_lyzed@lemmy.world 1 points 10 months ago

I spun up an Ubuntu VM, and while it won't have Nvidia drivers listed (since it doesn't have GPU passthrough), this should be similar to what you should have seen when installing:

Screenshot from 2024-01-10 11-14-42

Pretty much all those are i386 packages (32-bit), so you shouldn't need to enable the architecture in your version of Ubuntu, it should automatically happen (I didn't need to use sudo dpkg --add-architecture i386). Of course I did this on Ubuntu 22.04 because it's a VM I already had, but it should be very similar to 23.10

[-] Critical_Insight@feddit.uk 1 points 10 months ago

Well I ran the code anyway so I hope that's okay. Really appreciate the help man.

[-] Para_lyzed@lemmy.world 1 points 10 months ago

Yeah, enabling i386 won't hurt anything. Has your issue been resolved, or are there still errors?

[-] neurospice@lemmy.dbzer0.com 2 points 10 months ago

Isn't apt install firefox meant to install the snap version?

[-] itslilith@lemmy.blahaj.zone 2 points 10 months ago

that would be really weird. snap install firefox or clicking "Install" in Ubuntu Software installs the snap, apt install firefox installs from the apt repositories

[-] neurospice@lemmy.dbzer0.com 2 points 10 months ago

I think I first read about it from here: https://www.omgubuntu.co.uk/2022/04/how-to-install-firefox-deb-apt-ubuntu-22-04

I've never tested it, but some of my friends mentioned snaps getting installed via 'apt'

[-] itslilith@lemmy.blahaj.zone 1 points 10 months ago

huh, after some more research it seems you're right. that seems... scummy

[-] Critical_Insight@feddit.uk 2 points 10 months ago

How would I go about checking which version mine is? Atleast it isn't in the snap folder.

[-] hollyberries@programming.dev 2 points 10 months ago

Thankfully someone stepped in about snap... I don't like it and would have gone on a rant without circling back to the issue on hand lmao

As recommended somewhere up the chain, try a different version of Proton. Support for your hardware may have been deprecated.

From here, I'm out of my element. Best of luck, sorry I couldn't have been of more help!

load more comments (26 replies)
load more comments (30 replies)
this post was submitted on 10 Jan 2024
40 points (90.0% liked)

Linux

48199 readers
1269 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS