https://bugs.kde.org/show_bug.cgi?id=448459
Peter Newcomb <petenewc...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |petenewc...@gmail.com --- Comment #2 from Peter Newcomb <petenewc...@gmail.com> --- Created attachment 145804 --> https://bugs.kde.org/attachment.cgi?id=145804&action=edit nacent but functional logarithmic brightness hack Hi Eric, It turns out that I just implemented this for myself, though on 5.18.4.1. I thought I had searched for such a thing before, but failed to find this bug before I started coding. I think the code I have does the math and implements the functionality properly (at least for my X13 Yoga OLED), but it's currently an #ifdef hack rather than a proper configuration or heuristic switch. The tricky thing turned out to be the need to segment the function into a linear (identity) portion on the low-end and a logarithmic/exponential portion on the high end, with a bit of interpolation to calculate percentages in between. Anyway, I've attached my patch as-is in case it's helpful, happy to discuss if you're interested. I'm also happy to help bring it up to snuff for a proper contribution, but I recognize that you probably have your own implementation well in hand already. Either way, I'm looking forward to having the functionality mainlined so I won't have to keep patching forever. :-) Thanks for taking this on! -- You are receiving this mail because: You are watching all bug changes.