[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Best way to create splash screen from kernel boot to Xorg JavaFX app ?
From:       Julien Faure <julien.faure () iaca-electronique ! com>
Date:       2021-05-06 7:32:36
Message-ID: 2149983b-06a5-73e9-5c65-b750aa6cb256 () iaca-electronique ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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
julien.faure@iaca-electronique.com <julien.faure@iaca-electronique.com>
www.iaca-electronique.com <http://www.iaca-electronique.com>
450 rue du Trident - ZAC VIA DOMITIA Castries/Vendargues


[Attachment #5 (text/html)]

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello all,</p>
    <p><br>
    </p>
    <p>I work on<b> Raspberry pi 4 with Yocto OS.</b><br>
      <br>
      I try to create a splash screen who appears after kernel boot and
      disappears when my JavaFx app is ready on Xfce4.<br>
      <br>
      I found several "solutions" but they do not suit me.</p>
    <p><br>
      <u><b><font size="+2">My bad solution: </font><br>
        </b></u></p>
    <p><br>
      My actual solution is that I run a script at the boot (after
      kernel) who write directly on framebuffer my splash screen image.<br>
      <br>
      When Xorg start, I use <i>xsetroot -bitmap </i>to display the
      same splash image on the screen.<br>
      <br>
      When Xfce4 start, I set the Xfce4 desktop background with the same
      image and I wait that my JavaFx app start.</p>
    <p><br>
    </p>
    <p><u><b><font size="+2">My problem: <br>
          </font></b></u></p>
    <p><br>
    </p>
    <p>This solution has a main problem, between each transition
      (boot--&gt;xorg--&gt;xfce4), I have a black screen. It's not a
      fluid boot.</p>
    <p><br>
    </p>
    <p><u><b><font size="+2">My dream :</font></b></u></p>
    <p><br>
    </p>
    <p>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.<br>
      <br>
      When my Javafx app is fully started, I display my fake screen on
      the real.<br>
      <br>
      I don't found how to realize this solution, and maybe it's the
      worth solution.</p>
    <p><br>
    </p>
    <p><br>
      Can you help me please ?<br>
      <br>
      Thank you in advance.<br>
    </p>
    <p><br>
    </p>
    <div class="moz-signature">-- <br>
      <title>Email Signature</title>
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      <table style="width: 480px; font-size:8pt;
        font-family:Arial,sans-serif; line-height:normal;"
        cellspacing="0" cellpadding="0">
        <tbody>
          <tr>
            <td colspan="2" style="width: 480px; padding-bottom:5px;
              color: #3c3c3b; font-size:15pt;
              font-family:Arial,sans-serif; font-weight: bold;">Julien
              Faure</td>
          </tr>
          <tr>
            <td colspan="2" style="width: 480px;
              font-family:Arial,sans-serif; font-size:11pt;
              color:#1793d2; padding-bottom:5px;font-weight: bold;">Apprenti
              développeur informatique</td>
          </tr>
          <tr>
            <td colspan="2" style="width:
              480px;font-family:Arial,sans-serif; font-size:11pt;
              color:#1793d2; padding-bottom:5px;">Bureau d'études | IACA
              Electronique</td>
          </tr>
          <tr>
            <td colspan="2" style="width: 480px; padding-bottom:2px;
              border-top:1px dotted; border-top-color:#131313; "> </td>
          </tr>
          <tr>
            <td style="width:120px; vertical-align: middle;"
              valign="middle"> <a
                href="http://www.iaca-electronique.com" target="_blank"><img
                  alt="Logo" style="width:250px; height:75px; border:0;"
src="https://nsa40.casimages.com/img/2020/07/23/200723022750866205.png"
                  width="250" height="75" border="0"></a> </td>
            <td style="width:360px; color: #131313;
              font-family:Arial,sans-serif; vertical-align: middle;"
              valign="middle">
              <table style="line-height:14px;margin-left:10px;"
                cellspacing="0" cellpadding="0">
                <tbody>
                  <tr>
                    <td style="font-family:Arial,sans-serif;
                      font-size:8pt; color:#131313; padding:1px;">Téléphone
                      : +33(0)499622020</td>
                  </tr>
                  <tr>
                    <td style="font-family:Arial,sans-serif;
                      font-size:8pt; color:#131313; padding:1px;"> <a
                        href="julien.faure@iaca-electronique.com"
                        target="_blank"
                        style="font-family:Arial,sans-serif;
                        font-size:8pt; text-decoration:none;
                        color:#131313;">julien.faure@iaca-electronique.com</a>
                      <br>
                      <a href="http://www.iaca-electronique.com"
                        target="_blank"
                        style="font-family:Arial,sans-serif;
                        font-size:8pt; text-decoration:none;
                        color:#131313;">www.iaca-electronique.com</a> </td>
                  </tr>
                  <tr>
                    <td style="color: #131313;
                      font-family:Arial,sans-serif; font-size:8pt;
                      padding:1px;">450 rue du Trident - ZAC VIA DOMITIA
                      Castries/Vendargues</td>
                  </tr>
                  <tr>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
          <tr>
            <td colspan="2" style="width: 480px; padding-top:2px;
              border-bottom:1px dotted; border-bottom-color:#131313; "> </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>


_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic