HDR support for Ubuntu

Bug #1844775 reported by Timo Aaltonen
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ffmpeg (Ubuntu)
Fix Released
Undecided
Unassigned
intel-media-driver (Ubuntu)
Fix Released
Undecided
Unassigned
libva (Ubuntu)
Fix Released
Undecided
Unassigned
mesa (Ubuntu)
Fix Released
Undecided
Timo Aaltonen
mutter (Ubuntu)
Triaged
Medium
Unassigned
wayland-protocols (Ubuntu)
Triaged
Undecided
Unassigned
weston (Ubuntu)
Confirmed
Undecided
Unassigned
Timo Aaltonen (tjaalton)
summary: - HDR support for Ubuntu
+ HDR support for Ubuntu 20.04
Timo Aaltonen (tjaalton)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: HDR support for Ubuntu 20.04

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in mesa (Ubuntu):
status: New → Confirmed
Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in weston (Ubuntu):
status: New → Confirmed
Timo Aaltonen (tjaalton)
no longer affects: mesa (Ubuntu Ff-series)
no longer affects: mutter (Ubuntu Ff-series)
no longer affects: weston (Ubuntu Ff-series)
Changed in mesa (Ubuntu):
assignee: nobody → Timo Aaltonen (tjaalton)
affects: libva (Ubuntu) → intel-media-driver (Ubuntu)
Changed in intel-media-driver (Ubuntu):
status: New → Confirmed
Revision history for this message
Gary Wang (gary-c-wang) wrote :

I also put information for HDR feature in media's software stack (ffmpeg/libva/iHD driver(media-driver)/

intel's video codec with HDR is enabled in Linux media stack for transcoding, I list the code commits of media libraries related to HDR for reference,
FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/38a413213216fc7add112f67e26326492c859c08
Libva
https://github.com/intel/libva/commit/cf11abe5e1b9c93ee75cf974076957162c1605b9
intel's iHD driver
https://github.com/intel/media-driver/commit/7e0ebbc794e83202808f6404f20f2a41c32a181d

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

we have libva 2.5.0 which should contain that commit already

Changed in libva (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

looks like media driver is fixed as well

Changed in intel-media-driver (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

likewise with ffmpeg

Changed in ffmpeg (Ubuntu):
status: New → Fix Released
Timo Aaltonen (tjaalton)
description: updated
Changed in mutter (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Note that "HDR" and deep colour (any colour depth higher than 8-bit) are two different things.

It sounds like some of the above links refer to deep colour support and others refer to HDR. We should clarify which this bug is about (or that it really is about both disparate issues).

For regular desktop usage I think deep colour support is more important (and should come first), as first mentioned in bug 1293950.

Revision history for this message
Gary Wang (gary-c-wang) wrote :

Hi Timo and Daniel (@vanvugt),
Any plan for enabling HDR in part of X.org? Thanks!

Gary

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

You mean doing upstream work to add support for it? No, I don't think so.

Timo Aaltonen (tjaalton)
summary: - HDR support for Ubuntu 20.04
+ HDR support for Ubuntu
Revision history for this message
Gary Wang (gary-c-wang) wrote :
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Still not upstream? We'll have kernel 5.4 in 20.04, and likely won't be backporting big patchsets like this for it. Sounds like these would have to wait for the 20.04.2 HWE update in early 2021.. (backported from 20.10)

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That certainly looks HDR related. But if Ubuntu is to be able to use HDR then gnome-shell/mutter first should enable use of a deep colour framebuffer. Actually, for me, that's the only part I care about :) Can anyone confirm what the minimum Intel GPU required is for 10-bpc?

Revision history for this message
Gary Wang (gary-c-wang) wrote :

For #15,
Sorry for causing you confusion, just put related HDR patch of Gemini Lake for your reference.

The patch for GLK were in i915 upstream.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.4-rc4&id=44b42ebfccfd9d6ef377a25e99ae0085b071e868

Gary

Revision history for this message
Gary Wang (gary-c-wang) wrote :

HDR i915 for Gfx-Gen9 in CFL/CML: Reviewing in upstream (https://patchwork.kernel.org/patch/11204583/)
[v2,0/6] Enable HDR on MCA LSPCON based Gen9 devices
[v2,1/6] drm/i915/display: Add HDR Capability detection for LSPCON
[v2,2/6] drm/i915/display: Enable HDR on gen9 devices with MCA Lspcon
[v2,3/6] drm/i915/display: Attach HDR property for capable Gen9 devices
[v2,4/6] drm/i915/display: Set HDR Infoframe for HDR capable LSPCON devices
[v2,5/6] drm/i915/display: Enable BT2020 for HDR on LSPCON devices
[v2,6/6,NOT,FOR,MERGE] drm/i915/display: Reduce blanking to support 4k60@10bpp for LSPCON

Gary Wang (gary-c-wang)
Changed in weston (Ubuntu):
status: Confirmed → Fix Released
Timo Aaltonen (tjaalton)
Changed in weston (Ubuntu):
status: Fix Released → Confirmed
Timo Aaltonen (tjaalton)
Changed in mesa (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
U. Artie Eoff (uartie) wrote :

FWIW, There is also HDR10 tone map support in gstreamer-vaapi https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/270

Timo Aaltonen (tjaalton)
description: updated
Changed in wayland-protocols (Ubuntu):
status: New → Triaged
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.