GNOME Bugzilla – Bug 765012
Use atomic modesetting
Last modified: 2021-07-05 13:43:53 UTC
It would be great to do atomic mode setting and support unredirecting of arbitrary windows (inspect the scene graph and assign hardware planes when possible).
Hey! seeing as this is coming up and gnome-shell will mostly fall over if it doesn't support this, we might want to up the priority on getting atomic: https://patchwork.freedesktop.org/series/39642/ The main reason being that in order to handle fallback training correctly, you need to be able to do atomic checks on the modes you're currently using on the MST hub being retrained in order to make sure they fit in the new reduced bandwidth and if not, prompt the user letting them know what happened and update the supported modes that are displayed in the control center. On v3.26.2 at least, gnome-shell just ends up hanging with 100% CPU if it runs into this situation with a modeset that doesn't fit into the new reduced link bandwidth.
Hey Lyude! How is atomic mode setting related to this bug I filed: https://bugzilla.gnome.org/show_bug.cgi?id=789421 ? Is one a subset of the other, or do they are one and the same and I should dupe the one I filed? Looks like at least the "support unredirecting of arbitrary windows (inspect the scene graph and assign hardware planes when possible)" feature might be on top of atomic modesetting, is that right?
(In reply to Bastien Nocera from comment #2) > Looks like at least the "support unredirecting of arbitrary windows (inspect > the scene graph and assign hardware planes when possible)" feature might be > on top of atomic modesetting, is that right? I would really love to have this, but it's basically orthogonal to atomic / link-retraining support.
(In reply to Daniel Stone from comment #3) > (In reply to Bastien Nocera from comment #2) > > Looks like at least the "support unredirecting of arbitrary windows (inspect > > the scene graph and assign hardware planes when possible)" feature might be > > on top of atomic modesetting, is that right? > > I would really love to have this, but it's basically orthogonal to atomic / > link-retraining support. Retitling, I'll file this feature as a separate bug.
(In reply to Bastien Nocera from comment #4) > (In reply to Daniel Stone from comment #3) > > (In reply to Bastien Nocera from comment #2) > > > Looks like at least the "support unredirecting of arbitrary windows (inspect > > > the scene graph and assign hardware planes when possible)" feature might be > > > on top of atomic modesetting, is that right? > > > > I would really love to have this, but it's basically orthogonal to atomic / > > link-retraining support. > > Retitling, I'll file this feature as a separate bug. Filed it as https://gitlab.gnome.org/GNOME/mutter/issues/61
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/mutter/-/issues/ Thank you for your understanding and your help.