[Q] Enabling ART causes Nexus 7 to lag - Nexus 7 Q&A, Help & Troubleshooting

I am using Slimkat ROM build 4997 with F2FS on my Nexus 7 Grouper
Enabling ART on this device seems to cause major lag and slowdowns. Can anyone help on why this is happening? I was expecting faster performance compared to Dalvik.

gkhemka said:
I am using Slimkat ROM build 4997 with F2FS on my Nexus 7 Grouper
Enabling ART on this device seems to cause major lag and slowdowns. Can anyone help on why this is happening? I was expecting faster performance compared to Dalvik.
Click to expand...
Click to collapse
ART is still hit and miss because not all apps are compatible with it, yet. I have a simple setup with my N7 and ART runs just fine. I'm not running Slimkat at this time, however.

Have u tried any other rom?
gkhemka said:
I am using Slimkat ROM build 4997 with F2FS on my Nexus 7 Grouper
Enabling ART on this device seems to cause major lag and slowdowns. Can anyone help on why this is happening? I was expecting faster performance compared to Dalvik.
Click to expand...
Click to collapse
Did u try some other rom? Im using liquidsmooth with art and it is seriously fast. Btw, ART basically reduces app loading times not much else. Try overclocking if u want a serious improvement in performance

I would not overclock the N7. There is a big battery drain even without OC. And the speed improvement isn't that much. For me ART needed it's time establish and then it ran smooth.
Sent from my GT-I9100 using XDA Free mobile app

gkhemka said:
I am using Slimkat ROM build 4997 with F2FS on my Nexus 7 Grouper
Enabling ART on this device seems to cause major lag and slowdowns. Can anyone help on why this is happening? I was expecting faster performance compared to Dalvik.
Click to expand...
Click to collapse
I was just looking for this topic myself. Same.. I'm running AOKP 4.4.4 on f2fs.. We all know the N7 2012 is a lag monster but I figured ART wouldn't hurt, but in reality I'm seeing slower launches, in-app lags, just random stutters in apps that I've never seen before.
I'm going back to Dalvik, looks like it's not just me. Maybe ART wasn't on this chipset for a reason (not optimized for Tegra 3 etc).

Related

[Q] Scroll stuttering and kernel question.

Hello world! My brother recently bought a Nexus 7. He unlocked it and did all sort of nasty things to it.
First of all, he installed latest CyanogenMod 10.1 nightly and changed the kernel to latest M-kernel.
When he slowly scrolls, there is stuttering (sometimes if you focus) and it's annoying. Is there any way to fix it?
Now for the kernel question. I want to show him a kernel like Siyah on Galaxy S 2 9100(I'm an S 2 owner) because this particular one provides stability and performance. Is there such kernel for the Nexus 7? (If you know about Siyah)
Thanks in advance guys!
P.S: The Google search I did was saying something about Google Currents, but it's not installed here.
BUMP! Come on guys, you can do better than that!
Both Franco kernel and Faux kernel are great. Franco's does not support overclocking, Faux does. The one I use is clocked at 1.4 - not too high, but it does make a difference. Smooth and stable.
Well, which one do you use? Care to mention?
Konstantinos said:
he installed latest CyanogenMod 10.1 nightly and changed the kernel to latest M-kernel.
When he slowly scrolls, there is stuttering (sometimes if you focus) and it's annoying. Is there any way to fix it?
Now for the kernel question. I want to show him a kernel like Siyah on Galaxy S 2 9100(I'm an S 2 owner) because this particular one provides stability and performance. Is there such kernel for the Nexus 7? (If you know about Siyah)
Click to expand...
Click to collapse
M-Kernel mr1 easily seems like the best choice to me. Greatly improved performance with just slightly worse battery life (because of OC).
Any stability issues you encounter are likely a cause of the ROM you're using. Especially if you're using a nightly build.
The "stuttering" is either because of the hardware in the Nexus 7 or because of Android itself. I'm pretty sure you won't find a ROM or Kernel that removes that.
It's because there's a minimum scroll distance, that makes it look stuttery when you move your finger very small distances.
Scrolling with what app? Some always stutter.
Sent from my Nexus 7 using XDA Premium HD app

[ROM][4.2.2] CyanogenMod 10.1 stable discussion

There was no opened thread for stable release of CM 10.1, so i opened it. I haven't installed it yet, is there any major bugs? Has RAM management got any better since RC2?
Yes stable version CM10.1.2 is very good try it out!
Sent from my Nexus S 4G using xda premium
It's very good, i'm testing it right now, very fluid, nice faster animations. I really like new polished CM apps, like Apollo and Trebuchet. cLock and cLock widget are also awesome.
Sent from my Nexus S using Tapatalk 2
Ted Mosby said:
It's very good, i'm testing it right now, very fluid, nice faster animations. I really like new polished CM apps, like Apollo and Trebuchet. cLock and cLock widget are also awesome.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
Default CM kernel?
Ted Mosby said:
It's very good, i'm testing it right now, very fluid, nice faster animations. I really like new polished CM apps, like Apollo and Trebuchet. cLock and cLock widget are also awesome.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
flash latest devil kernel and u will know what fast is
Yes, default kernel. I am going to try Devil kernel, I have heard numerous recommendations for it. Also I am running this ROM with Greenify like CM10.
Sent from my Nexus S using Tapatalk 2
Ted Mosby said:
Yes, default kernel. I am going to try Devil kernel, I have heard numerous recommendations for it. Also I am running this ROM with Greenify like CM10.
Sent from my Nexus S using Tapatalk 2
Click to expand...
Click to collapse
you can also try marmite for it but if can compromise a bit of battery for awesome performance u can use devil kernel if no then marmite is a good balance between battery and performance
nexususer said:
you can also try marmite for it but if can compromise a bit of battery for awesome performance u can use devil kernel if no then marmite is a good balance between battery and performance
Click to expand...
Click to collapse
I'm reaching 72 hours uptime mark and RAM manager has started to act up. I occasionally feel lag and unresponsiveness when switching apps. Battery time is very good, 2 hours and 45 minutes of Display time, mostly browsing on low signal 3G (l'm on vacation), That's around what I'm getting on CM10 so it's pretty good for me.
I wish I have stronger Nexus device to run this ROM to it's full potential
Its the best rom ever for the nexus S, for the first time ever I have been able to populate my homescreens with lots and lots of widgets and yet it doesnt lag at all with scrolling. And the atrocious ram usage of the RC roms has been fixed with the stable, I can keep my phone running for a few days without any serious issues. This really gives almost new life to the nexus S just make sure you are using greenify.
Has anyone else not been able to get some apps to connect via 3G with this rom? They all seem to work fine on Wi-Fi, it's just with 3G that I'm having problems.
I experience crashes when playing videos using software decoding in MX player. The nightlies also have this problem.
Sent from my Nexus S
nexususer said:
you can also try marmite for it but if can compromise a bit of battery for awesome performance u can use devil kernel if no then marmite is a good balance between battery and performance
Click to expand...
Click to collapse
One question, if i flash another custom kernel on cm 10.1, will i lose any of my data?
itline said:
One question, if i flash another custom kernel on cm 10.1, will i lose any of my data?
Click to expand...
Click to collapse
no .. but remember to clear dalvik cache before flashing
The stable ROM has exactly the same problems as the previous nightlies (I've installed with full format of cache, data, system, dalvik, whatever):
- after few days it becomes laggish
- unreliable, happends to reboot itself. You can't even get to unlock screen sometimes; it happends even if somebody is calling you and you can't get to answer the phone
- do not use Chrome Browser otherwise it gets even worse
- if you use Swype keyboard the overall performance seems to be worse. With standard Keyboard it gets a little snappier but nothing that could be catalogued as "fine"
- people says it's cool because they keep the rom 1/2 days and then install nightlies or other stuff: when it's fresh from reboot it work fine, lots of free ram
- have more free ram by using Greenify but still the problems don't go away. It's overall heavier than a 4.1.2 (Which for some good reason Google made it as latest release for Nexus S)
- I've tried SlimBean with Thalamus Kernel and it's a little better for some stuff but basically the problems are much similar
Nuclear_Geko said:
The stable ROM has exactly the same problems as the previous nightlies (I've installed with full format of cache, data, system, dalvik, whatever):
- after few days it becomes laggish
- unreliable, happends to reboot itself. You can't even get to unlock screen sometimes; it happends even if somebody is calling you and you can't get to answer the phone
- do not use Chrome Browser otherwise it gets even worse
- if you use Swype keyboard the overall performance seems to be worse. With standard Keyboard it gets a little snappier but nothing that could be catalogued as "fine"
- people says it's cool because they keep the rom 1/2 days and then install nightlies or other stuff: when it's fresh from reboot it work fine, lots of free ram
- have more free ram by using Greenify but still the problems don't go away. It's overall heavier than a 4.1.2 (Which for some good reason Google made it as latest release for Nexus S)
- I've tried SlimBean with Thalamus Kernel and it's a little better for some stuff but basically the problems are much similar
Click to expand...
Click to collapse
What is the problem in giving it a reboot every few days? Nexus S has ALWAYS gotten slower even from the gingerbread days if you didnt reboot in ages.
I honestly think you should do a proper clean install because I really dont have that many problems as you say. 4.2.2 is the smoothest the nexus S has ever been, I am even running next launcher very smoothly and redraws are minimum. On 4.1.2 homescreen navigation was quite jittery with widgets and wallpaper scrolling, on 4.2.2 it literally fly's. That alone is enough reason for me to live with the slightly more ram usage.
Gambler_3 said:
What is the problem in giving it a reboot every few days? Nexus S has ALWAYS gotten slower even from the gingerbread days if you didnt reboot in ages.
I honestly think you should do a proper clean install because I really dont have that many problems as you say. 4.2.2 is the smoothest the nexus S has ever been, I am even running next launcher very smoothly and redraws are minimum. On 4.1.2 homescreen navigation was quite jittery with widgets and wallpaper scrolling, on 4.2.2 it literally fly's. That alone is enough reason for me to live with the slightly more ram usage.
Click to expand...
Click to collapse
Never had these problems with earlier Android. The reboot proves what I'm saying: he can't be reliable for long run since its performances degrade automatically.
If you read what I wrote I said I made a full clean install: wiped data, factory, dalvik, formatted data, formatted system.
Everything running great only problem is the GPS bug with Google Maps after exiting the app & turning off GPS for some reason GPS won't turn off only a reboot fixes it but other than that 10.1.2 stable is really great
Sent from my Nexus 7 using xda premium
running it has been really reliable but I do have ram issues even while using greenify... CPU on conservative mode too
is everybody's lock widgets OK? I seem to get a lot of wonkyness with pocketcasts,etc...
Sent from my Nexus 7 2
GODvilla said:
Who can giv me a working CWM recovery.img i tried several but not wrking.
Click to expand...
Click to collapse
Here you are http://www.mediafire.com/?z9ch7hna57pm5ak
i have it in htc explorer and i cant install play store..besides that it is very good

ART vs Dalvik Experiment : Suggestions welcome!

So, now that ART is becoming more of a stable thing that works on more apps AND dual boot is available... I was thinking of doing an experiment of the same rom with all the same settings dual booting with 1 running Dalvik, and 1 running ART. Looking for suggestions on what kinds of tests on what rom(s) / kernels / mods you'd be interested in seeing?
Sounds like a great idea. I'd say test with the stock kernel to get a good baseline then maybe see if there is a difference with custom kernels. Benchmarks don't seem to show any increases with art if anything they're lower. But to me art seems smoother transitioning between apps and basic ui usage. I'd say also throw in the moto x dalvik tweak.
Sent from my Nexus 5 using Tapatalk
ART was stable since day 1. It were the apps that needed to support it...
Sent from my Nexus 5 using Tapatalk
Yea, and I was thinking now with screen recording, it might be a good way to see it in action directly. So I guess the first option would be to be completely stock / odexed / etc?
I agree about the ART stability, but the end result for the normal user was the same - issues.
Only thing I would worry about is the overhead of the screen recorder might impact performance. I know on my pc screen recording had a significant impact on performance.
Sent from my Nexus 5 using Tapatalk
Ahh. Good point. What about screen recording via PC + adb? Haven't looked into it yet so just spitballing...
Sent from my... brain?
Elisha said:
ART was stable since day 1. It were the apps that needed to support it...
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
No, they solved several critical bugs in 4.4.1 (check change log). And I am sure some remains.
Sent from my Nexus 5 using Tapatalk

[RunTime Discussion] Dalvik V.S ART

Hello everyone:
as everyone knows Android introduced a new run time in kitkat which it ART. they say its faster than Dalvik as it precompiles the apps. in sense 6 we can choose which runtime we want to use when enabling Developer options so we can have a peak at the new runtime which will be used officially in Android L.
from Wiki:
Dalvik is the process virtual machine (VM) in Google's Android operating system. It is the software that runs the applications on Android devices. Dalvik is thus an integral part of Android, which is typically used on mobile devices such as mobile phones and tablet computers as well as more recently on embedded devices such as smart TVs and media streamers.
Android Runtime (ART) is an application runtime environment used by the Android mobile operating system. ART replaces Dalvik, which is the process virtual machine originally used by Android, and performs transformation of the application's bytecode into native instructions that are later executed by the device's runtime environment.
let us know what do you think about running ART in your experience (Speed,Stability and battery life) and if you had any problems please post which rom you are/were using.
I'm using ART on my GPE converted M8. Was using Dalvik when I was on Sense though.
I'm currently using it on ViperOne Rom 2.4.0. Is it faster? Well, first we need to figure out how to measure lightning!
It's also supposed to make a slight improvement in battery life, I would guess because it takes less power to load up apps so it keeps cpu clock speeds down. Just a stab in the dark there though.
Sent from my HTC One_M8 using XDA Free mobile app
Well, the art we have on KK is outdated and nothing compared to the Art we will have on Android L...
I'm not sure if it really is better than Dalvik on its current stage ,but the one on Android L certainly is.
Teio said:
Well, the art we have on KK is outdated and nothing compared to the Art we will have on Android L...
I'm not sure if it really is better than Dalvik on its current stage ,but the one on Android L certainly is.
Click to expand...
Click to collapse
Yes Android L ART is different. With the current one you can't notice a difference really.. maybe abit.. and some people say it's laggy.
I noticed it depends on the app for me. Most work fine, but apps like Nike+ and certain games load slow or hang up for me.
PcFish said:
I noticed it depends on the app for me. Most work fine, but apps like Nike+ and certain games load slow or hang up for me.
Click to expand...
Click to collapse
There's a thing in me that keeps going back to ART.. but now I'm back to dalvik my phone was stuck on chrome browser before 5mins.. tbh the ART we have now is abit slower and more laggy than dalvik maybe a sense case. It works fine in my HTC one X running 4.4.4 AOSPA rom or CM11
I have set my HTC one M8 today to ART. Now i cannot instal APK files on the Phone.
Justin2003 said:
I have set my HTC one M8 today to ART. Now i cannot instal APK files on the Phone.
Click to expand...
Click to collapse
Which Rom are you using?
Stock rom
I'm using Sinless Rom GPE as the ART Version. It works like a charme. Really smooth and fast.
Have no problems to install apks or something.
Justin2003 said:
Stock rom
Click to expand...
Click to collapse
Didn't have problems on stock rom.
force close on Art
Almost all my apps force closes on ART. ViperM8 Rom. Returned back to dalvik
side_flip15 said:
Almost all my apps force closes on ART. ViperM8 Rom. Returned back to dalvik
Click to expand...
Click to collapse
Do you have some themes or mods not made for viper?
I don't notice any significant difference between art and dalvic. I am using art at time of me posting this
mushages said:
There's a thing in me that keeps going back to ART.. but now I'm back to dalvik my phone was stuck on chrome browser before 5mins.. tbh the ART we have now is abit slower and more laggy than dalvik maybe a sense case. It works fine in my HTC one X running 4.4.4 AOSPA rom or CM11
Click to expand...
Click to collapse
So not recommend one for x with CM11?? The proglem is Tegra3?
andrearx said:
So not recommend one for x with CM11?? The proglem is Tegra3?
Click to expand...
Click to collapse
well try it and judge mine was working fine
Odly enough using quadrant benchmark was much higher using Dalvic. Art was 1500 and 2100. I don't orgasm or benchmarks and take it for what it is but interesting none theess

CM12 Nightlies Now Available

http://download.cyanogenmod.org/?device=flounder
BOOT.IMG - link to boot.img for cm12 n9 that does not force encryption . remember to wipe userdata, or will not work.
PA Gapps
Basketbuild Gapps
Yeay!!!! We got it.. :thumbup:
Can anyone post a video of ROM please ?
Does this mean that the cm based roms here for the nexus 9 will be better?
bynarie said:
http://download.cyanogenmod.org/?device=flounder
Click to expand...
Click to collapse
Thanks for this.
tyvar1 said:
Does this mean that the cm based roms here for the nexus 9 will be better?
Click to expand...
Click to collapse
Not really, device tree for N9 is extremely similar to mine. Plus it currently has forced encryption.
Installed latest nightly with ElementalX kernel and everything looks good. I like the Expanded Desktop view to maximize viewing screen. Moreover, the options on launcher to show big icons is a plus.
What gapps do they recommend?
Try this version of Gapps http://forum.xda-developers.com/paranoid-android/general/gapps-official-to-date-pa-google-apps-t2943900
Does anybody get trusted face working?
How's the performance of CM12 compared to stock? It made a HUGE difference on the 2012 Nexus 7, so curious if the same on the N9.
Yes, I am also interested to know about the performance and, especially, battery life benefits of CM12 on our Nexus 9. I am refraining from rooting my 5.0.1 stock for the moment hoping that 5.1 finally adresses the governor "issue" in order to get better battery life and less hiccups out of this thing while browsing, but if CM12 delivers already, I might just go all the way and install it right now.
aleandre1974 said:
Yes, I am also interested to know about the performance and, especially, battery life benefits of CM12 on our Nexus 9. I am refraining from rooting my 5.0.1 stock for the moment hoping that 5.1 finally adresses the governor "issue" in order to get better battery life and less hiccups out of this thing while browsing, but if CM12 delivers already, I might just go all the way and install it right now.
Click to expand...
Click to collapse
Same here, don't want to reset my tablet for every new rom, but if CM12 offers better performance/smoother experience/better battery I'm willing to switch roms again. Otherwise waiting for 5.1 to be released...
There are sound bugs that the clicking volume like keyboard can't be lowered. Charging is very slow. Performance is comparable or slightly slower than stock Rom.
nyaznteen said:
Charging is very slow.
Click to expand...
Click to collapse
this,right here.
The charging isnt even just slow, its eratic honestly. if i use a 1.2 amp charger it takes over 13 hours to charge. using a 1.8 amp one reduces it to around 8 hours.
Its stable and all, but the charging issue, thats the reason i've decided to go back to stock rom.

Categories

Resources