yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Original Development] fozzie:
I just noticed that the default target_loads in f.Ku is set to 80 BUT has a space after it. I wonder if that caused/causes any problems?
[Nexus 7 Original Development] Metallice:
Well.... CPU or core hotplug has to do with online/off lining cores, while OTG hot plugging has to do with... Well... OTG.

Hotplugging basically means it can plug it in and out without having to reboot.
[Nexus 7 Original Development] poondog:
That was quick, congrats on the new title you're very deserving of it, more so than many like me :)

Sorry for ot
[Nexus 7 Original Development] sgt. meow:
Yeah I assumed since that member was talking about franco's hotplug thingy, I'd tell him about the core thingy. And to be pretty honest I didn't know we had to reboot after plugging in a USB drive at any point in human history. Obviously I haven't had much experience.
[Nexus 7 Original Development] osm0sis:
Thanks buddy! :)

Once Francisco's got the new hotplug bugs squashed here as he has for the N4 we can likely go a bit less aggressive than the old winners for battery savings. The current defaults are kind of a hybrid with the t_r at 30000 anyway so might work best, but it'll have to go through a quick round of testing I think so we're sure we're not jumping the gun. :good:
[Nexus 7 Original Development] franciscofranco:
Just pushed r57 syncing the latest changes on the hotplug directly from mako and they've been very happy the last days. N7 feels great and I don't plan to make many changes on this driver soon as its working great for me.
[Nexus 7 Original Development] Skyfall007:
Testing.. thanks man!
[Nexus 7 Original Development] fozzie:
'target_loads' of 85 has a space after it, when using f.Ku.

For some reason, most of the Governor Control values are blank when first running the app (but ok when going back a screen then back in), which doesn't happen on the N4.
[Nexus 7 Original Development] osm0sis:
You're right! Doesn't happen on the GN either.
[Nexus 7 Original Development] franciscofranco:
Yeah I know the cause, gotta fix it, thanks for the reminder.
[Nexus 7 Original Development] farmerbb:
Looks like YouTube videos still occasionally slowdown/stutter on r57, default settings.
[Nexus 7 Original Development] osm0sis:
Franco check the Group for some other f.Ku and kernel issues/suggestions when you have a moment, please. :)
[Nexus 7 Original Development] CamoGeko:
Nice to see some devs still take notice of our feedback.

Btw, your mako kernel is running great for me as well. All round smoothness and stability.

Many thanks! :good:
[Nexus 7 Original Development] SGWUser:
Finally upgraded from r47 to r57 but video playback in YouTube is extremely laggy. Any way to fix this?
[Nexus 7 Original Development] osm0sis:
Can you point us to a specific video or 2 that reliably cause the lag? I couldn't even reproduce it on r55 or r56.
[Nexus 7 Original Development] franciscofranco:
Will do now.
[Nexus 7 Original Development] SGWUser:
I was watching the XDA-TV video about ES File Explorer's new UI, and after changing volume the tablet started lagging so much I almost couldn't close YT. After closing YT, tablet was performing normal.

Besides from this, the kernel is feeling incredible smooth after flashing :)
[Nexus 7 Original Development] franciscofranco:
I can't reproduce it, but I'll see what I can do. Is that with GPU OC or without?
[Nexus 7 Original Development] SGWUser:
No OC, just the standard settings.

Thanks for helping :)
[Nexus 7 Original Development] franciscofranco:
Weird. I can't reproduce it though.
[Nexus 7 Original Development] farmerbb:
Try this video: http://www.youtube.com/watch?v=DB0a4espnWU

I've been going back and forth between 416MHz and 520MHz GPU OC all morning, the YouTube stutter occurs on both. For me, touching the screen seems to temporarily fix it.
[Nexus 7 Original Development] SGWUser:
So it's pretty random, I watched that video with no problems.
[Nexus 7 Original Development] Pinktank:
Same here, I can kinda tap my way through a video. The stuttering holds for videos embedded in games as well.
[Nexus 7 Original Development] bagl0312:
I confirm that also on R57, with default settings, this video starts smoothly, but after less than one minute it begins to lag.

Touching the screen solves temporary the problem

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] MykeChester:
No youtube video problem here.... Im on CM
[Nexus 7 Original Development] silverbios:
working on stock rom?
[Nexus 7 Original Development] bagl0312:
Yes, I am on stock 4.2.2

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] osm0sis:
Medium and low hotplug thresholds are swapped again by default. I assume it should be 25 for low and 50 for medium? Right now it's the opposite.. Reversed it's constantly trying to both online and offline when its below 90, which could explain the lag?
[Nexus 7 Original Development] Martin-Doc:
Same here. Even the sound from my alarm app is stuttering. I use doubletwist alarm clock.

Rom PA 3.15, GPU OC @ 520 MHz
[Nexus 7 Original Development] nemotheblue:
Makes sense to me. I'm gonna swap them and see what happens
[Nexus 7 Original Development] ÜBER™:
Thats actually on purpose. thats how it is on the mako and there is no problem with youtube on it. :\

If i remember correctly this is how franco explained it...

Medium - When the load hits 25% it onlines a core, dumps the monitored load and when it hits another 25% it onlines the next core in line.

Low- When the total load is below 50 it offlines all cores that were onlined. :)
[Nexus 7 Original Development] farmerbb:
Hmm, that's interesting, swapping the two seems to make YouTube videos play perfectly for me, at the cost of some UI smoothness in the YouTube app.

(Edit: nevermind, the stuttering still occurs, just not quite as often, from what I can tell)
[Nexus 7 Original Development] mdt73:
Paranoid Android 3.15 (20130411.115638) Nexus 7.

Any lengthy youtube video (over 1-2 min) lags the tablet, and after five minutes, or so, I lose control of the tablet until youtube force closes.

No problems if it's a short (sub 1 min) video.

Switched back to R47, no problems, whatsoever.
[Nexus 7 Original Development] argonick:
Same here but on stock rom.

With the change the system feels funny...
[Nexus 7 Original Development] puffel86:
Slowdowns for me too when streaming videos and watching ingame video after some time...on stock 4.2.2...gpu oc 446mhz...when touching the screen it speeds up...sometimes it slows down so much that i had to force close the app because nothing was responsive anymore.i like your kernel so i hope you can fix it fast. Good luck.
[Nexus 7 Original Development] JDCFH:
Lag in YouTube here also using rasbeanjelly.

Have to tap screen to make it play smooth again.
[Nexus 7 Original Development] mdt73:
Just spent a bit of time playing more youtube videos with R47, same PA build, no issues. Am I missing anything by sticking with R47? Seems to be the best kernel for me to date.
[Nexus 7 Original Development] Luigiesin:
I still have the same YouTube issues with stutter and lag... I went back to r48 and everything is good again.

Doesn't matter how much I tweak the hotplug settings, the lag is still present.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.1 (Mar07)

Kernel: Franco r121

T-Mobile
[Nexus 7 Original Development] Gilg@mesh:
R47 seems to work great, anyone knows last kernel that did not have lag problems?
[Nexus 7 Original Development] Pinktank:
I was going to suggest maybe the PA was at fault but you said you are on stock, so it is the kernel
[Nexus 7 Original Development] Gilg@mesh:
testing R48 now, seems to work too
[Nexus 7 Original Development] guidocioni:
YouTube stutters also here! I'm on smooth rom btw and r57

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] jatipton:
Can people try this on r57? How does it affect battery life. I will be trying this later tonight when I have my tablet. Also I would get lag with BS PLayer and 720p content tv shows on r56 but not r47. So I will try r57 tonight.
[Nexus 7 Original Development] lollyjay:
I'm on r55 with no YouTube problem.

Nexus 7 WiFi 32Gb | PA 3.15 25-Mar2013 | Nova Prime | Franco-Kernel r55

Nook Color | PA 2.99 | Nova Prime
[Nexus 7 Original Development] slyd0997:
On mmuzzy and Franco 57 (out of the box, no changes) YouTube terrible.
[Nexus 7 Original Development] hiragasait0:
New super duper setup

Time to stop being a lecher ! I'm happy to reach 10 post so I can give important feedback:

After reading a lot about governor settings and testing I got what seems to be a really good setup: :good:

Above hispeed del: 17k

Go hispeed load: 98

Highspeed frec: 760

Min sample time: 40k

Timer rate: 40k

Target loads: 90

Timer slack: 80k

.

Hot plug: 95-60-30

No lag on YT even when I'm underclocked to 1000 MHz

BTW GPU is on default

I got 102MHz on rest with just screen on (battery is good :) ) Another funny fact is that I tested this with quadrant and this config got higher numbers that locking the 4 cores to always on at 1300MHz (A marginal difference but still constant)

This config works not only with r57 but with r56 and r47 without lag on any of them.

Please test this and comment. Nice kernel Franco, thanks!

I'm using smooth room if that's important.
[Nexus 7 Original Development] bmakk2055:
Thanks for the best kernel, getting good battery life
[Nexus 7 Original Development] osm0sis:
Full screen that definitely does it for me. I'll frig around with the settings.

Edit: Huh... Only the first time I started the video though... Second time I made it through no problem... Third it happened but it took longer. :confused:

Edit 2: Seeking around in the video seems to make it more likely.
[Nexus 7 Original Development] ÜBER™:
Youre not serious are you? :what: No offense... But you hardly even used the tablet... How is that good battery life... That's good standby time.. And anybody can do that.

Sent from my Nexus 4
[Nexus 7 Original Development] bmakk2055:
My power never lasted this long on standby
[Nexus 7 Original Development] osm0sis:
Good to see you again nemo! :)

Since swapping them (so, 90-50-25) I haven't been able to reproduce the lag. How about you?
[Nexus 7 Original Development] :
I know this wasn't directed toward me, but swapping the values seems to have eliminated my lag as well. Thank you.
[Nexus 7 Original Development] osm0sis:
Okay I definitely spoke a bit too soon.. This is a really annoyingly intermittent issue to reproduce.

Most consistent way I've found is to switch between 4 or 5 lengthy HD videos using the YouTube app's History (under Account). I can effectively trigger it in the first 30 seconds (if not the first 10 seconds) this way; and if it doesn't trigger, I move on to the next video until it does, and it will eventually. All defaults.

I've been using these, brought up previously:

http://www.youtube.com/watch?v=j9RABVUxRpk

http://www.youtube.com/watch?v=DB0a4espnWU

a couple others YouTube suggested:

http://www.youtube.com/watch?v=XjBGadMsc0k

http://www.youtube.com/watch?v=OQk1bSQ6nKs

and these random assholes:

http://www.youtube.com/watch?v=cXt3rT5IRwk

Still messing with the thresholds while also trying to account for the logic UBER pointed out Francisco used... by that logic we should still be able to raise medium, just maybe we should avoid lowering low too much or obviously it'll be smoother since the cores will never shut off. :p
[Nexus 7 Original Development] lastot069:
I have tried it, but native support is just so nice and easy. Please put it back in the kernal!
[Nexus 7 Original Development] osm0sis:
Still able to trigger the issue using my method here, though I wonder if you're on to something with the go_hispeed_load, target_loads and that the hotplugging also being based on loads, some lower than those.. things would be ramping up and down in terms of cores and frequencies and it could potentially oscillate.. which is something that could explain the lag when it meets certain conditions.

I haven't found any ways to tweak any settings (GPU, Hotplug, Governor, Scheduler) that will resolve it. Hopefully Francisco will be able to better reproduce it now and figure something out.
[Nexus 7 Original Development] poondog:
For the record it happens on streaming video in chrome too. On chrome it has to do with the frequency dropping lower than it should be I think, because when the video starts lagging the whole UI takes ages to respond for like 2 seconds (the back, home and recents keys for example)

Happens on the 720p vid I played from my USB stick too, using stickmount and the stock gallery app

Can I also say that with your consistency test, it will work because generally more video playback= more time for it to start lagging? Since its random

Stock kernel settings, no UV or anything, CM10.1 M3

So can we say

1. It is not related to ROM

2. Its not related to any particular videos, as it happens randomly

3. Only happens on full screen

4 .Touching the screen will raise the frequency and stop lag for a bit

5. And obviously its only come to light with the new hotplug driver (no offence)

6. This kind of lag can't be triggered any other way?

7. Happens on r57 too?

Just tryin to narrow things down, throwing suggestions that came to my head :P

Also is it possible to "lock" the frequency while playing video at 475MHz like some devs do with audio?
[Nexus 7 Original Development] TheByteSmasher:
OK, so for me the issue was playing videos on MX player, local videos. With r57 the lag only appears now if I use the H/W decoder (which used to work) but it's gone entirely with the S/W one...
[Nexus 7 Original Development] poondog:
I was going to suggest trying this lol

Usually, with other kernels:

The HW decoder runs using the LP core, being something like 475MHz when playing the video, so it plays at 475 with this kernel (most of the time). Same as the stock gallery app does, obviously with supported video types like MP4

The SW decoder uses the G cores at the highest frequency, in many cases 1.3GHz. If you check the CPU its probably running at 1.3GHz with the SW decoder. Probably why you don't have lag :P

But this could be a good workaround for the time being, although it does drain more battery
[Nexus 7 Original Development] Martin-Doc:
Video, audio, and even looking at GIFs, lags as hell for me.

Odesláno z mého Nexus 7 pomocí Tapatalk 2
[Nexus 7 Original Development] CamoGeko:
Have you tried one of the many solutions posted??
[Nexus 7 Original Development] slyd0997:
This helps
[Nexus 7 Original Development] melp57:
Is there a reason that grouper kernel don't seem to have the ability to change screen color settings via Trickster Mod?, unlike doing it on most kernels for toro.

thanks
[Nexus 7 Original Development] qu3becker:
That's because there's no way yet of doing that.

Apparently, it's being worked on.
[Nexus 7 Original Development] MarcAntonyy:
FYI - On r57, I'm getting the lag on YouTube without being fullscreen.
[Nexus 7 Original Development] poondog:
Okay but youre not touching it right?

so about the lag, more narrowing down

So can we say

1. It is not related to ROM

2. Its not related to any particular videos, as it happens randomly

3.

4 .Touching the screen will raise the frequency and stop lag for a bit

5. And obviously its only come to light with the new hotplug driver

6. This kind of lag can't be triggered any other way?

7. Happens on r57 too

?
[Nexus 7 Original Development] hiragasait0:
Sorry didn't test ir enough, you are right, but it's really random. Seams that no tweak will solve it but a revision on hotplug driver.
[Nexus 7 Original Development] MarcAntonyy:
Meaning I can begin playback of a video in YouTube (this is the tablet UI version of YT, so playback begins not in fullscreen) and stutters unless and until I touch the screen a few times to get temporary smooth playback. My best luck is to try and toggle off HD just prior to the video playback, which serves to jump the frequency and lessen the need at the same time.

If that wasn't what you were asking lemme know and I'll edit this post.
[Nexus 7 Original Development] jatipton:
Stock Rom 4.2.2 - Stock settings and underclocked at 1000mhz no difference. Followed all suggestions in the last ~4pages. I can still repro lag with 720p content in BSPlayer. Just watching TV episodes and fast forward or skipping episodes and lag will show up within 20 - 30 seconds.

This is a great kernel and I look forward to when these hiccups get resolved. Thank you Franco.
[Nexus 7 Original Development] fozzie:
Has anyone with the video lagging problems run perfmon while it's happening, to see what the CPUs are doing?
[Nexus 7 Original Development] puffel86:
Today i tested tv streaming with zattoo app. And it also slows down every 20-30s when not touching the screen. So this is a real good test for these slowdowns. Zattoo is free in the market but it is not for all countries i think. You have too look and test if it is available for you...

https://play.google.com/store/apps/details?id=com.zattoo.player

I hope you can fix this problem franco. Anyway thanks for your hard work.
[Nexus 7 Original Development] fozzie:
I just had a quick dabble with MX Player Pro. When using HW+ decoding, there was generally 1or 2 cores running at 475MHz.

Switched to software decoding and it was generally 2 or 3 cores, running up to 1000MHz or 1300MHz.

Switched back to HW+ and after a few seconds video was suddenly really jumpy/laggy, call it what you will. There were 2 CPUs online at 475 MHz which dropped even further, within seconds, to a single core at 102MHz.
[Nexus 7 Original Development] blipp:
I just ran a YT video with the System Monitor CPU popup over it and noticed that when core 2 was on, the video lagged but when it went offline and just core 1 was online it played fine. Cores 3 and 4 never came on for the video. Both 1 and 2 were well below or around 50% most of the time. Just an observation
[Nexus 7 Original Development] Keitaro:
Exact same experience for me although I have to set the governor to Ondemand for non-stuttering playback. Everything else in franco's app is at defaults. With System Monitor and playing an MP4 file with HW encoder (not the + one) I see one core at 475Mhz and the rest are offline.
[Nexus 7 Original Development] farmerbb:
Wow. I can't get the lag to occur either on ondemand. So maybe it's not a problem with Franco's hotplug driver or with the interactive tunables, but the interactive governor itself? Can anyone else confirm that the lag doesn't occur with ondemand?
[Nexus 7 Original Development] puffel86:
Yes lag is gone for me too with ondemand. So the problem is the interactive governor?
[Nexus 7 Original Development] Shimakaze:
ondemand fixed the Youtube stutter for me as well. I think I started getting this problem from r55 to r57, and I had kept the governor on interactive the whole time.
[Nexus 7 Original Development] bagl0312:
I'm also finding that with governor ONDEMAND, the lag with YouTube disappeared. The interface looks more responsive and smooth too

I am on stock 4.2.2 with r57

:)

Inviato dal mio Nexus 7 con Tapatalk 2
[Nexus 7 Original Development] osm0sis:
I can still reproduce with default settings and ondemand using my method. Difference is it's more momentary with the associated audio distortions, and they can continue somewhat for the rest of the video, but overall it makes the videos bearable/watchable where with interactive it freezes up.

I think the problem is still with the hotplug since Franco reverted all the recent interactive changes; I guess ondemand is just better at handling the issue than interactive.

---------- Post added at 07:43 PM ---------- Previous post was at 06:59 PM ----------

You know what does appear to work around it? I've had my min at 475 MHz for the last 30min and I haven't been able to reproduce it at all. Completely defaults otherwise.
[Nexus 7 Original Development] Gilg@mesh:
possible to get a minimum less than 475MHz but more than 102MHz? also trying minimum 475MHz with R57 now.
[Nexus 7 Original Development] fozzie:
You mean 102MHz?

Not with this kernel as it stands.
[Nexus 7 Original Development] Vision81:
Is there a list of milestones vs nightlies? I'm guessing r47 is the last milestone as it stands now.

Thanks
[Nexus 7 Original Development] osm0sis:
No actual milestones by name yet.
[Nexus 7 Original Development] slyd0997:
Ondemand for me seems to fix YouTube stuttering.
[Nexus 7 Original Development] ÜBER™:
True, it seems standby has improved greatly. But letting the tablet sit is not battery life. I usually play with my 7 for a while put it down for an hour or two and see 1-3% in drainage... Nonexistent now. :)

Sent from my Nexus 7
[Nexus 7 Original Development] Jack Barrett:
I also notice this youtube lag since last 2 versions and Im using stock rom and kernel settings. Hope be fixed soon :)
[Nexus 7 Original Development] Robin2:
The whole system runs noticibly faster with the ondemand governor.
[Nexus 7 Original Development] CamoGeko:
Also the battery drains noticeably faster? ;)
[Nexus 7 Original Development] ÜBER™:
Actually no. It seems to be running the same as if you had the HSF on interactive to 1Ghz.

Sent from my Nexus 4
[Nexus 7 Original Development] CamoGeko:
Hmm... so Ondemand more battery efficient than Interactive underclocked?

Thats weird.
[Nexus 7 Original Development] ÜBER™:
HSF isnt the max frequency. It still uses 1.3 when it sees fit. But for the most part its 1Ghz.

Sent from my Nexus 4
[Nexus 7 Original Development] osm0sis:
Francisco is positive that it's just that the interactive tunables aren't aggressive enough to keep the freq up during media playback. I pointed out it still happens with ondemand, just not as violently. I think the best answer is to lock the min at 475 for media playback.
[Nexus 7 Original Development] CamoGeko:
Yeah we had the same situation on HOX, higher frequencies would still be used just less.
[Nexus 7 Original Development] blipp:
So it's basically like how the Gnex crashes when you have min cpu at 192?
[Nexus 7 Original Development] slyd0997:
I am so sorry for this naive question, but how do you set the minimum for just media playback?
[Nexus 7 Original Development] osm0sis:
More like how music playback stutters and turns off on the GN with min cpu at 192.

We can't. Franco would have to do it in the source, as other kernel devs have done. We could go ahead and make custom powermodes for ourselves as a workaround but there's no easy way to switch them until Franco also adds widgets or Tasker support to f.Ku.
[Nexus 7 Original Development] human-being:
How can I change the governor?

I found that there are cpufreq folder in all 4 folders: cpu0-cpu3, which one should I change?
[Nexus 7 Original Development] lollyjay:
Change in Trickster Mod.

Nexus 7 WiFi 32Gb | PA 3.15 25-Mar2013 | Nova Prime | Franco-Kernel r57

Nook Color | PA 2.99 | Nova Prime
[Nexus 7 Original Development] emd2009:
So 57 is pretty bad, feels like I'm back on Froyo, don't understand why just because certain settings work on the nexus 4 implies it'll work here... anyone have a link to a better version?
[Nexus 7 Original Development] fozzie:
OP; You're free to download & use any.
[Nexus 7 Original Development] Antob125:
R47 was the most recent that worked great. I'm stuck on that until a new version comes out. Some people complained about 47 lag when first woken up of so try 46

Sent from my Galaxy Nexus
[Nexus 7 Original Development] DMardroid:
Battery screenies

Still on #56 - no lags or sleep or other issues I've noticed, all is well over here

Not a lot screen time on this charge tho

I'm happy - U? :D :sly: :o :p

..on Slim too btw
[Nexus 7 Original Development] ÜBER™:
Where'd you get them soft keys? :D

Sent from my Nexus 7
[Nexus 7 Original Development] extremetempz:
Overclock

Meanwhile at N4 Forums does this mean N7 get o/c to
[Nexus 7 Original Development] ÜBER™:
Doubtful. The Nexus 4 kernel has had much more work on it. But well see.

Sent from my SGH-T999