Skip to content

HDR management consistency in PiP #5295

@rmsa5

Description

@rmsa5

IINA Version

1.3.5 Build 141

Release Channel

Release

macOS Version

15.1.1

Steps to Reproduce

Setup:

  • Internal display: HDR capable (Macbook pro M3 Max 14" 64GB's XDR screen)

  • External screen: SDR capable only, shitty old DELL corporate 1080p SDR 27", plugged into Mac through dock (USB-C then HDMI, but Direct HDMI has same result)

  • Have an HDR video file (mp4 hdr 2160p x265 movie in my case) available locally

  • Open iina on internal display

  • Open file in iina

  • file plays in HDR

  • either have iina window be fullscreen or simply windowed

  • switch iina to PiP

  • Now play around with moving the PiP window between screens

  • when moving to the SDR screen, the PiP window content will pretty often (not all the time) become uselessly dark

  • Moving the iina window to the SDR screen and getting out of PiP will keep the playback in dark state

  • Dragging the iina window (with the content playing) SDR screen -> HDR screen -> SDR screen will restore SDR playback correctly.

  • Now, doing the same thing but with the content paused strangely get the same dark treatment on SDR screen, but only temporarily and the image ends up going to SDR properly.

It's hard to identify what is going wrong. It feels like the app has a jumbled up perception of the HDR/SDR capability of the available screens and doesn't update the video rendering target properly. I unfortunately don't have more screens to test this

Expected Behavior

seemless switch to SDR/HDR rendition to accomodate screen capabilities

Actual Behavior

all over the place😅

Crash Report or Process Sample

No response

Logs

No response

Sample Files

No response

How often can you reproduce the issue

systematically

Required Actions

  • I tried my best to search from the existing issues (including closed issues) and didn't find duplicated issues.

Optional Actions

  • I tested with the Nightly build and confirmed the issue is not fixed.
  • I tested with the latest version of mpv and confirmed mpv doesn't have this issue.

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions