psplash: white stripes with custom splash image
Greetings,
I wanted to customize the boot splash image for an i.MX6 system.
I'm using Kirkstone and created a psplash/psplash_%.bbappend file in a custom layer:
SPLASH_IMAGES = "file://krtek.png;outsuffix=default" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
The "files/krtek.png" file has a 800x480 resolution, which matches my display's.
However, the screen shows two white stripes at the bottom (see the attached picture). Actually, the top stripe is added on top of the original picture, and the bottom one corresponds to the picture being translated upwards (see the attached original picture).
I'm running a 4.19 Linux kernel. I couldn't reproduce this issue on a qemux86-64 system (same picture, 5.15 kernel), though the QEMU display has a greater resolution.
Has anyone seen this before, or would anyone have an idea why this happens? Thanks in advance
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 19 lines · Michael Opdenacker via lists.yoctoproject.org
Greetings,
I wanted to customize the boot splash image for an i.MX6 system.
I'm using Kirkstone and created a psplash/psplash_%.bbappend file in a custom layer:
SPLASH_IMAGES= "file://krtek.png;outsuffix=default" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"The "files/krtek.png" file has a 800x480 resolution, which matches my display's.
However, the screen shows two white stripes at the bottom (see the attached picture). Actually, the top stripe is added on top of the original picture, and the bottom one corresponds to the picture being translated upwards (see the attached original picture).
Quoted 6 lines
I'm running a 4.19 Linux kernel. I couldn't reproduce this issue on a qemux86-64 system (same picture, 5.15 kernel), though the QEMU display has a greater resolution.
Has anyone seen this before, or would anyone have an idea why this happens? Thanks in advance
It looks like the text box for messages is still painted. try with both sysvinit and systemd
IIRC I saw something similar with systemd a year or so ago, it might have been different
thing dont know.
Quoted 17 lines
Cheers
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#60108): https://lists.yoctoproject.org/g/yocto/message/60108
Mute This Topic: https://lists.yoctoproject.org/mt/99105545/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Khem,
Quoted 25 lines · Khem Raj
Quoted 22 lines · Michael Opdenacker via lists.yoctoproject.org
Greetings,
I wanted to customize the boot splash image for an i.MX6 system.
I'm using Kirkstone and created a psplash/psplash_%.bbappend file in a custom layer:
SPLASH_IMAGES= "file://krtek.png;outsuffix=default" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"The "files/krtek.png" file has a 800x480 resolution, which matches my display's.
However, the screen shows two white stripes at the bottom (see the attached picture). Actually, the top stripe is added on top of the original picture, and the bottom one corresponds to the picture being translated upwards (see the attached original picture).
I'm running a 4.19 Linux kernel. I couldn't reproduce this issue on a qemux86-64 system (same picture, 5.15 kernel), though the QEMU display has a greater resolution.
Quoted 7 lines
Quoted 2 lines
Has anyone seen this before, or would anyone have an idea why this happens? Thanks in advance
It looks like the text box for messages is still painted. try with both sysvinit and systemd
IIRC I saw something similar with systemd a year or so ago, it might have been different
thing dont know.
Thanks for the tip!
I am using systemd indeed. I've just tried with sysvinit, and the issue is the same. Anyway, I'll check the code for this text box.
Thanks again.
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 38 lines · Michael Opdenacker via lists.yoctoproject.org
Hi Khem,
Quoted 21 lines · Khem Raj
Quoted 18 lines · Michael Opdenacker via lists.yoctoproject.org
Greetings,
I wanted to customize the boot splash image for an i.MX6 system.
I'm using Kirkstone and created a psplash/psplash_%.bbappend file in a custom layer:
SPLASH_IMAGES= "file://krtek.png;outsuffix=default" FILESEXTRAPATHS:prepend := "${THISDIR}/files:"The "files/krtek.png" file has a 800x480 resolution, which matches my display's.
However, the screen shows two white stripes at the bottom (see the attached picture). Actually, the top stripe is added on top of the original picture, and the bottom one corresponds to the picture being translated upwards (see the attached original picture).
Quoted 5 lines
Quoted 5 lines
I'm running a 4.19 Linux kernel. I couldn't reproduce this issue on a qemux86-64 system (same picture, 5.15 kernel), though the QEMU display has a greater resolution.
Has anyone seen this before, or would anyone have an idea why this
happens?
Quoted 6 lines
Quoted 1 line
Thanks in advance
It looks like the text box for messages is still painted. try with both sysvinit and systemd
IIRC I saw something similar with systemd a year or so ago, it might have been different
thing dont know.
Quoted 4 lines
Thanks for the tip!
I am using systemd indeed. I've just tried with sysvinit, and the issue is the same. Anyway, I'll check the code for this text box.
https://git.yoctoproject.org/psplash/tree/configure.ac#n34
I think.
Quoted 21 lines
Thanks again.
Cheers
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#60114):
https://lists.yoctoproject.org/g/yocto/message/60114
Mute This Topic: https://lists.yoctoproject.org/mt/99105545/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 11 lines · Tim Orling
Thanks for the tip!
I am using systemd indeed. I've just tried with sysvinit, and the issue
is the same. Anyway, I'll check the code for this text box.https://git.yoctoproject.org/psplash/tree/configure.ac#n34
I think.
Yesss!
EXTRA_OECONF += "--disable-startup-msg --enable-img-fullscreen" did the trick:
* "--disable-startup-msg" to disable the upper white box (I didn't see the startup message anyway)
* "--enable-img-fullscreen" to avoid the upward shift.
Many thanks!
Cheers
Michael.
Signature · 3 lines
Michael Opdenacker, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Should these be PACKAGECONFIG entries in psplash recipe?
Alex
Quoted 43 lines · Michael Opdenacker via lists.yoctoproject.org
Quoted 11 lines · Tim Orling
Thanks for the tip!
I am using systemd indeed. I've just tried with sysvinit, and the issue
is the same. Anyway, I'll check the code for this text box.https://git.yoctoproject.org/psplash/tree/configure.ac#n34
I think.
Yesss!
EXTRA_OECONF+= "--disable-startup-msg --enable-img-fullscreen" did the trick:* "--disable-startup-msg" to disable the upper white box (I didn't see the startup message anyway)
* "--enable-img-fullscreen" to avoid the upward shift.Many thanks!
Cheers
Michael.--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#60121): https://lists.yoctoproject.org/g/yocto/message/60121
Mute This Topic: https://lists.yoctoproject.org/mt/99105545/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-