HGL
equal-jade

Entire hard disk access on system seems laggy and delayed when using Heroic to run a game.

Running Genshing Impact install. System has OS (MX Linux) on SSDs and for data storage a couple of 10TB WD Red 7200RPM spinning rust. Heroic is using a loop-mounted ext4 image on an NTFS partition (because NTFS is used for most large data storage for Windows access when dual booting). Any idea what causes this? I did make the image sparse... Here's what I did: truncate -s 750G /media/Data/home/joshua.img losetup -f losetup /dev/loop0 /media/Data/home/joshua.img mkfs.ext4 -m0 /dev/loop0 This is now mounted in fstab using: /media/Data/home/joshua.img /media/ext4-on-Data ext4 loop,defaults,noatime,x-gvfs-show,errors=remount-ro,nofail 0 0 Did I screw something up? When I'm not running a game I can access that filesystem natively just fine. When I am running a game there's a delay of a few seconds just to bring up the file browser, and eg when installing there's a couple of minute freeze in the game then it will start progressing but will take AGES to unzip resources). EDIT: So, for anyone else running into this, check your max file open limit to see if you are Esync-compatible with ulimit -Hn and if it's less than 524288 you may find a solution by increasing that limit here (if it doesn't work check whether you use Systemd or pam-limits.conf and use that section instead): https://github.com/lutris/docs/blob/master/HowToEsync.md
GitHub
docs/HowToEsync.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.
3 Replies
like-gold
like-gold2y ago
you can try disabling the logs (settings > advanced > disable logs) some games have a log of output and when that happens that ends up generating a lot of disk writes, potentially slowing everything else
equal-jade
equal-jadeOP17mo ago
I'll try that After deleting hgl and clearing all settings, now it can't launch any games ("failed to create device"). I seem to have bunged something up but can't figure out what. Going to test if Steam will still work (right now I think a prefix is still stuck running so nothing's working, gotta restart). EDIT: After a restart Steam works. Now to find out why hgl doesn't want to.
equal-jade
equal-jadeOP17mo ago
Might have found the problem / solution: https://github.com/lutris/docs/blob/master/HowToEsync.md
GitHub
docs/HowToEsync.md at master · lutris/docs
Contribute to lutris/docs development by creating an account on GitHub.

Did you find this page helpful?