Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Please explain why - still learning here.
Thanks :)
swapoff -a
remove it from /etc/fstab
I would like to see better defaults for and management of Steam Deck swap parameters. I would also like to see support added for "zram" based swap configurations.
also found out steamOS generally supports zram, but didn't manage to set it up (Linux sort of noob)
RAM is very limited on the deck. 16GB installed, of which at least 1GB is used for Viddeo RAM.
Some games llike RDR2 pretty much require 4GB VRAM, which leaves 12 to the OS and games - too little, so RDR2 still may crash until you increase swap to 4GB+ as well.
I have 16GB in my main gaming desktop and RARELY do I ever see a single game consume anywhere near 10GB. I'm not saying it doesn't happen, but my point is.. it's more than you think.
On top of this, you should be running most games on the Deck at medium/low texture settings and at native res 1280x800, these settings alone contribute massively to reduced RAM/VRAM usage.
I actually managed to get ZRAM working with the Deck, it had no effect on performance, but I was able only to force it to be used by basically intentionally cranking up RAM/VRAM usage in Shadow of War by setting the texture settings to "Ultra" which is totally unnecessary on the Steam Deck anyway...
Setting an 8GB ZRAM disk on the Steam Deck really isn't a bad idea and worth testing vs what happens when the system reverts to disk swap (which by default is only 1GB anyway)
We use swap in the servers with the intent to prevent downtime from just a spike in memory usage. This is fine and is the intended purpose of swap, momentary spikes. Really good Linux admins know they don't want heavy swapping and actively avoid it. Monitoring on physical hardware should always include high memory usage and heavy swapping. Admins want to get the best value out of their hardware and ensure the most uptime possible; this is just what you have to do maximize efficiently for both.
The difference with the Steam Deck is that the user has no monitoring system to tell them they are heavily swapping. Games are much more likely to require heavy swapping if they are being played on under spec'd hardware than they are tuned for . The end user may not even notice anything is wrong if the experience is bearable enough to play. Unfortunately the drive will die much sooner than it ever needed to.
Swapoff should be the default on this type of device. They average user isn't an engineer with 20 years of Linux systems and programming knowledge; but instead casual gamer that would not want to inherit the risk involved long term.
As for us nerds that care about this stuff, we're knowledgeable enough to do whatever we want. This doesn't even apply to us. It's also very easy to forget inside the echo chambers where everyone is tweaking their systems, we aren't the average consumer. We also don't want to be fixing issues for our friends and family because of bad defaults.
maybe priority is something here
All OS performance devs say swap is a good thing. The OS memory allocator uses swap to reclaim pages. This process should happen even if main memory have plenty of space. You do not benefit stopping your housekeeper from doing its job.
https://www.youtube.com/watch?v=cSJFLBJusVY&t=702s
https://chrisdown.name/2018/01/02/in-defence-of-swap.html
https://prod.lwn.net/Articles/815342/
https://lwn.net/Articles/690079/
My criticism is the default 1GB swap is too small and has been known to be a bit problematic.
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1966381
https://chrisdown.name/2018/01/02/in-defence-of-swap.html
The SD has an SSD in it and I have not noticed any adverse behaviour from paging under everyday use, so I'd be disinclined to tweak this setting.
Yea, the swappiness should be reduced for emmc steam decks.
I did not realize the 64 gb SD was eMMC. Having only 64 gb would also explain the 1 gb swap file. I would increase the size (and I have) if I owned a 256 gb or 512 gb SD.