556db45d

By: ananjiani <ananjiani@noreply.codeberg.org>

fix(desktop): faster swap and vkd3d single queue for WoW (#412)

Fixes the game's periodic hitches on ammars-pc.

- **zram** (zstd, 50% of RAM), used first.
- **16 GB swap file on the NVMe** replaces the SATA SSD swap partition, whose slow page-ins froze the game.
- **`VKD3D_CONFIG=single_queue`** on the Battle.net and WoW launchers: vkd3d's async compute queues stalled on amdgpu (`Fence fallback timer expired on ring comp_1.x`). Tested by hand: 0 fence timeouts in an hour of play, vs ~17 per 10 min before.

Needs `nh os switch` (zram + swap) and `nh home switch` (launchers) on the desktop. The old swap partition is left on disk, just unused.

Co-authored-by: Ammar Nanjiani <ammar.nanjiani@gmail.com>
Reviewed-on: https://codeberg.org/ananjiani/infra/pulls/412

Total

11m53s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 2s 2s 2s 0s
Eval 3s 52s 52s 55s 0s
Build 55s 14m36s 10m59s 11m54s 0s
Suite 0s 15m31s 11m53s 11m54s 1s

Timeline

Config Eval Build
0s1m2m3m4m5m6m7m8m9m10m11m