yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] neobuddy89:
I read 1-2 posts about screen lag.

My advice is you need to give time to let this settle and wait for next update, we have a major code update coming up.

We are getting in sync with CAF code and believe me I have never seen such intense coding ever before.

CAF guys are best when it comes to MSM code. As for next update we have completely new architect for idle drivers (best power saving -- ever).

Lots of fixes for Camera - ZSL mode is fixed for CM11 - rapid shooting. Audio improvements.

However, due to new merger of CAF code, Voltage control and Overclock is completely useless. Right now I am testing bare kernel without much of NXTweaks.

No lags (there was no lag since 9.1), no regression..

I would highly recommend to use latest CM11 ROMs, merges to device tree and kernel are really appreciable. :)
[Nexus 5 Original Android Development] neobuddy89:
NXTweaks => Suspend Max Frequency.

You don't need to set with slider, it gets auto set to whatever you have set with NXTweaks,
[Nexus 5 Original Android Development] magma_camel:
So is it just me or does this kernel seem to keep at least cpu1-3 clocked all the way up and only throttles cpu0 I've tried every gov to see
[Nexus 5 Original Android Development] abcdw654:
5 days and no updates....my hands are itching for some new chaos! Good work [MENTION=3795148]neobuddy89[/MENTION]. Can't wait for the new version...although I really don't see performance and battery life increasing, it is already awesome on your kernel!
[Nexus 5 Original Android Development] danarama:
Its setting to 1497. My max suspend frequency is the lowest possible as always, 1190. Its not that causing it.

It remains too, unlike Max suspend which auto cancels when waking up - it sticks at 1497 until I adjust the slider down and back up again.

Edit> [MENTION=3795148]neobuddy89[/MENTION] - Filmed a video to show the issue. Please note, yes I use Set CPU and NX tweaks in combination. I have the same settings I have used since 8.0 in both. I mainly use Set CPU for a bit of extra governor control and the Widget (which is how I identified this issue in the first place).

When i just turned my screen on, I saw the Set CPU widget max change from 1190 (my Max suspend) to 1497, at which point I started this recording...

https://dl.dropboxusercontent.com/u/20471345/images/for sharing/SCR_20140123_090059.mp4

Also at the end of the video, notice how the Min had jumped to 1497 for a brief time? I have seen this a fair bit recently. i think it is something to do with mpdecision still

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Original Android Development] neobuddy89:
Thanks for the video. Yes, I understood your point.

We have disabled "touch boost" from Power HAL. So no longer Power HAL asks mpdecision to boost when screen touched.

Also, I don't use SetCPU.

There are two ways, by which I am monitoring frequencies:

1> For monitoring cores online, current frequencies at core.. DroidKang provides option of Show CPU usage.

And I have overlay of all cores with current freq and current governor.

2> CPU Spy Plus is an accurate application which shows scaling frequencies. At times of "touch_boost", it used to show how minimum freq got raised! Now... I don't see any.

Currently, on test kernel Overclock is broken so repeating your steps without OC didnt gave any suspicion via CPU Spy Plus.

I will review OC applied code of NXT and get back with this. Do you experience same issue with uninstalling SetCPU and monitoring with some other application (with and without OC) ?
[Nexus 5 Original Android Development] danarama:
The min freq issue is not really much of an issue, just really the Max getting set. I'll do some testing with setCPU disabled and let you know if I observe similar results. It only started with 9.2

Edit... happened immediately. Disabled setcpu (frozen in titanium),.installed cpu spy.... turned screen off and on...
[Nexus 5 Original Android Development] neobuddy89:
When you turn off screen, power suspend gets triggered.

When power suspend is triggered, morpheus comes into action and sets max frequency to max suspend frequency.

Morpheus keeps checking every 2 seconds for power suspend state.

So as when you turn screen on again, you are seeing max suspend frequency.

Within 2 seconds, you will get your max frequency again.... checkout.

Also, one more way to confirm same is check logcat. You will see something like

"**** CPU Immunized for awake/sleep mode *****"

Morpheus was actually designed to protect CPU frequency getting auto set by thermal/mpdecision.

At present, this protection is not needed very much however, it is good to know that frequency is controlled in favor of power save.

If this doesn't seem good option to you, you can avoid in two ways:

1] Turn off Morpheus Mode

OR

2] Set Max Suspend Frequency to its max value.

Good luck.

EDIT: I noticed you are using intellidemand governor, I will check same if its causing any discrepancy.

EDIT 2: Intellidemand seems to set its own max suspend frequency of 1728 MHz when screen is turned off for couple of seconds.
[Nexus 5 Original Android Development] danarama:
So here is what happens...

I turn off screen and Max Freq is set to Max Suspend, which is 1190 as designed

I turn on screen, I see Max Freq is set to Max suspend 1190 as expected

Sometimes I wait 1 second and See Max Frequency change from Max suspend 1190 to strange freq 1497 (unexpected and not every time)

This 1497 Max freq will NOT change. It stays this forever (confirmed in CPU Spy, System Monitor) until I re-set Max Freq.

So what I do not understand is where this 1497 Max frequency is coming from. It is nothing to do with max suspend (or morpheus mode as far as I can tell) because the resuming from Max suspend is working... It's just the frequency it is resuming TO is not my actual Max Freq... I don't know where it is getting 1497 from.

I do tweak the governor slightly, but I've used same tweaks in every version as far as I can tell...

Smart High SLow up 1728000

Sync freq 300000

Steup up interim hi 1728000

Step up early hi 1190400

Smart slow up 1574400

Optimal 300000

None of the governor settings are 1497.
[Nexus 5 Original Android Development] neobuddy89:
Perhaps, it is coming from intellidemand?

However, lets not discuss this as next version of Chaos has new cpufreq drivers. Will post a beta version soon enough.

Legacy acpu drivers are deleted! BTW, OC is back... now time to fix Voltage control.

Are those tweaks for intellidemand?
[Nexus 5 Original Android Development] danarama:
Sure. And yep, intellidemand

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Original Android Development] bigbear6708:
I see this is a caf kernel. Will it still work with slimkat? How is it? Any weird bugs? I hear good results...
[Nexus 5 Original Android Development] buster041284:
Yea works great with slim rom
[Nexus 5 Original Android Development] Boonyard:
This is working fantastically with dirty unicorn. Great combo.
[Nexus 5 Original Android Development] neobuddy89:
More CAF on the way.

OC and Voltage Control fixed with low new merges from CAF.

A build will be uploaded shortly (next 2-3 hrs).
[Nexus 5 Original Android Development] buster041284:
To be honest 9.2 is working fantastic, don't no what else you can do make it more fantastic just keep up good work man
[Nexus 5 Original Android Development] neobuddy89:
[MENTION=535343]all[/MENTION]:

Here is Chaos 10.0 Beta 1: DOWNLOAD

NXTweaks doesn't have much of feature addition. Will be done in next betas.

There are 10-12 pages of new commits from CAF which needs to be tested.

These commits include but not limited to:

* New CAMERA drivers and fixes

* New Power Mode architecture

* New voltage settings

* New overclock level

* Linaro 4.7 compiled

* CAF FTW!

* Ramdisk updates

MultiROM users DO NOT FLASH THIS ON SECONDARY ROMs.

Supports all ROMs but -- Stock ROMs not recommended. CM11 based ROMs recommended. :)
[Nexus 5 Original Android Development] Akeel1994:
[KERNEL] [3.4+] Chaos 9.2+ App [Stable] [18/01]

could we get problems with the new kernel on roms like omni rom?
[Nexus 5 Original Android Development] alb3rtt:
Why are stock Roms not recommended?

Also, what is caf?
[Nexus 5 Original Android Development] neobuddy89:
No. All roms supported.

CAF - Code Aurora Forum

Organization dedicated to msm board development and enhancement.

Kernel has reached new level of optimization. So as matches well with custom CM11/Omni/Slim etc ROMs. Works on stock ROMs aa well.
[Nexus 5 Original Android Development] akarol:
I just jizzed my pants.
[Nexus 5 Original Android Development] alb3rtt:
The new beta is working great on stock ROM + xposed.
[Nexus 5 Original Android Development] neobuddy89:
Audio setting issue on non latest CM ROMS noted.. Should be fixed in the next.
[Nexus 5 Original Android Development] alb3rtt:
Sorry if this is a stupid question since im completely new to qualcomm devices and i've never had to deal with caf, etc before. (All my past devices were exynos). Do you need to have a rom with "caf" in it to have all the benefits of the code? Or is it a kernel only thing?

Edit: Just had multiple freezes on stock settings. Wasn't close to a PC so I couldn't get any logs. I'll try to get logs now.
[Nexus 5 Original Android Development] neobuddy89:
CAF patched audio libs are needed; included in beta 2.

Please do mention what ROM are you on.

@all: Here is Chaos 10. Beta 2 - Download Here

Changes over Chaos 10.0 Beta 1:

* CAF patched audio libs

* Audio configured to use "Deep Buffer" instead of "Low Latency" to save more power while audio playback

While reporting anything, it is very important to mention ROM name and it will be very helpful to provide any log.

I will try implementing shortcut to NXT to generate logs. :)

Important:

* MultiROM users, Do not flash over secondary ROM. MultiROM is for testing new ROMs, not new kernels.

* This kernel modifies system files to make kernel compatible. (so far uses own audio configs and Power HAL)

* Please take backup before you flash kernel; preferably - Nandroid Backup - just to be on safe side.

* I perform lot of tests before releasing anything - even a Beta version - so its guaranteed that kernel will wont harm in any way.

* Enjoy
[Nexus 5 Original Android Development] alb3rtt:
Stock ROM + xposed.

The freezes/reboots/sods are random. I tried getting logs but I failed :/

Could frandom cause this? That and changing the cpu scheduler to ondemand for sleep and awake is all ive changed. (These 2 are ruled out since they were removed when i flashed beta 2 and i still got issues)

Edit: Just had 2 more freezes on beta 2. 1 after playing a youtube video and 1 after restarting from that youtube video. My phone is now in a bootloop after the 2 freeze.

Edit 2: Heres a logcat after reinstalling beta 2 and wipe cache + dalvik cache

Hopefully something useful is in it. Flashing version 9.2 for now (will go back to beta 2 if the logcat isn't good)

https://www.dropbox.com/s/flb3bxe23o04l4p/logcat.txt

Edit 3: 9.2 also in bootloop. I'll just wipe data and see if that fixes it.

Edit 4: SUCCESS. Wiped data and flashed beta 2 and all is good. I think it was something from my side. Since I had to do a wipe, ill test stock rom for a bit more (to make sure it works well on it) and then flash cm.
[Nexus 5 Original Android Development] neobuddy89:
No freeze/lags/sod on DroidKang, I will test on cataclysm tonight.

Hope we dont need to withdraw support for stock roms.

Thanks for reporting.
[Nexus 5 Original Android Development] danarama:
I'm on a stock ROM and 10b2 is working fine. I did have a random reboot, but actually, what users need to understand is although they appear random to us, they're not and there is ALWAYS a reason for the reboot.

Personally, I set all my usual settings (FRandom, Fsync etc) but I went straight back into -50mV undervolt. Since I'm familiar with the symptoms of undervolting reboots (slight freeze followed by soft reboot) - it was immediately identifyable as a low voltage reboot under load. I have since set to -40mV
[Nexus 5 Original Android Development] Boonyard:
On dirty unicorn and the new build is running brilliantly.
[Nexus 5 Original Android Development] Akeel1994:
is fauxsound working in 10b2?
[Nexus 5 Original Android Development] alb3rtt:
Check my post now. I posted a logcat.

---------- Post added at 09:48 PM ---------- Previous post was at 09:46 PM ----------

I know that they aren't random. They dont happen for no reason, i didnt know the reason hence why i said that. I think it might have to do with audio since i got them after playing a youtube video (and adjusting volume) and after a message (ringtone plays).
[Nexus 5 Original Android Development] danarama:
I wasn't aiming that at you. I was speaking generally and in fact, I myself called it a random reboot. I was just qualifying what I was saying.
[Nexus 5 Original Android Development] srps:
Is it just me or does BusyBox 1.22.1 break NXTweaks app? It stops doing anything after I update it.

I'm on Cataclysm ROM with the v10b2 kernel.
[Nexus 5 Original Android Development] neobuddy89:
Flash kernel again. Chaos installs bb for you. Updating from app will break it. I think i might have mentioned this in OP.
[Nexus 5 Original Android Development] srps:
Yeah, I just noticed it in the OP.

I've also had a couple random reboots with the v10b2. At first I thought they were because of the undervolt applied, but even without uV I got one. And then a freeze where the phone got stuck on the lockscreen vibrating.

When I have some time I'll try it again and save a logcat, but for now I can't afford this instability so I reverted to 9.2.

I'd try some other ROM besides Cataclysm, but besides loathing factory resets (it always messes up something), I can't really see any other ROM out there with better features and great battery life. I also like the Google dialer and stuff, and some ROMs seem to be incompatible with some GApps which doesn't help.
[Nexus 5 Original Android Development] neobuddy89:
I have noticed new voltage structure is already lesser than previous one. Let me try build with previous voltage structure and test.

If you wish to test, oc each by 20 and check.
[Nexus 5 Original Android Development] srps:
I used to run -75mV over stock voltages, with -100mV in the 300MHz range (starting at 700mV then) so that can't be the issue.
[Nexus 5 Original Android Development] neobuddy89:
Let me test on Cataclysm once I reach home.
[Nexus 5 Original Android Development] juancaperez2000:
Somebody running this rom with slimkat?
[Nexus 5 Original Android Development] bigbear6708:
I was yesterday.. Battery seemed a little better.. But I had ui lags.. To be fair I didn't give it full 24 hrs. I'm still trying to figure out if I want a custom kernel or not.. Lol. One of the better ones I've used. I love that it funny break root like others do.
[Nexus 5 Original Android Development] danarama:
Had the odd 1497 max issue again on stock rom. Turned off mpdecision to see if it continues to happen

-----------------------

Sent via tapatalk.

I do NOT reply to support queries over PM. Please keep support queries to the Q&A section, so that others may benefit
[Nexus 5 Original Android Development] imageMaster:
I've installed 10b2 on latest Omni. No any reboots, but UI lags are present while scrolling.

Отправлено с моего Nexus 5 через Tapatalk
[Nexus 5 Original Android Development] neobuddy89:
@all:

Here is Chaos 10.0 Beta 3: DOWNLOAD HERE

Changes over Beta 2:

* Stability Fixes

* Use GCC Toolchain 4.7 (to get rid of UI lag)

* Add "Bug Report" tab to NXTweaks, please use same to collect logs and post

* Camera driver, USB driver and misc updates from CAF

I have tested for a hour on Cataclysm ROM and no freezes on stock based ROMs unlike Beta 1.

Happy Weekend. :)

P.S

Before someone asks again, this Kernel do work on all 4.4.2 ROMs.

If you still have doubt, please test yourself. I request all not to entertain such queries and post on review/development based topics

EDIT:

UV not recommended, we already have lower voltage structure compared to 9.2 release.

So before reporting, check for UV and think again!
[Nexus 5 Original Android Development] neobuddy89:
Stability has returned but still some UI lag when scrolling. I need to investigate more and make next build resolving same...
[Nexus 5 Original Android Development] alb3rtt:
I'm on stock rom with some xposed modules. I did a clean install this morning (so it cant be from my side) and installed beta 3 when it just came out. I got a message 10 minutes ago, as i was responding, it froze and rebooted twice and bootlooped (like yesterday). I ran to my computer and tried to get a log but adb didnt detect my phone until i got put into the bootloop. Luckily, i have a backup and i will revert to that, flash beta 3 again and try to replicate it.

This is also what happened on beta 2.

Edit :Now that im ready to get logs, etc, my phone decides to act normal. Multiple messages and a call later, nothing happened....

Maybe ondemand was causing this? Or aggressive oom? Or frandom or dyamic fsync?

I suspect that its a scheduler problem.

Andd... exactly as i set ondemand as the scheduler and rebooted, it froze.

Heres a log. All i did was open nxtweaks (making sure ondemand was the governor since it went back to defaults after the first freeze), turned off the screen, turned it on and as i was unlocking my phone it froze. https://www.dropbox.com/s/flb3bxe23o04l4p/logcat.txt
[Nexus 5 Original Android Development] neobuddy89:
Logcats alone don't help. Please use bug report option in nxtweaks and submit all 3 logs.
[Nexus 5 Original Android Development] alb3rtt:
Lemme get this right. I put ondemand as awake and sleep, wait for a freeze and use the 3 options? Or do i just press them now? (Several reboots after the freeze due to installing adfree hosts file and modules, etc)

Edit: well here are the links to the 3 logs post freeze (new one).

https://www.dropbox.com/s/1uolmdsonwkvq1f/chaos_debug

https://www.dropbox.com/s/9zlez1x56pkau2p/chaos_logcat

https://www.dropbox.com/s/hesz334aqg108le/chaos_last_kmsg
[Nexus 5 Original Android Development] abcdw654:
[MENTION=3795148]neobuddy89[/MENTION] can you provide the md5 for the beta release? And another mirror perhaps? On dev host I'm getting really poor speeds, like 200B/s. Also when I install the beta 3, my phone is booting to fastboot mode and stays there. Had to revert to beta 3.

I'm using Beanstalk rom 20/01 release with xposed.

---------- Post added at 08:17 PM ---------- Previous post was at 08:13 PM ----------

*revert to beta 2
[Nexus 5 Original Android Development] dannyella:
Just flashed 9.1 on latest CM.. Working great so far except for some minor ui stutter..
[Nexus 5 Original Android Development] Primokorn:
Maybe you have used a gamma control app. I have the same issue since I use custom colors.

I wiped NXTweaks data, reboot, flash Chaos 9.2 again and the unexpected error message is still there.
[Nexus 5 Original Android Development] abcdw654:
Am I the only one getting this error? Downloaded the beta 3 four times now, each time it boots to Fastboot mode and u have to flash another kernel. Plus dev host is giving me lots of troubles downloading haha.

Getting excellent battery life on beta 2 BTW :D
[Nexus 5 Original Android Development] neobuddy89:
For next beta, I have changed toolchain to GCC 4.8.2 and selected useful flags of -O3

This will ensure, we are on proper track for toolchains.

Also, mpdecision is disabled - replaced with MSM_Hotplug driver by [MENTION=4152171]myfluxi[/MENTION]

Core throttling is "almost" disabled for thermal driver because on high temperature, ideally, frequency should throttle .. not cores. Thanks to [MENTION=4152171]myfluxi[/MENTION] for idea.

More fixes from CAF. Battery life is amazing on B4 compared to previous releases and more smooth compared to previous beta.

I also need to merge CAF updates published by CM before publishing new beta tonight. :)

@alb3rtt : Thanks for the logs. Please revert back to stable rom/kernel and let me know if next beta resolves this issue.

Few fixes are deployed for same issue in next beta.
[Nexus 5 Original Android Development] alb3rtt:
B3 is very very stable on stock rom. It was ondemand causing the instability. Using intellidemand for awake and conservative for sleep (stock settings) and it is rock solid.
[Nexus 5 Original Android Development] danarama:
Yeah beta 3 is great. Couple of reboots so I've set max clock to previous 2.4x rather than new 2.5x

[MENTION=3795148]neobuddy89[/MENTION] do you have a list of the 9.2 voltages please? Id like to manually set back to that before I change voltages. I don't really know where I am with the new set
[Nexus 5 Original Android Development] mo976:
"PSA"

Latest CM nightly 27-01 wont boot with Chaos 9.2...
[Nexus 5 Original Android Development] danarama:
Sounds like cm changed something then
[Nexus 5 Original Android Development] SunamY:
Sry.... But support for PAC roms? There are no pac roms

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] danarama:
Sorry, what?
[Nexus 5 Original Android Development] mo976:
This was not with the beta. no rush, while I am eagerly waiting for chaos 10 it should only be when you are ready :)
[Nexus 5 Original Android Development] neobuddy89:
There are no PAC ROMs, but we are ready for it.

I had received PM requesting PAC support.

I am not sure, if he is intending a release pretty soon. :)
[Nexus 5 Original Android Development] dany20mh:
Yes, there is no PAC ROM, but the kernel is working with PAC ROM, and I'm building it from source and if anybody interested to try it I would share the link in the PM not in the public.
[Nexus 5 Original Android Development] srps:
Is there any difference between CM, PA, Omni for this kernel? Since you mentioned CAF updates that are merged into CM (I think?), I'd like to know whether they're normally merged also into other sources.

Thanks
[Nexus 5 Original Android Development] topgeardave:
Still running 9.2, must admit this kernel is rock stable with - 50mv uv. Battery life with intellidemand on 2.3ghz is second to none on cm11 with ART. Can't wait for b4 to release. Take your sweet time over it so then we'll have a rock stable kernel ?
[Nexus 5 Original Android Development] dannyella:
Can i use trickstermod app to manage settings of this kernel?..NXTweaker looks too cumbersome for me..
[Nexus 5 Original Android Development] Akeel1994:
yes you can
[Nexus 5 Original Android Development] zalo954:
I use trickstermod with this kernel and it works fine.
[Nexus 5 Original Android Development] anthonyly:
by anychance is there the same whites as franco kernal... or is it just franco that has that
[Nexus 5 Original Android Development] neobuddy89:
Chaos 10.0 Beta 4: http://d-h.st/dfW

Still not compatible with latest CM11. As those merges may break DT2W/S2W/Gamma interface.

Changes over Beta 3:

* Use GCC 4.8.2 toolchain with most flags from -O3

* New entropy seeder from CM11

* Disabled mpdecision

* New Hotplug driver

* Ramdisk settings update for more power save

* Driver updates - Panel, Audio, GPU, Video

* Little tuning for interactive, ondemand and conservative governor

* Fixes

* Core throttling as good as removed. It will activate only when hardware reaches its temperature limit (which is not possible since we do have frequency throttling)

Battery has not been tested after adding entropy seeder. But seems to me it has boosted performance so far.
[Nexus 5 Original Android Development] iraqi92:
still have some lag in TSF launcher on b4....
[Nexus 5 Original Android Development] neobuddy89:
It's too heavy launcher. Let me test and get back to you.