You are not logged in.

#1 2017-01-03 23:30:27

digitalone
Member
Registered: 2011-08-19
Posts: 346

[SOLVED] Unable to set console font at boot with sd-vconsole hooks

Hello everyone.
I got those lines in the journal:

localhost systemd-vconsole-setup[99]: /usr/bin/setfont failed with error code 1.
localhost systemd-vconsole-setup[99]: Setting source virtual console failed, ignoring remaining ones
localhost systemd-udevd[96]: Process '/usr/lib/systemd/systemd-vconsole-setup' failed with exit code 1.

setfont fails during boot and I got sd-vconsole in HOOKS.

My vconsole.conf is:

KEYMAP=it 
FONT=lat2-16 
FONT_MAP=8859-2 

It should be correct, keymap is Italian and the last two lines are the same in wiki.

Anyway, if I try to set a font during the plasma session, i.e.

sudo setfont lat2-16

I don't get any error.

But after giving "sudo showconsolefont" command,  I got the following error:

bug: getfont called with count<256

I search for this issue, but didn't find anything useful.
I read that could be a graphic driver issue during initram, therefore tried to add radeon in the module list in mkinitcio.conf and regenerate the initramfs, but nothing changed.

What's the problem?

Last edited by digitalone (2017-01-04 13:12:59)

Offline

#2 2017-01-04 10:39:17

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

I switched to keymap and consolefont hooks and the errors are not showing in the journal.
Systemd sucks.

Anyway, this is not solved.

Last edited by digitalone (2017-01-04 10:39:41)

Offline

#3 2017-01-04 10:50:43

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,808
Website

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

What happens if you have your vconsole.conf without  FONT_MAP

Edit: you also need to rebuild initramfs after every change with mkinitcpio -p linux

Last edited by ugjka (2017-01-04 10:55:24)


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#4 2017-01-04 12:05:56

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

ugjka wrote:

What happens if you have your vconsole.conf without  FONT_MAP

Already tried. The same.

ugjka wrote:

Edit: you also need to rebuild initramfs after every change with mkinitcpio -p linux

Always done.

Offline

#5 2017-01-04 12:42:11

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,808
Website

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

Can you post the output of localectl?


https://ugjka.net
paru > yay | webcord > discord
pacman -S spotify-launcher
mount /dev/disk/by-...

Offline

#6 2017-01-04 12:52:31

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

ugjka wrote:

Can you post the output of localectl?

System Locale: LANG=it_IT.UTF-8
VC Keymap: it
X11 Layout: n/a

Offline

#7 2017-01-04 13:12:04

digitalone
Member
Registered: 2011-08-19
Posts: 346

Re: [SOLVED] Unable to set console font at boot with sd-vconsole hooks

Don't know why, after it worked with keymap and consolefont hooks, I have switched to systemd and sd-vconsole and now I'm not getting any error related to console font (with and without FONT_MAP line in vconsole.conf).
It's very strange. Anyway, I'll stay without systemd/sd-vconsole because I don't need resume hook (provided by systemd) on my SSD.

Offline

Board footer

Powered by FluxBB