pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Update of wip/sddm to version 0.21



On 12/30/2025 7:07 PM, David H. Gutteridge wrote:

> Have you considered sending the patches upstream? (I ask this being a
> guilty party who sometimes doesn't do this; the scale can get
> unmanageable quickly.)


Thank you for the kind words.

Yes, I am planning to send the patches upstream to the sddm developers in the near future.

In the meantime, could you please update the package from wip once again?

I've found a rather annoying issue: when sddm is started during system boot, the keyboard does not work. It happens due to the way sddm selects the virtual TTY for starting the X server. It calls ioctl(fd, VT_OPENQRY, &vt) and gets the first free TTY. The problem is that at the stage of system boot when the rc scripts are executed, the ioctl() call returns /dev/ttyE1. Apparently, sddm and getty do not coexist well on the same TTY. The only workaround I've found so far is to delay starting sddm until init has already spawned getty. Once that happens, ioctl() returns the expected /dev/ttyE4.

I've committed an updated version to wip/sddm. Only two files were changed:

 * The sddm.sh rc script
* patch-src_common_VirtualTerminal.cpp — fixed the TTY device naming scheme, since wscons does not support more than 8 devices


--
Thanks in advance,
  Stepan Ipatov


Home | Main Index | Thread Index | Old Index