mpv icon indicating copy to clipboard operation
mpv copied to clipboard

HDR config question

Open laichiaheng opened this issue 3 years ago • 4 comments

Today, I heard some people say that we had been able to watch HDR contents via DRM, so I tried it, and it really did. but there are some questions.

  1. Does target-colorspace-hint affect SDR contents in Gnome Desktop Environment?
  2. The color looks so strange when my ICC profile is enabled, does that mean we can't enable both at the same time? It looks much more saturate with icc-profile, the dark area looks darker, the bright area looks brighter.
  3. Will there be a way to enable interpolation while watching HDR movies?

laichiaheng avatar Oct 02 '22 08:10 laichiaheng

Does target-colorspace-hint affect SDR contents in Gnome Desktop Environment?

I have no clue. But I strongly doubt it.

The color looks so strange when my ICC profile is enabled, does that mean we can't enable both at the same time? It looks much more saturate with icc-profile, the dark area looks darker, the bright area looks brighter.

The ICC profile will have to be constructed against a PQ target curve to work properly. You cannot combine an SDR ICC profile with HDR output mode.

Will there be a way to enable interpolation while watching HDR movies?

It should already work. I'm not sure what you mean?

haasn avatar Oct 05 '22 20:10 haasn

@haasn I don't see the --video-sync=display-resample work when I play HDR movies in TTY, doesn't --interpolation need --video-sync=display-resample to be enabled?

laichiaheng avatar Oct 06 '22 08:10 laichiaheng

Does target-colorspace-hint affect SDR contents in Gnome Desktop Environment?

I have no clue. But I strongly doubt it.

The color looks so strange when my ICC profile is enabled, does that mean we can't enable both at the same time? It looks much more saturate with icc-profile, the dark area looks darker, the bright area looks brighter.

The ICC profile will have to be constructed against a PQ target curve to work properly. You cannot combine an SDR ICC profile with HDR output mode.

Will there be a way to enable interpolation while watching HDR movies?

It should already work. I'm not sure what you mean?

Here is how I watch the HDR movies in TTY: mpv --vo=gpu-next --gpu-api=vulkan --gpu-context=displayvk --target-colorspace-hint <video>

laichiaheng avatar Oct 06 '22 13:10 laichiaheng

display-resample doesn't work for me when using displayvk either, so it might be a limitation of displayvk (or a bug). As a workaround, you can use gamescope's embedded mode (from a TTY) with vulkan-context set to x11vk. And it also supports HDR, although I'm not sure of the full requirements compared to HDR gaming. I suspect an AMD card will be required at the least.

aqxa1 avatar Feb 01 '23 05:02 aqxa1