You are not logged in.

#1 2022-12-17 17:39:41

linerman
Member
Registered: 2021-02-16
Posts: 80

[Solved] Setfont: KDFONTOP: Function not implemented

Hi,

After one of the system upgrades I get announcement just before /dev/xxx clean message, during booting:

 Setfont: KDFONTOP: Function not implemented 

I did not mess with any configuration files lately nor have errors in terminal or other software. I suppose that warning was always present somewhere (but not in journal) and after upgrade it became visible.
How can I solve that warning - means fix sth or get rid of that?

Last edited by linerman (2022-12-24 19:26:47)

Offline

#2 2022-12-17 20:40:31

seth
Member
Registered: 2012-09-03
Posts: 51,909

Re: [Solved] Setfont: KDFONTOP: Function not implemented

cat /etc/vconsole.conf
sudo lsinitcpio /boot/initramfs-linux* | grep console

Online

#3 2022-12-18 09:16:31

linerman
Member
Registered: 2021-02-16
Posts: 80

Re: [Solved] Setfont: KDFONTOP: Function not implemented

Hi,

Did that. What's the next step?

 cat /etc/vconsole.conf

KEYMAP=pl2
FONT=Lat2-Terminus16
FONT_MAP=8859-2 
sudo lsinitcpio /boot/initramfs-linux* | grep console

consolefont.psfu
hooks/consolefont
usr/lib/modules/6.0.12-zen1-1-zen/kernel/drivers/char/virtio_console.ko

Offline

#4 2022-12-18 10:40:23

seth
Member
Registered: 2012-09-03
Posts: 51,909

Re: [Solved] Setfont: KDFONTOP: Function not implemented

sudo lsinitcpio /boot/initramfs-linux* | grep psf

In doubt rebuild the initramfs' - vonsole looks sane, does

setfont Lat2-Terminus16 -m 8859-2

on a linux console (not some GUI desktop terminal) change the visual appearance of the font and/or yield similar errors?
If rebuilding the initramfs' doesn't help, change the font to "cybercafe", rebuild the initramfs' again and see whether a reboot ends you up w/ the cybercafe font (you'll notice that wink

Online

#5 2022-12-24 11:39:35

linerman
Member
Registered: 2021-02-16
Posts: 80

Re: [Solved] Setfont: KDFONTOP: Function not implemented

I loged out from GDM and did:

setfont Lat2-Terminus16 -m 8859-2

Command worked but nothing changed.

seth wrote:

If rebuilding the initramfs' doesn't help, change the font to "cybercafe", rebuild the initramfs' again and see whether a reboot ends you up w/ the cybercafe font (you'll notice that wink

That also worked and font has changed (but that font is not the best for my eyes).
Anyway, after rebuilding initramfs, the error (SETFONT....)is still present.

Offline

#6 2022-12-24 14:06:15

seth
Member
Registered: 2012-09-03
Posts: 51,909

Re: [Solved] Setfont: KDFONTOP: Function not implemented

Command worked but nothing changed.

You got no error from that?

Boot w/o the "quiet" parameter and/or post your system journal - apparently the message is not from setting the font from vconsole.conf

that font is not the best for my eyes

The only point was that it's so significantly different from all other console fonts that you'll immediately be able to say that it applied.

Online

#7 2022-12-24 18:57:07

linerman
Member
Registered: 2021-02-16
Posts: 80

Re: [Solved] Setfont: KDFONTOP: Function not implemented

seth wrote:

You got no error from that?

No errors nor any change. (That command did not change any font)

seth wrote:

Boot w/o the "quiet" parameter and/or post your system journal - apparently the message is not from setting the font from vconsole.conf

Yes. Thank you for your help.
http://0x0.st/o5YZ.txt

seth wrote:

The only point was that it's so significantly different from all other console fonts that you'll immediately be able to say that it applied.

OK;-) Setting lat2-terminus later will bring back my old font, right?

Offline

#8 2022-12-24 19:08:40

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,769
Website

Re: [Solved] Setfont: KDFONTOP: Function not implemented

Add setfont to the BINARIES array in /etc/mkinicpio.conf and rebuild the initramfs. It will use busybox otherwise and thus lack the required features for some fonts.

Reference: https://bbs.archlinux.org/viewtopic.php … 7#p1138757

EDIT: and thanks for motivating me to dig into this properly. That message has been bugging me for months...

Last edited by Head_on_a_Stick (2022-12-24 19:10:56)

Offline

#9 2022-12-24 19:26:30

linerman
Member
Registered: 2021-02-16
Posts: 80

Re: [Solved] Setfont: KDFONTOP: Function not implemented

That worked. Thanks Head_on_a_Stick ;-)

Offline

#10 2023-04-18 04:55:08

T0MuX
Member
Registered: 2016-11-22
Posts: 4

Re: [Solved] Setfont: KDFONTOP: Function not implemented

This just solved the same issue on my computer big_smile thank you !

Just rebuild the init is not enough actually. Adding setfont to the BINARIES section of mkinitcpio.conf, and then rebuild, is the solution.

Linux 6.2.11-arch1-1

Cheers !


" The only real car radio is the one who adjuts with the right foot. "

Offline

Board footer

Powered by FluxBB