15:30 sylware: Hi, mesa commit 200b95b8c882f8307e09240d1a016a9535ed1116 is killing vulkan and the CPU on navi10lxe (5600 XT 6GB), tested with valheim and dota2 on x11 native (amdgpu dev 7.2 kernel, xserver, etc, everything GIT)
15:30 sylware: (bisected)
15:30 sylware: (I meant the GPU not the CPU... ofc)
15:31 sylware: (the xorg glamor shaders seems ok)
15:31 sylware: (RADV)
15:32 sylware: (the GPU goes dark and does not recover)
15:56 sylware: (I reverted the commit, and RADV git is fine)
16:17 glehmann: sylware: please open an issue here: https://gitlab.freedesktop.org/mesa/mesa/-/work_items
16:19 sylware: I cannot, gitlab is hostile to noscript/basic HTML browser
16:35 glehmann: sylware: well that makes it harder to not forget about the issue. But maybe https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/46323 helps, can you try that?
16:41 sylware: Well, you are showing obsolete LLVM code, which has the fix, but not ACO.
16:42 sylware: So ACO code ptach is missing the "< navi10" code
16:43 glehmann: the MR adds a condition for that
16:43 sylware: But this is LLVM code, not ACO code
16:44 sylware: LLVM is decrecated for RADV.
16:44 sylware: And still, LLVM code has the fix, but not ACO Oo
16:44 glehmann: the git commit message references a LLVM commit, but the commit itself changes aco code
16:44 sylware: What?
16:44 sylware: This is not what I read.
16:44 glehmann: https://gitlab.freedesktop.org/DadSchoorse/mesa/-/commit/ac0cb998f40d3cd036974ff465dec0559d39a2b5.patch if you are having issues with the gitlab UI
16:44 sylware: Wait... I skimmed it too fast
16:45 f_: sylware: fwiw, if you cannot use gitlab through a web browser, maybe `glab` could be of use
16:46 sylware: OH! Yeah, with a noscript/basic HTML browser, gitlab was not showing the patch!
16:46 sylware: Then I though it was the LLVM stuff
16:47 f_: /261
16:47 sylware: I'll have a look at glab... if I can find it.
16:47 sylware: (but I'll need to create an account...)
16:47 glehmann: can you access the raw patch I linked above?
16:48 sylware: (with a self-hosted SMTP server, without DNS, namely with an IPv6 literal in the email address...)
16:48 sylware: @glehmann yep
16:48 sylware: Let me patch my RADV...
16:48 glehmann: ok, please test that. sadly the LLVM commit is very vague, so it's not clear if we can't use the register at on GFX10 for anything, or only for VALU.
16:48 glehmann: so if the patch doesn't help, I have to get the bigger hammer
16:49 sylware: Specs are never 100% right... even from the vendor... :)
17:03 sylware: ok
17:03 sylware: I am going to start valheim
17:03 sylware: If I disco right now it means my gaming rig was killed :)
17:07 sylware: nope
17:07 sylware: My gaming rig did crash again
17:08 glehmann: ok, then I guess we can just not use the register at all, thanks
17:09 sylware: gladd I could help
17:16 sylware: wait
17:16 sylware: I made a mistake
17:17 sylware: I build the wrong aco_optimizer_postRA
17:17 sylware: (aka not the patch one... jez... I wanted to go too fast...)
17:20 sylware: This time I did build the patched source file!!
17:20 sylware: let me test
17:27 sylware: @glehmann never mind, navi10lxe is really crashing
17:36 sylware: maybe it was a GFX10_3 addition (navi21), not a GFX10 (navi10*) addition
17:36 sylware: But I do not have GFX10_3 hardware
17:49 glehmann: the register was added in gfx10, but it seems like it can't be used as a destination before gfx10.3
17:51 sylware: yep... do not trust 100% the specs... only after proper testing on real hardware...
17:52 sylware: and here, that's a lot of GPUs.
17:52 sylware: Because RDNA has many generations.