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
Please have a look at the kgamma configuration module: kcmshell5 kgamma. AFAIK this should provide the functionality you are looking for.
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.
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.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/1355
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