Index: gnome-session-41.3/tools/gnome-session-check-accelerated.c =================================================================== --- gnome-session-41.3.orig/tools/gnome-session-check-accelerated.c +++ gnome-session-41.3/tools/gnome-session-check-accelerated.c @@ -147,7 +147,7 @@ main (int argc, char **argv) * Also make sure that we don't read cached information about the first GPU * when requesting information about the second. */ - if (is_discrete_gpu_check () || g_strcmp0 (g_getenv ("XDG_SESSION_TYPE"), "x11") != 0) { + if (is_discrete_gpu_check () || g_strcmp0 (g_getenv ("XDG_SESSION_TYPE"), "wayland") == 0) { g_autofree char *discrete_renderer_string = get_gtk_gles_renderer (); if (discrete_renderer_string) { g_print ("%s", discrete_renderer_string);