13:48 Venemo: does someone know what is the right way to disable gfxoff?
13:48 Venemo: "echo 0 > /sys/kernel/debug/dri/1/amdgpu_gfxoff" -> "Invalid argument"
13:57 fililip: maybe this parameter in ppfeaturemask? https://elixir.bootlin.com/linux/v6.17.1/source/drivers/gpu/drm/amd/include/amd_shared.h#L229
13:58 Venemo: fililip: I want to do it in runtime not at boot time
13:58 fililip: ah
13:58 Venemo: there is a debugfs file, I just couldn't figure out how to properly write to it
13:59 agd5f: Venemo, you need to be root for debugfs writes
13:59 Venemo: agd5f: I am root
13:59 Venemo: obviously
13:59 Venemo: this is not a permission issue
14:01 agd5f: you can use umr -go 0
14:02 Venemo: can you help me figure out how to use this debugfs file? it seems to be working different from the rest of them
14:03 Venemo: I found amdgpu_debugfs_gfxoff_write but can't make heads or tails of it
14:06 Venemo: it's nice that umr can do it but that's not something I'd recommend for a user
15:13 agd5f: Venemo, you need to open the file write a 32 bit integer to it (0 or 1). It was written for use by umr.
15:13 Venemo: agd5f: how do I write a 32-bit integer to it from the command line? (without umr)
15:13 dwfreed: echo -ne '\x00\x00\x00\x00' > amdgpu_gfxoff
15:14 dwfreed: note that assumes bash echo, you'll probably have to use printf if your shell's not bash
15:20 agd5f: something like "printf "%08x" 0 | xxd -r -p > amdgpu_gfxoff" should also work
15:26 Venemo: thank you guys