Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDR config question #10704

Closed
laichiaheng opened this issue Oct 2, 2022 · 5 comments
Closed

HDR config question #10704

laichiaheng opened this issue Oct 2, 2022 · 5 comments

Comments

@laichiaheng
Copy link

laichiaheng commented Oct 2, 2022

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 laichiaheng changed the title HDR config issue HDR config question Oct 2, 2022
@haasn
Copy link
Member

haasn commented Oct 5, 2022

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?

@laichiaheng
Copy link
Author

laichiaheng commented Oct 6, 2022

@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
Copy link
Author

laichiaheng commented Oct 6, 2022

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>

@aqxa1
Copy link

aqxa1 commented Feb 1, 2023

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.

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

No branches or pull requests

5 participants
@haasn @Dudemanguy @laichiaheng @aqxa1 and others