§2023-09-17
If there are performance issues, it might help to add the sddm user to the video group:
usermod -a -G video sddm
¶1. Configuration:
SDDM has two configuration locations: /usr/share/sddm/sddm.conf.d/ and /etc/sddm.conf.d/ which is used to override specific options. The second is not created by the package. KDE Plasma writes user changed options to /etc/sddm.conf.d/. Both locations supports files with the same format. See man 5 sddm.conf man page for details on available options.
$ qlist sddm|grep sddm.conf
/usr/lib/sysusers.d/acct-group-sddm.conf
/usr/lib/sysusers.d/acct-user-sddm.conf
/usr/share/man/man5/sddm.conf.5.bz2
/usr/share/dbus-1/system.d/org.freedesktop.sddm.conf
/usr/lib/tmpfiles.d/sddm.conf
/lib/sysusers.d/sddm.conf
/etc/sddm.conf.d/01gentoo.conf
$ qlist sddm |grep Xsetup
/usr/share/sddm/scripts/Xsetup
$ sudo find / -name Xsetup
/etc/sddm/scripts/Xsetup
/usr/share/sddm/scripts/Xsetup
$ cat /usr/share/sddm/scripts/Xsetup
#!/bin/sh
# Xsetup - run as root before the login dialog appears
emerge --ask x11-apps/xrandr
$ sudo emerge --ask x11-apps/xrandr
* IMPORTANT: 12 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 13.61 s.
[ebuild N ] x11-apps/xrandr-1.5.2
Would you like to merge these packages? [Yes/No] Yes