Black screen after update sddm: 0.19.0_8 -> 0.20.0

Hello,

With the latest update (sudo pkg update -f && sudo pkg upgrade), SDDM 0.20.0 was released last week and I have black screen. I need to launch startx manually

This release has a slew of improvements and there’s already a return
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272297
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272649

pending feedback, there’s a solution that seems to work for me:
current configuration file
cat /usr/local/etc/pam.d/sddm-autologin
#%PAM-1.0
auth required pam_env.so
auth required pam_tally2.so file=/var/log/tallylog onerr=succeed
auth required pam_shells.so
auth required pam_nologin.so
auth required pam_permit.so
-auth optional pam_gnome_keyring.so
-auth optional pam_kwallet5.so
account include system-local-login
password include system-local-login
session include system-local-login
-session optional pam_gnome_keyring.so auto_start
-session optional pam_kwallet5.so auto_start

I couldn’t find the configuration file for the old version, it works with these lines (272297 – x11/sddm: update to 0.20.0)
auth required pam_permit.so
account include login
password required pam_deny.so
session include login

If you have the one before the sddm 0.19.0_8 update, I’d like it to compare. It may not be the best solution until something better comes along.