12:31ity: What's the state of hibernation (suspend to disk/S4) support in nouveau ? That is, say there are some GEMs & DRM handles in CPU RAM state, currently-executing shaders on the GPU, etc, is there any support for storing that & restoring that on hibernation ? We might be a bit confused on how hibernation functions for PCIe devices
12:32ity: The main concern is GPU-accelerated applications' context being intact
13:09pixelcluster[d]: usually when you suspend the gpu you evict everything in VRAM to sysmem, and similarly you can evict all of sysmem (which itself contains evicted VRAM) to disk
13:09pixelcluster[d]: ttm has stuff for this
13:10pixelcluster[d]: also, there usually won’t be any currently-executing shaders because you wait for stuff to finish before suspending
13:10pixelcluster[d]: so simply evicting+restoring memory works to keep gpu contexts intact across hibernation
13:11pixelcluster[d]: (how well all of this actually works in nouveau should be answered by nouveau people :P)
14:04TranquilIty[m]: <pixelcluster[d]> "also, there usually won’t be any..." <- Huh, but that can take quite a long time, no ?
14:06karolherbst: most drivers timeout shaders within a few seconds, some even milliseconds
14:06karolherbst: if your shader takes more than a few ms it's probably buggy
14:07TranquilIty[m]: Hmm, makes sense
21:39mhenning[d]: if anyone wants to play with a possible perf improvement: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32311
22:36phomes_[d]: I will test it on some games. Might not have results today as I was about to go to bed
23:09starfrost: hi
23:12starfrost: on the riva 128, the ramin is reversed? like 10000=3f0000 and 200000=1ffff0
23:12starfrost: i am writing emulation for it (https://github.com/starfrost013/86box)