It appears my work in progress avoids the crash nicely:
https://gitlab.gnome.org/vanvugt/mutter/-/commits/fall-back-from-secondary-gpu
Although it's slow -- it works by avoiding Nvidia GBM when the driver refuses to work in a hybrid setup, and just uses Nvidia KMS to scan out dumb buffers rendered by the primary GPU instead... but it appears that's still faster than using Xorg!?
It appears my work in progress avoids the crash nicely:
https:/ /gitlab. gnome.org/ vanvugt/ mutter/ -/commits/ fall-back- from-secondary- gpu
Although it's slow -- it works by avoiding Nvidia GBM when the driver refuses to work in a hybrid setup, and just uses Nvidia KMS to scan out dumb buffers rendered by the primary GPU instead... but it appears that's still faster than using Xorg!?