yashsingh1/xdaforums huggingface dataset:
[G Tablet Android Development] Dexter_nlb:
i think some people needs to understand what it does before claiming its not good for your screen..(i got a PM from that person who helped you, and im sure he is not really understanding what it does, and not that i claim 100% to do)

The tweak on mine is running at 141 as framerate, and there is actually not a visible difference nor in refreshrate or alike that..

so lets get some more facts on the actual change, before we start scaring people with incorrect statements..

----

what i think it actually does, is write to the framebuffer device faster than your actual screen refresh, so you actually get more frames written to the framebuffer, than the screen actually draw :-)

So technically your not really seeing it more fluently which is common for a higher hz, but you do get more frames written where possible, pushing the cpu to its limits.

conclusion:

Did i ever write screenrefresh rate in hz? i wrote "framerate change"...

so nothing is affecting the screen hz here, only framebuffer device is updated more frequently..
[G Tablet Android Development] gojimi:
This does directly effect refresh rate in Hz. I am using a piece of software that tells me the refresh rate. I also created a lower value of effectively 18 Hz which is the low end for the screen and it resulted in flicker just like it was set at 18hz. It wasnt pretty. I know what I am doing as well. And I wouldn't steer any of you wrong. Our screen is rated at a Max of 75hz. This hack directly manipulates that number. Do what ever you want. My ROMs will include a Max of 70hz.

It's your machine do what you want. EOL.

PS he didn't understand it your right. However I did understand. And also didn't have to randomly pick numbers to figure this out. Once it was presented to me that this file held the key to refresh rates I went right to work myself.
[G Tablet Android Development] Dexter_nlb:
hopefully its not an android app? because you need a piece of hardware to register framerate on your screen and calibration device (Spectrophotometer), which i got..

but anyways it would be great to know how similar the screen refresh rates are comparing our devices...

remember if fps2d can be fooled, your application can too..

the /dev/fb0 is a framebuffer device which from there sends data to your actual graphics buffer.. but how your screen is configured to show the correct resolution is a different story which seems not to be part of my change.

if you write at 18 fps to the fp0 device, and your screen updates at 50+ frames, its for sure ain't pretty, because you're low on frames..
[G Tablet Android Development] Dexter_nlb:
Here's another "regular user" solution which for those with no special equipment can see that their tablet is still running at 50hz although your new tweak is running 78 frames...

Take your mobile phone camera and point at the tablet, which usually runs at 24frames for a live feed.

if the picture flicker pointing to the tablet, you got a problem.. if the picture is stable, your still at 50hz :-)

Mine is 78hz(i'm told) and i still got no flicker issue, i wonder why... it would as it has to be divided by 24 frames ie. 72hz which makes it flickerfree.. but im not..
[G Tablet Android Development] thebadfrog:
As entertaining as this is I would suggest this stop here before the mods lock this thread and we all lose the benefit.

I don't think the benefits outweigh the risks by setting something past the recommended Max. As always people can do what they want but I would rather err on the side of caution and get the improved framerate without riasking my LCD.

Just my 2 cents

Thanks to gojimi for modifying the file to work on zpad

Sent from my d1 with cm7 goodness from the horse pasture
[G Tablet Android Development] rothnic:
I'm not sure what the problem is here. I do think there is a general incomplete understanding of the specifics here, but I'll share my experience.

The purpose of a framebuffer, from my limited reading, is to provide a hardware abstraction layer. Just like when you are playing games on your desktop, it can write to the framebuffer many more times per second than can be displayed by the monitor. I'm still interested to know where you would change the screen resolution or refresh rate for screen replacement modifications. I do no think this modification is altering your hardware refresh rate.

I was able to use the attached file by the OP and use it directly in Vegan 5.1. Vegan, TnT Lite, and Zpad should all be using basically the same file that is updated by the "performance pack."

If you get the black screen after the boot.img logo, you have not installed the file correctly. Do not use a file browser on your tablet to do this unless you fix the ownership values. A filebrowser, like root explorer, could apply incorrect ownership. It would be safe to do both commands below:

chmod 755 /system/bin/nvrm_daemon

chown root:root /system/bin/nvrm_daemon
[G Tablet Android Development] thebadfrog:
I used the file supplied by the OP and got the black screen. I uploaded mine to gojimi and he compared it to the one supplied by the OP. Something was different about mine and he changed it and sent it back. I placed it back in system and changed the permissions like I had done before and it worked this time. I tried the version supplied by the OP several times and couldn't get it to work. I'm running ZPad Rom so I'm guessing something in this file is different.

EDIT: To be clear I got the GTabDev screen and then the ANDROID screen and a black screen and then the ANDROID screen and then a black screen and the the ANDROID screen.......it repeated about 8 times and then I got a solid black screen
[G Tablet Android Development] rothnic:
Zpad has a slightly updated version of that file in it, so it will be a little different.

Here are the steps I know work with the original file and Vegan 5.1 for anyone having problems:
[G Tablet Android Development] pc2828:
I'm running Zpad and the OP file used caused bootloop. Installed Zpad Clean 3 70Hz and its running great. Thank You!

It appears my Zpad is running warmer. Usually I don't feel any warmth from tab's bottom but now it's a little warm.
[G Tablet Android Development] rothnic:
Zpad Clean >3 use a different version

Zpad Clean <3 use the same version

Zpad stock itself uses the same version, but Zpad Clean 3 is based on a custom build that is far from Zpad. Hence the confusion.
[G Tablet Android Development] Dexter_nlb:
just to make sure you fully understand the basics... some binary nvidia releases do differ in content, so one version for one tablet, might be in a "performance pack" or another release be older or updated, which makes my binary incompatible and will not start....it has nothing at all to do with hz.

I just wrote it should be compatible with most gtab releases.

don't let this into a believe that your screen was messed up...
[G Tablet Android Development] thebadfrog:
just to make sure you fully understand what I said...

I DIDN'T say your release had messed up my screen. I DID say it was incompatible with ZPad 3 rom and that it had been fixed to work with my rom. I also stated in my own opinion that it wasn't worth the risk IF this was changing the refresh rate to increase it past the Max as there seemed to be little benefit to doing so. I don't know if it changes the refresh rate or not nor at this point do I really care.
[G Tablet Android Development] bigbiff:
I was able to get the one in the OP working with root:root 775 through adb in recovery. Also I got 79 fps in fpsd with stdev of 4.88.
[G Tablet Android Development] whosloosin92:
I agree. This is basically just editing the v-sync value. Anyone who has played PC games knows v-sync caps the framerate at the screens refresh rate to prevent screen tearing and unnecessary frames being rendered by the gpu which will cause both the gpu and cpu to work unnecessarily hard using more power and generating more heat. Anyone heard of the Starcraft 2 menu glitch? It wasn't v-synced causing the framerate to go into the thousands resulting many gpus overheating and dieing.

The screen is still displaying 50fps but the gpu is now allowed to turn out more frames. This is alright for benchmarking because it allows us to show the real power of the tegra 2 but in ANY practical purpose it is useless until we get a 60hz screen. In fact it would be detrimental because of increased battery use.
[G Tablet Android Development] roebeet:
Black screen on VEGAn, for me. Logcat has all types of nasty messages (I have pershoot's kernel installed, as well).

Does this really change the screen refresh rate? ie. what shows up in Quandrant. 50 Hz screen refresh is one of my last "I wish that could be changed" issues and man I hope this does the trick.
[G Tablet Android Development] catttman:
good

Done avg=78 stdev=6.62

1000 iterations: touch to repeat

at 70hz

Done avg=71 stdev=7.15

1000 iterations: touch to repeat

Vegan5.1 and all the other, bootloop etc.

all good 1st try ....
[G Tablet Android Development] roebeet:
Oh, this is eye heaven - it works on TnT Lite 4.1.0!

The default 50 Hz refresh is, imo, the main reason why our screens are as bad as they are. I had basically given up on using this as an e-reader as I would get headaches after about 10 minutes.

I had done some netbook screen comparisons not too long ago and the GTablet was noticeably harder on my eyes. With this tweak, I'll have to do a re-test - I think they should be the same now (and that's a VERY good thing). Thanks to everyone for making this happen!!!!

EDIT: Just so everyone understands the possible ramifications of this change, think of it like your CRT refesh rates, back in the old days. Remember when we could change that between 60/75/85 etc? And remember how 60 would just kill your eyes after a short time? Well, this is similar - I just tried gojimi's 70 Hz binary, and the screen is immediately less "harsh". I'd have to use it for at least 30 minutes (cough cough Angry Birds) to know for sure, but if my eyes don't feel like they're popping out of my head by that time, then I know that this change is doing its job.

I already did the netbook test, and the screens look the same to me now. Previously the netbook screen (60 Hz) looked noticeably less "harsh". Assuming this is fairly stable, I would definitely consider adding at least the 60 Hz version to a TNTL supplement - this change is pretty important imo.
[G Tablet Android Development] lamlam01:
I used @gojimi's 70 on Vegan and Quadrant says my screen refresh rate is 70. Can this be true? I can't really tell.
[G Tablet Android Development] AndroidFileHost:
It does not change the it. Its still 50hz. 4 pages of discussion on how it works. It just changes the framebuffer rate

"Just so everybody is clear on what this hack does.. its changing the framebuffer rate, NOT screen refreshrate.

see this link if you are not sure what that means "
[G Tablet Android Development] Dexter_nlb:
sorry , but your eyes will still be dissappointed :-(
[G Tablet Android Development] whosloosin92:
At least now we have some sort of indicator of the power of the tegra 2. I just scored 963 on the 3D section of quadrant with the 70fps mod compared to the stock low 700s.
[G Tablet Android Development] gojimi:
This is not meant to be bashing. And none of my post should be taken that way. This is to inform only. Unless we have some how turned off "vsync" then framerates can NOT exceed our refresh rate. So... if we are increasing the fps up to upper 70s then our refresh rate is also changed to around that number. To my knowledge vsync has not been disabled in this mod (if it had been you would probably see tearing and video issues because the framerate would be faster than the refresh rate of the LCD to keep up) So this is changing both the refresh rate and the Max frames per second. This is also why there is no visible improvement when set passed 78ish cause 75hz is the stated Max for our lcds with some standard deviation.

This is an open and nurturing community. Let's keep it that way by keeping our posts productive and not defamatory.

Thank you.
[G Tablet Android Development] ronhoney:
Thanks to all !!! GoJimi, will you be including this is a Vegan update?
[G Tablet Android Development] gojimi:
Yes something like this will be in VEGAn RC1. No eta at the moment.
[G Tablet Android Development] stanglx:
What are you precisley changing to chane the rate from 60 to 70?
[G Tablet Android Development] kpowr82:
I know this is developement but I figured I'd share my experience...

I was able to use root explorer to successfully apply this tweak. Big improvement in neocore and fps2d but I don't see any real world changes yet. Portrait mode definately isn't any easier to look at like roebeet hoped

Very nice find though!
[G Tablet Android Development] rothnic:
Technically vsync is being turned off by this modification. Vsync is the writing to the framebuffer once per frame. With our screen set at 50hz, and the stock file they are in sync at 50 updates per second.

However, when the framebuffer rate is no longer limited to the same rate as the LCD with this mod, the framebuffer can be written to multiple times per refresh. Some people don't mind this and it can run fairly smoothly. It can cause tearing if one of the framebuffer updates happens in the middle of a LCD refresh.
[G Tablet Android Development] HorsexD:
G-G-G-GodLike!
[G Tablet Android Development] roebeet:
Agreed on the viewing angles, they are not changed (and I didn't expect them to be).

The "Angry Birds" test was a success, at least so far. My eyes felt like they were going to pop out of my head at 50 Hz, but now not so much. Portrait mode is better I think, but I'd have to do some reading for at least 30 minutes to know for sure. This is all about being able to sit and use this thing for more than a few minutes, without getting a headache.

Quandrant info shows that the refresh rate has changed. And I think it's visually noticeable, even if just slightly. But the eyeball test is the big one.
[G Tablet Android Development] Dexter_nlb:
placebo effect :-)
[G Tablet Android Development] roebeet:
Maybe so -- but if I can sit with my device and enjoy for more than 10 minutes, then give me more placebos, then.
[G Tablet Android Development] gotwillk:
how are people getting 78 fps? i'm only getting 71 avg. i feel ripped off. lol
[G Tablet Android Development] HorsexD:
To me it seems thats theirs a slight increse in visual performance. it looks a bit Smoother when moving through Home screen n stuff. Maybe im trippin? Seems smoother to me :rolleyes:
[G Tablet Android Development] Butch1326:
Dexter_nlb,

Sorry I'm just reporting back. Our refrigerator went on the fritz Friday evening. We're buying a new larger capacity refrigerator, so I had to make some "Home Improvements" yesterday so that the refrigerator will fit in its designated area. I'm sitting here right now waiting for it to be delivered...

Ran Angry Birds, Raging Thunder, and other games I have on my gtab. No issues to report. All of a sudden I'm getting higher scores ... Maybe you unlocked the secret to better game play ;)

Thanks!!!
[G Tablet Android Development] catttman:
increased framerate and Refrig Going on the Frits ... (Keeping eye on Frits)

:):):):)
[G Tablet Android Development] stanglx:
Can someone point me to the source for this? I'm still learning the git structures of this os.
[G Tablet Android Development] Dexter_nlb:
there is no source for nvrm_daemon , its closed source..

but seems in latest 2.6.36 kernel they totally rearranged drivers, so this is going away anyways it seems..
[G Tablet Android Development] daname:
framebuffers...

This is all very exciting but...

It is hard to know what the term "framebuffer" as used here is referring. In my experience in programming game software we used the term to refer to a chunk of memory (a buffer) that the hardware uses to refresh the display. It made no sense to stuff data into that buffer faster than the hardware refreshed the display, i.e., it just burned cycles for no benefit.

I run more than one task at a time on my gtab. I think it is a virtue that android is a multitasking environment so having one task waste cycles for no useful purpose is not something that I can get excited about.

Of course "framebuffer" as used here may not be referring to what I understand the term to mean.

Just my 2 cents worth.

P.S., More than you ever wanted to know can be found here.

http://en.wikipedia.org/wiki/Framebuffer
[G Tablet Android Development] stanglx:
I'm trying to learn how the frame buffer is changed.

One thing I wanted to add to the discussion regarding frame buffer frame rate and vsync is that there is no dependency on refresh rate and frame buffer. Frame buffer is used to buffer frames which are pre rendered waiting to be displayed. This buffer is used between the cpu and gpu. too high of a frame buffer and you will see reduced frame rate as you will start to increase cpu queueing. A faster gpu will of course reduce this possibility.

You can artificially reduce your frame rate by reducing your frame buffer....less frames = less fps. You can also increase frame rate by increasing frame buffer as long as your cpu and gpu can handle the add data.thus why your overall frame rate increases. This technique of using a frame buffer is typically used on frames that are processed in the cpu. frames which are process in the gpu are less affected (ie open gl). But this also depends on the video driver and application.

Vsync is just matching the framebuffer to your refresh rate forceing fsp to equal the refresh rate.

I suspect the driver has linked the refresh rate to the frames buffer to simulate vsync...not the right approach as you now have created an artificial fps limitation as our displays have a max vertical refresh rate.

I would like to review the code to see if this is true.
[G Tablet Android Development] Dexter_nlb:
there is a benefit seen, which is: Some benchmarks are now much faster since the buffer is not limited to the 51 frames, but you are totally right, It might not at all be any benefit to waste even more cpu and battery on something you might not see.

I think you can also relate this to a technique used in animation movies, to make a man move you move the animated steps two pixels instead of just one per frame, and thats kinda what we see here, some frames are lost and not displayed as we now send more frames into the buffers, than the actual driver is capable of putting onto screen so some pictures in the buffer is not shown, and the visual experience is: its faster (but actually not, some frames are just skipped)

like in PSX4DROID, selecting skip frames, kinda gives the same result

but the end result is, we kinda got an idea of what our GPU is capable of, if we have a multisync monitor that could switch as the frames were displayed.
[G Tablet Android Development] witkowskipe:
Could someone use terminal emulator and su mode instead of adb to apply this change? Copy the file in place then set the permissions. Or should I just wait for Roebeet to make a supplement? Could a app apk be made that does this?
[G Tablet Android Development] whosloosin92:
Thats exactly what i did. Root explorer to copy, terminal set permissions.
[G Tablet Android Development] roebeet:
I'm still debating a supplement - just want to see how this all pans out.

I've been using the 70 Hz gojimi version for at least two days now, with no issues yet. 4.1.1 TNTL will likely have this, assuming there are no issues.

As for failed installs, I initially had this on a VEGAn 5.1 attempt, but a subsequent try was OK (I used adb both times + chmod as needed). Changing this file is risky and I would recommend doing it with adb and have a backup file ready in case the install causes problems. If it fails, you won't be able to get back into the UI, although adb should still work.
[G Tablet Android Development] AndroidFileHost:
Hmm wonder why you had troubles roebeet. Went smoothly with mine on Vegan 5.1. Just replaced the file and set permissions. Im glad it went that easily. Me and adb dont get along well with my tablet sometime :p Glad to here it might get incorporated. Ive had it running smoothly at 70hz since the first post. No problems to report
[G Tablet Android Development] oshea85:
dungeon defender

game mostly runs fine, but occasionally crashes... not sure if it's related to this framebuffer fix or not....
[G Tablet Android Development] Dexter_nlb:
Read market comment and you see , its a common problem all over..
[G Tablet Android Development] LuisB3:
Was going to do this mod but if you are still leaning towards this being included in 4.1.1 TNTL then i will wait. Do you still see a benefit?
[G Tablet Android Development] gunsjoe:
Too many tweaks to tell but there used to be a some stutter in AB, that is gone. Finished the first level all 3 stars on sunday :) Seriously though that was probably fixed by the loop file system mod.
[G Tablet Android Development] LTL11:
Wow, 10 pages of posts and I still cannot determine if this adds actual value to the tab or not.
[G Tablet Android Development] roebeet:
Pictures don't lie: http://xdaforums.com/showthread.php?t=922450

:)
[G Tablet Android Development] pc2828:
Is there a version 70hz that works for CM7?
[G Tablet Android Development] AndroidFileHost:
The ones in the forum work for cm7.
[G Tablet Android Development] pc2828:
edit - working
[G Tablet Android Development] thorpe24:
so this isn't a flashable zip, how do i do the chmod think....terminal emulator???

anyone?????
[G Tablet Android Development] TeutonicWolf:
Instructions are in the first post...

You can do the CHMOD from either ADB (if you have it setup) SHELL or using a Terminal Emulator as you suggested...
[G Tablet Android Development] ensign.fodder:
Works great and thanks given to OP
[G Tablet Android Development] dispozable:
vegan 7?

Is this tweak just for froyo, or can this be implemented into 2.3?
[G Tablet Android Development] gunkle:
It is said to work on cm7 which is 2.3
[G Tablet Android Development] secfincorp:
does it work on TNT with market /enhancement pack installed

thanks just wondering didnt see a post for this rom.
[G Tablet Android Development] rob_z11:
I have tried this for Vegan 2.3, and it makes my display to the maximum brightness. I can't do anything to change it to lower.. I do have to switch it back to get my display and battery back.
[G Tablet Android Development] EL TEJANO:
I tried doing the Chmod 755 command but it said operation not allowed even though all permissions are set correctly and it's at r/w. Regardless I still get 79 fps
[G Tablet Android Development] racketier:
I added the Gojimi version 70hz to my CM7.02.

Fps2D

Done ave=70 stdev=7.97

1000 iterations: touch to repeat

Also made my screen max brightness and it cannot be reduced. Any ideas on that?
[G Tablet Android Development] techn0crat:
Screen filter for Root off the market will probably help.

I'll try it out-- when I get the chance.
[G Tablet Android Development] rcjpth:
Will this be helpful for watching the MP4 video by hardware decoder?

Is this helpful for watching the MP4 video 720x480 data rate 2000kbps? Will it reduce the choppy while watching the MP4?

thx,

rcjpth
[G Tablet Android Development] racketier:
Does anyone know if they will be adding this into the CM7 nightlies?

That would be nice =)
[G Tablet Android Development] gkitab:
Does anyone know if this works for the 1.2 dev branch, especially roebeet-clemsyn hc bottle of smoke.
[G Tablet Android Development] Mantara:
The app works great. Actually really was looking for an app that lets me change the brightness on the fly.

The brightness issue is no problem after using the app you suggested. Thanx a ton. Also I'm using cm7 nightlys ant the framerate increase is amazing, totally smoothing the screen out while surfing the web.
[G Tablet Android Development] gkitab:
Would it be silly to try this on my Droid X is it even possible.
[G Tablet Android Development] HorsexD:
Think This would Work on HoneyComb Tegra Tabs I.E Transformer or Xoom? Would it Help?
[G Tablet Android Development] Vlad_z:
For those with CM7.0.3 you may want to try this version of nvrm_daemon.

I took original file from my CM7.0.3 stable ROM and modified it to have 60Hz update rate.