Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 836292 - gnome-base/gdm-42.0 broke autologin for i915 and QXL
Summary: gnome-base/gdm-42.0 broke autologin for i915 and QXL
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-27 20:58 UTC by qayjii+eus8xcxcly2cg
Modified: 2023-03-05 20:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Logs for gdm-42 vanilla (case_no_work.txt,301.91 KB, text/plain)
2022-03-27 20:59 UTC, qayjii+eus8xcxcly2cg
Details
Logs with workaround (case_no_have_udev.txt,65.06 KB, text/plain)
2022-03-27 20:59 UTC, qayjii+eus8xcxcly2cg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description qayjii+eus8xcxcly2cg 2022-03-27 20:58:11 UTC
By setting /etc/gdm/custom.conf with daemon settings:
[daemon]
AutomaticLoginEnable=True
AutomaticLogin=user

you should and used to be able to auto login on gdm. Since gnome-base/gdm-42 there is an error and the username/password prompt appears. To work around this issue I made this small change:

--- ./gdm-42.0/daemon/gdm-local-display-factory.x	2022-03-27 15:34:40.260983491 -0500
+++ ./gdm-42.0/daemon/gdm-local-display-factory.c	2022-03-27 15:34:56.360928948 -0500
@@ -634,6 +634,7 @@
         return lookup_by_seat_id (id, display, user_data);
 }
 
+#undef HAVE_UDEV
 #ifdef HAVE_UDEV
 static gboolean
 udev_is_settled (GdmLocalDisplayFactory *factory)

and autologin works again.

I attach some logs for the two cases. This happens with i915 and also QXL video cards. I don't know why Debug isn't enabled in gdm-42 even though it is in the custom.conf





Reproducible: Always
Comment 1 qayjii+eus8xcxcly2cg 2022-03-27 20:59:02 UTC
Created attachment 768025 [details]
Logs for gdm-42 vanilla
Comment 2 qayjii+eus8xcxcly2cg 2022-03-27 20:59:33 UTC
Created attachment 768026 [details]
Logs with workaround
Comment 3 Matt Turner gentoo-dev 2022-04-18 03:58:06 UTC
I wonder if this is https://gitlab.gnome.org/GNOME/mutter/-/issues/2210

Can you try putting 'MUTTER_DEBUG_USE_KMS_MODIFIERS=0' to /etc/environment and testing that?

Or try applying this patch? https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2359.patch
Comment 4 qcb22i+8xu3qou6mwhlg2w5ymjxc 2022-04-30 01:09:46 UTC
Thanks. I tested the patch of QXL only. Seems to work now. Let's hope the rest of the KMS changes moved into user space work
Comment 5 Matt Turner gentoo-dev 2023-01-24 06:08:21 UTC
Please confirm that xf86-video-qxl-0.1.6 works.