
This is what i asked google AI and that is the answer but i don't want to shoot my system. I just want a temporal solution and after the shader compilation i want to delete that virtual RAM. My drive space is scarce at the moment.
Question to Gemini:
"how can i temporarily add 16 GB RAM as a swap file on fedora in the fashion how the author did according to his steps described in his articel here: https://steamdeckhq.com/news/industria-2-not-a-great-experience-on-steam-deck/ Please explain in more detail."
Answer from Gemini:
To add a 16 GB swap file on Fedora, create a 16 GB file, set permissions, and enable it using sudo dd if=/dev/zero of=/swapfile bs=1G count=16, sudo chmod 600 /swapfile, sudo mkswap /swapfile, and sudo swapon /swapfile. If using Btrfs, a non-COW folder must be created first to avoid filesystem errors, as described in Fedora swap configuration guides. Read the full analysis at Linuxize.
---
By the way i have a Btrfs file system. So what would be the correct steps accordingly?Appreciate the help and Thank You!