Bug 353689 - Display Broadcast RGB color space settings support request
Summary: Display Broadcast RGB color space settings support request
Status: RESOLVED FIXED
Alias: None
Product: kgamma
Classification: Plasma
Component: general (show other bugs)
Version: 5.7.1
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-08 17:35 UTC by pauledd
Modified: 2021-09-02 21:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pauledd 2015-10-08 17:35:46 UTC
It would be nice to have the ability to set my display color space to anything the display supports (mostly 16-235 or 0-255). xrandr can query the display color space with "xrandr --verbose":

Broadcast RGB: Full 
 supported: Automatic, Full, Limited 16:235

and set with "xrandr --output HDMI1 --set "Broadcast RGB" "Full""

Reproducible: Always
Comment 1 Martin Flöser 2016-07-20 13:31:59 UTC
Please have a look at the kgamma configuration module: kcmshell5 kgamma.

AFAIK this should provide the functionality you are looking for.
Comment 2 pauledd 2016-07-20 18:37:11 UTC
Thanks for the hint but unfortunately adjusting a gamma value and setting color space is completly different. RBG (0-255) is mostly used with image editing where full color range is needed and YCBCR (16-235) comes from analog video and is widely used in tv-screens,dvd-players and gaming consoles. Even kody mediaplayer and some windows drivers allow to select between the two modes. Almost every newer LED screen is able to switch between them too. I admit it probably doesn't belong to the kgamma module its maybe more a screen settings thing.
Comment 3 Martin Flöser 2016-07-21 05:55:23 UTC
Ok I don't have any idea about that. I think it's best to keep it in kgamma module as that's about adjusting the color space of the output in the most broadest way.

Unfortunately I do not expect that this will developed and added any time soon. Maybe on Wayland, but for X11 I consider it as unlikely.
Comment 4 Bug Janitor Service 2021-08-31 16:33:24 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1355
Comment 5 Zamundaaa 2021-09-02 11:55:37 UTC
Git commit 26ad8e194f90174cf30a9f6f0607b9017d3c7371 by Xaver Hugl.
Committed on 02/09/2021 at 11:53.
Pushed by zamundaaa into branch 'master'.

platforms/drm: support Broadcast_RGB setting

This allows the user to switch between full and limited rgb.
Related: bug 375666

M  +22   -0    src/abstract_wayland_output.cpp
M  +14   -0    src/abstract_wayland_output.h
M  +16   -0    src/plugins/platforms/drm/drm_object_connector.cpp
M  +4    -0    src/plugins/platforms/drm/drm_object_connector.h
M  +12   -0    src/plugins/platforms/drm/drm_output.cpp
M  +1    -0    src/plugins/platforms/drm/drm_output.h
M  +11   -0    src/plugins/platforms/drm/drm_pipeline.cpp
M  +2    -0    src/plugins/platforms/drm/drm_pipeline.h
M  +16   -0    src/waylandoutputdevicev2.cpp
M  +1    -0    src/waylandoutputdevicev2.h

https://invent.kde.org/plasma/kwin/commit/26ad8e194f90174cf30a9f6f0607b9017d3c7371