yashsingh1/xdaforums huggingface dataset:
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION] [MENTION=4914682]Shan89[/MENTION] [MENTION=2656131]morfini[/MENTION]

update about gaming performance on stock 4.4 Sense 5.5 (4.06.1540.1) there are bad news and there are good news

like jerry reported racing games definitly feel speedier with the new base, maybe reduced bandwith like he suggested (the same cars / bikes i used before feels faster)

as for performance, finally after 2 years of using this trick HTC broke CPU boost

we can still lock GPU throttling and change / lock the main core speed using my scripts like usual, those are still functional

however CPU ondemand up_threshold 50 no longer works, Ripetide GP2 remains laggy even with up_threshold 50, i tested the GPU governor independently and this has nothing to do with the GPU governor, seems HTC has changed their ondemand governor again and up_threshold no longer works, the only solution at the moment is using performance governor for the CPU using my scripts, GPU governor can stay ondemand

i will look for another way to optimize the ondemand governor (perhaps other parameters) but for now the only solution is using performance CPU governor using my scripts, which i rather not since performance gov locks the cores at full speed all the time, speeding up heat

for stock users nothing has changed, since they rely on the stock ondemand govenror already and they never boosted, so for rooted users it only means we have to change our usual method

this also affects [MENTION=4684315]flar2[/MENTION] Graphics boost trick, which i guess is also broken since he uses upthreshold_50 as well when the GPU is being fully used (update: flar2 reverted back to the previous ondemand)

i will update the scripts for the stock KK kernel
[One (M7) General] hamdir:
Gaming Boost Scripts updated with a separate package for stock Kitkat kernel

Equally i lowered/locked the main CPU clock during boost to 1566mhz in order to delay heat, the three other cores will remain free
[One (M7) General] DeSaint2:
[MENTION=4684315]flar2[/MENTION] reverted to the older ondemand governor in his latest kernels. Probably due to this
[One (M7) General] hamdir:
ok thanks for the heads up

i found it

http://xdaforums.com/showpost.php?p=48117095&postcount=7337
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION]

I don't understand what are you debating here?

i don't care about the snapshots since it doesn't really cover the areas of stalls when using Sensor controls

Asphalt 8, Sonic Dash and RipeTide GP2 all needed CPU boost (up_threshold 50) in pre KK ROMs otherwise they kept on having random stalls, yes Ripetide 2 was still bottle necked in certain areas but with boost it could almost lock to 60fps in half resolution slider playing solo time attack levels, without boost it fluctuates between smooth and lag, right now on KK stock kernel we need to boost using performance governor or it will stall, up_threshold 50 no longer fixes it

like i said i always test and judge from actual gameplay
[One (M7) General] morfini:
Thanks Hamdir. Your script made asphalt 8 playable again. I wonder what people without root and access to xda do in order to have decent gaming with htc one. Htc made playing heavy games in such a powerful phone almost impossible again.
[One (M7) General] hamdir:
well like Jerry reported HTC more and more are going toward heavier multithreading, their entire mid range is now almost quad core and they have an Octa mid range coming soon as well

so to be honest this is becoming more a problem of these apps than it's actually HTC's

Game developers are still too iOS focused, iOS devices are still at dual cores meanwhile Android Quad core migration began last year and now we are moving into some Octa devices

my point is, yes HTC is at fault for continuously ignoring high end gaming but in the same time, it's high time game devs made better focus on Android HW, we have those cores in there to be used, it's kinda stupid that game still requires single threaded performance when the mobile space is heading multicore

the good news as we saw from the Gameloft + MTK presentation, they are starting to optimize better for mulicore and i think GT Racing 2 is a good example this games runs so smooth without any manual effort, also NFSMW runs in 1080p + motion blur almost locked 60fps without any manual effort, it's always been well multithreaded optimized
[One (M7) General] jerrylzy:
What happened? I saw none of your mentions here:confused::confused:

Anyway the new ondemand governor is a ui hero but game destroyer.
[One (M7) General] hamdir:
I know I replied here
[One (M7) General] ryohazuki:
Alright, so I've tried reading around a bit but I'm not gonna lie, things seem a bit complicated to me off the back. My first question is, is it normal to get a significant boost in fps on a play edition rom compared to Sense? My FPS is always a lot better on play edition, even though I know the footprint is smaller than sense. Second, even on Play edition, I do suffer some low fps. Right now I'm running ElementalX on a 4.4 Play Rom, and I can't figure out the best settings or anything to get the most out of my phone. Can someone help me out? I just wanna be able to play most games nice and smooth atleast above 30fps, and I'm not sure what to do.

Also, with ElementalX, should I manually be adjusting my CPU governors instead of using a program? Whenever I try to set my optimal freq and sync freq higher than what it has by default, it always goes back down to 918000
[One (M7) General] hamdir:
Don't read the OP just yes my kitkat script using script manager as explained
[One (M7) General] jerrylzy:
[MENTION=1144067]hamdir[/MENTION] can we move this to #2 or #3 or whatever in the first page? so that users can see my results:)

I did some tests about overclocking and bottlenecks.

I know a lot of people like over clocking, but because of various bottlenecks, it is really not wise to over clock very high if improvements of benchmarks are excluded.

Overclocking tests:

Antutu:

ARM Miner:

Sunspider

3DMarks:

BaseMark X:

GFXBench:

GT Racing 2:

Real Racing 3:

Riptide GP 2

CPU Bound Tests:

From CPU Tests results, we saw magnificent increase in performance. The suggestion, however, is still not to over clock high.

at high frequencies, the cpu voltage might be so high that can burn up your cpu completely; also, high voltages+frequencies create extreme heat that are both uncomfortable for battery and human hands.

GPU Bound Tests:

We saw huge improvements in well-optimized benchmark apps, but real gaming tests do not show the same.

Overclocking to 501mhz above IMO is totally unnecessary, it creates little performance gain over 450mhz, let alone 490mhz.

It's amazing to see that my tests results reveal the same frequencies of sweet points as those [MENTION=1144067]hamdir[/MENTION] wrote in his scripts. :D

Bottlenecks:

I heard more than once people complaining about gaming performance on stock system/kernels. It is really not because of the performance of the chip, as [MENTION=1144067]hamdir[/MENTION] stated, it is because of thermal throttling that created a lot of bottlenecks to limit the graphics performance.

When the battery reached 40C, the cpu will be capped at 1134mhz and gpu at 320mhz; When CPU reached 56C, it will be capped at 1134mhz, and further at 1026mhz.

If your unit has difficulty in exhausting heat, the cpu might get hot quickly and your gaming performance is thus significantly reduced.

Bandwidth Bottlenecks:

When CPU freq is lower than 1026mhz, the L2 freq will also be capped at 648mhz and theoretical bandwidth will be reduced from 8.5G/s to 6.4G/s. a 30% drop in bandwidth surely resulted in about 30% drop in gaming performance.

So never cap your cpu freq below 1134mhz!!

CPU Bottlenecks:

CPU single thread performance also affect gaming performance. when GPU is running at 400mhz, CPU performance at quad core 1566mhz is very sufficient. If you enable powersaver, or your chip is throttled, your cpu freq will be capped at 1134mhz and resulted in significant performance decrease.
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION]

Awesome work my friend, good idea i will quote it in the second post

although i have to say, i don't OC the CPUs at all, actually my winning combination is 1566mhz and GPU450 + boost, it has been a priority for me to delay the battery crossing 40c when I game and UC to 1566 is really effective (reduce heat and drain, although silicon durability is extended and maybe health, since who knows what a constant hot screen would do to your skin)

it's clear from your bottlenecks section that there is little difference between 1566mhz and 1728mhz CPU at the same GPU clock, so we were right about this one

However I wish you tested with 1566 UC + GPU 450 OC ;)
[One (M7) General] nukeman239:
Remember all you need to do is set any GPU OC you like from AROMA and you can set the GPU clock you like in these scripts, select the clock you like:[/QUOTE]

Do I need these scripts with Elemental 10.4 with hybrid game boost enabled? Also, what is the ideal thermal setting. I'm current using "very cool".
[One (M7) General] hamdir:
only if you like to optimize your usage on the fly, i mean split your usage like the CPU UC + GPU OC + Simple during boost and CPU + GPU Stock + ondemand during unboost, as for thermals i use "very cool" and UV50

If you already rely on Simple GPU governor + graphics boost, the answer is no you don't need this script

please unquote ;) I am already updating my post and scripts
[One (M7) General] nukeman239:
Done. I believe it is the same concept for 4.3 ROMs with Elemental 8.x. Right? I have read the OP but I'm just finding it hard to grasp a few things.
[One (M7) General] hamdir:
ill explain everything hold on, let me finish this - i made it much easier
[One (M7) General] hamdir:
Gaming Boost scripts

for Elemental X custom kernel
[One (M7) General] morfini:
Hamdir i already chose simple gpu and gboost in aroma and i am pretty impressed by both gaming performance and ui smoothness. Will i gain anything by using your scripts on 10.4?
[One (M7) General] hamdir:
no at all! this is only allows you to switch to a stock like experience on the fly (in case you have a drain concern from the simple governor and gboost)

plus changing the CPU and CPU clocks on the fly that's all, for example my 1566mhz+GPU450 thermal combination during boost

but if you are ok with simple and GPU OC enabled all the time, there is no need for this script

keep in mind with simple governor you are basically using the JB ondemand CPU governor 90% the time, the new HTC KK ondemand can achieve better smoothness in certain UI places and has better battery usage overall

so my one click scrips are simply to have the best of both worlds
[One (M7) General] nukeman239:
What do I do for 4.3? Using Viper 3.5
[One (M7) General] hamdir:
EX or stock kernel 4.3?
[One (M7) General] hamdir:
[MENTION=4288060]nukeman239[/MENTION]

i think i confused you again :)

4.3 stock kernel you need the HTC_One_M7_GamingBoost_Scripts_StockKernel_preKK.rar package

4.4 stock kernel you need the HTC_One_M7_GamingBoost_Scripts_StockKernel_KK.rar package

4.3 and 4.4 Elemental X kernel you should be fine with the new HTC_One_M7_GamingBoost_Scripts_CustomKernel_EX.rar package (i renamed the package to prevent any more confusion)
[One (M7) General] nukeman239:
Thanks for the hard work. Still got a few doubts.:o

1. I can keep the thermals at "very cool", right?

2. And do I keep the pnpmanager enabled or disabled

3. Will underclocking the CPU at 1566MHz cause any UI lag? Not only during your scripts but I wish to underclock permanently it in AROMA(to save battery)
[One (M7) General] hamdir:
good questions :)

don't forget you can always check my own setup in this post:

http://xdaforums.com/showpost.php?p=46050786&postcount=340
[One (M7) General] hamdir:
The main Gaming Boost post received one more re-write

hope things are more clear now :rolleyes:
[One (M7) General] nukeman239:
Is it possible for someone to make an app for this, something on the lines of the Renovate app or Game boost app for the One X?
[One (M7) General] DeSaint2:
You can set up 2 widgets from smanager for quick access to the scripts. One for boost and one for unboost. Just run each script once, favorite them, and add them to the home screen.
[One (M7) General] hamdir:
an app like our old renovate gaming boost will be hell to maintain and update all the time, not to mention people use these scripts for other devices

a script you can open and optimize yourself

like [MENTION=2848156]DeSaint2[/MENTION] said all you need to do is place two SManager widgets on your home screen, better than an app if you ask me which requires you to open it, enable boost and exit (one step vs three steps)

all explained well in the tutorial
[One (M7) General] shurahbil:
How should I tottaly remove your script because I have heating issues

And how should I confirm that it is removed

Because once u said that unboost the script every time u boot device

That means script activates every time device is boost????
[One (M7) General] hamdir:
no i said you can set unboost to boot, but if its not manually set to boot (from script manager) nothing will remain or affect the system
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION] the reason I have been asking about schedulers is the stutters in A8 which seems to have increased in KK TOMs rendering the game almost unplayable I'm trying to figure it out, it might be my almost filled up internal space though
[One (M7) General] jerrylzy:
it is very harmful to nand drives. I suggest you to delete some photos/videos to leave enough space for garbage collection and trim your device immediately.
[One (M7) General] hamdir:
How do I trim ?
[One (M7) General] Headless96:
https://play.google.com/store/apps/details?id=com.grilledmonkey.lagfix

Or if you already have an fstrim binary, put this in terminal

su

fstrim -v /system

fstrim -v /data

fstrim -v /cache
[One (M7) General] DeSaint2:
There is also an app on the market(look up fstrim) that automates it for you. Does the same in three clicks

Edit: Lagfix fstrim
[One (M7) General] hamdir:
thanks guys ill get to it

but how much free space do i need?
[One (M7) General] DeSaint2:
That I'm not sure on. I usually keep at least 5gb (enough for 2 nandroids)
[One (M7) General] hamdir:
I only managed to free 4GB for now and trimmed it

ill report any positives in the stutters of Asphalt 8
[One (M7) General] hamdir:
[MENTION=2841310]jerrylzy[/MENTION] you solved it man, Asphalt 8 is finally back to 4.3 smoothness

it was definitely storage causing the extreme stutters, there was always some stutters with this game but really it was getting too bad

how much space do you advice? i freed 4GB and trimmed is that enough or do i need more :rolleyes:
[One (M7) General] jerrylzy:
the more free space the better:D
[One (M7) General] hamdir:
I just played Asphalt 8 most stuttery level (Iceland) and yup it works

Compared to how bad things were the game is playable and smooth again, which means this game is actually bound by storage performance

I'll add a section about storage mantainance and trim to the OP :)
[One (M7) General] hamdir:
Any retro sega lovers around here?

i just downloaded both re mastered sonic 1 and 2 games

they are a joy, locked 60fps gameplay, crystal clean visuals and working controls

Finally a worthy release for mobile, recommended play

https://play.google.com/store/apps/details?id=com.sega.sonic1

https://play.google.com/store/apps/details?id=com.sega.sonic2
[One (M7) General] nukeman239:
Waiting for GTA San Andreas. Hope it runs well on the One.
[One (M7) General] The-Last-Hylian:
Yes! I can't wait for this!
[One (M7) General] hamdir:
Just a heads up guys

[MENTION=4684315]flar2[/MENTION] just released a new update to EX for Sense 5.5 Kitkat ROMs, added faux color (been dreaming of this) and few tweaks

My Elemental X Gaming boost scripts are still fully compatible, just make sure to download EX 10.8 and not 10.6 (which temporarily broke the CPU governor)
[One (M7) General] faisaldante:
Can anyone help me I try to play mc4 but whenever I complete a section of the game it force closes on me. I'm on elemental kernel on gpe.
[One (M7) General] hamdir:
belongs here as well
[One (M7) General] Xava2011:
GTA SA performance on HTC ONE

Hey guys, I would like to ask how is the performance in GTA SA on your HTC One? Mine runs at medium settings, reflections and shadows off. It's pretty bad, it works better on chinese mid-end tablet with 4*1GHz CPU and unknown gpu. Why is it?

My HTC is stock but I don't think that OC will help with this, is it something with HTC software or very bad bad bad optimization from Rockstar for andreno gpu devices? GTA III lags little too, same on low as ultra.

Is there anything I can do with it?
[One (M7) General] Shan89:
If you're on kitkat that's your answer , HTC destroyed completelly gaming with stock kernel , you're forced to use custom kernel like EX.
[One (M7) General] jdgreat4:
I'm on cm11 and there is no lag at all for gta sa. The only thing is it starts overheating.
[One (M7) General] kimble78:
On Which resolution and visual- effects-settings are you running the game?

My One is on Viper One 4.2.0 & ElementalX 10.10.1 Kernel. gpu @ 409Mhz, Governor ondemand.

On visual-effects@ high and max. Resolution, the game is lagging (from the beginning).

Haven't tried lower settings yet (will do tomorrow).

First time I'm dissapointed with the perfomance of this device. Am I expecting to much?
[One (M7) General] kimble78:
O.k. tried it again, today. Changed gpu frequency to 450 Mhz and using hamdir's scripts. "Only" playable at medium visual effects and everything else on maximum.

It would be nice, if somebody else could share his experience.

Gesendet von meinem HTC One mit Tapatalk
[One (M7) General] hamdir:
yea its the governor as always use the boost scripts or EX kernel's graphics boost feature, if you are on stock kitkat kernel make sure to use the updated KK stock scripts

ofcourse EX and my EX specific scripts will always be the best combination, i play Dead Trigger 2 using the modded Tegra 4 full graphics way above 30fps using this setup

You can raise the CPU clock in the Boost.sh to 1728mhz since my files are at 1566mhz but personally i keep them at 1728mhz during boost
[One (M7) General] DroxX:
Cool !!!!!!!!!! :good:Gonna try this out soon..............!!!!
[One (M7) General] hamdir:
so it seems HTC has worked really hard at refining the worldwide 4.4.2 Kitkat update (4.19.401.8), not only this base is massively better than the Dev Edition 4.06 version (which even had some visual bugs) but thankfully gaming is now back to 4.3 levels

we still need boost scripts in some games ofcourse but unexplained dibs in games like NFSMW are all gone, NFSMW now works way above 30fps stable without any boost

I would assume the GPU driver had serious issues in the dev edition 4.06 base
[One (M7) General] hamdir:
HTC finally done the impossible for me!! they have actually improved gaming in the latest 4.19 so much that the stutters in Asphalt 8 finally disappeared

using EX and my boost scripts this game runs buttery smooth way above 30fps, the previous stutters from every other base are all gone, it's just effortlessly smooth now (not even the iPhone runs it so well) not one micro stutter in sight

there is something definitely improved in this base when it comes to system bandwith or bottlenecks, A8 ran horribly on 4.09, even without my boost scripts the game is running pretty well (but not as locked as g boost)

I tested Ripetide GP 2 and with boost all the tough areas which used to drop fps previously (such the first track) are all significantly improved and I reported previously that Need for speed most wanted runs buttery as well

I am confident it will run Modern Combat 5 in full without any effort
[One (M7) General] wmg316:
[MENTION=1144067]hamdir[/MENTION]

May I ask the method you used to update your firmware to the latest? Did you use Sneaky's FUU by chance? If so, the full wipe or no wipe version? Thanks in advance for your reply!
[One (M7) General] Freak07:
Hey.

came across this little tool

http://xdaforums.com/showthread.php?t=2615514

works well on my one and my hox for mc4 and dead trigger 2. I i think it works with other games too :)
[One (M7) General] Hoffmanns:
Ex Kernel

I have good experiences with this kernel in every game :) A8,MC4... all is smooth :) and is there one big benefit on this kernel - gboost from Flar2 :) I can play all these games with power saver and every game is smooth :)
[One (M7) General] hamdir:
It looks like HTC finally fixed the notorious CPU governor problem when gaming with tilt sensor

finally! on the Sense 5.5 4.19.401.11 base you can play both ripetide GP2 and Asphalt 8 with impressive out of box performance, without root, boost scripts, graphics boost or custom kernels

yes in ripetide it's still not pushing into 45fps region and far from the max we extracted on boosted EX but at least it plays smoothly without those embarassing stall or lags

turns out Shan was right, gaming is indeed fixed like he claimed from Sense 6, you no longer need to root or unlock

Or maybe it has nothing to do with HTC and the fix comes from Google play services? don't know but it finally plays these games like it should, snapdragon 600 style
[One (M7) General] hamdir:
Higher Performance Mode (HPM) in Stock Sense 6 software, hidden in developer options - no root or unlock needed

Time to wakeup this thread again :)

HTC basically kills game boost with Sense 6 thanks to the hidden High Perfomance Mode (HPM) the best news is that stock non rooted users can finally enjoy the full power of s600 as well

so if you have received the Sense 6 update on your M7 here is how to enable it

as always keep knocking on the build number until the dev options are unlocked

images form the Phonearena M8 HPM guide

remember use it when you game and turn it off after that, otherwise you torture your battery
[One (M7) General] RichardWood:
Thanks for the guide. However, I would rather keep the way it is... The phone already drain battery fast enough and I don't want to give that a boost :cool:
[One (M7) General] hamdir:
Sigh....for certain games

people who come to this thread will know why, its about certain games suffering from heavy fps dips or throttling hence GAME BOOST
[One (M7) General] raziel123:
excellent work

Hamdir great work, been following this thread for sometime...

Just sold my Z1, the speaker was driving me nuts, can't wait for my HTC one M7

Should get it tomorrow
[One (M7) General] raziel123:
It doesn't drain battery fast under normal use if you use a tweaked and optimized governor,

runs nearly as long as my Z1 did under normal use (web surfing, calls, texting, whatsapping etc)

as for gaming every phone known drain battery fast, theres no getting away from this at the moment, as Games are apps which put a muchhigher strain/load on the CPU/GPU.

Try the ElementalX Kernel, it is much better than the stock one.

regards
[One (M7) General] steve1996:
It's sad that you are trying to achieve the performance of a lower pvs... There must be something wrong with pvs 3
[One (M7) General] hamdir:
I dont understand why that departed unit was so good despite being PVS2

It was 1.28 completely locked and ran games very well like in my reports

My conclusion is temps and throttling, I would assume my unit is early and heating more but like you read on this thread many have similar issues

So really it's a mystery, to be honest I'm not convinced that higher = better bin

But yeah the oddest part is that the gpu as doing so good despite being 400mhz so manybe we have varied quality to gpu as well

Now we know why krait doesn't heat as bad as tegra, a lot more throttling
[One (M7) General] hamdir:
Some games simply scale up from 720p like RR3, it's not 1080p

The problem is not res we have already seen it's more than able to handle it, the problem is throttling on all krait quad SOCs including the 720p N4
[One (M7) General] hamdir:
Anyway ElementalX completely solved it for me with 1500 and run hot, it doesnt seems to be crossing the throttling threshold