1
0
Fork 0
mutter-performance-source/src
Hans de Goede f3660dc60e kms: Deal with GPUs being unplugged
Add meta-kms and meta-monitor-manager-kms listener for the udev
device-removed signal and on this signal update the device state /
re-enumerate the monitors, so that the monitors properly get updated
to disconnected state on GPU removal.

We really should also have meta-backend-native remove the GPU itself
from our list of GPU objects. But that is more involved, see:
https://gitlab.gnome.org/GNOME/mutter/issues/710

This commit at least gets us to a point where we properly update the
list of monitors when a GPU gets unplugged; and where we no longer
crash the first time the user changes the monitor configuration after
a GPU was unplugged.

Specifically before this commit we would hit the first g_error () in
meta_renderer_native_create_view () as soon as some monitor
(re)configuration is done after a GPU was unplugged.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/713
2019-08-15 20:38:28 +00:00
..
backends kms: Deal with GPUs being unplugged 2019-08-15 20:38:28 +00:00
compositor compositor: Use g_clear_signal_handler to disconnect signal handlers 2019-08-14 15:42:03 +00:00
core core: Do not crash on untimely stack queries for X11 windows 2019-08-15 15:11:01 +02:00
meta compositor: Make it a GObject 2019-08-14 15:42:03 +00:00
tests window-x11: Use any focusable window as fallback delayed focus window 2019-07-08 11:46:52 +02:00
ui cleanup: Don't use g_memmove() 2019-07-18 11:01:09 +02:00
wayland wayland: Start up the grace Xwayland period right after starting Xwayland 2019-08-15 15:09:49 +02:00
x11 x11: Add "closing" flag to MetaX11Display 2019-08-06 00:41:36 +00:00
libmutter.pc.in build: Fix libs and cflags in autotools .pc file 2018-11-10 16:20:46 +00:00
meson.build cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
meta-marshal.list cursor-tracker: Use our own marshal for cursor-moved 2019-07-31 09:34:17 +00:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml fixed typo 2018-07-24 13:16:36 +00:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml Fix typo in RemoteDesktop dbus api 2019-05-22 16:21:57 +02:00
org.gnome.Mutter.ScreenCast.xml org.gnome.Mutter.ScreenCast: Document what was added in API version 2 2019-02-26 13:39:11 +00:00