[Q] Turn off Vsync - Xperia Z Q&A, Help & Troubleshooting

Hi
I Haved one question. How to turn off V-Sync? I haved max 60 FPS in benchmark & max 30 FPS with MHL Adpater (Res [email protected]).
Sorry for my bad english

Why would you want to do that?

ckyy said:
Why would you want to do that?
Click to expand...
Click to collapse
For better framerate in benchmarks. For tests I have 60 FPS limited right now.

Dev8331 said:
Hi
I Haved one question. How to turn off V-Sync? I haved max 60 FPS in benchmark & max 30 FPS with MHL Adpater (Res [email protected]).
Sorry for my bad english
Click to expand...
Click to collapse
The last option, if you can't find another easier way (I don't know another):
unlock bootloader (voids warranty), flash doomkernel (a custom kernel), install fauxclock app and deactivate vsync in the gpu settings.

sea2605 said:
The last option, if you can't find another easier way (I don't know another):
unlock bootloader (voids warranty), flash doomkernel (a custom kernel), install fauxclock app and deactivate vsync in the gpu settings.
Click to expand...
Click to collapse
Thanks, but still doesn't Work. I have 60 FPS max in benchmarks, and games.

Related

[MOD][CAM] [email protected]@20mbps + auto-focus on CM7

EDIT: [email protected] has been added to nightly and bitrate has been set to 12mbps which is not that bad. Its hence not recommended to flash these anymore. If you want higher bitrate look in the thread for those. I think it was pastime who made them. Alternatively use root explorer to manually edit /etc/mediaprofiles.XML. again, read pastimes and related posts in the thread on that.
This will replace the Camera.apk from CM7 with a more tegra2 friendly version that enables [email protected] recording. There's also included an updated media_profiles.xml file that'll enable different bitrates. Choose wisely . To test the bitrate I recommend having it running for at a minute to make sure everything can keep up. Usually it starts out smooth and then starts stuttering as the ram gets filled up. I also upped the quality for still.
Videos (I'll add experimental stuff as well, such as ultra high bitrates and auto focus):
http://www.youtube.com/user/O2XdevVids
I would stay away with 64mb ram hacks for the time being. Maybe we can find some middle ground in the future .
Anyway, please give me feedback on how it works. Some beautiful videos would be nice. Weather is really depressing here.
Please don't use this for non-tegra 2 devices.
Also, I'm experimenting a lot. Expect a lot to be buggy. I do my best not to put something out that doesn't work, but a couple of runs is really the extend of my testing before it goes up (to be honest). The autofocus-mod is seriously buggy. The bitrate-mod should be pretty much as buggy as the std. cm7 Camera app.
And, of course, thx to all the great ppl who works on cm.
------------------------------------------------------------
Source code (just the 1080p mod):
https://github.com/LeJay/Camera
Versions & Changelog & TODO
--------------Autofocus1.1----------------- (Note this is horribly buggy)
Just adds auto focus (and 25/30fps if you're on nightly), no change to bitrate. Flash this AFTER you do the bitrate mods. Flashing with any of the bitrate mods will replace the Camera app and you'll lose autofocus.
----------------------------------------------
--------------FullHDmod 1.0---------------
->Video:
HD: [email protected]@20mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_high 1.0---------- (works for some, requires fast sd card)
->Video:
HD: [email protected]@26mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_mid 1.0---------- (Recommended)
->Video:
HD: [email protected]@17mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_low 1.0----------
->Video:
HD: [email protected]@14mbps
High: [email protected]@12mbps
----------------------------------------------
--------------FullHDmod_LG 1.0---------- (It's the settings used as stock LG... except for 1080p being 30fps)
->Video:
HD: [email protected]@9mbps
High: [email protected]@4mbps
----------------------------------------------
----------BitrateMod(720p only)---------- (Does not replace Camera.apk. Works for 64mb ram hack, until we find other solution)
->Video:
HD: [email protected]@20mbps
High: [email protected]@10mbps
----------------------------------------------
All audio is 128 kbps and all stills are:
Super fine: 100
Fine: 90
Normal: 80
--------------------------------CHANGELOG----------------------------------------
1.0 Initial release.
---- Small bugfix of CM7s camera app + tegra 2 specific stuff.
1.1-pre-alpha
---- Enables autofocus prior to video capture. Cannot be turned off(I don't do UIs,lol). Need to restart app for each video.
Autofocus 1.1
---- No need to restart app.
Known issues:
Does no longer auto adjust for exposure while recording. In between recordings it will auto adjust again. (I have no idea why).
Cannot disable autofocus (have no idea how to do UI).
Rather buggy, lots of freezes. For best results, don't push it. Ie. don't start and stop recordings rapidly, stuff like that.
Don't switch quickly to video when opening app... I think that might be a cm7 issue.
---------------------------------------TODO----------------------------------------
Touch to focus.
continuous auto-focus.
FAQ
Q: Does this work for non-CM7 ROMS?
A: Probably not. Certainly not froyo. But feel free to try and let me know. On stock rom-based builds, please look at somemadcaaant's awesome work at http://forum.xda-developers.com/showthread.php?t=1090785.
Q: T-Mobile LG G2x support?
A: Yes.
Q: What are the disadvantages?
A: Larger filesize. Takes longer to save (give it time to save before doing anything else with the phone). Potential issues with playback on phone.
Q: Does this work with 64 mb ram hack?
A: No. You can still use a high bitrate 720p mod for that kernel, though.
Q: It stutters after a few secs of recording or freezes once in a while, why is this?
A: Your phone/sdcard is having issues trying to keep up. Try a lower bitrate mod. If there is no lower, ask for one. I'm experimenting a little myself, trying to find a stable bitrate.
Q: If I open the Camera app and very quickly change to video I get a black screen?
A: Don't do that. I get the same bug on std. cm7 Camera app.
Q: Isn't it overkill with an FAQ for a camera mod?
A: Yes. But people kept asking the same questions last time I made a thread.
THX so much I will test it and report.
i would also add "touch to re-focus during video capture"(like in htc's) to the to-do list
Tegra 2 is some impressive hardware.... bitrate goes up crazy high. I'll add some different versions, but do people have any thoughts on what kind of bit rates they'd like to see?
Damn, I think maybe my sdcard cant keep up with the ultra high bit rates I'm testing. Starts stuttering after 10 sec. Maybe someone out there with a class 10 card?
When switching on video mode, i get a black screen and FC afterwards.
ranrick said:
When switching on video mode, i get a black screen and FC afterwards.
Click to expand...
Click to collapse
I purposely made my tweaks so code is first running when you actually start recording... If it's a new problem it's because of the settings file.
Tried restarting the app?
Work great for me on Kang today buid !
gregman26 said:
Work great for me on Kang today buid !
Click to expand...
Click to collapse
Great news.
LeJay said:
I purposely made my tweaks so code is first running when you actually start recording... If it's a new problem it's because of the settings file.
Tried restarting the app?
Click to expand...
Click to collapse
I reinstalled. Thereafter i was able to start it. But Recording doesn't work so far.It starts at 720P but when ending the recodring, I get a FC. 1080p keeps black screen and no FC and no recording. Maybe because of the 64MB RAM hack in the vorkKernal.
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
ranrick said:
I reinstalled. Thereafter i was able to start it. But Recording doesn't work so far.It starts at 720P but when ending the recodring, I get a FC. 1080p keeps black screen and no FC and no recording. Maybe because of the 64MB RAM hack in the vorkKernal.
Click to expand...
Click to collapse
Okay, so it officially doesn't work with the 64 mb ram hack. Not surprising. You can enable high bitrate 720p with some of my other mods.
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Isnt that the case with cm7 nightlies and 1080p recording?
Can someone up a vid?
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Hmm... I just recorded for 1 min straight with no issue. I do get similar issues on som2e of the higher bitrates I've been toying with(40mbps can make most sd cards cry). Does it start lagging as soon as you start recording?
I'm going to make higher and lower bitrate versions.
Works beautifully on the G2x as well. Thanks
@LeJay: you should contact arcee to include your mod in CM tree
TattooHtc said:
Thanks LeJay
But i have a bug.... The video is lagging(I think my Sd Card is Class 2), so i think it is because of the high bitrate. And sometimes after shooting a video the camera just freezes and i have to pull the battery..
LG O2x, Latest Kang, stock kernel.
Click to expand...
Click to collapse
Could you try the low bitrate mod?
Works grat! 40 sec of video went from 18mb to 99mb. Now that we need a fast memory isn't better to use the internal memory?
buch85 said:
@LeJay: you should contact arcee to include your mod in CM tree
Click to expand...
Click to collapse
Agreed.
LeJay, I also think that you should contact Ricardo (arcee) and see if he can merge you changes. He just changed from 1080 to 1088 the other day in the .xml file so we can record 1080p nativly. Kinda wierd that you have to set it to 1088?
The best thing would of course be if he could include all the different modes/profiles for us to freely choose:
"FPS: 15, 25, 30"
"Resolution: 1080p, 720p, ..."
"Bitrate: X, Y, Z"
"Sound: 44 Khz, ..."
etc... because I know my class 2 card can't keep up at the best options. Going to buy me a new one soon though.
Send him a message and see if he's interested. His todo list probably is long though....

How to change resolution on MHL port?

How can I change the resolution the handy is providing on the MHL port?
I need SVGA for my HMD, but my phone is currently giving out its native screen resolution.
David X.
Unfortunately you can't...
Sent from my LG-P880
Is it not possile due to hardware limitations?
or is it only a software limitation, and some custim rom might fix this?
I think there is an option somewhere in the hidden menu settings
There is an option for full hd in the hidden menu but it does not work.
Sent from my LG-P880
I don't want full HD, I want SVGA.
there is an option for normal VGA and it works.
So its software, so it should be possible to get it also to output SVGA?
isnt there the setting in the hidden menu for 720p - which is 1280x720 resolution.. usually its the refresh rate that becomes a problem for some monitors
friartuckme said:
isnt there the setting in the hidden menu for 720p - which is 1280x720 resolution.. usually its the refresh rate that becomes a problem for some monitors
Click to expand...
Click to collapse
No, the device I want to connect it to is a ultra low power Monocular Head Mounted Display, it can display only its native resolution [email protected] nothing else.
i see, so it would be around 800x600 resolution that you require at the 60hz, as far as i know its not possible, but i cannot say im 100% correct, sorry i couldnt be more of an help
i hope you find a solution and best of luck
DavidXanatos said:
I don't want full HD, I want SVGA.
there is an option for normal VGA and it works.
So its software, so it should be possible to get it also to output SVGA?
Click to expand...
Click to collapse
Did the VGA option in the hidden menu HDMI test page work?
postacik said:
Did the VGA option in the hidden menu HDMI test page work?
Click to expand...
Click to collapse
The option worked as fas as it really set [email protected],
but failed in the regard that my HMD needs [email protected] and cant scale any other resolution.

MiraVision, ClearMotion & (more of 30FPS Now is possible!)

There are at least two very important things for me, and that would be an excellent improvement to the user experience of this phone.
The first is can use MiraVision. This is a great improvement to the image quality.
The software comes preinstalled !!! at least in the weekly version 5.11.26 and 5.12.3 ...
Now you can be activated, and it is magnificent !!! but the settings can not be saved.
When turning off the display, it returns to the default setting.
The second is be able to record video at normal speed, at least at 60FPS. Helio x10 can do that and much more, and the image sensor too, the software why not?
If we succeed in this, the phone would win many positive points.
Anyone wants help me?
Of course you can't save the settings, miui have a stock screen management
Sent from my Redmi Note 2 using Tapatalk
Well ... Now you can record video in HD at 60FPS (or more)
The solution is here
But we need help to make it work the "slow motion".
We need the name of the tag for this mode.
You know if it's possible to use clear motion in CM?
That feature is really amazing..
FAP31 said:
Well ... Now you can record video in HD at 60FPS (or more)
The solution is here
But we need help to make it work the "slow motion".
We need the name of the tag for this mode.
Click to expand...
Click to collapse
Can u translate it to English? I can't find the media.profile.XML in root explorer. Please help.
Javi22 said:
You know if it's possible to use clear motion in CM?
That feature is really amazing..
Click to expand...
Click to collapse
+1 can someone test that?
60 FPS camera
Simply MIUI lacks media_profiles.xml, that usually is included in every Android version in /system/etc
This file is read from multimedia apps in order to get phone's capabilities with camcorder.
If you insert that file in MIUI the stock camera app will read it and the camcorder fps drop will be bypassed. The camera will record at 60fps also in low light condition! Actually file works fine, in fact it will put the exposure at a low level in order to get best fps performance. But it isn't so optimized and the Spanish team is working on it. You can download the file from https://drive.google.com/file/d/0B1jCoBYPR8eGbVVXZkM1V2VBdUk/view?usp=sharing
You have to set permission to 644 RW R R
Slow motion will not work for now. But it's great that at least we will have a perfect camera fps for now (720p 60fps and 1080p 46fps).
The question is, why if the hardware of our phone is so powerful Xiaomi made a rom that actually doesn't reflect this powerfulness??
For cyanogenmod we don't have anything right....?
Superb job!
Sent from my Redmi Note 2 using Tapatalk
jack_21 said:
60 FPS camera
Simply MIUI lacks media_profiles.xml, that usually is included in every Android version in /system/etc
This file is read from multimedia apps in order to get phone's capabilities with camcorder.
If you insert that file in MIUI the stock camera app will read it and the camcorder fps drop will be bypassed. The camera will record at 60fps also in low light condition! Actually file works fine, in fact it will put the exposure at a low level in order to get best fps performance. But it isn't so optimized and the Spanish team is working on it. You can download the file from https://drive.google.com/file/d/0B1jCoBYPR8eGbVVXZkM1V2VBdUk/view?usp=sharing
You have to set permission to 644 RW R R
Slow motion will not work for now. But it's great that at least we will have a perfect camera fps for now (720p 60fps and 1080p 46fps).
The question is, why if the hardware of our phone is so powerful Xiaomi made a rom that actually doesn't reflect this powerfulness??
Click to expand...
Click to collapse
Amazing work ?
hey guys and for the 4k? mtk6795 can recoring and camera sensor too!!
Guys how to open the miravision app
It shows up in my installed apps list but how to open the app
Well guys, I've some good news. I've successfully managed to get ClearMotion running on MIUI
Will share it today or tomorrow!
Here you go guys!
http://forum.xda-developers.com/red...d-enable-clearmotion-miui-based-roms-t3278552
jack_21 said:
60 FPS camera
Simply MIUI lacks media_profiles.xml, that usually is included in every Android version in /system/etc
This file is read from multimedia apps in order to get phone's capabilities with camcorder.
If you insert that file in MIUI the stock camera app will read it and the camcorder fps drop will be bypassed. The camera will record at 60fps also in low light condition! Actually file works fine, in fact it will put the exposure at a low level in order to get best fps performance. But it isn't so optimized and the Spanish team is working on it. You can download the file from https://drive.google.com/file/d/0B1jCoBYPR8eGbVVXZkM1V2VBdUk/view?usp=sharing
You have to set permission to 644 RW R R
Slow motion will not work for now. But it's great that at least we will have a perfect camera fps for now (720p 60fps and 1080p 46fps).
The question is, why if the hardware of our phone is so powerful Xiaomi made a rom that actually doesn't reflect this powerfulness??
Click to expand...
Click to collapse
I got fhd 60fps, 30mb/s, thanks
Its working but..
In HD - 60 FPS but the video is very dark
In FHD - video is bright, but 16 FPS
Slow-motion works with this mod 60fps hd video?
Sent from my Redmi Note 2 using Tapatalk
vipkokata said:
Slow-motion works with this mod 60fps hd video?
Sent from my Redmi Note 2 using Tapatalk
Click to expand...
Click to collapse
Nope.

Slowmotion 120 and 240 fps doesnt work

Im running Xiaomi EU rom and i noticed that slow motion recorded from Mi camera app only works with 960 fps, in 120 or 240 fps it records normally, but when you play it, its in normal speed.
sorry for my english
deathcide said:
Im running Xiaomi EU rom and i noticed that slow motion recorded from Mi camera app only works with 960 fps, in 120 or 240 fps it records normally, but when you play it, its in normal speed.
sorry for my english
Click to expand...
Click to collapse
Same issue. Hope next update will solve this.
EDIT
****
Mine fixed. Just clear cache and data from Stock Camera app from settings..

Question How to force high refresh rate on gaming?

It happen when I play auto chess mobile or others auto chess game. When I stop touching on screen, the fps drop to 10fps, and when I touch, it back to 60hz
I know It is a feature of oneplus 10 pro but i make me very uncomfortable
Anyone can help me?
Thank a lot
Sorry for my bad english
A. is non root Method.. High performance mode in setting..
B. Is Rooted Method
1.STRP Performance Module
2. Lucky Tool In which you can Select Display forcely At 120fps
3. Is by doing any Kernal Tweaker app (FKM) and manually set governer to Performance
Alot more possiblites in root mode
Or smarthertz.apk
My bad i thinked you speak about screen fresh rate
Xpid3r said:
Xpid3r said:
A. is non root Method.. High performance mode in setting..
B. Is Rooted Method
1.STRP Performance Module
2. Lucky Tool In which you can Select Display forcely At 120fps
3. Is by doing any Kernal Tweaker app (FKM) and manually set governer to Performance
Alot more possiblites in root mode
Click to expand...
Click to collapse
STRP is good but it still make fps equal 40-50 fps, can not reach 60 fps. What mode and setting you choose?
Click to expand...
Click to collapse
Xpid3r said:
A. is non root Method.. High performance mode in setting..
B. Is Rooted Method
1.STRP Performance Module
2. Lucky Tool In which you can Select Display forcely At 120fps
3. Is by doing any Kernal Tweaker app (FKM) and manually set governer to Performance
Alot more possiblites in root mode
Click to expand...
Click to collapse
Its only 40-50 fps, can not reach 60 fps (strp)
What mode and setting you choose?
NightS12321 said:
Its only 40-50 fps, can not reach 60 fps (strp)
What mode and setting you choose?
Click to expand...
Click to collapse
Just the Gaming mode.. using strp app
Xpid3r said:
Just the Gaming mode.. using strp app
Click to expand...
Click to collapse
Its just 30-50 fps
NightS12321 said:
Its just 30-50 fps
Click to expand...
Click to collapse
Stable 60fps in games here.. i don't know your kernel parameters
Xpid3r said:
Stable 60fps in games here.. i don't know your kernel parameters
Click to expand...
Click to collapse
I just install strp perfomance module, nothing else :/
You check the fps via game mode app?
NightS12321 said:
I just install strp perfomance module, nothing else :/
You check the fps via game mode app?
Click to expand...
Click to collapse
Do you have Module Controller App.??
I always set profile from that app..
Xpid3r said:
Do you have Module Controller App.??
I always set profile from that app..
Click to expand...
Click to collapse
No, i just install strp performance, set it to gaming mode, and see fps via game app
Install FKM From playstore..
Then send SS of Governer Page..

Categories

Resources