[systemd-devel] Unicode support in console after boot

David Herrmann dh.herrmann at gmail.com
Tue Nov 4 02:26:54 PST 2014


Hi

On Thu, Oct 23, 2014 at 6:01 PM, Ray Strode <halfline at gmail.com> wrote:
> Hi,
>
> On Tue, Oct 21, 2014 at 1:39 PM, Ivan Shapovalov <intelfx100 at gmail.com> wrote:
>>> > > Please try editing /usr/lib/systemd/system/systemd-vconsole-setup.service and
>>> > > remove RemainAfterExit=yes, then regenerate your initramfs image by running
>>> > > dracut command. Add back RemainAfterExit=yes to service file. Reboot.
>>> >
>>> > Yep, this helped. Could you please explain why? Also, I believe this
>>> > should be fixed in all Fedora versions.
>>
>> IIUC, this makes unit to be re-run outside of initramfs, so the VT is set up twice,
>> second time after switching the framebuffer driver.
>>
>> And the latter condition is not mandated by anything, it's just a coincidence...
> So I got pinged this morning about a similar systemd-vconsole-setup
> issue. Namely, setting the font in vconsole.conf to a big font like
> latarcyrheb-sun32 or so (for hidpi screens) doesn't work.  After some
> digging, we figured out it's the same sort of problem.
> systemd-vconsole-setup gets run when vgacon is running (and fails
> since vgacon doesn't support glyphs that big).  Then when fbcon is
> loaded from the modesetting driver, it just gets the default font.
>
> I think we need to rerun systemd-vconsole-setup when the fbcon device
> comes available. I don't think the above proposal is "right".  One
> idea would be to add
>
> , RUN+="/usr/lib/systemd/systemd-vconsole-setup"
>
> to the end of the SUBSYSTEM="graphics" line in 71-seat.rules in udev.
> I'm not sure if that's exactly the best fix either though.  Kay, what
> do you think?

fbcon has a device itself, so we can just match on this, right?
Otherwise, the fix looks good. Thanks for the hints!

Btw., this still fails on console-driver changes during runtime via
sysfs 'bind' files. But I guess we really don't care..

Thanks
David


More information about the systemd-devel mailing list