Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[Firmware 1.4.0.8] Splash animation choppy on the SPI panel (17 frames in 2 s) #8

Done

Description

@fabiomorena

Context. With the DRM/KMS fallback from #7, SampleBoot's menu shows on a real MPC Sample with firmware 1.4.0.8 (DRM driver st7796s, SPI connector, 320×240).

Problem. The splash animation is choppy there. last-boot.log:

sampleboot-ui: splash dark: 17 frames, 2.04 s

The reveal (SPLASH_REVEAL, 0.8 s) is timed, so it still finishes on time, but in a few coarse steps instead of drawing line by line. The menu itself is fine: it only redraws on input or once a second.

Likely cause (not measured). On an SPI panel every page flip sends the whole 320×240 frame over SPI, and kms_present() waits for the previous flip before drawing the next frame. If one full-frame transfer takes about 50 ms, that allows only a few frames during the 0.8 s reveal.

Ideas

  • During the reveal, update only the rows that changed: DRM_IOCTL_MODE_DIRTYFB with a clip rectangle around the new band and the beam, so the panel driver only sends those lines.
  • Or don't wait for the flip to complete during the splash: skip a frame while a flip is still pending instead of blocking.
  • Log the time per flip (min/avg/max) once, so the cause can be confirmed on hardware.

Not a functional problem, only how the splash looks on 1.4.0.8.

Activity

  1. added a commit that references this issue on Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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