Solved Bootloader splash screen

poorandunlucky

Well-Known Member

Reaction score: 26
Messages: 355

Hullo 0/

so I just installed FreeBSD 11.1-REL as my main desktop OS for the first time since before DRM/KMS (had it taking up 512 MB of RAM in Hyper-V for pretty much no reason, though), and I guess I'm used to cozy Windoze, because I'd like to have a slash screen, or at least, a black screen, at the bootloader, and until login is ran... press Esc to see the boot messages, kind of thing, kinda like Windows used to be...

Is it possible to do that? I searched for it, but pretty much only came-up with unrelated stuff...

If it's not possible, what's the best I could hope for? How do I accomplish that?
 

aht0

Active Member

Reaction score: 42
Messages: 137

It's possible. TrueOS for example does that.

look at /boot/defaults/loader.conf

There is a section with a title "Splash screen configuration".
 
OP
OP
poorandunlucky

poorandunlucky

Well-Known Member

Reaction score: 26
Messages: 355

It's possible. TrueOS for example does that.

look at /boot/defaults/loader.conf

There is a section with a title "Splash screen configuration".
I'll have another go at the loader, but it's not loading any graphic driver... I'm talking like I don't want to see anything on the screen... It's not that I mind so much, but it's more presentable that way these days...

I did try putting a bitmap in /boot/loader.conf and I know it tries to load /boot/kernel/splash.bmp by default, but I didn't know the maximum size was 320 x 200 px x 256 colors (I'm doing that right now...) [http://www.bsdguides.org/2007/freebsd-splash-screen/].
 
OP
OP
poorandunlucky

poorandunlucky

Well-Known Member

Reaction score: 26
Messages: 355

I'll have another go at the loader, but it's not loading any graphic driver... I'm talking like I don't want to see anything on the screen... It's not that I mind so much, but it's more presentable that way these days...

I did try putting a bitmap in /boot/loader.conf and I know it tries to load /boot/kernel/splash.bmp by default, but I didn't know the maximum size was 320 x 200 px x 256 colors (I'm doing that right now...) [http://www.bsdguides.org/2007/freebsd-splash-screen/].
I mean the other loader, right after I put in the GELI password (if not before, but I can't ask about the moon at this point)... Even this way, it's not taking it... and it would hardly be worth it... by the time it shows the message that it's loading kernel modules, it's almost time to load the kms module, at which point the screen becomes black, and I'm prompted to login... like if SLiM was enabled, I'd hardly see the splash screen, but I'd see a lot of messages...

I'm looking for a way to not see anything or have a splash screen...
 

ldgc

Active Member

Reaction score: 45
Messages: 194

OP
OP
poorandunlucky

poorandunlucky

Well-Known Member

Reaction score: 26
Messages: 355

Hello poorandunlucky :), the default console driver in the release your using is called vt, which has limited splash screen support as indicated here: https://wiki.freebsd.org/Newcons
You can switch to the previous console driver called sc by writing kern.vty=sc in /boot/loader.conf and then follow the instructions on https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-splash.html
Hope this helps ;)
Ohhh, well that explains it... I thought vt was loaded at the same time as radeonkms.ko (when the text visually changes on the screen), I didn't think vt was an outright replacement for syscons, I thought it was just for the new display drivers... I'll just wait for vt to have support, then, I'm sure it'll be worth the wait. : )

Thanks for the heads-up! :thumbsup:
 

tobik@

Daemon
Developer

Reaction score: 1,370
Messages: 1,909

FreeBSD will display a logo with vt(4) during kernel initialization if you mute the console via boot_mute="YES" in /boot/loader.conf or by running it via boot -m at the loader prompt. This requires that you do not set hw.vga.textmode=1 as well.
 
OP
OP
poorandunlucky

poorandunlucky

Well-Known Member

Reaction score: 26
Messages: 355

ouhh, I'll try that when I'm back in the OS... I'm having a bit of a problem re-installing...
 
Top