https://bugs.kde.org/show_bug.cgi?id=453701
--- Comment #9 from Zamundaaa <xaver.h...@gmail.com> --- Git commit f3aaede3823c9962ea53d9ba7d323f00c37ea967 by Xaver Hugl. Committed on 06/12/2023 at 10:32. Pushed by zamundaaa into branch 'master'. backends/drm: properly handle neither CTM and gamma being supported Instead of hardcoding only NVidia, try to use CTM and GAMMA_LUT before falling back to the shader path. This way it also works on other GPUs that lack color management hardware, and only falls back to the color management path on older NVidia drivers. This commit also ensures that the color management hardware is set properly after toggling color management on and off again, and simplifies ColorDevice to only deal with rgb factors instead of always calculating luts. This should improve performance of night color animations on hardware where CTMs are supported M +0 -6 src/backends/drm/drm_gpu.cpp M +0 -2 src/backends/drm/drm_gpu.h M +37 -28 src/backends/drm/drm_output.cpp M +2 -1 src/backends/drm/drm_output.h M +14 -0 src/backends/drm/drm_pipeline.cpp M +2 -0 src/backends/drm/drm_pipeline.h M +7 -2 src/backends/x11/standalone/x11_standalone_output.cpp M +1 -1 src/backends/x11/standalone/x11_standalone_output.h M +23 -149 src/colors/colordevice.cpp M +27 -0 src/core/colortransformation.cpp M +2 -0 src/core/colortransformation.h https://invent.kde.org/plasma/kwin/-/commit/f3aaede3823c9962ea53d9ba7d323f00c37ea967 -- You are receiving this mail because: You are watching all bug changes.