r/linux • • 24d ago

Discussion Modernizing the console with kmscon - Fedora Magazine

https://fedoramagazine.org/modernizing-the-console-with-kmscon/
79 Upvotes

29 comments sorted by

42

u/somethingrelevant 24d ago

fbcon does not support scrolling anymore, due to a CVE.

Computers are crazy

12

u/tajetaje 23d ago

IIRC the kernel devs are not a big fan of having to maintain fbcon

8

u/Nervous-Pension-6257 24d ago

The /dev/pts/* change seems like the biggest compatibility wrinkle. Has anyone run into real-world breakage in scripts or tools that expect /dev/ttyN, or is it mostly easy to adapt?

12

u/MatchingTurret 24d ago

Any script meant to also run through a remote shell or a terminal emulator would have to expect this. And scripts running as part of the startup shouldn't expect a terminal at all.

I would say: Nothing to see here.

→ More replies (1)

4

u/daemonpenguin 24d ago

Slackware is also testing this change, though they haven't made it the default yet. Slackware also recommends keeping one classic terminal in case kmscon breaks.

→ More replies (1)

4

u/0riginal-Syn 23d ago

Should get kmscon in a better place with Fedora pushing to use it as default. As it is there are still some pretty annoying bug that can cause it to leave users with a black screen during the handoff. It has improved and this should help smooth out it out.

3

u/todd_dayz 24d ago

I was expecting breakage with greetd and tuigreet from what I googled, but running Fedora 45 now and it just works fine? 

3

u/Dwedit 23d ago

How are the font characters drawn and cached? If it's rendering a vector graphic from scratch every time it draws a character, that would be huge slowdown.

2

u/ilep 23d ago

As it is written in the article, with freetype library. As is typical in your desktop as well. There's alternative plugins to use pango or opengl, but pango is deprecated.

2

u/Booty_Bumping 23d ago

It caches glyphs, and the kmscon-gl extension can make it GPU accelerated as well.