You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

RDKE splash screen is a lightweight bootup splash screen application for RDK-E . It displays a fullscreen image during device startup and exits once the system signals it to dismiss, keeping the screen visually occupied while the rest of the stack initializes. The source code for the same is available in https://github.com/rdkcentral/splashscreen/tree/develop .

It can be started via the systemd and is associated with a service file rdke_splash.service . The systemd unit can be configured to launch /usr/bin/rdke_splash early in the boot sequence . It preloads libwesteros_gl.so for the Westeros/Wayland compositor integration . The app uses Essos to create a fullscreen EGL window. The splash image is passed via --image <path> (JPEG or PNG). 

If no image is provided or decoding fails, it falls back to a solid red 1×1 texture. 

Every 50 ms  the app checks for the existence of /tmp/.dismissSplash. When that file is found, the render loop exits. The helper script dismiss_splash.sh creates that file with a simple touch /tmp/.dismissSplash call — any other system component can do the same to signal that the splash is no longer needed. 

On exit (dismiss file detected, SIGINT/SIGTERM, or Essos termination), the app destroys the GL program and texture, stops and destroys the Essos context, and returns.

If the window manager is running already then you will need to ensure the splash screen application runs in wayland mode (by setting the WAYLAND_DISPLAY variable to connect to the wayland display).

In short

  • The splash screen app can run without the window manager but both cannot be running at the same time in this mode
  • If you want the splash screen app and the window manager to run at the same time then you'll need to create a wayland display for the splash screen app to connect to and then set the WAYLAND_DISPLAY environment variable to its display name and then run the splash screen app

Analysis of changes needed in RDKM environment to support splash screen


  • No labels