After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765012 - Use atomic modesetting
Use atomic modesetting
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on: 760439
Blocks: 789421
 
 
Reported: 2016-04-13 18:26 UTC by Matthias Clasen
Modified: 2021-07-05 13:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2016-04-13 18:26:32 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).
Comment 1 Lyude 2018-03-09 20:59:46 UTC
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.
Comment 2 Bastien Nocera 2018-03-09 22:40:01 UTC
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?
Comment 3 Daniel Stone 2018-03-09 23:08:48 UTC
(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.
Comment 4 Bastien Nocera 2018-03-10 14:37:39 UTC
(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.
Comment 5 Bastien Nocera 2018-03-10 14:43:43 UTC
(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
Comment 6 GNOME Infrastructure Team 2021-07-05 13:43:53 UTC
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.