ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.2k stars 175 forks source link

0 bytes updates #5644

Closed kisak-valve closed 5 years ago

kisak-valve commented 6 years ago

Issue transferred from https://github.com/ValveSoftware/Proton/issues/130. @MartinPL posted on 2018-08-22T17:33:25:

So problem is that Steam after start keep downloading empy updates, i thinks it some save stuff. https://i.imgur.com/im16Jsn.png

mamoit commented 6 years ago

I got 21 of these a couple of hours ago when I turned on Steam.

vanyasem commented 6 years ago

For me some updates were not 0-bytes (but still looks like a savegame sync, and not a game update)

The issue is that it continues to retry those 0-bytes updates every time Steam launches 2018-08-23-042945_2880x1572_scrot

martinpl commented 6 years ago

You will get this in all Steam starts

sizeofbool commented 6 years ago

Surprisingly, not all windows-only games are affected by this issue. By checking cache of each affected game steam client marks them as normal ones, but if I restart Steam client all those games return to previous state and require checking game cache again.

Steam library folder is on ext4 filesystem. This behaviour happens only with windows-only games.

meowmeowfuzzyface commented 6 years ago

I'm having the same issue:

The "update" completes almost instantly for every game. Every time the Steam client is restarted, the Windows games must download this "update" again. The Steam library folder is on a secondary ext4 hard drive on which I have full read/write permissions. I'm on Ubuntu 18.04.

All native games and most Windows games I've tried so far run successfully, but the Windows games require this instant, 0 byte "update" to be installed before launching. Also, the Windows games run their first time setup every time they are launched, but I'm not sure if it's related. Native games don't have this problem.

nightsky30 commented 6 years ago

Same issue.

romulasry commented 6 years ago

Subscribing.

DanMan commented 6 years ago

Same here. But I copied the games and the appmanifest files over from my Windows install to my Linux library (ext4). Maybe that's the problem? Maybe there's something in the manifest file that causes this?

Sometimes a few MB are downloaded, sometimes nothing, it seems. I'm also on Ubuntu 18.04. Steam initially installed from package manager.

d10sfan commented 6 years ago

I see the same issue with all natively (through steamplay) downloaded games.

hamid-elaosta commented 6 years ago

This is a bigger issue than just 0 byte updates. I'm on Ubuntu 18.04 as well, when I launch it re-downloads ~13GB of Darksiders II, ~33GB of Dishonoured 2 and I uninstalled everything else for now to stop it downloading them.

axredneck commented 6 years ago

Is it related to case-sensitivity of ext4 somehow?

ATypescriptEnjoyer commented 6 years ago

Luckily all mine are 0 bytes, although DOOM occasionally tries to download about 280mb, @axredneck my games are on my NTFS drive and I have the same issue

Zamundaaa commented 6 years ago

My windows games are all in a steam library shared with my windows steam client and thus it's on a NTFS partition on another hard drive, so it's most likely not ext4 related. Also sometimes it actually downloads something for me, too. Like The Witcher 3 gets a 130MB download pretty often. And some don't need such an update ever, like Beat Saber or Superhot VR

ATypescriptEnjoyer commented 6 years ago

@Zamundaaa I think that's just games which have updated, I have it occasionally for my newer games

veikk0 commented 6 years ago

This is also happening to me. However, for some games the update size is 354.3 MB (Bejeweled 3, Might & Magic: Clash of Heroes, Slab) while for others it's 0 bytes (Spelunky, Sorcery! Parts 1 & 2). This is not happening with native games.

The machine is running Linux Mint Cinnamon 18. With the exception of Slab, I moved these over from my other Linux machine (Linux Mint Mate 18) by using the backup and restore backup functionality of Steam. Both machines are in the Steam Beta. With the exception of Slab, all these games are on a 4TB hard drive (full-disk encrypted EXT4) that's separate from my OS installation which resides on an SSD.

axredneck commented 6 years ago

@veikk0

354.3 MB

It's Proton itself

MrNessuno commented 6 years ago

Happened that connecting my windows steam library (NTFS file system). Some games got deleted, or with 300MB circa of data remaining. I had to re-download all missing games.

3vi1 commented 5 years ago

On my system I'm seeing this for several titles. All games are installed to a library in a separate mount (/data/steam) which is a BTRFS file system. Verifying the local files and starting each game caused a couple to drop out of the list (as they should have been), but several persist on each restart of Steam no matter what.

MrCapone commented 5 years ago

Same problem here. Affected only steam play (proton) games.

vanyasem commented 5 years ago

@MrCapone please avoid the spam of "me too" messages. If you are also affected, give this issue a "thumbs up". Thank you for understanding.

glaere commented 5 years ago

Occurs with Sins of a Solar Empire: Trinity. I don't use Steam Cloud.

Ubuntu 18.04.1.

ATypescriptEnjoyer commented 5 years ago

image

The following games seemed to have the same update. After allowing one of them to update they all moved to completed. Guessing there's something in these

axredneck commented 5 years ago

@JackRyder it's update of Proton itself, not games

schmidtbag commented 5 years ago

I've also had this problem (of 0b downloads), though I've had it long before Proton or any Windows games installed on my Steam account. However, it would only occasionally come up, so it wasn't really annoying. Now, it's starting to get pretty irritating when I have 10+ games asking to update every single time I start up Steam. EDIT: For those of you downvoting my comment, I'm not just saying "me too"... I think pointing out that this isn't a new problem or specific to Windows games is valuable information...

MysticTempest commented 5 years ago

There seems to be a few issues regarding this bug with 0 byte updates that started after opting into SteamPlay(Proton).

At its most basic; it seems to be Steam bugging out when modifying the "appmanifest_*.acf" files of these SteamPlay(Proton)-games. Everytime a Windows game is launched with SteamPlay(Proton); Steam edits the manifest to add the Proton(858280/930400-beta) depot as a "shared depot" to the game's manifest. Then at next startup, it is removed; only being re-added when the game is launched through SteamPlay(Proton) again.

However, some games seem to get out of sync and stuck in an update loop. You end up with manifests that already have the shared depot enabled at startup. Then Steam tries adding it & then removes it at startup. That's where it notices a 'big' change has occurred & the stateflag in the manifest is changed to 'update required'. The update happens, and it is out of sync again with the depot re-enabled. From there is where you get the constant 0 byte updates. Not all of them show up in the "Downloads" section, but it's visible in the logs.

I've tried fixing the files manually, but Steam seems to have a local backup it restores from which interferes; or complains about disk write errors if you try to make the manifests read-only. The most noticeable part of this bug; is either when updates continuously get stuck as "delayed/scheduled", or they take too long to update at startup. So, they end up showing in the "Downloads" section even though they completed updating.

Some example log info: https://gist.github.com/MysticTempest/a5ae8205aacf921b829d7fe1da31a80a

sceglimilano commented 5 years ago

I've 1 ext4 drive with native Linux games and 1 NTFS drive with Windows only games; I've added them as Steam libraries (LG for Linux Games and WG for Windows Games).

Various (but not all) Windows only games from WG library present this 0.0 KB update issue, some of these games work, some no.

I've another "strange" issue that may be unrelated: Shadow of Mordor and Batman Arkham Knight need to be fully downloaded (45 GB each), despite being already fully installed from Windows.

wRAR commented 5 years ago

I've another "strange" issue that may be unrelated: Shadow of Mordor and Batman Arkham Knight need to be fully downloaded (45 GB each), despite being already fully installed from Windows.

Shadow of Mordor has a native version.

sceglimilano commented 5 years ago

I've another "strange" issue that may be unrelated: Shadow of Mordor and Batman Arkham Knight need to be fully downloaded (45 GB each), despite being already fully installed from Windows.

Shadow of Mordor has a native version.

I've checked, and it's on my Linux partition, hence I've should have installed it from Linux. So I'd say the download problem is unrelated to Proton.

MadPierrot commented 5 years ago

Same problem here.

vanyasem commented 5 years ago

@MadPierrot please avoid the spam of "me too" messages. If you are also affected, give this issue a "thumbs up". Thank you for understanding.

bluejamz commented 5 years ago

@vanyasem the problem is though that if you give thumbs up to the op that's like months old, so everyone might think the problemmight no longer show up, but by adding "me too" you can see the latest date the problem still persists to pester users.

Vash63 commented 5 years ago

@vanyasem the problem is though that if you give thumbs up to the op that's like months old, so everyone might think the problemmight no longer show up, but by adding "me too" you can see the latest date the problem still persists to pester users.

If the problem was solved the issue report would be closed. Proper bug etiquette is to use the tools provided to follow or track a bug, otherwise everyone watching the bug is getting emails with worthless 'me too' comments rather than actual development updates on the bug itself.

oblitum commented 5 years ago

This has been reported outside of Proton context:

Fluffkin commented 5 years ago

This has been reported outside of Proton context:

I think that's probably a different issue (some comments say it's been happening to them for years). This git issue only happened to me after installing Proton games and only Proton games in my library have the zero byte download problem.

oblitum commented 5 years ago

@Fluffkin it may be not technically the same, but the behavior is the same. I had hit it before Proton too, but it was not that annoying, with Proton, things simply got worse.

oblitum commented 5 years ago

Not sure if it helps, but this game in particular has literally always a 0 size update anytime I start steam, others do it, but not always: https://store.steampowered.com/app/674940/Stick_Fight_The_Game/.

Fluffkin commented 5 years ago

@oblitum It matters that it's not technically the same because this github issue is for the 0 byte problem with Proton games and Proton games only. It isn't the place to try and expand the issue to other problems with downloads. If you scroll back up a long way @MysticTempest seems to have done a decent job of identifying the issue. When that issue is fixed, you will need to find another appropriate bug report for any remaining download issues you may still have.

oblitum commented 5 years ago

Not sure whether you ever programmed, but this kind of association is helpful at problem resolution (there may have been a fix before, and then a regression). It is the same behavior, and that may be helpful at identification.

I didn't post information to solve another problem. It was solely to provide more context for resolution.

Fluffkin commented 5 years ago

@oblitum I'm sorry you seem to feel insulted. (I'm not sure whether you've ever tried bug fixing). But read https://github.com/ValveSoftware/steam-for-linux/issues/5644#issuecomment-423718402 .. If that is the main issue here (which seems highly likely), then it can only affect Proton games. Once that issue is solved, any remaining issues will be due to a different problem. This issue is tagged "Proton".

oblitum commented 5 years ago

@Fluffkin I take no offense, I just provided info that may be of interest for anyone resolving it, which I assume not targeted at you. Enough of chatting in the issue tracker right?

Cxpher commented 5 years ago

I have this problem even without opting into Proton. Basically started when Proton started shipping with Steam.

MrCapone commented 5 years ago

Yesterday after 3.16-5 proton update steam decide redownload all my proton games. It wasnt 0 byte downloads, i had to download about 60 gb.

oblitum commented 5 years ago

@MrCapone I guess that's what's called a beta user experience, for real.

dhollinger commented 5 years ago

@oblitum I don't believe 3.16-5 is in beta anymore.

@MrCapone Thanks for reporting what you're seeing, one of the most difficult things to account for with tracking down and fixing bugs is if the issue is reproducible by the developer. To help with this, it'd be good to let @kisak-valve know if your system is configured in a "non-standard" way (I.E. storing the proton games on an NTFS partition mounted in your linux distro).

MrCapone commented 5 years ago

@dhollinger My system is Linux Mint 19 (Based on Ubuntu 18.04). I use default steam path (~/.local/share/Steam/). And my /home directory on ext4 partition.

kisak-valve commented 5 years ago

Per "Fixed 0-byte downloads getting queued on startup for all Steam Play titles" in the 2019-01-16 Steam client beta update, please opt into the beta and retest this issue.

wRAR commented 5 years ago

Fixed for me.

drawingpixels commented 5 years ago

Fixed! (Arch + Btrfs)

frostworx commented 5 years ago

after another "download" of all installed games it is gone here too. thanks a lot!

Zamundaaa commented 5 years ago

I had to let them all update once but on restart none rescheduled anymore. Thanks. It was very annoying