Discussion:
Best way to create splash screen from kernel boot to Xorg JavaFX app ?
Julien Faure
2021-05-06 07:32:36 UTC
Permalink
Hello all,


I work on*Raspberry pi 4 with Yocto OS.*

I try to create a splash screen who appears after kernel boot and
disappears when my JavaFx app is ready on Xfce4.

I found several "solutions" but they do not suit me.


_*My bad solution:
*_


My actual solution is that I run a script at the boot (after kernel) who
write directly on framebuffer my splash screen image.

When Xorg start, I use /xsetroot -bitmap /to display the same splash
image on the screen.

When Xfce4 start, I set the Xfce4 desktop background with the same image
and I wait that my JavaFx app start.


_*My problem:
*_


This solution has a main problem, between each transition
(boot-->xorg-->xfce4), I have a black screen. It's not a fluid boot.


_*My dream :*_


I thought that, it will be perfect to prepare Xorg + xfce4 + JavaFx boot
in fake screen and display the splash screen on the real screen.

When my Javafx app is fully started, I display my fake screen on the real.

I don't found how to realize this solution, and maybe it's the worth
solution.



Can you help me please ?

Thank you in advance.
--
Email Signature
Julien Faure
Apprenti développeur informatique
Bureau d'études | IACA Electronique
Logo <http://www.iaca-electronique.com>
Téléphone : +33(0)499622020
***@iaca-electronique.com <***@iaca-electronique.com>
www.iaca-electronique.com <http://www.iaca-electronique.com>
450 rue du Trident - ZAC VIA DOMITIA Castries/Vendargues
Loading...