yashsingh1/xdaforums huggingface dataset:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
RenderZenith for OOS-N: V1.3.0 is here!!!

Things to note:

Thanks to [MENTION=3428502]Freak07[/MENTION] and [MENTION=8395457]velimirchek[/MENTION] , we have found that one of the included scripts RenderZenith uses was not executing. This means that the phone wasn't using any sleep states, among other issues. This new build fixes that and should be a substantial change for battery life. It may even fix the weird heating issue some users complained about.

I pulled in some new CAF changes for lpm_levels that should further optimize idle drainage

Also made a minor change that should work well with EAS

Changelog
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
This might be too noob a question but if I'm already with 1.2 renderzenith do i just wipe cache and dalvik cache and flash on top? Also is wipe cache and dalvik cache before the flash recommended or not needed at all?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Not needed. Kernel doesn't play with cache/dalvik
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
Temps on the new version seem to be playing nicely. For the last three versions, temps were always running in high's for 3-4hrs post the kernel flash. Now, seem to be more in line with the stock temps if not cooler.

---------- Post added at 09:03 AM ---------- Previous post was at 08:40 AM ----------

Not sure why the big core is more utilized than the little core? Shouldn't it be the opposite?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I think it might be because of the energy model. Perhaps the cost of using the big cluster was specified too low, that's why EAS uses it more frequently. We're still calculating and playing around with it to see what works best
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
I was just curious as thought it might just help in saving some extra battery juice. Although, I am pretty happy with the results so far on the new version.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] LKspro:
Just would like to report that after flashing the kernel, sometimes the cores are stuck at max frequency for a few minutes. Maybe there are background processes running which I do not know. Now it seems to settle though. I will report again if that happens. Other than that, this kernel is very smooth and battery friendly with the schedtune boost(20) applied.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
I'll just leave this screen here and go back enjoying my phone.

Thanks [MENTION=5438598]RenderBroken[/MENTION] & [MENTION=6745491]joshuous[/MENTION]

PS. Battery was something between 70-75% when I rebooted, not sure it was before morning coffee

PPS. dynamic stune boost @ 11 with no wakelocks blocked just to see where I stand
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] pranay.pratyush:
What cpu monitor are u using besides cpufloat?

---------- Post added at 04:05 PM ---------- Previous post was at 04:02 PM ----------

Woah. How exactly are you getting this. I haven't got this kind of idle drain in my life. My avg active drain is around 10.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Well it couldn't be same for of all of us.. due to circumstances I am back home and know my setup and fixed kernel was published.

And it won't be always this perfect, but it beats my U11 now in the same conditions / usage patterns.

As I said before, monitor your wakelocks, get to know them.. I saw 2 days ago I can watch my battery drain with Google play services draining it or I could reboot and where this will take me.. next steps would be clear cache and if that wouldn't help, wipe data of Google play services.. and then next steps.

tdlr; Enjoy your phone and monitor & get to know your wakelocks.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] LKspro:
That app is PerfMon.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Are you using PELT or WALT? When you first boot up mediascanner service is running in the background and it causes that to happen. Not sure if that is the case here.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] LKspro:
I was using v1.3, which should be WALT? The cpu scaling is normal after the first flash but after maybe 5-10 min, the cpu sticks max frequency for 5-10 min then it becomes normal again. Maybe it is the case you refer to because I had that with v1.2 too but that time the big cluster was stuck at max frequency too so creating heat. A reboot fixed it for v1.2, but when I opened KA it was stuck again for a while. I think this issue is gone when the kernel is finally settled.

Edit: And I never use KA to modify anything so should not be due to conflict of the settings.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
Set it all as you wrote, but after reboot "dynamic_stune_boost" reset to zero. All other settings set in EX kernel manager.

Check please, all right?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Sukhi:
You could have set the DSB in the Ex Manager too. Not sure why are you using 2 different apps to set the parameters?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
If you set it manually via root explorer it will not survive a reboot.

Use ExKM and set it to apply on boot. [MENTION=4771547]gillboyzz[/MENTION] sorry for the (mis)quote
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] stoyanovvitalii:
But i can't find this setting in EX manager :(
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
I posted it before, I'll post it again:

Tools -> User settings + (you'll figure it out from there)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] fards:
Gentlemen I am genuinely impressed with this kernel.

It's been a while since I played in depth with kernel code, (hence my foisted upon me tag by the powers that be here).

But this runs very well, very well indeed and from what I've seen digging through github you both appear to have a good understanding of how the kernel is supposed to work.

Rather than just copying and pasting others work and getting publicity for it. ( Like some others I could name).

Chapeau to the pair of you!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] ScRuFFy7:
[MENTION=5438598]RenderBroken[/MENTION] and [MENTION=6745491]joshuous[/MENTION]:

I just want to say thanks for your hardwork on this kernel. I know the early versions of this kernel didn't really work for me but the latest has come along leaps and bounds. I can't wait to see what other improvements and features come next!

Cheers! ?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
I am glad that others recognize the hard work, amount of testing and attention to detail [MENTION=6745491]joshuous[/MENTION] and I put into this project. We do it because we love it and because we love to learn. Right now, there is not anything more interesting going on in the kernel work than EAS. But it's been alot of fun to try and port eas before Google and their mass of engineers do. It will be cool to compare work when the pixel source drops.

It will only get better from here. We have ideas we will be working on into the future and things that will come soo we rather than later. Our biggest goal right now is to release the best eas build we can right now.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
sir, how to enable init.d？i want use the script to auto-set Dynamic Stune Boosting after restart (i use h2os)Universal Init.d Support didn't work .:confused:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Check out Magisk post-fs-data.d
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] pranay.pratyush:
When idle my big cores get like 5-6 % usage. But the frequency spike a lot. Can't the schedutil governor have more parameters to allow for tuning?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Just a heads up (is that correct word) about ExKM battery monitor and how it can get confused sometimes.. yesterday my idle was amazing.. today not so much (I reset it after charging to full).. suddenly my idle is over 2% and active drain is only 4%.. why it happens on EAS kernel I have no fcking idea, but I saw same behavior on U11..

I will be hitting 10h SOT again like yesterday when idle was under 1% and active over 7% and this cannot be correct, everything looks fine on my end.. maybe I just don't understand it (or better to say probably)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
I think we need to ask ExKM Dev how it works to better understand the battery monitor.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Or [MENTION=6745491]joshuous[/MENTION] has some better understanding (I am sure he has).. maybe it gives some kind of average estimate or something and I was using OP5 exclusively over U11 so there is much less idle.. I don't know

Just really happy with performance/battery life on this kernel.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
No, no extra parameters for tuning. The goal of EAS was to be hands off. Also spikes to max freq are not necessarily a bad thing. Do you feel that it's robbing you of battery? I would much rather have a mobile phone that powers through the day and all the tasks I throw at it and still have plenty of battery at the end of the day. I would consider my mobile usage to be pretty hardcore and I get, on average, about 1 hours extra SOT over Stock kernel with the same type of usage. My usage normally consists of 3 email accounts, 5 IM apps, Wifi on 100%, BT on 100%, BT Headset connected about 50% of the time, poor signal about 40% of the time.

With all of this, my phone performs generally smoother than stock kernel as well. So all in all I am pretty happy.

But with freq spikes, there is alot going on in EAS. You have different scheduling classes. (Fair, RT (Real Time), and Deadline) EAS decides the best way to complete each tasks. RT tasks preempt other tasks normally and normally require more frequency to make sure the tasks is completed ASAP. Otherwise this RT Tasks will not be completed in time and other tasks will start late. The scenario can cause things like popping or clicking sounds on BT for example. Also, in EAS currently (but not for much longer) RT tasks are not being calculated like other tasks. Meaning, every task normally gets its capacity (size) calculated but RT tasks did not have a proper solution for doing so, so what they decided on was to just give all RT tasks MAX Freq to complete with. In EAS 1.4, they have fixed this issue. But in the meantime, this means that any RT tasks that his schedutil, schedutil jumps to MAX Freq on the core running the RT Task.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
Right now the EAS that we use with the phone is 1.3?? Any plans of implementing the 1.4? (If not already) generally speaking though I'm very satisfied with the result I'm getting. The work you've put in this really shines. ;)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
EAS 1.4 is not finished. Though it's getting closer and closer I have started testing the waters just to get a feel for the new changes. Not sure when it will release though.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Has someone else stuttering in YouTube videos?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Taiffari:
Yes, I tried different values for the dynamic boost but didn't get it fluid. 20 was still better than 10.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Any particular resolution or just random videos? You have any link to test?

I am streaming a lot of music from YouTube app to Bluetooth speaker and didn't notice it yet, but maybe didn't pay enough attention..
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Sound is fine. The Video is stuttering. Every resolution. If i touch the screen in video its laggin less. I think the cpu freq is to low
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Well I am watching videos also while streaming :p

Will try again, later on .. also logs from when it lags/stutters would help [MENTION=5438598]RenderBroken[/MENTION] I guess
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berlino:
I dont' have any stutters while watching youtube videos in 1080p at home on 2.4 GHz wifi, dynamic stune boost at 10...try the following:

- set simple_ondemand for gpu governor

- activate gpu rendering in dev options

- if using chrome or chrome beta, select its webview-implementation in dev options

- create a folder "egl" in /sytem/lib with permissions rwxr-xr-x (0755), inside the folder create a text-file "egl.cfg" with "0 0 adreno" permissions rw-r-r (0644) using a root file manager

- find /system/etc/wifi/WCNSS_qcom_cfg.ini and scroll to the line "#ChannelBonding", where you find "gChannelBondingMode5GHz=1" and add the line "gChannelBonding2.4GHz=1" for 40MHz-bandwidth

Maybe this helps for smooth videos after a reboot.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
Will see if i get logs later today
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Ofthecats:
What does this egl file do?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berlino:
The egl file is for gpu rendering.

Usually the egl.cfg has two lines:

0 0 android

0 1 adreno (or mali or other built-in gpu)

Changing it to 0 0 adreno forces the gpu for rendering.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
I have never had any stuttering since doing EAS for the OP5. Logs from Syslog would be helpful but I am pretty sure it's something changed on the user side rather than this kernel. As I have tested numerous different things/settings/etc and never once had any problems with Youtube. Also note that in the testing that I personally do, Youtube playback is one I always do as I watch alot of youtube vids throughout the day.

If you can get some logs while it's happening, I am pretty sure we can track down the issue. Thanks for the report!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Berlino:
Sorry [MENTION=5438598]RenderBroken[/MENTION], didn't want to clutter the thread.

So I thank you and [MENTION=6745491]joshuous[/MENTION] for all your hard work on EAS...your kernel runs amazing on OOS, I really appreciate all the efforts for OP3/3t and 5. Keep rockin'. :good::cowboy:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
I tried it and can reproduce. Im not really sure if im doing it right in syslog. Look in Attachment
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] PeteT:
I had the stuttering last night. This morning I disabled HVEC 60fps magisk module and the stuttering seems to have gone.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
I can't find the exact cause but I found a ton of these errors in your kernel dmesg logs. Anyone else can do the following commands in Terminal app and check whether they have it?

su; dmesg | grep deprecated

Please post a screenshot if something turns up.

[MENTION=7433413]MrPepperino[/MENTION], what tweaks, Magisk modules, kernel changes, etc did you perform? Also please dirty flash OOS and then our kernel again. Did you dirty flash another kernel previously?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
I think the issue is playing 1080p60fps videos. I will continue to look into it. According to [MENTION=3428502]Freak07[/MENTION] reverting some of the newer official eas changes fixes the issue though I would need to look into it further.

Thanks for the report!
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
No magisk modules installed. I will try it. Will install stock oos these days maybe in weekend. Will report back then.

Thanks for your help
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Just run the command and nothing turned up.

---------- Post added at 03:00 PM ---------- Previous post was at 02:58 PM ----------

I just tried a 1080p60fps video and there is some stuttering indeed. Not too much, but looking carefully I can see it.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
The stuttering was really clear on my phone. The audio is even desync on some time. I will look into the tips in the weekend if I have time.

I'm on boeffla for now and the stuttering is gone
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
I never said it is not clear on your phone, sorry if it sounded like that.

I just rebooted and wanted to take log from this video I saw little stuttering in and now I cannot even reproduce it :eek:

Strange.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] MrPepperino:
No No. I just wanted to say that if it's stuttering than you will see it :D doesn't sounded like that. Just want to make it clear :P
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
The battery life was too good :p (1.5-2d with 9-10h SOT on WiFi and 1d with 6+h SOT on mobile data with my usage patterns) so I upped dynamic stune boost to 18 (from 11) to get some more smoothness (11 was totally fine for my taste) and battery life is still too good :eek:

Oh well, thanks :)
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
We decided to skip v1.3.0 and jump straight to v1.4.0 (for technical reasons)

Grab it here: RenderZenith-OP5-OOS-N-EAS-V1.4.0.zip

Lots and lots of changes (seriously), but first I'll confess that we haven't been properly running EAS because we missed out on an important switch. Embarrassing for me, but glad that has been rectified in this build. Perhaps we'll see even better energy efficiency from here onward :)

Changes can be found here: https://github.com/EAS-Project/OP5-OOS-kernel/commits/v1.4.0

Summary:

* Enabled EAS properly

* Scheduler updates (WALT, Schedutil, etc)

* Low memory killer updates

* Removed BFQ IO scheduler. A bit outdated and I'll see about backporting a newer version.

* CFQ updates (I'm getting noticeably better scores in Androbench. If you can, please perform benchmarks before and after you flash the kernel)

* Binder updates
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] wrshazhuzhu:
The download link is fail:(
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Using an adblocker? Alternatively try this: https://xdaforums.com/devdb/project/dl/?id=26600
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] wrshazhuzhu:
No adblocker.This link is working:laugh:Thanks:fingers-crossed:
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] SM@SH3R:
I had actually noticed this stuttering issue a few time on my OP5 a few times a few weeks back while playing a few videos in particular. There were 2/3 videos in a single channel that were stuttering including a few from other channels. And, it did really stop partially while I was touching and scrolling the display up and down frequently. I'd tested on a few other devices as well with the same version of YouTube and Chrome Canary with those particular videos but I didn't notice it.

NB: My device was fully on stock on OOS 4.5.6. I played most of the videos in Chrome Canary and a few on the YouTube app itself but the issue was present on both the cases. I am yet to notice that same issue on any of the hundreds of videos that I've watched on OOS 4.5.10.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] velimirchek:
Thanks for the update :) cannot comment about kernel yet, but I did run Androbench before and after and after has similar or lower results than before for me :( (before is @ 17:59, after is @18:53).. maybe I need to let it settle a bit
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Yeah please let it settle
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dd0s:
Have to edit the url before https ;) now Download is working
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
Your suggestion fixed it thanks
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
sir, did EAS kernel need ROM support?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] joshuous:
It works fine without, but having rom support will enable more intelligent boosting. I'll work on that when I finally decide to switch from OOS to something else
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
OK ，thanks～
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
My results with androbench personally are quite dissapointing. Stock OOS. Ty for update anyway
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
The issue is playing at 60fps.

Can I get more information? Are you getting disappointing results with the new kernel build or with stock oos?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
With the new kernel build. I'm always comparing custom kernels having as a standard the stock OOS kernel. In this case the results I'm getting in androbench with v.1.4.0 are quite lower than the ones i get with stock OOS kernel and 1.3.0 also. My results are quite similar with the ones provided by [MENTION=8395457]velimirchek[/MENTION] . Maybe letting the kernel settle a bit will help the situation?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Maybe, maybe not. I doubt it will get much better but it's for a reason. The whole point of eas is to be energy aware. There are certain areas that we give up for energy and others where we want just straight throughput. I/O speeds is one we can sacrifice a little bit for the sake of battery savings. There are times when eas deems a core is over utilized and foregoes the eas method in favor of pure throughput. But if you look at the cores and their frequencies, you will see alot of the work being done on the little cores. You will see the theme all the time when using the phone as the small cluster is more energy efficient.

So as a general rule to those out there that benchmark everything, please do not think a benchmarks dictates the User Experience (UX). Like I said, eas makes smart sacrifices in pursuit of battery savings without sacrificing the UX. If you look at the gpu profile of eas and of stock hmp. It's a no Brainer of who wins that one and some of you would be surprised that EAS gives a much better 60fps UX with very little jank or dropped frames. While using stock hmp, you see dropped frames all over the place.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
That's true but the fact remains that i got lower scores than the ones I did get with 1.3.0 renderzenith. Well I'm sure you can find out the culprit of the i/o drop in comparison with 1.3.0 or maybe that was intended? In any case i will test the battery a bit and will report back. Tbh though 1.3.0 was already quite good with battery. Smoothness always is top priority for my usage. This kernel comes very close to that stable 60fps output.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Stupifier:
Lower or Higher benchmark score does not mean anything to these people (including me)......forget about the score, it really doesn't matter if it is lower or higher. USE Your phone. The real test of a Kernel is managing Performance vs Battery. It is all about EFFICIENCY. Benchmark scores do not measure such things.
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Konskl:
I feel you and that's why I'm here. The biggest benchmark of all for me is to get the perfect line in profile gpu rendering which unfortunately oneplus hasn't been able to reach yet as pixels have done. 2nd but equally important is battery backup in which this kernel does an admiring job thanks to [MENTION=5438598]RenderBroken[/MENTION] and [MENTION=6745491]joshuous[/MENTION]
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
compare with 1.3, 1.4 seem have unusual fever again, is it my illusion?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] RenderBroken:
Not sure what you mean. Can you elaborate?
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] Lxeon:
used like before, but hot than before, btw i enable the Dynamic Stune Boosting, and set 1500/10
[OnePlus 5 ROMs, Kernels, Recoveries, & Other Devel] dsa1462:
Set DSB higher than 10 and test again