Wayland Color Management Protocol Might Finally Be Close To Merging (www.phoronix.com)
from that_leaflet@lemmy.world to linux@lemmy.ml on 30 Nov 15:30
https://lemmy.world/post/22615870

#linux

threaded - newest

mehdi_benadel@lemmy.balamb.fr on 30 Nov 16:38 next collapse

Can someone explain what this really does ? The article is very lacking.

rtxn@lemmy.world on 30 Nov 16:43 next collapse

Color management ensures accurate and identical color reproduction across display devices. It’s extremely important for artists and designers, and its absence in Wayland is a deal breaker for them.

that_leaflet@lemmy.world on 30 Nov 17:08 next collapse

I would like to remind everyone that while this extension does not include display response measuring and calibration, they will come later.

No calibration yet.

Zamundaaa@discuss.tchncs.de on 30 Nov 17:35 collapse

You don’t need a protocol for profiling, it’s merely a nicer user experience if you have one.

drwankingstein@lemmy.dbzer0.com on 30 Nov 22:31 collapse

I still wish we had display calibrators that operated over DDC on linux T.T well, ddcui helps, but it’s not automagic T.T

mehdi_benadel@lemmy.balamb.fr on 30 Nov 18:18 collapse

Oh yeah I’ve seen issues in KDE Wayland for it lately, namely on brightness. It’s gone since.

that_leaflet@lemmy.world on 30 Nov 17:07 collapse

This is the protocol for HDR content. KDE already ships an experimental version of it.

nublug@lemmy.blahaj.zone on 30 Nov 18:22 collapse

not just hdr stuff, it’s all color profiling. my old monitor is dark af with wayland because it’s not loading its color profile and i can’t adjust gamma or apply color profiles in settings or with colord like you can in x. i really need this to be able to switch to wayland.

FrameXX@discuss.tchncs.de on 30 Nov 21:12 next collapse

I know this is probably not a solution to your problem, but maybe:

github.com/ien646/gamma-icc

Zamundaaa@discuss.tchncs.de on 01 Dec 11:16 collapse

This protocol isn’t relevant for your compositor to apply an ICC profile. If you’re using KDE Plasma, you can just select it in the settings. I think Sway allows that now too. If you’re on Gnome, you’ll need to wait.

Tattorack@lemmy.world on 01 Dec 11:52 next collapse

I may need to look into this, because the colours between my drawing tablet and main monitor are quite different.

Zamundaaa@discuss.tchncs.de on 01 Dec 16:16 collapse

If you’re on Plasma, setting the color profile to “built-in” might be all you need to make them reasonably match

Tattorack@lemmy.world on 01 Dec 17:29 collapse

I’m using Plasma, and I’m having trouble finding where it is. Where would I look for this setting?

Zamundaaa@discuss.tchncs.de on 01 Dec 17:37 collapse

It’s in the display settings

nublug@lemmy.blahaj.zone on 01 Dec 13:45 collapse

i’m using kde on endeavouros. when using wayland the color profiles section in settings does nothing. you can go pick a profile and click ok but it just doesn’t load it. colord is the daemon that handles color profiles entirely and that’s what this is about.

Zamundaaa@discuss.tchncs.de on 01 Dec 16:13 collapse

No, colord does not handle color profiles on Wayland. You need to set the profile in the display settings.

If you have an ICC profile that doesn’t work, please make a bug report about it for KWin.

nublug@lemmy.blahaj.zone on 10 Dec 22:38 collapse

it seems pretty obvious to me on word meanings alone that ‘color management protocol’ isn’t only for relatively new hdr tech, but instead everything to do with color management, like how color profiles are under ‘color management’ in the system settings you’re telling me to use that the wiki says isn’t ready yet…

from wiki.archlinux.org/title/ICC_profiles

"Wayland

Wayland supports color management through color profiles, but the user interface for managing these profiles is currently not implemented properly. However, you can manually add a color profile through the following steps: Firstly, copy your .icc color profile file to the /usr/share/color/icc/colord/ directory. Run colormgr get-profiles to obtain the available color profiles, and colormgr get-devices to obtain the IDs of the attached devices. To assign a color profile to a device, use the command colormgr device-add-profile Device_ID Profile_ID. The device ID is obtained from the output of colormgr get-devices and the profile ID from colormgr get-profiles. For example, if your device ID is “DP-3” and the profile ID is “icc-5fb87663ba378cadf463ba64d92dced3”, the command would look like: $ colormgr device-add-profile DP-3 icc-5fb87663ba378cadf463ba64d92dced3 With these steps, you can manually manage your color profiles in Wayland until the user interface is fully implemented. Once the ICC profile is added with this method, it will show up and work as expected in system settings like Color Manager in the KDE Plasma settings. "

copy to colord folder, eh?

the part i have trouble with is colormgr shows no devices and nothing happens trying commands to load an icc profile. it’s no big deal, i’ll just use x11 until this gets fixed but others on arch forums and reddit threads has this same issue with kde wayland, and judging by the ‘user interface isn’t ready yet’ i’m guessing it’s just not ready yet.

but sure, colord has nothing to do with it and color management protocol is ONLY for hdr tech.

am i taking crazy pills?

Zamundaaa@discuss.tchncs.de on 11 Dec 11:47 collapse

like how color profiles are under ‘color management’ in the system settings you’re telling me to use

No, I’m telling you to use the display settings. The color management page is hidden on Wayland starting with Plasma 6.3, because it’s misleading and confusing.

the wiki says

The wiki is very outdated, it’s about Plasma 5.

nublug@lemmy.blahaj.zone on 13 Dec 00:39 collapse

tried again, and yeah display settings was where i first tried, and no, ‘none’, ‘icc’ with multiple diff profiles, and ‘built-in’ all change absolutely nothing but the keep changes popup shows up like it worked fine; no errors or anything. then i went into trying with colord and colormgr cli commands like i said before. it does see my monitor under display and resolution and whatnot are correct and do change, just not the color profile.

everything works as it should under x11 session.

regardless, the whole point of my og comment was color management protocol isn’t only hdr stuff. even in the significant issues page for kde it says color management and HDR protocol in the bullet point about programs that need accurate color profiling.

Zamundaaa@discuss.tchncs.de on 13 Dec 17:52 collapse

Please make a bug report to KWin about that issue then, and attach one of the ICC profiles you tried to the bug report. Maybe something’s wrong in KWin’s profile parsing and it gets silently ignored.

regardless, the whole point of my og comment was color management protocol isn’t only hdr stuff

Yes, nothing wrong with that.

winterayars@sh.itjust.works on 30 Nov 21:18 next collapse

It’s kind of embarrassing they still don’t have this tbh.

that_leaflet@lemmy.world on 30 Nov 21:27 collapse

They as in Wayland? Xorg doesn’t have HDR either and never will.

winterayars@sh.itjust.works on 30 Nov 21:59 collapse

As in Wayland yes. X does have color correction stuff, which is the most important part.

drwankingstein@lemmy.dbzer0.com on 30 Nov 22:30 collapse

uh, kinda not really? I mean, you can calibrate your screen to sRGB, if you calibrate it to anything else, every non managed app will completely and utterly break

winterayars@sh.itjust.works on 30 Nov 23:48 collapse

That’s… not really true? Or at least i haven’t run into that problem.

drwankingstein@lemmy.dbzer0.com on 01 Dec 00:13 collapse

what have you used? If you set, say DCI-P3 (not display p3 which uses a similar transfer to 2.2) the issues become evident due to the different transfers that it is quite off.

if you used something like display p3, then due to the similar transfer, only gamut changes which is a lot harder to notice at a glance

maxprime@lemmy.ml on 01 Dec 04:06 next collapse

Does this mean I could finally enjoy HDR content on my OLED HDR monitor?

that_leaflet@lemmy.world on 01 Dec 04:12 collapse

You can right now. If you are using KDE, it should work with mpv, though you might need to launch it from terminal with a few flags to tell mpv to use HDR.

If you’re not using KDE, you can launch gamescope with the hdr flag in the tty and have it launch mpv.

Though I’m not sure any browsers have working HDR. I think Chromium may have some stuff in progress. Gnome Web may get it since WebKit supports HDR and HDR is being worked on for GTK.

drwankingstein@lemmy.dbzer0.com on 01 Dec 04:40 next collapse

gnome iirc also has merged the wip protocol so it should work on gnome too

that_leaflet@lemmy.world on 01 Dec 13:45 collapse

It’s hidden away on Gnome. You need to hit a keyboard shortcut that brings up a special console window then run a command to enable the HDR.

For better or worse, Plasma has the option prominently displayed in settings.

maxprime@lemmy.ml on 01 Dec 11:51 collapse

Do I have to enable HDR in Plasma settings? Because when I do, and then log out, plasma crashes and I have to log into a different DE and disable HDR in the terminal.

theshatterstone54@feddit.uk on 02 Dec 14:07 collapse

the Wayland color management protocol might finally be close to merging after four years in discussion.

But also

Going all the way back to January 2020

So really it’s been almost 5 years.

Let’s hope we can finally get it and move on to any other remaining protocols.

that_leaflet@lemmy.world on 02 Dec 15:27 collapse

HDR is new ground on Linux, so it’s understandable it’s taking a while. It requires involvement from all over the graphics stack: graphics drivers, mesa, Wayland protocol, protocol needs to be implemented in compositor, apps need to implement the protocol.