Page MenuHomeFreeBSD

stand: Remove Spleen 32x64 fonts from INDEX
ClosedPublic

Authored by jrm on Sep 5 2025, 7:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 12:37 PM
Unknown Object (File)
Fri, Oct 10, 5:48 AM
Unknown Object (File)
Fri, Oct 10, 5:48 AM
Unknown Object (File)
Fri, Oct 10, 5:48 AM
Unknown Object (File)
Fri, Oct 10, 12:12 AM
Unknown Object (File)
Wed, Oct 1, 3:18 PM
Unknown Object (File)
Fri, Sep 26, 11:14 PM
Unknown Object (File)
Wed, Sep 24, 2:17 AM

Details

Summary

The Spleen 32x64 fonts cause some systems such as the AMD Framework 16
to boot extremely slowly. Adding screen.font="16x32" to
/boot/loader.conf is a partial workaround, but text displayed before the
boot menu still takes ~30 seconds to render on that laptop. With this
change, the same text renders immediately.

By leaving the font files in place but removing them from the INDEX,
users who want to use them can still load them manually. Once pending
work is committed to allow normal booting with these fonts, they can be
added back to the INDEX.

PR: 289007

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 66854
Build 63737: arc lint + arc unit

Event Timeline

jrm requested review of this revision.Sep 5 2025, 7:40 PM

one option is to leave font file in place but remove from INDEX. This way it is still possible to load it manually for those who want to use it, but it will not picked automatically.

jrm retitled this revision from Revert "stand: Enable Spleen 32x64 font in the bootloader" to stand: Remove Spleen 32x64 fonts from INDEX.Sep 5 2025, 8:03 PM

Follow tsoome's suggestion.

This revision is now accepted and ready to land.Sep 5 2025, 8:14 PM

Everyone has to loose features because something doesn't work on one specific model of laptop? Since when do we do that? Shouldn't the people using that specific model of laptop fix their issue?

Is forcing everyone else to have the loader crammed into a corner by removing the font the logic wants to select reasonable ?

The problem is, we do not really know exact blast zone. While preparing the possible work around, the font file is still there and can be scripted to be used with loadfont command.

Everyone has to loose features because something doesn't work on one specific model of laptop? Since when do we do that? Shouldn't the people using that specific model of laptop fix their issue?

Is forcing everyone else to have the loader crammed into a corner by removing the font the logic wants to select reasonable ?

According to reports I've heard, it's not just one model. From my conversation with @tsoome, excerpts of which are in the bug report, it's more of limitations with our implementations that he plans to fix. In the meantime, can you add screen.font=32x64 to /boot/loader.conf?

Oh, sorry. One can't add screen.font=32x64 to /boot/loader.conf to get the Spleen fonts? I really can't tell much of a difference between the fonts on my system.

In D52402#1196665, @jrm wrote:

Oh, sorry. One can't add screen.font=32x64 to /boot/loader.conf to get the Spleen fonts? I really can't tell much of a difference between the fonts on my system.

no, you'd probably want a loader.conf like:

exec="loadfont /boot/fonts/32x64.fnt.gz"
screen.font="32x64"

maybe

Committed in 5e82eeccd252e96370e8b73603b609622497000c. (Forgot to put the darn review URL in the commit log.)

This has fixed the painfully slow boot on my Framework 13 AMD too. Thanks @jrm !

Hmm, I've just installed 15-ALPHA2 - and the installer correctly didn't use these slow, large, fonts on my Framework 13 AMD test machine. But once installed the system is back to using these infuriatingly slow fonts.

Hmm, I've just installed 15-ALPHA2 - and the installer correctly didn't use these slow, large, fonts on my Framework 13 AMD test machine. But once installed the system is back to using these infuriatingly slow fonts.

Looking at the stable/15 commit log, f834384fdad9 landed before 99cc54090e1c. @cperciva, was ALPHA2 built from 99cc54090e1c? Do you know why f834384fdad9 (seemingly) wasn't included?

@jrm ALPHA2 was built from da62a299de31 and has this change.

Mark, did you install from disc1 or from the bootonly image? What does uname say? The bootonly image downloads pkgbase bits from pkg.freebsd.org, which was a bit behind last time I checked. Putting the pkgbase bits in a separate repository so the installer can actually get the right version is coming soon.

Sorry @cperciva, I've been a bit slow to see this update. I did the install from the 'disc1' image. I've since done a pkg upgrade, so I'm guessing the second question might not be answerable?

Sorry @cperciva, I've been a bit slow to see this update. I did the install from the 'disc1' image. I've since done a pkg upgrade, so I'm guessing the second question might not be answerable?

Ok, well, I'm not sure exactly what happened then, but can you test with ALPHA3 over the weekend and confirm that the problem is gone there?

Sorry @cperciva, I've been a bit slow to see this update. I did the install from the 'disc1' image. I've since done a pkg upgrade, so I'm guessing the second question might not be answerable?

Ok, well, I'm not sure exactly what happened then, but can you test with ALPHA3 over the weekend and confirm that the problem is gone there?

I left a comment on the bug; for me on main with a fw.16 I am still seeing slow scrolling after the first page fills. I am not sure if that is the very same problem that we are trying to fix here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289007#c10

Sorry @cperciva, I've been a bit slow to see this update. I did the install from the 'disc1' image. I've since done a pkg upgrade, so I'm guessing the second question might not be answerable?

Ok, well, I'm not sure exactly what happened then, but can you test with ALPHA3 over the weekend and confirm that the problem is gone there?

Will do @cperciva 👍

@cperciva Just tested install of ALPHA3 on the Framework 13, and all is good 👍