Guest parvata Posted December 10, 2012 Report Posted December 10, 2012 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.
Guest parvata Posted December 10, 2012 Report Posted December 10, 2012 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
Guest alboz83 Posted December 12, 2012 Report Posted December 12, 2012 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?
Guest parvata Posted December 13, 2012 Report Posted December 13, 2012 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.
Guest alboz83 Posted December 14, 2012 Report Posted December 14, 2012 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.
Guest parvata Posted December 14, 2012 Report Posted December 14, 2012 (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 December 14, 2012 by parvata
Guest alboz83 Posted December 14, 2012 Report Posted December 14, 2012 No problem!! Ok when i go back at home i try
Guest ccorasaaa Posted December 14, 2012 Report Posted December 14, 2012 (edited) Tested it on LiquidE, no flickering! EDIT: FLICKERING Edited December 15, 2012 by ccorasaaa
Guest alboz83 Posted December 14, 2012 Report Posted December 14, 2012 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.
Guest Diljeet Posted December 15, 2012 Report Posted December 15, 2012 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.
Guest alboz83 Posted December 15, 2012 Report Posted December 15, 2012 (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 December 16, 2012 by alboz83
Guest parvata Posted December 17, 2012 Report Posted December 17, 2012 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.
Guest alboz83 Posted December 17, 2012 Report Posted December 17, 2012 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)
Guest parvata Posted December 17, 2012 Report Posted December 17, 2012 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.
Guest alboz83 Posted December 22, 2012 Report Posted December 22, 2012 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
Guest parvata Posted December 23, 2012 Report Posted December 23, 2012 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.
Guest alboz83 Posted December 25, 2012 Report Posted December 25, 2012 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now