OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Annoying dynamic contrast effect
Kiriririn
post Jun 30 2018, 07:09 AM
Post #1





Group: Members
Posts: 67
Joined: 19-January 18
Member No.: 816,673



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?
Go to the top of the page
 
+Quote Post
Kiriririn
post Jul 7 2018, 09:45 AM
Post #2





Group: Members
Posts: 67
Joined: 19-January 18
Member No.: 816,673



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
Go to the top of the page
 
+Quote Post
Kiriririn
post Jul 8 2018, 03:42 AM
Post #3





Group: Members
Posts: 67
Joined: 19-January 18
Member No.: 816,673



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
Go to the top of the page
 
+Quote Post
Kiriririn
post Jul 10 2018, 09:15 AM
Post #4





Group: Members
Posts: 67
Joined: 19-January 18
Member No.: 816,673



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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st October 2019 - 10:03 AM