Submitted my first Nouveau patch today. Some thoughts:
Nouveau folks have helped a lot. Definitely couldn't have figured it out without them <3
NVIDIA hardware was also pretty helpful. Instead of displaying garbage like you'd expect, it errors out and allows the driver to print what state changes caused the error.
BTW, here are references to the various patches/bugs I've been working on: https://github.com/swaywm/wlroots/issues/2526#issuecomment-760445781
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!