Related
I want to disable vsync to test a certain app to see if a timing issue still exists or not. Any way I can disable it? There seems to be some device-specific ways to go about it, but nothing universal from what I've seen.
espionage724 said:
I want to disable vsync to test a certain app to see if a timing issue still exists or not. Any way I can disable it? There seems to be some device-specific ways to go about it, but nothing universal from what I've seen.
Click to expand...
Click to collapse
universal, is init.d
Sent from my KFTT using xda app-developers app
persano said:
universal, is init.d
Click to expand...
Click to collapse
What do I need to put into init.d exactly?
espionage724 said:
What do I need to put into init.d exactly?
Click to expand...
Click to collapse
I actually already posted this for you in Ktoon's kernel thread.
echo Y > /sys/module/sync/parameters/fsync_enabled
(N for disabled)
But it needs to be exposed in the kernel for you to be able to control it. Franco's kernel is the only one that I know for sure has it exposed.
brees75 said:
I actually already posted this for you in Ktoon's kernel thread.
echo Y > /sys/module/sync/parameters/fsync_enabled
(N for disabled)
But it needs to be exposed in the kernel for you to be able to control it. Franco's kernel is the only one that I know for sure has it exposed.
Click to expand...
Click to collapse
fsync is not the same thing as vsync
fsync is the thing that can improve I/O speeds at the cost of integrity; vsync is the thing that caps overall framerate with the screen refresh rate.
espionage724 said:
fsync is not the same thing as vsync
fsync is the thing that can improve I/O speeds at the cost of integrity; vsync is the thing that caps overall framerate with the screen refresh rate.
Click to expand...
Click to collapse
Thanks for clearing that up. And this actually goes in the build.prop.
debug.gr.swapinterval=
0/1
This is as close as you are going to get to "vsync" since it doesn't really apply to phones and tablets in the same way "vertical sync", as is found on a PC monitor. If you actually disable the similar function on these devices it would become pretty much unusable. This disables the FPS limiter.
brees75 said:
Thanks for clearing that up. And this actually goes in the build.prop.
debug.gr.swapinterval=
0/1
This is as close as you are going to get to "vsync" since it doesn't really apply to phones and tablets in the same way "vertical sync", as is found on a PC monitor. If you actually disable the similar function on these devices it would become pretty much unusable. This disables the FPS limiter.
Click to expand...
Click to collapse
hmm, from what I hear, debug.gr.swapinterval is deprecated, and replaced with debug.egl.swapinterval and FPS is still capped at 60.
What about "disable HW overlays" in developer options? As I understand it, "HW overlays" aka HWcomposer aka Project Butter also includes a vsync component so maybe that gets disabled with HW Overlays?
just a thought and I may be completely off the mark here...
chaosdefinesorder said:
What about "disable HW overlays" in developer options? As I understand it, "HW overlays" aka HWcomposer aka Project Butter also includes a vsync component so maybe that gets disabled with HW Overlays?
just a thought and I may be completely off the mark here...
Click to expand...
Click to collapse
Hmm, not too sure. In any case it seems to lower FPS quite a bit below 60, so I can't actually tell if vsync is on or not lol
noobs
sys/module/DC/parameters/no_vsync
Change from 0 to 1.
This disables VSync, which is seemingly not the only thing that limits FPS in our device.
or u can just install pimp my rom rom from play store
LE: i disabled it some time ago but im not sure if it does anything good. I remember that on PC games disabling it improved the performance, same story on android?
Hey
adding debug.egl.swapinterval=0 in build.prop should be working for Snapdragon 200, 400, 600, 800 line of SOC-s.
Tested with Snapdragon 400, Under Android 4.2.2., Reffering to the FPS meter in Quadrant Benchmark, there is no more limit .
(Tested using HTC Desire 601)
Many people struggle with the heating issue on the G3. We know that high temperature is not good for the CPU. And I discovered a unique way to solve this issue. Check out this crazy video I made and hopefully this would help you on modding and overclocking!:fingers-crossed:
But keep in mind, I am not responsible for any damaged devices. This mod would damage your warranty.
G3 teardown guide from ifixit
and video is on youtube named "Lg G3 thermal cooling mod" (The video is little shaky due to youtube video software, sorry )
sorry about cannot post the direct links due to the new user policy
Pretty cool, haven't had any major heating issues in the short time ive owned the phone personally, but nice idea
Heres the video for anyone interested
JoinTheRealms said:
Pretty cool, haven't had any major heating issues in the short time ive owned the phone personally, but nice idea
Heres the video for anyone interested
Click to expand...
Click to collapse
thank you very much
Cool idea! I'm considering doing it now. (the yellowish tinge on the screen due to overheat is driving me nuts)
OtakuLi said:
Many people struggle with the heating issue on the G3. We know that high temperature is not good for the CPU. And I discovered a unique way to solve this issue. Check out this crazy video I made and hopefully this would help you on modding and overclocking!:fingers-crossed:
But keep in mind, I don't responsible for any damaged devices. This mod would damage your warranty.
G3 teardown guide from ifixit
and video is on youtube named "Lg G3 thermal cooling mod" (The video is little shaky due to youtube video software, sorry )
sorry about cannot post the direct links due to the new user policy
Click to expand...
Click to collapse
This looks awesome, well done! :good:
Could you give us some details before and after mod? Benchmark scores and temp?
Check the video, I use antutu and geekbench 3 for benchmarking. The temperature is around 60c+
And unstable core clock speed caused phone crash sometimes.
But after modding, issues solved
Sent from my LG-D855 using XDA Free mobile app
Thank you, hopefully this world help you, good luck on that
Sent from my LG-D855 using XDA Free mobile app
I don't know exactly what is the actual space between the 801 and the phone metal body but it realy looks like you put much too much thermal paste
What will happen soon or later is that all that thermal paste will start flowing all around the chip.
Then since most of the time when you use, and heatup, your phone it remains vertical, the thermal paste would probably contaminated all the battery slot.
I hope you did choose a dielectric thermal paste...
The thermal paste is fine and stay underneath the CPU, it does a really good job on cooling, it may be little too much in the video, but actually the gap between CPU and the metal is huge
Sent from my LG-D855 using XDA Free mobile app
OtakuLi said:
The thermal paste is fine and stay underneath the CPU, it does a really good job on cooling, it may be little too much in the video, but actually the gap between CPU and the metal is huge
Sent from my LG-D855 using XDA Free mobile app
Click to expand...
Click to collapse
it's the cooling affect great? Cause I'm a heavy user and my d851 always feels like it's going to explode from how hot it gets
Should work fine
Sent from my LG-D855 using XDA Free mobile app
A very good idea, never looked in to what is inside the phone! Will definitely be doing this tomorrow! [emoji106]
What temperatures are you getting during standard use (i.e. browsing, music etc. - not gaming)? I am currently getting 65-70 and would like to cool it down a lot.
Sent from my LG-D855 using XDA Forums
I did the modification yesterday and here are some logs before/after modification:
Before:
- CPU temp phone idle: 55-60 C
- CPU temp phone in use (Playing 2K video or browsing): 60-70C
After:
- CPU temp phone idle: 40C stable
- CPU temp phone in use (Playing 2K video or browsing): 45-55C
My next test will be in GPS mode in my car during a sunny day. This was shutting down my phone due to high temperature.
But so far, it seems to be positive while regarding only the measured temperatures.
PS: I'm using CPU Temperature app.
If you realy want this thermal mod, don't use thermal paste, use a good thermal pad.
bleuxeon said:
If you realy want this thermal mod, don't use thermal paste, use a good thermal pad.
Click to expand...
Click to collapse
I agree with this,
I would rather use a thermal pad then paste.
The pad could also easily be removed for waranty reasons without it being noticable.
Sent from my LG-D855 using XDA Free mobile app
Well, I don't know what kind of thermal pad you are using, but from my experience, thermal paste is MUCH more easier to remove and clean than a pad. Pads stick really bad.
I went with thermal paste and everything is ok, don't apply too much of it... It will not give better results anyway
bleuxeon said:
If you realy want this thermal mod, don't use thermal paste, use a good thermal pad.
Click to expand...
Click to collapse
Or maybe a copper shim, plus "thin" layers of thermal paste?
---------- Post added at 14:41 ---------- Previous post was at 14:38 ----------
OtakuLi said:
The thermal paste is fine and stay underneath the CPU, it does a really good job on cooling, it may be little too much in the video, but actually the gap between CPU and the metal is huge
Sent from my LG-D855 using XDA Free mobile app
Click to expand...
Click to collapse
Did you get a sense of "how huge" the gap is? If it is close 1mm maybe a thermal pad or a copper shim would be better; or what do you think?
---------- Post added at 14:43 ---------- Previous post was at 14:41 ----------
shouff said:
Well, I don't know what kind of thermal pad you are using, but from my experience, thermal paste is MUCH more easier to clean and remove than a pad. Pads stick really pad.
I went with thermal paste and everything is ok, don't apply too much of it... It will not give better results anyway
Click to expand...
Click to collapse
Why should you remove it if it works?
_jonte said:
Why should you remove it if it works?
Click to expand...
Click to collapse
In case you need to send it back to LG for a fix under warranty for example?
shouff said:
In case you need to send it back to LG for a fix under warranty for example?
Click to expand...
Click to collapse
Aah, point taken.
Hi,
Can someone send me or post a copy of a file in the system called thermal-engine.conf or thermal-engine-8974.conf?
I want to see what this phone does for throttling.
I don't have the phone yet but I want to know how they trade off heat for performance.
I have an LG G3 and once rooted was able to tweak the values so the phone didn't start thermal throttling so early.
Thanks
I second this. We are trying to figure out why the Nexus 5X throttles so much more than the Moto X in this thread.
The Moto's thermal-engine.conf would really help with that. The file should be located in system/etc.
Edit: got it, attached it for anyone interested
There is this app called Super Touch that phone arena covered. Supposed to smoothen the touch experience on android by a significant margin. The developer offers no explanation as to how the app works. I've yet to test it because it is building something right now and it takes a long while to finish. From what i can make out , i think it builds some sort of scrolling cache and offloads them to GPU ? I don't know the internal android structure that well and analyzing the source if there is one , is beyond me. If there is a developer that can explain the intricate workings of this app to people , so people could stop comparing this to "snake oil" if it's legit , if it's not we can ask google to remove it from google play , that'd be great. Thanks.
The link to the article ;
http://www.phonearena.com/news/Spot...d-up-your-sluggish-Android-smartphone_id75851
I don't know if it is against forum rules to post links to articles , if it is please warn me and i will remove the link.
boltthrower56 said:
I don't know the internal android structure that well and analyzing the source if there is one , is beyond me. If there is a developer that can explain the intricate workings of this app to people , so people could stop comparing this to "snake oil" if it's legit , if it's not we can ask google to remove it from google play , that'd be great. Thanks.
Click to expand...
Click to collapse
Why is this such a great deal?
Pros
* It seems to work
* It passed google's requirements and malware checks
* Does not need root
Cons
* Closed source
Just because we (you) can't comprehend how it works, is not a reason to question its viability.
Keeping it closed source and not revealing its workings is just a way to prevent competition and/or code copying.
There are lots of fake apps that pretend to be doing something you should be more worried about.
I wouldn't really worry about this one, but if you don't trust it, don't use it.
To answer your question; I would say its either one of these
* Animation caching
* Reducing element-sizes, and thus stretching it to save system resources (since the app needs to know you screen resolution)
* System optimizations for animations (Altho these things usually require root)
On a side note, since you are posting this on the Nexus 4 forums, I assume you own/use one. The article you linked clearly says older devices benefit more from this app, since newer/better devices already handle things pretty smoothly. This means that the result of this app on a Nexus 4 may be unnoticeable. Could it be that you question this app because you don't see any result?
MerynGoesAndroid said:
Why is this such a great deal?
Pros
* It seems to work
* It passed google's requirements and malware checks
* Does not need root
Cons
* Closed source
Just because we (you) can't comprehend how it works, is not a reason to question its viability.
Keeping it closed source and not revealing its workings is just a way to prevent competition and/or code copying.
There are lots of fake apps that pretend to be doing something you should be more worried about.
I wouldn't really worry about this one, but if you don't trust it, don't use it.
To answer your question; I would say its either one of these
* Animation caching
* Reducing element-sizes, and thus stretching it to save system resources (since the app needs to know you screen resolution)
* System optimizations for animations (Altho these things usually require root)
On a side note, since you are posting this on the Nexus 4 forums, I assume you own/use one. The article you linked clearly says older devices benefit more from this app, since newer/better devices already handle things pretty smoothly. This means that the result of this app on a Nexus 4 may be unnoticeable. Could it be that you question this app because you don't see any result?
Click to expand...
Click to collapse
No , it could not be because i had not tested the app when i wrote that. (Had you bothered to read , you'd know.) We question everything on this forum , that's how we learn. I did not assume that it was "fake" by the way , if that's why you're hostile (and arrogant). People on other forums compared this to "snake oil". I wanted to share the app with friends so it could grow. That's why i wanted to make out how it works. I can't share this app before knowing that it's not "snake oil".
When i said i'm not "that" affiliated with Android ecosystem , i didn't mean i'm illiterate btw.
Anyway , i could already make those out from the description of the app (Yes , i too read it ). I wanted more of a technical answer but thank you , nevertheless...
On a side note , In a help thread please just answer the question if you can , skip the lectures people didn't ask for. I asked "available devs" to explain the intricate workings of an app so as to clear the air , not only did you not provide that but you tried to give me a lesson on morality. Please refrain from doing that. And please do not write a lengthy and angry reply to this. I'm just not interested in arguing with you.
boltthrower56 said:
I don't know the internal android structure that well and analyzing the source if there is one , is beyond me.
Click to expand...
Click to collapse
Made me think you were new to Android development and coding in general. Normally people like this with these questions do not want/need a specific and technical answer which is why I told you to not worry about it.
I don't know if it is against forum rules to post links to articles , if it is please warn me and i will remove the link.
Click to expand...
Click to collapse
Again, made me think you were new here.
if it's not we can ask google to remove it from google play , that'd be great.
Click to expand...
Click to collapse
This sounded to me as if you just wanted it to be removed.
My post was not intended to sound the way you describe it, and reading it again I wonder how you came to the conclusion I was 'teaching you a lesson'. Just because I did not overflood my post with happy smileys and kind words does not mean I'm hostile and/or trying to be arrogant.
To me, your post sounds the exact same was as how you described mine.
That aside, here are my technical thoughs.
The app stores quite a lot of data on your phone, close to 7MByte on my phone, to an app-size of 2,86MByte, so I assume it makes use of some kind of caching.
It probably uses some other techniques for different element optimizations, meaning not all improvements are via caching.
My guess is it takes the animations it knows, and "replays" them, capturing the animation and storing it in its data for quick access. When you start the app and set it up, it needs time and says "building fast event for x action", which is why I think it works this way.
From the app:
When using the same smooth level, the better the GPU performance is, the smoother the operation wil be. If the GPU performance is not up to the demand, it may cause frame loss when sliding screen. Higher level may take longer time to start, a better CPU may take less time.
Click to expand...
Click to collapse
The animation is probably "scaled" down in size, which makes it less computing-heavy. This also explains why the higher the setting, the longer it takes. (more compression = more computing power needed. Since a better CPU can do more instructions per second, it will be faster at rendering its own "database" of the animations, which is logical.
Not sure what the author meant with "better the GPU performance is, the smoother the operation will be". Operation could either refer to the process Super Touch does, or the process of animating the animation when using the phone. Personally I think this refers to using the GPU for rendering animations normally (without Super Touch), which can cause frame drops as he explains. GPU's with lower performance will have a harder time rendering an animation than a GPU with high preformance. Pre-rendering takes this load off of the GPU, making it more "smooth" in real performance.
With this method its can just 'grab' an animation from its memory and 'play' it instead of calculating it on-the-fly.
Looking at the permissions the apps needs, the app uses "draw over other apps". This is probably used to "show" the animations it stored instead of the animations of the app that is being used. How it is actually able to replace this animation is something Im not sure of.
The app has permission to run at startup, this is probably needed to "load" the core service that does this replacement.
I do not exactly know why it needs permission to read phone status & identity and change audio settings, but my guess would be that it is related to the power saving mode.
The developer offers no explanation as to how the app works.
Click to expand...
Click to collapse
Unless he does, we can probably only assume how his app works. Decompiling the app and looking at the source might give you an answer, but this is not something I can help you with, mainly because my last decompiling experience is 3 or 4 years back.
Using it for 2 days. And I have to admit that it works, really well, without harming battery, which is a amazing win-win solution.
I asked on the Google play store and get the answer from the developer: the app offload the working process from the CPU to the GPU, hence everything gets much smoother and the performance level depends on your device's GPU.
After optimization, sliding is very smooth.
I have been thinking about this post for quite sometime.
Even though G6 is great, it sometimes makes small naggy problems that affects its premium feel usage.
Many G6 variants has not got root like H870DS. Some still hesitant to do rooting while some may not know rooting.
I am trying to explain some methods to reduce the system usage on processor and ram to ease things up a little bit.
Here what i have done
1. Disabled all apps that i don't need like google duos , google play movies, google player, chrome(using BRAVE instead of it), etc
2. Uninstalled facebook app and bookmarked it in browser.
3. Activated developer section and reduced animation speed , window transition speed and window animation speed to 0.5x .
Still sometimes even after all these measure there are some stutters or stuck in between like for example if am browsing through browser and suddenly i need to reply a message came in whatsapp tapping on notification sometimes gets thing stucked for a moment and also when fast typing on keyboard it momentarily pauses.
Is there anybody facing like that ?
Kindly share your better ideas to make the Stock rom smoother without root method.
Administrator kindly accept this thread as it may help some users
Edit: 1. Enable 2d force gpu rendering setting under settings-developer section. This changed the preface a lot.
2. Put display size to medium that is middle option or default option.
There are already debloat threads that explain all this plus more.
ben cherian said:
I have been thinking about this post for quite sometime.
Even though G6 is great, it sometimes makes small naggy problems that affects its premium feel usage.
Many G6 variants has not got root like H870DS. Some still hesitant to do rooting while some may not know rooting.
I am trying to explain some methods to reduce the system usage on processor and ram to ease things up a little bit.
Here what i have done
1. Disabled all apps that i don't need like google duos , google play movies, google player, chrome(using BRAVE instead of it), etc
2. Uninstalled facebook app and bookmarked it in browser.
3. Activated developer section and reduced animation speed , window transition speed and window animation speed to 0.5x .
Still sometimes even after all these measure there are some stutters or stuck in between like for example if am browsing through browser and suddenly i need to reply a message came in whatsapp tapping on notification sometimes gets thing stucked for a moment and also when fast typing on keyboard it momentarily pauses.
Is there anybody facing like that ?
Kindly share your better ideas to make the Stock rom smoother without root method.
Administrator kindly accept this thread as it may help some users
Click to expand...
Click to collapse
Although being an useful post, that could help many people, the post is on the wrong forum. I think you should post it on guides or questions and answers, perhaps. This one is only for development things, like roms, kernels...
Settings/Developer Options/tick on "Force GPU Rendering" should make the beast smoother faster. if root available try L Speed/Entropy/fstrim apps found on Play Store! If LG G6 gets Android 7.1.2 , the performance should improve smoother over Android 7.0 just like the LG V30 is incredibly smooth and fast due to SD 835. Android Oreo 8.0 should have faster boot times on powering up. LG flagships gets Oreo by the end of this year (November or December)
Ali Mirza said:
Settings/Developer Options/tick on "Force GPU Rendering" should make the beast smoother faster. if root available try L Speed/Entropy/fstrim apps found on Play Store! If LG G6 gets Android 7.1.2 , the performance should improve smoother over Android 7.0 just like the LG V30 is incredibly smooth and fast due to SD 835. Android Oreo 8.0 should have faster boot times on powering up. LG flagships gets Oreo by the end of this year (November or December)
Click to expand...
Click to collapse
Enabling 2d rendering significantly improved my ui os experience. Less lags now. I guess gpu is sharing the ui os load too .
I guess it's like Laptop with and without Graphics card
forfivo said:
Although being an useful post, that could help many people, the post is on the wrong forum. I think you should post it on guides or questions and answers, perhaps. This one is only for development things, like roms, kernels...
Click to expand...
Click to collapse
I put it here because more people search this forum than the q & a i believe.
ben cherian said:
I put it here because more people search this forum than the q & a i believe.
Click to expand...
Click to collapse
I really understand you. But people come to this section looking for development stuff. If everyone starts posting here common questions because of the "greater visibility" the forum will become a mess. Sections exists and should be used according.
In the end, the UI drags down what should be a more than adequate processor.. Not much one can do about it.