Skip to content

Adding penguins at startup.

Not downloaded yet

Yes hello, this has been a hell, i recompiled the kernel... but i doesn't display the tuxes.

It is on Arch. I have the option on. Note, the penguins are NOT a plymouth. e.g. https://i.stack.imgur.com/Pacz1.png I also changed the configs...

EDIT: since, i cannot start X with tuxes. I will be abandoning this thread, so you should too, thanks for all your help!

Edited 1 Dec 2020. We only hold this version.

175 points66 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
175 · 94% up
Kind
Image
ID
k3prde

Author

5
posts
29
comments
1
media
View profile

72 comments

I suppose the OP wants the visible boot messages, with a row of Tux on top, instead of boot splash. The messages are hidden in Arch by default.

62 points

Yes because quite is passed to the kernel and this disables those messages those messages are systemd starting services and mounting filesystems and loading kernel modules depending on what you set in fstab or modules-load.d

13 points

... what?

Do you want to have a splashscreen? What package? What bootloader? What kernel? Etc etc

14 points

OP wants the Tux logo at the top of the boot output. One tux for each CPU core, I believe. This is disabled on Arch. OP tried to recompile the kernel with the option on, but appearently, it didn't work.

37 points

That one per CPU core is neat. I'd always wondered why some systems had 4. Now I want to know how it handles these new 64 core Ryzens

41 points

I've never done it myself, but have a look at this answer on StackExchange. According to that, you need three things:

  • Compile your kernel with the CONFIG_LOGO option set to true.
  • Install a framebuffer driver.
  • Disable KMS with nomodeset and the other appropriate kernel parameters for your video drivers.
11 points
unknown author1 hidden

Deleted before we saved it.

1 points

actually, im having problems with uvesafb & v86d, mkinicpio craps itself.

AAAAAAAAAAAAAAAND v86d cannot load in, thankfully kernel loads in!

4 points

Got it to work in hyperv with the following mods to default arch config. The graphics driver have to be builtin, otherwise it loads to late to show the penguins.

-CONFIG_FB_HYPERV=m
+CONFIG_FB_HYPERV=y

-CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER=y
+# CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set

-# CONFIG_LOGO is not set
+CONFIG_LOGO=y
+CONFIG_LOGO_LINUX_MONO=y
+CONFIG_LOGO_LINUX_VGA16=y
+CONFIG_LOGO_LINUX_CLUT224=y
10 points

Thanks, turning off CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER did it for me. I was already running a custom kernel and was wondering why I never saw the penguins even though I had the logo compiled in. They do go away as soon as the login prompt shows up so I only see them for about 2 seconds.

This is on real hardware for me (not a VM.) I am using the Nvidia proprietary driver so my console is using EFIFB. I'm not sure you'll see penguins on drivers with proper KMS support (AMD, Nouveau, Intel, etc.) As mentioned in some other comments, people using those drivers may need to turn KMS off.

1 points

Got it to work in hyperv with the following mods to default arch config. The graphics driver have to be builtin, otherwise it loads to late to show the penguins.

Though which arch cfgs, and most importantly, where?

1 points
unknown author

Deleted before we saved it.

1 points

It use FB subsystem which is not used by mordern GPUs.

7 points

Really?

1 points

Yes it only works framebuffer console. Mordern GPUs use KMS(used wayland and rootless Xorg) which disable the logos. Nomodeset will allow logos to be visible but I not sure what GPU functionality will not work, prob need xorg video drivers???

5 points

I can confirm this. It only works on gentoo's install media with the frame buffer kernel. Starting w/ gentoo-nofb disabled the tuxes.

You could try enabling frame buffer mode but I'm not sure whether it will cause problems with running X and other stuff. I know at least, it will massively slow down tty printing, which will limit the speed programs can run, even to the point of slowing down the boot process.

1 points

Never had any problem with this, just enable the appropriate kernel option when building

5 points

Try asking in the gentoo subreddit maybe. I noticed gentoos live install media does this and I think genkernel may but I'm not sure. Ofc you can't use genkernel but they still may have more info. Could try their wiki as well.

Edit: Now that I think of it, I think it only works w/ gentoo's live media when NOT using the gentoo-nofb (no frame buffer) kernel. So I think you need to enable frame buffer support, which by the way can cause some issues if you spend a lot of time in tty, like super slow scrolling speeds that slow down whatever process is printing.

5 points

you have enabled that feature in the config?

search LOGO_LINUX_CLUT224 in menuconfig or nconfig, whatever you use.

edit: you can use your own pic

How to change linux penguin logo at splash screen:

————————————————–

Install GIMP: apt-get install gimp

  1. Convert the .png (ensure 80×80 size) format to .ppm format

In GIMP,

a. File -> Open -> .png image

b. Image -> give X and Y pixel (click on resize).

​

  1. apt-get install netpbm

pngtopnm /path/to/larry.png | ppmquant -fs 223 | pnmtoplainpnm > logo_larry_clut224.ppm

​

  1. copy the created .ppm file into drivers/video/logo folder.

​

  1. Add the entry in the Kconfig (drivers/video/logo/Kconfig)

config LOGO_LARRY_CLUT224 bool “Gentoo-ised 224-colour logo” depends on LOGO default

​

  1. Add the code in logo.c (drivers/video/logo/logo.c)

extern const struct linux_logo logo_larry_clut224;

Add this to the section headed by “if (depth >= 8) {“:

ifdef CONFIG_LOGO_LARRY_CLUT224

/* Gentoo-ised logo */ logo = &logo_larry_clut224;

endif

​

  1. Add an entry in the Makefile(drivers/video/logo/Makefile)

obj-$(CONFIG_LOGO_LARRY_CLUT224) += logo_larry_clut224.o

​

  1. enable in the config, recompile the kernel and install, reboot.
1 points

Have you tried enbling bootup logo config in the kernel it s under device drivers/graphics support/Bootup logo or CONFIG_LOGO in .config I ve never had this on so i dont know how does it look but i may give it a try

1 points

What does cat /proc/cmdline show?

1 points

cat /proc/cmdline

intel_pstate=passive BOOT_IMAGE=/boot/vmlinuz-linux59-tkg-upds root=UUID=48e7678e-e97d-418e-a7fb-333760ae9465 rw nouveau.modset=0 intel_iommu=on iommu=pt

1 points
unknown author

Deleted before we saved it.

1 points

I am sad there's no way to make this work with x. But I'm okay because I have tux on my grub and lightdm splash screens, in addition to my wallpaper lol. (I like penguins in general, not just tux).

1 points

Hey! Adding fbcon=nodefer to kernel parameters kind of did the trick for me. However, you can see the logo only for a fraction of a second, and it gets cleared. Also, systemd seems to have left space for tux. I will update if I get it to show up during the entire boot process. Video

1 points

You can get a boot splash with plymouth, the Arch docs can help you set it up. You don't need to touch the kernel, just mkinitcpio.

0 points

oh really, that does not seem to be the case though.

4 points

Dude, we need more info or we can't help. I got a tux on my boot splash using the Arch wiki's entry on plymouth. Beyond that, with no additional information, there's not much I can say to help.

2 points

Lmao, this is fucking hilarious. I'm sorry that you're encountering issues, but you really recompiled the kernel to get a small penguin at startup? LOL

-2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.