!KEJUbONnoBpiYKGWEq:nixos.org

NixOS Gaming

709 Members
Gaming things, my hands are typing words.181 Servers

Load older messages


SenderMessageTime
3 Jan 2024
@k900:0upti.meK900Which QEMU can use11:03:48
@atemu12:matrix.org@atemu12:matrix.orgAnd you need to set up HP manually because QEMU's THP might not actually use HP if memory is too fragmented and defrag can't be done with PCIe passthru11:03:58
@k900:0upti.meK900
In reply to@crushing-smite:matrix.org
what's THP, and what was before it?
THP is "transparent huge pages", which basically means the kernel manages memory in bigger chunks
11:04:04
@atemu12:matrix.org@atemu12:matrix.org
In reply to @atemu12:matrix.org
And you need to set up HP manually because QEMU's THP might not actually use HP if memory is too fragmented and defrag can't be done with PCIe passthru
Defrag at a later time that is
11:04:50
@k900:0upti.meK900https://developers.redhat.com/blog/2021/04/27/benchmarking-transparent-versus-1gib-static-huge-page-performance-in-linux-virtual-machines#benchmarks11:04:58
@k900:0upti.meK900Found a Red Hat blog post11:05:02
@k900:0upti.meK9003% performance difference11:05:06
@atemu12:matrix.org@atemu12:matrix.orgIn games it's a lot more than that11:05:15
@atemu12:matrix.org@atemu12:matrix.orgEspecially CPU-bound ones11:05:30
@atemu12:matrix.org@atemu12:matrix.orgIt was a little while ago but something on the order of 10-20%11:05:56
@crushing-smite:matrix.orgcrushing-smitecan I automate game installation with lutris on nixos?11:13:37
@crushing-smite:matrix.orgcrushing-smiteprovide installation instruction for the install wizard, or such?11:13:47
@atemu12:matrix.org@atemu12:matrix.orgTheoretically that's possible but I would highly recommend against it11:14:12
@atemu12:matrix.org@atemu12:matrix.orgTreat game installations as state.11:14:22
@crushing-smite:matrix.orgcrushing-smitewould it be possible with some other software?11:14:39
@crushing-smite:matrix.orgcrushing-smite"possible" as "close to a sensible approach"11:15:16
@atemu12:matrix.org@atemu12:matrix.orgLikely but what problem are you trying to solve with that?11:15:19
@crushing-smite:matrix.orgcrushing-smitehave my games in dotfiles and nixstore11:15:32
@atemu12:matrix.org@atemu12:matrix.orgAnd what problem are you trying to solve by doing so?11:16:21
@crushing-smite:matrix.orgcrushing-smitesatisfy my curiosity11:16:55
@crushing-smite:matrix.orgcrushing-smitepush the boundaries of possible11:17:00
@crushing-smite:matrix.orgcrushing-smitegit clone nixos-rebuild switch to install my games11:17:16
@k900:0upti.meK900You can definitely automate downloading games with something like steamcmd11:17:45
@k900:0upti.meK900And then build Wine prefixes in Nix 11:17:52
@k900:0upti.meK900But there's a lot of small details 11:18:00
@crushing-smite:matrix.orgcrushing-smitefor a few select games though11:19:17
@crushing-smite:matrix.orgcrushing-smitemostly old games, but a handful of recent AAA too11:19:27
@k900:0upti.meK900It's definitely possible 11:20:08
@k900:0upti.meK900But you'll have to set it up yourself 11:20:37
@ercao:matrix.org@ercao:matrix.org left the room.15:14:34

Show newer messages


Back to Room ListRoom Version: 6