We're developing live wallpaper with OpenGL ES 2.0 on Nexus 10.
Live wallpaper uses 2 small (128x128) external framebuffers to make ping-pong rendering between them to blur image.
While this works perfectly fine on any device (even on aged Motorola Milestone) there is a strange issue with Nexus 10. This works only if device is in landscape orientation. If device is rotated in any other position (90, 180 or 270 degrees) framebuffers has only clear color. I've set glClearColor to red so it is clearly visible that these framebuffers are cleared but nothing is rendered into them.
I've tested it on Tegra 2, Tegra 3, Adreno 200, Adreno 320, 2 PowerVR GPUs and it works just fine.
This looks like some weird driver bug, but might also be some specifics of Mali driver. That's why I ask you to test app and confirm or decline this misbehavior on your devices.
You can download test APK here: https://dl.dropboxusercontent.com/u/7197208/LiveWallpaperAnimTest.apk It is a live wallpaper app, install it and select 'Test' live wallpaper (has an icon with rose).
As you can see, in default landscape orientation you will see some 'bloom' effect around bird which is implemented by ping-pong rendering between 2 framebuffers. In any other device orientation it doesn't work and fills FB with clear color (red).
If you confirm this issue and you are registered on Mali Developer Center you can reply to this thread to drag more attention to it: http://forums.arm.com/index.php?/to...xternal-rendertarget-works-only-in-landscape/
Also I've posted a related question on StackOverflow (with code samples), filed a bug to Google Code and Mali Developer Center:
http://stackoverflow.com/questions/...external-rendertarget-works-only-in-landscape
http://code.google.com/p/android/issues/detail?id=57391
http://forums.arm.com/index.php?/to...xternal-rendertarget-works-only-in-landscape/
By confirming issue on Google Play or Mali Developer Center you will draw attention of Android developers, making it possible for them to pay attention for this issue and release a fix.
There are 2 scenarios where I've noticed this problem, they seem related:
1) After drawing on Snapchat snaps, the sent image has the drawing reduced and moved to the top left as shown here: http://i.imgur.com/rJXVGRz.jpg
2) After uploading a photo to Instagram's editor, the crop is extremely zoomed in and locked to the very top left of the photo and can't be adjusted.
I have no modules enabled for Instagram and tried Snapchat without SnapPrefs, and it still occurs. They cause similar problems so I was wondering if it's something with image processing on this device only. Anybody else experiencing this bug or did I mess with something without knowing?
EDIT: Forgot to mention; latest version of Snapchat and MM 6.0.
Well I finally solved it, and it seems to be surprisingly simple. I had previously adjusted my DPI and screen size to 1080p from 1440p, and then I had reset it back to normal with texdroider. Turns out texdroider had an issue and my dpi was having problems even though it looked normal. I went into Terminal Emulator and used "wm density reset" and "wm size reset" and everything works fine now.
Since the previous update (november) my camera image output is by default smooth. Meaning , face is smooth as if beauty mode is enabled and even the pic is slightly brighter (makes the pic look different from the real world), even though no such settings is enabled.
How to fix this camera image issue? Or is it still a bug that asus needs to fix?
Due to this I need to use alternative camera apps installed from PlayStore.
Currently my device is running 338 build update. 4gb variant.
StoneSpider said:
Since the previous update (november) my camera image output is by default smooth. Meaning , face is smooth as if beauty mode is enabled and even the pic is slightly brighter (makes the pic look different from the real world), even though no such settings is enabled.
How to fix this camera image issue? Or is it still a bug that asus needs to fix?
Due to this I need to use alternative camera apps installed from PlayStore.
Currently my device is running 338 build update. 4gb variant.
Click to expand...
Click to collapse
Use gcam.
I was up until 430 am last night trying different configs and Gcam APKs and the best I can do was using 6.1 or 6.2. No crashes but these 3 problems are present in every APK I tried so if there's anyone that has an APK that works for these, would love to hear it.
Problems:
1) Camera takes first picture quite fast. 2nd picture is slightly slower. 3rd and beyond is unbelievably slow. Slower than Night Sight. You can tell that the picture is being taken all at the same rate because the picture is showing up in the Gallery Icon, but the viewfinder is just loading and hanging.
What is the reason for this? (HDR Enhance is NOT on)
2) Turn off HDR+ and camera button doesn't even work. It works in Portrait and video but not in regular camera mode.
3) If I switch Cameras or modes (From regular camera to wide... or regular camera to Portrait and then back to regular) then it will take the picture fast. Which means that it's a software issue of lagging. Almost like it's lagging or having problems clearing memories while taking consecutive pictures?
Night Sight and actual photos look GREAT. Which is why it's pissing me off. The VG35 is a godly phone I just bought and I love everything about it. But the camera is lacking. And having a somewhat partially working gcam app just teases me that the picture could be better but isn't. The camera itself is good it's just the software that isn't so great.
LG's stock camera app puts on a lot of sharpness everything gets so blurry.
Any FULLY working apks out there that don't have issues with lag when taking pictures?
UPDATE: I tried cstark and a few others but the one that works for me fully (Night Sight, portrait, wide lens, correct colors, etc) is Arnova 1.7 here
https://www.celsoazevedo.com/files/android/google-camera/dev-suggested/#apk411
Arnova 1.6 also works.
So I managed to fidget with all the settings and basically... here is an update. AS IS, the Gcam with Arnova takes 2 pictures at regular speed. The 3rd picture on, it will show the circle and lag, taking about 5 full seconds to complete a picture. (There are other people on reddit who confirmed this) If you change the camera view in any way, OR press the home button and come back to camera, it resets allowing you take 2 more pictures at normal rates before it starts to slow down again.
By reducing HDR frame from 7 to 3, it allows you to take about 5 pictures before the slow down happens. So, it's not ideal but a workaround is to just take 5 pictures and press "portrait" and then come back to regular camera and it should allow for 5 more pictures at the regular rate.
HDR off also does not allow the camera to take a picture.
But that being said, does anyone know WHY it's happening? I don't know much about how android and the camera works but if we can figure out why the loading circle starts to slow down after a certain # of pictures, and WHY it resets when you change the camera view for a split second... I'd be happy to contribute in any way I can to get a fully useable Gcam app for us. V35s are so underrated with the High Quality Dac and if we get fully working Gcam, it would be a massive upgrade for anyone with a V35.
The pictures with Gcam are no joke.
The reasons for why the Gcam can only take a few pictures before it starts to load in the viewfinder very slowly, and why it resets when you "refresh" the camera view:
(These are complete uneducated guess but using logic based on what I'm been testing)
- It's not related to HDR. There was 1 apk that allowed me to take pictures with HDR off and it still did it.
I thought it was the HDR processing in the background that was queueing up but that's not the case.
- Changing camera view and switching back, RESETS this problem. Is there some sort of memory that needs to be cleared in the camera after each picture? Or after each # of pictures you can set that might address this problem?
There was another APK that I used that had the ability to increase the memory and it didn't do anything.
- I have a feeling it might be related to the buffer fix issue. The buffer fix, fixed the lag in the view finder. However, after taking a few pictures and hitting the limit, you can tell the loading circle will start to slow down because the viewfinder for a split second will lag as if the buffer fix was turned off.
So, maybe buffer fix is being reset or paused after a few pictures?
I wish I knew more about this stuff but if anyone has any ideas, would be great.
I read somewhere that the LG V35 and the G7 have similar cameras.
Check the G7 gcam thread for more info and assistance
https://forum.xda-developers.com/lg...oogle-camera-gcam-lg-g7-thinq-t3855081/page49
destroyer67 said:
I read somewhere that the LG V35 and the G7 have similar cameras.
Check the G7 gcam thread for more info and assistance
https://forum.xda-developers.com/lg...oogle-camera-gcam-lg-g7-thinq-t3855081/page49
Click to expand...
Click to collapse
Thank you Ill check out that thread
Thanks destoyer67, I was able to get a better Gcam situation using that link.
Gcam_6.2.030_Advanced_BF_V2.2.2beta2.190904.1817
from https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1121
This is the one that works very well. There is .a work around for the camera shutter loading really slow after 2 pictures.. and that is the setting called Reinit for HDR+. Just turn it on and after every time you take a picture, your camera and viewfinder will reinitialize and blink for a split second. Every picture taken is fast. You just have to wait a full second in between pictures or so.
Its way better and more useable and waiting 6 seconds for each picture.
Night Sight works without ANY lag, so does portrait, wide angle, etc.
Things that do not work at all:
- HDR Off mode
- Flash (goes off doesnt take a picture)
This is a useable version for me.
I also also narrow down and say the shutter loading slow is caused by something in the "buffer fix" setting. If you turn off buffer fix, the camera will take a picture INSTANTLY. Like the stock LG cam. However, the viewfinder has that crazy lag so you cant see what you're taking a picture of.
i tried above but when its low light it freezes. i'm on at&t v350 /w PIE (20c)
kettlecorn said:
Thanks destoyer67, I was able to get a better Gcam situation using that link.
Gcam_6.2.030_Advanced_BF_V2.2.2beta2.190904.1817
from https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1121
This is the one that works very well. There is .a work around for the camera shutter loading really slow after 2 pictures.. and that is the setting called Reinit for HDR+. Just turn it on and after every time you take a picture, your camera and viewfinder will reinitialize and blink for a split second. Every picture taken is fast. You just have to wait a full second in between pictures or so.
Its way better and more useable and waiting 6 seconds for each picture.
Night Sight works without ANY lag, so does portrait, wide angle, etc.
Things that do not work at all:
- HDR Off mode
- Flash (goes off doesnt take a picture)
This is a useable version for me.
I also also narrow down and say the shutter loading slow is caused by something in the "buffer fix" setting. If you turn off buffer fix, the camera will take a picture INSTANTLY. Like the stock LG cam. However, the viewfinder has that crazy lag so you cant see what you're taking a picture of.
Click to expand...
Click to collapse
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
kaneorotar said:
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
Click to expand...
Click to collapse
I'm having the same issue. Is there a fix for this? Tried playing around with the settings but couldn't land on a solution.
Okazar said:
I'm having the same issue. Is there a fix for this? Tried playing around with the settings but couldn't land on a solution.
Click to expand...
Click to collapse
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Ezzelin said:
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Click to expand...
Click to collapse
Glad someone finally found the right one, but the link you gave us only leads to a list of many gcam apks, which one exactly did you mean? Also, by disabling google photos, you mean that we have to disable it completely or just disable it somehow from gcam?
The version that I linked to blinks when you first open the page. It's V2.2.1.190831.2245-fix-2. As far as disabling Google photos, it's a setting inside the camera app that uses Google photos as the viewer when you look at the photo you just took. However, this integration doesn't work, so disable that so it uses the built in viewer. You'll also need to go to the About screen in settings and turn on advanced options to see most of the settings I've listed.
Thanks! It really works great, taking pictures is fast and even night mode is quick.
Good job on finding this
kettlecorn said:
kaneorotar said:
Are you on Pie or Oreo?
Mine's on Pie(20s) and everything works relatively well except for images taken with the wide angle lens: the red and blue color channels seem to be swapped, making photos looking weird.
Click to expand...
Click to collapse
I am having the same issue. Wide angle photos are totally blue. Other than that it works great!!
Click to expand...
Click to collapse
elkay81 said:
kettlecorn said:
I am having the same issue. Wide angle photos are totally blue. Other than that it works great!!
Click to expand...
Click to collapse
Hello,
I have found this version works on the V35.... Gcam_6.2.030_Advanced_BF_V2.2.1.190831.2245-fix2.apk. Wide Angle, Regular, Night Sight. However getting the white balance just right for both indoors and outdoors is not easy, so I I actually use a dual install combo for slightly better results:
OUTDOORS/Regular - Gcam_6.1.021_Advanced_BF_V1.6-Fu24_5Lens-02.apk - With this version I can customize sharpness without loading custom libs, etc. White balance is yellow indoors, and Night Sight has buffer problems so I don't use it.
INDOORS/Night Sight - Gcam_6.2.030_Advanced_BF_V2.2.1.190822.1145.apk - This version does well indoors with Night Sight... outdoor photos are pinkish however
You *should* be able to install both these versions without overwriting each other...
Here is a link to more conversation (G7 forum)...
https://forum.xda-developers.com/lg...gcam-lg-g7-thinq-t3855081/page53#post81474127
Click to expand...
Click to collapse
Ezzelin said:
OK, so I spent all day trying a bunch of versions, and finally found the one version that can get rid of the color issue and the lag between shots. Here it is:
https://www.celsoazevedo.com/files/android/google-camera/dev-arnova8G2-beta/#apk1114
With this one, make sure to enable both the "Use Restart for AUX Mod" and "Use Reinit for HDR+" settings in the "HDR+ control" menu. Make sure to enable the AUX button as well, and disable Google photos. You'll see the screen go black a little bit after taking a photo, and then you can take another one and switch cameras. When you switch cameras, it reinits the camera app, which gets rid of the channel swap issue. For some reason the other version that was linked has an issue when both these settings are enabled, but it works great with this version.
Click to expand...
Click to collapse
Near as I can tell this works perfect after following the indicated settings. No need for a buffer fix module, it's built in. Night sight works, viewfinder works properly in wide / normal etc etc.
thanks for mentioning it, there are so so many available that *might* work, a daunting task to try them all.
delete
Hello guys, every time i take a photo, the image appears inverted or somewhere or when i'm playing a game like mobile legends, my screen rotates non-stop even slightly tilting the screen, it's a problem that i tried some solutions, such as:
Disable google photos, change rom with clean flash, change gallery, install other cameras and some other things, does anyone have a solution?
I'm currently on ion 2.9, firmware 11.0.1 global rom.
Thanks in advance for your attention =)