08:22hakzsam: emersion: RADV_DEBUG=hang is for debugging GPU hangs, not for OOM on the CPU
08:23emersion: yes
08:23emersion: runnning the game without RADV_DEBUG works
08:23emersion: running the game with RADV_DEBUG=hang fills the whole RAM
08:25emersion: I was under the impression that this was maybe expected because of the stuff enabled by this flag, but maybe it's a bug?
08:26hakzsam: it needs to retain all shaders info for post analysis
08:26hakzsam: I never got a OOM with it though
08:27emersion: hm, okay, then it won't be possible I guess
22:05cheako: emersion: What do you have for swap? For testing it should be fine to make a huge swapfile and hope that it doesn't thrash, since the operations should be append only I don't think that's a concern.
22:06emersion: ah, i didn't setup any swap on this machine
22:06emersion: i'll try that when i get the chance
22:07cheako: Yeah, the default memory parameters for the kernel, last I looked, were for having double ram as swap... That does include zram too, so keep that in mind.
22:08cheako: If you want to run without swap there are a few sysctl values you should change... one of them may cause panics if set too low, so for prod machines plan for at least some swap.