Jump to content

may be a possible solution for LCD flicker


Guest parvata

Recommended Posts

Guest parvata

Hi,

Can someone try rolling back the kernel/acer/salsa/drivers/video/msm/lcdc.c lcd driver to an older version where the clock frequency is 58000 and see if the flicker issue with the A1s goes away? I do not have an A1 and also I am busy with other stuff. Hope this will resolve the flicker issue but I am not very sure.

Link to comment
Share on other sites

Guest parvata

How i can do it?

rollback the changes to file, drivers/video/msm/lcdc.c in commit https://github.com/thepasto/liquid-chocolate/commit/4f0340cc4c34e050fd51794a7928ea7e26a248af#drivers/video/msm/lcdc.c then, compile the kernel only and then flash the generated boot.img using fastboot.

How to flash the kernel only:

- adb reboot bootloader

- cd out/target/product/salsa

- fastboot flash boot boot.img

- fastboot reboot

Link to comment
Share on other sites

Guest alboz83

rollback the changes to file, drivers/video/msm/lcdc.c in commit https://github.com/t...ideo/msm/lcdc.c then, compile the kernel only and then flash the generated boot.img using fastboot.

How to flash the kernel only:

- adb reboot bootloader

- cd out/target/product/salsa

- fastboot flash boot boot.img

- fastboot reboot

Sorry parvata, i would try to rollback the changes and compile the kernel, but I have never done and i don't know how to make it.

First, i go to your link, i see lcdc.c file, and then?

Link to comment
Share on other sites

Guest parvata
https://github.com/thepasto/liquid-chocolate/blob/1976dd773cd0c582b3c82ed7b9c964df31c942d6/drivers/video/msm/lcdc.c copy this version of the file into your kernel source and compile the entire source. After that take the boot.img that is present in the out/target/product/salsa and flash it. See if it reduces the flicker. Before flashing this make sure you have a device that shows the flicker. Then flash the new boot.img and see if the flicker goes away.
Link to comment
Share on other sites

Guest alboz83

https://github.com/t...ideo/msm/lcdc.c copy this version of the file into your kernel source and compile the entire source. After that take the boot.img that is present in the out/target/product/salsa and flash it. See if it reduces the flicker. Before flashing this make sure you have a device that shows the flicker. Then flash the new boot.img and see if the flicker goes away.

Well, i rollback the changes to file and flash the boot.img, but touchscreen don't works.

Link to comment
Share on other sites

Guest parvata

Well, i rollback the changes to file and flash the boot.img, but touchscreen don't works.

oops...sorry. I have made the change in the file here is the boot image https://sites.google.com/site/parvatarm/android/boot.img?attredirects=0&d=1. Can you try this kernel image? Note that I have tested it on my Liquid E and touch works fine.

Edited by parvata
Link to comment
Share on other sites

Guest alboz83
Tested it on LiquidE, no flickering!

EDIT: FLICKERING

Well i thought that the problems was A1 only but this change from phone to phone.

@parvata What have you changed in the kernel?

Another question: If I clone and compile liquid-chocolate from github, there are the latest changes or I must to change manually?

Edited by alboz83
Link to comment
Share on other sites

Guest parvata

Well i thought that the problems was A1 only but this change from phone to phone.

@parvata What have you changed in the kernel?

Another question: If I clone and compile liquid-chocolate from github, there are the latest changes or I must to change manually?

I only changed the lcdx clock frequency to cap out at 58MHz. It was set to 65MHz before. When you checkout the latest source this change is not there. You just make the change manually. Not very hard to change it. Try reducing it further lower and see if the flicker is reduced.

Link to comment
Share on other sites

Guest alboz83

I only changed the lcdx clock frequency to cap out at 58MHz. It was set to 65MHz before. When you checkout the latest source this change is not there. You just make the change manually. Not very hard to change it. Try reducing it further lower and see if the flicker is reduced.

Ok then i have to change only the number of clock frequency, in these lines?

if (panel_pixclock_freq > 65000000)

/* pm_qos_rate should be in Khz */

pm_qos_rate = panel_pixclock_freq / 1000 ;

else

pm_qos_rate = 65000;

65000000 > 58000000 (or less)

65000 > 58000 (or less)

Link to comment
Share on other sites

Guest parvata

Ok then i have to change only the number of clock frequency, in these lines?

if (panel_pixclock_freq > 65000000)

/* pm_qos_rate should be in Khz */

pm_qos_rate = panel_pixclock_freq / 1000 ;

else

pm_qos_rate = 65000;

65000000 > 58000000 (or less)

65000 > 58000 (or less)

yes, that is right. Maybe you could also hard code the frequency to 44MHz and see what affect it has. It is a quick and dirty way to find if this frequency is causing the flicker.

Link to comment
Share on other sites

Guest alboz83

yes, that is right. Maybe you could also hard code the frequency to 44MHz and see what affect it has. It is a quick and dirty way to find if this frequency is causing the flicker.

Ok i tried with frequency to 44, but touchscreen don't works, and i see flickering

Link to comment
Share on other sites

Guest parvata

Ok i tried with frequency to 44, but touchscreen don't works, and i see flickering

oh ok. The I guess it may be some other change. Unfortunately I do not have an A1 and I cannot suggest any more. But maybe if you give me a history of when you started to see this flicker I can guess which kernel change may have introduced the flicker. I am interested in the cm9 source tree only.

Link to comment
Share on other sites

Guest alboz83

oh ok. The I guess it may be some other change. Unfortunately I do not have an A1 and I cannot suggest any more. But maybe if you give me a history of when you started to see this flicker I can guess which kernel change may have introduced the flicker. I am interested in the cm9 source tree only.

it's difficult because the flickering, after wake up, sometimes is stranger, sometimes is weaker, without rules. I used ondemand, smartrass2, performance governor, overclock, overvolt, but the flickering is always same.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.