Solved FreeBSD 14.2 bootsplash gone

Hi!
The system had a bootsplash logo but since 14.2 upgrade it's gone.
I love the new blank screen during boot (no boot output messages) and I'd like to keep it that way but I would also like to have a boot logo image instead of a blank screen.
Is that possible to achieve?
How?

Thanks in advance.
 
had the same(?) issue with a ThinkPad X250 and rolled back to 14.1 for the tie being. Wouldn't mind the boot menu logo but VTs broke, too. https://forums.freebsd.org/threads/boot-menu-logos.81216/page-2#post-668631

Edit: I tried the 'downgrade' from the previously installed drm-61-kmod to $ pkg install drm-515-kmod which brought the VT but not the boot menu logo.

Code:
$ fetch https://download.freebsd.org/ftp/releases/amd64/amd64/14.2-RELEASE/src.txz
$ tar -xf src.txz -C /
$ make -C /usr/ports/graphics/drm-61-kmod/ install

had the same effect (VT ok, no bootsplash).
 
Last edited:
The system had a bootsplash logo but since 14.2 upgrade it's gone.
No problem here on 14.2-RELEASE

/boot/loader.conf
Code:
boot_mute="YES"
splash_boot_only.png
I would also like to have a boot logo image instead of a blank screen.
Is that possible to achieve?
How?
See last example in EXAMPLES of splash(4)

/boot/loader.conf
Code:
boot_mute="YES"
splash="/boot/images/freebsd-logo-rev.png"
splash_freebsd-logo-rev.png
 
had the same(?) issue with a ThinkPad X250 and rolled back to 14.1 for the tie being. Wouldn't mind the boot menu logo but VTs broke, too. https://forums.freebsd.org/threads/boot-menu-logos.81216/page-2#post-668631

Edit: I tried the 'downgrade' from the previously installed drm-61-kmod to $ pkg install drm-515-kmod which brought the VT but not the boot menu logo.

Code:
$ fetch https://download.freebsd.org/ftp/releases/amd64/amd64/14.2-RELEASE/src.txz
$ tar -xf src.txz -C /
$ make -C /usr/ports/graphics/drm-61-kmod/ install

had the same effect (VT ok, no bootsplash).
$ pkg install drm-61-kmod  ✔  3s 
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent versions of packages are already installed

It's already there
 
No problem here on 14.2-RELEASE

/boot/loader.conf
Code:
boot_mute="YES"
View attachment 21325

See last example in EXAMPLES of splash(4)

/boot/loader.conf
Code:
boot_mute="YES"
splash="/boot/images/freebsd-logo-rev.png"
View attachment 21326
That did not work.
I just added
splash="/boot/images/freebsd-logo-rev.png"
and had the same result, blank screen.
Before I had the white logo and since the upgrade no more logo.
 
It was explained in many threads, you don't have to re-install, you need to rebuild the package from the ports.
ok I got some progression, now I've the boot text output again but still no boot splash
I noticed that it shows the laptop HP logo (again) after the logo shown when I turn it on but this second time I see some red horizontal lines on top an some red dots on the logo itself.
Seems like it switches to graphics mode but it did not load any logo from the system.
 
had the same(?) issue with a ThinkPad X250 and rolled back to 14.1 for the tie being. Wouldn't mind the boot menu logo but VTs broke, too. https://forums.freebsd.org/threads/boot-menu-logos.81216/page-2#post-668631

Edit: I tried the 'downgrade' from the previously installed drm-61-kmod to $ pkg install drm-515-kmod which brought the VT but not the boot menu logo.

Code:
$ fetch https://download.freebsd.org/ftp/releases/amd64/amd64/14.2-RELEASE/src.txz
$ tar -xf src.txz -C /
$ make -C /usr/ports/graphics/drm-61-kmod/ install

had the same effect (VT ok, no bootsplash).
Got the same result now.
After rebuild it got the VT again but still no bootsplash.
 
splash="/boot/images/freebsd-logo-rev.png"
this parameter does not exist according to docs

See splash(4) manual:
Code:
EXAMPLES
      ...
      For vt(4), edit /boot/loader.conf (see loader.conf(5)) and include  the
      following lines:

             splash="/boot/images/freebsd‐logo‐rev.png"
             boot_mute="YES"


I think I will have to recompile the kernel to enable splash.
If you have a custom kernel, excluding a variety of devices, this would be a prime suspect for none-working splash. Eventually try a GENERIC kernel.
 
I suspect the BIOS boot loader doesn't find the proper modules in the early boot stage. In later phases things settle.

Is it simply this?

From the 14.2 release notes -

Boot Loader Changes​

The BIOS boot loader added back support for gzip and bzip2, but removed support for graphics mode (by default) to address size problems. (The EFI boot loader is unchanged with support for all of those.) 4d3b05a8530e (Sponsored by Netflix)
 
  • Thanks
Reactions: mro
If you have a custom kernel, excluding a variety of devices, this would be a prime suspect for none-working splash. Eventually try a GENERIC kernel.
I did not change a thing in my boot loader nor the kernel compiled.
It was working and with the upgrade it's no longer working.
Then to have the boot messages I had to recompile the drm-61-kmod but still no logo.
I'm now trying to add that splash line in the loader but still no logo.
Here's my complete loader.conf
security.bsd.allow_destructive_dtrace=0
kern.geom.label.disk_ident.enable="0"
kern.geom.label.gptid.enable="0"
cryptodev_load="YES"
zfs_load="YES"
vboxdrv_load="YES"
kern.hz=100
screen.textmode=0
beastie_disable="YES"
splash="/boot/images/freebsd-logo-rev.png" # new line
boot_mute="YES"
autoboot_delay=0
verbose_loading="NO"
cuse_load="YES"
coretemp_load="YES"
 
I find "removed support for graphics mode" in 14.2 BIOS boot loader release notes a smoking gun indicating a relevant difference. Thanks putney.
 
It is BIOS but what difference does it make if it was working on 14.1, note that this problem appeared after upgrade?
If it's BIOS the loader BIOS is text only from 14.2 upwards, including stable/13 : https://cgit.freebsd.org/src/commit/?id=4d3b05a8530e

Rich (BB code):
src/share/mk/src.opts.mk
@@ -129,6 +129,7 @@ __DEFAULT_YES_OPTIONS = \
+    LOADER_BIOS_TEXTONLY \

@@ -206,7 +207,6 @@ __DEFAULT_NO_OPTIONS = \
-    LOADER_BIOS_TEXTONLY \

I haven't tried it myself, but you could revert the modification, build and install system from source.
 
I compiled and installed the kernel with this change and it didn't work:
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 22373f8c7af1..774b6fffd3df 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -129,7 +129,6 @@ __DEFAULT_YES_OPTIONS = \
LLD_IS_LD \
LLVM_COV \
LLVM_CXXFILT \
- LOADER_BIOS_TEXTONLY \
LOADER_GELI \
LOADER_KBOOT \
LOADER_LUA \
@@ -207,6 +206,7 @@ __DEFAULT_NO_OPTIONS = \
DTRACE_TESTS \
EXPERIMENTAL \
HESIOD \
+ LOADER_BIOS_TEXTONLY \
LOADER_VERBOSE \
LOADER_VERIEXEC_PASS_MANIFEST \
LLVM_ASSERTIONS \

should I buildworld too ?
 
Concluding

To fix this I had to rebuild drm-61-kmod from source and rebuild gptboot with LOADER_BIOS_TEXTONLY flag set to previous value.

Still not able to change the logo splash, it's always the black and white logo no matter the image I set in "splash", but that is already a known problem I wasn't able to resolve before.

Thanks to all!
 
Back
Top