Help - Search - Members - Calendar
Full Version: Annoying dynamic contrast effect
OESF Portables Forum > Model Specific Forums > Gemini PDA > Gemini PDA - Linux OS
Kiriririn
There seems to be some sort of dynamic contrast baked into the kernel/display, similar to what Intel GPUs do by default on laptops

See here: https://www.youtube.com/watch?v=cys7tbrVlNw (it's not the camera)

It's particularly noticeable in the shade of black/grey on the LXQT menu button and clock when focusing and unfocusing a terminal window

Unless I'm mistaken this is Miravision, which seems to live in /drivers/misc/mediatek/video/common/color20, but I've had no luck disabling it via the obvious config flags (CONFIG_MTK_PQ_COLOR_MODE etc)

Has anyone else noticed this/tried to disable it?
Kiriririn
Solved!

Simply set this in the kernel config:

CODE
CONFIG_MTK_AAL_SUPPORT=n


Nice increase in image quality with this change (things look closer to how they should), god only knows what mediatek were thinking with this
Kiriririn
So it turns out disabling AAL breaks sleep (i.e. screen does not wake up when opening lid, everything else does)

Fortunately there is a simple fix - instead of disabling it in the kernel, add a cron to pause aal - it seems this usermode binary does all the heavy lifting. It autorestarts if killed, so pausing is the only option

CODE
killall -STOP /vendor/bin/aal
Kiriririn
Hacked the above fix into repowerd to allow brightness control to still work, anyone interested can find it in this commit: https://github.com/lukefor/repowerd/commit/...c4b82487db3e750
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.