Skip to content

[bug] Android TV shows grey letterbox bars on Dolby Vision titles narrower than 16:9 #475

Closed

Description

@Quick104

What happened

On an Onn 4K Pro (Android TV 14, Amlogic) connected to an LG C5 OLED, the Android TV app draws the letterbox bars of a widescreen Dolby Vision title as dim purplish grey (about 0.1 nit) instead of black. It happens when the coded frame is narrower than 16:9, such as 3840x1920. A Dolby Vision file coded at 3840x2160 with the bars inside the picture shows black bars on the same box, TV, and settings. HDR10 and SDR titles show black bars. The same files on an Nvidia Shield on the same TV input show black bars.

The reporter sees the same grey bars in Wholphin, Stremio, and Nuvio on the same box, so the cause is how the device composites the app window during Dolby Vision output. Silo can still avoid it by changing what it draws in the bar area.

This was not reproduced for this issue. No Amlogic Dolby Vision device was available. The report includes dumpsys SurfaceFlinger and hardware-composer captures that show the mechanism (see Technical notes), and the Silo source matches them.

Steps to reproduce

From the report:

  1. Connect an Onn 4K Pro (2026) to an OLED TV over HDMI. Leave the box's display settings at their defaults: Match content dynamic range on, Dolby Vision mode sink-led.
  2. In the Silo Android TV app, play a Dolby Vision title whose coded frame is narrower than 16:9 (tested with 3840x1920) with Direct Play and the default Fit video mode.
  3. Watch a dark scene in a dark room.
  4. For comparison, play a Dolby Vision title coded at 3840x2160 with the bars in the picture.

Step 2 shows grey bars. Step 4 shows black bars. Switching the box to source-led Dolby Vision darkens the bars but they stay visible.

Expected behavior

Letterbox bars are reference black (OLED pixels off) for every title, as they are on the Shield.

Silo version / commit

Android TV app 1.0.0 (build 19), server build 1108 (74a81e4c)

Deployment

Docker

Clients affected

  • Web UI
  • Android
  • iOS/tvOS/macOS
  • Jellyfin-compat client (Infuse, Findroid, ...)
  • Other/not client-specific

Relevant logs

no logs available

Technical notes

The reporter's captures show two hardware planes during playback. The decoded video sits on the video plane (BT2020 PQ). The app window is a separate 1920x1080 RGBA buffer with an sRGB dataspace on the OSD plane. The composer scales it to 3840x2160 and blends it above the video. With a 3840x1920 frame, the video plane covers rows 120 to 2040. The rows above and below hold only OSD pixels. In Dolby Vision output, the composer maps sRGB black on the OSD plane to a level above reference black, so those rows glow. A 16:9-coded file fills the video plane, no OSD-only rows remain, and the bars are black.

In TvPlayerScreen.kt, the default Fit mode maps to RESIZE_MODE_FIT (resizeModeForVideoFillMode), which sizes the SurfaceView to the video's aspect ratio. The player's root Box paints Color.Black behind it. That opaque black in the OSD buffer is what the bar rows show.

Other players handle this per device, because the opposite choice breaks other chips:

  • Leaving the bars transparent fixes Sony Bravia and several Android TV boxes (Nuvio enabled it by default for non-Amazon devices, NuvioMedia/NuvioTV commit ee9265e).
  • On MediaTek MT8696 devices (Fire TV, Google TV Streamer), transparent bars come out grey and opaque black is correct. Kodi went back to an opaque black background for Fire TV Dolby Vision in [Android] Revert main layout background transparency to black xbmc/xbmc#22561. Grey-bar reports on Sony sets were later linked to that change.
  • Nuvio then moved transparent bars behind a device-local "True black bars" toggle, off by default, because some devices showed a bright line at the bar edge (commit a8faca1).
  • With tunneled playback, a full-screen surface lets the video hardware letterbox inside the video plane (feat(player): toggle Fit and Fill only while playback is tunneled NuvioMedia/NuvioTV#3734). The reporter's capture shows a non-tunneled buffer layer for this title, so that path does not apply here.

The phone app's letterbox matte also sizes the surface to the picture, but phones don't send Dolby Vision over HDMI, so this issue covers Android TV only.

AI harness

Claude Code

AI tool(s)

Claude Code, gh

AI model(s)

claude-opus-5-5

AI involvement

Fully AI-generated, human verified

Independent or adversarial review

n/a

Confirmations

  • I reproduced this myself on a real deployment
  • Any logs provided are raw apart from marked redactions and are not AI-summarized; if none were available, I said so above

Source: community report on Discord

Activity

  1. added
    bug
    on Oct 5, 2026
  2. self-assigned this
    on Oct 5, 2026
  3. Quick104 commented on Oct 5, 2026

    @Quick104
    ContributorAuthor

    🤖 AI agent claim. Claude Code (claude-opus-5-5) is working on a fix for this issue on behalf of @Quick104, who is assigned.

    A pull request will link here when the fix is ready. If the work stops without a fix, the assignment and this comment are removed.

    Planning to work on this, or have context to add? Reply here and mention @Quick104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions