Feed Advanced Search

Nov 5 2020

kamathraghavendra awarded D21076: ICC Color Correction Effect a Love token.
Nov 5 2020, 3:32 PM · KWin

Oct 7 2020

vitaliyf added a comment to D21076: ICC Color Correction Effect.

You must be right about the greyscale effect; I don't see any actual calculation of the intensity (from the RGB values) in the code that gets installed. And that code is JavaScript (aka QtScript); up to you to determine if your effect could be implemented in that language...

Oct 7 2020, 9:25 AM · KWin

Oct 6 2020

vitaliyf added a comment to D21076: ICC Color Correction Effect.

I have no idea how it works, but I imagine you create the build locally, possibly with the help of kpackagetool, and then upload it to some KDE server.

Oct 6 2020, 2:04 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

In the end, try to update KDE itself. I'm sure glitches were worse when I was using KDE 5.14. KDE 5.17 is definitely better

Oct 6 2020, 1:59 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

As I understand 3rdparty binary effects are harder to install, very unpopular and it will take 100 years to get it packaged in all distros...

It should be possible to package this as an add-on desktop effect that people can install at will:

Oct 6 2020, 11:25 AM · KWin

Oct 5 2020

vitaliyf updated the diff for D21076: ICC Color Correction Effect.
Oct 5 2020, 9:14 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

That's with the translucency effect for menus set just 1 tick non-opaque. The effect gets less the more opaque menus are made, but it seems wrong. My widget style and colour palette specify a white menu background and my colour correction profile clearly doesn't affect white noticeably.

Oct 5 2020, 9:13 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

Are you sure you applied the newer patch? One with the tex *= modulation line in icc.frag? Also are you sure you installed the resulting libkwin4_effect_builtins.so correctly?

I got this one: https://github.com/vitalif/kwin/commit/83d69c928574de388d8f27ec6948f307b4eab3f2.patch following the link to your github repo you posted earlier, but I see no occurence of that modulation pattern in that commit. In fact, I now see that it looks like an old commit - so where is that newer one?

Oct 5 2020, 10:04 AM · KWin

Oct 4 2020

vitaliyf added a comment to D21076: ICC Color Correction Effect.

It doesn't work either for me with KWin 5.15.5 and that doesn't seem to be because of one of the other few effects I have activated.

Oct 4 2020, 10:55 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

still doesn't seem to work together with KWin's translucency-when-moving effect for me (with KWin 5.13.3; patch applies cleanly except for the inexistent effects kcm). And after a few KWin restarts the correction has either "stuck" or isn't being applied anymore.

Oct 4 2020, 1:51 PM · KWin

Sep 25 2020

vitaliyf updated the summary of D21076: ICC Color Correction Effect.
Sep 25 2020, 11:32 PM · KWin
vitaliyf updated the summary of D21076: ICC Color Correction Effect.
Sep 25 2020, 11:32 PM · KWin
vitaliyf updated the diff for D21076: ICC Color Correction Effect.

Updated for 5.17.5 + added "modulation" usage

Sep 25 2020, 11:24 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

I like solutions that work right here right now. Waiting for all apps to do color correction on their own is utopism. Sometimes I just turn the effect off when I don't need it.
I'm not "working" on color correction, I mean it's not a continuous process :) I don't have much time to develop it further, make it fit guidelines or patterns.
I NEEDED full-screen color correction and I solved my problem with this effect. I use it 24/7.
Sometimes there are glitches, for example sometimes the taskbar flickers and so on, but these are always there with KWin as I understand so they don't bother me much.
By the way, I've updated the patch for KDE 5.17 + fixed it to work with translucency effects correctly (I didn't use "modulation" in the previous version of the patch).
It's on github: https://github.com/vitalif/kwin ... OK I'll upload it here too ...

Sep 25 2020, 11:22 PM · KWin

May 27 2019

vitaliyf added a comment to D21076: ICC Color Correction Effect.

How to wrap it into a custom deleter? It's an internal pointer type of LCMS... Even a custom class with destructor seems simpler...

May 27 2019, 11:25 AM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

So, can you merge it? :)

May 27 2019, 10:22 AM · KWin

May 16 2019

vitaliyf added a comment to D21076: ICC Color Correction Effect.

It being impossible would certainly be a very compelling reason to do it at this layer instead. I would support something along these lines if that's the case.

Though your comment doesn't match the docs I've seen on the colord site. I'll poke a Mutter dev and see what they're doing.

May 16 2019, 11:45 PM · KWin

May 13 2019

vitaliyf updated the diff for D21076: ICC Color Correction Effect.
May 13 2019, 4:22 PM · KWin
vitaliyf added inline comments to D21076: ICC Color Correction Effect.
May 13 2019, 4:22 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

If we are going to do all windows, what does this offer over xcalib?

May 13 2019, 1:42 PM · KWin
vitaliyf added a comment to D21076: ICC Color Correction Effect.

Yes, I know. I even tested it 5 or 6 years ago. I think that implementation was really clunky because it depended on Oyranos which is unavailable in most distros, and instead of being implemented as an effect it was patching shader code of other effects before compiling them. There was a whole 2 or 3 screen long function that was doing it. My implementation is much simpler and it only depends on LCMS2.

May 13 2019, 10:38 AM · KWin
vitaliyf updated the diff for D21076: ICC Color Correction Effect.

Removed translation, commented code and curly braces style

May 13 2019, 8:45 AM · KWin

May 8 2019

vitaliyf added a comment to D21076: ICC Color Correction Effect.

Thanks! :) OK, I'll remove translated text

May 8 2019, 9:33 AM · KWin

May 7 2019

vitaliyf requested review of D21076: ICC Color Correction Effect.
May 7 2019, 11:28 PM · KWin