Skip to content

Slightly awkward interaction between splash-screen and boot-to-console #7087

@lurch

Description

@lurch

Describe the bug

If you enable the fullscreen splash-image using https://github.com/raspberrypi/rpi-splash-screen-support and then use Control Centre to enable "Boot: To CLI", then when the console appears, you have no flashing cursor, which makes editing command-lines rather awkward! (As a workaround, the cursor can be manually enabled by running printf "\033[?25h" thanks stackoverflow )

This seems to be because configure-splash adds vt.global_cursor_default=0 to cmdline.txt in order to prevent the cursor being drawn over the top of the splash screen. If I remove that parameter from cmdline.txt then I get the cursor drawn over the top of the splash-screen (which is ugly) but I do then get the flashing cursor at the console prompt. Would it be possible for the code that displays the splash-screen to also do the equivalent of printf "\033[?25h" when the splash-screen stops being displayed?

Steps to reproduce the behaviour

  1. Flash RPi OS Trixie to an SD card (and boot it up)
  2. Install ImageMagick : sudo apt install imagemagick
  3. Create a suitable TGA image : convert /usr/share/rpd-wallpaper/fisherman.jpg -colors 224 -depth 8 -type TrueColor -alpha off -compress none -define tga:bits-per-sample=8 -crop 1920x1080+0+100 fisherman.tga
  4. Install rpi-splash-screen-support : sudo apt install rpi-splash-screen-support
  5. Configure the splash image : sudo configure-splash fisherman.tga
  6. Reboot your Pi : sudo reboot
  7. You'll get a nice full-sceen splashscreen before the desktop appears
  8. Launch Control Centre from the main Preferences menu and navigate to the System tab
  9. Select Boot: To CLI and reboot your Pi again
  10. You'll get a nice full-sceen splashscreen before the console appears
  11. But there'll be no visible cursor
  12. (As mentioned above, the cursor can be manually enabled with printf "\033[?25h")

Device (s)

Raspberry Pi 5

System

https://pastebin.com/xRdkCerp

Logs

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions