• Announcements

    • Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such softwareNintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance)CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission)ROMs must give full credit to the original authorISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.
Sign in to follow this  
Followers 0

may be a possible solution for LCD flicker

18 posts in this topic

Posted

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.

1

Share this post


Link to post
Share on other sites

Posted

How i can do it?

0

Share this post


Link to post
Share on other sites

Posted

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

1

Share this post


Link to post
Share on other sites

Posted

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?

1

Share this post


Link to post
Share on other sites

Posted

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.
0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

No problem!! Ok when i go back at home i try

0

Share this post


Link to post
Share on other sites

Posted (edited)

Tested it on LiquidE, no flickering!

EDIT: FLICKERING

Edited by ccorasaaa
0

Share this post


Link to post
Share on other sites

Posted

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

Flashed, touch works but i have flickering yet. For now seems less then before, but there'is.

0

Share this post


Link to post
Share on other sites

Posted

Thanks guys for trying to get rid of flickering, i am not regularly visiting these forums, please inform me if you some how get the flicker solved.

0

Share this post


Link to post
Share on other sites

Posted (edited)

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
0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

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)

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

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

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Posted

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.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2015. MoDaCo uses IntelliTxt technology.