Hey there,

I think its not the first time you read about this.

I recently installed a Linux on my gaming pc and I want to fade out of Windows11 and into Linux only. So far so good.

One of my biggest concerns where the colours of my monitors. Since Adrenaline is not available on Linux, I hoped for another solution to get the colours bright and bangy. But it seems impossible with wayland.
And noo, its not a setting that my monitor can provide. It never was and it never will (I write it down since in every thread about this topic, someone was mentioning it sounds like something the monitor setting should handle).

  • For X11 there was vibrantLinux.
  • A maybe instable solution could be vibrant-cli.
  • For games there is Gamescope thanks to Valve. But this only works for Games started from within Steam.

So this means, my Desktop/Browser still is not as bangy as I want it to be.

My search lead me to KWin scripting could be the solution. This is where I need some advice or somebody to confirm!

If I want to increase the overall colour saturation for my monitors, the correct way to go is to create a KWin script that does it, pack it as a package and use it.

I found the KWin Scripting tutorial over at develop.kde.org and I feel like solving this problem could be interesting.

Since I have no experience with JS, ECMA-Scripting or QMA, all this will be new and I want to know beforehand if I walk the right path. If not, a lot of time will be consumed just to realise I was wrong.

Thanks for reading :)

PS: I like KDE very much

PPS: Just if you never heard of Adrenaline: I have Radeon gpu

  • Dima@feddit.uk
    link
    fedilink
    arrow-up
    3
    ·
    5 days ago

    You could probably create a colour correction (.icc) profile for this and apply that to your monitor in the settings, but I know nothing about creating ICC profiles so can’t help you there

    • Nephalis@discuss.tchncs.deOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 days ago

      Maybe I underestimate this peofiles, but I got it this way:
      These profiles are made to have better matching colours when it comes to different devices. For example, a photo camera, your display and the printer. All of them will show differences for each colour in your taken pictures. A profile is used to minimize those differences so that the print is as close as it could get on your taken or edited picture colorwise.

      So I think this is not the tool I am looking for. Moreover, to create my own profile i need a colorimeter to measure the colours my display is showing.

      • Dima@feddit.uk
        link
        fedilink
        arrow-up
        3
        ·
        4 days ago

        Yeah, typically ICC profiles are used to make colour reproduction more accurate, but it should be possible to use one to make colours more vibrant/saturated instead of focussing on accuracy, the main hurdle will be creating a profile that does this how you want. Looking online it seems there are some tools that can edit/create ICC profiles like RawTherapee’s ICC profile creator and Argyll CMS, but these might be challenging to use to get the result you want.

        For a simple solution you could try nVibrant if you have an NVidia GPU, or vibrant-cli if there is a Wayland compatible version (you mentioned it in your post, but from what I could find it only supports X11).
        Gamescope can be run separately from Steam, but still has the issue that it will only work for whatever application is running within gamescope (unless you run the entire plasma desktop within it).
        Someone has made a GLSL shader to increase vibrance, that is part of a kwin-effect-shaders project, but it hasn’t been updated in 3 years. If you are going to make your own KWin script/effect, then that shader might be a good reference.

        • Nephalis@discuss.tchncs.deOP
          link
          fedilink
          arrow-up
          1
          ·
          4 days ago

          Ok, I have watched a short video to create a colour profile with RawTherapee but it was a kind of preset for internal uses. I have no clue if this can be exported. But yes, It could be difficult to achive what I am looking for and create this profile…

          I have a Radeon so nVibrant is no choice.

          Thank you very much for the reference even if I do not have seen shader code ever before.

      • Chais@sh.itjust.works
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        4 days ago

        Not quite. At the end of the day they’re sets of correction factors for the different colours at different intensities.
        You can use that to bring the output of your display or printer in line with what the camera recorded and you need a colorimeter to do that accurately.
        But no one can stop you from overcorrecting. So you could just design a profile that you like and use it. Just like your screen may already offer different colour profiles. I know most TVs do.

      • Jumuta@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        https://en.wikipedia.org/wiki/ICC_profile

        Profiles describe the color attributes of a particular device or viewing requirement by defining a mapping between the device source or target color space and a profile connection space (PCS).

        I think you should be able to do whatever, seems like it’s just a lookup table