Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Processing Takes Forever #481

Open
garcia1987 opened this issue Nov 13, 2024 · 6 comments
Open

Image Processing Takes Forever #481

garcia1987 opened this issue Nov 13, 2024 · 6 comments

Comments

@garcia1987
Copy link

Pixel 9 Pro

This issue seems to happen on both the Graphene Camera and Pixel Camera.

I will take a picture and it will take forever to process where I can see it. The Gallery will display blank icons for everything, using the files to browse folders in the system will sometimes not show folders. I have seen this go on for up to half an hour at this point.

So far I've tried the following to resolve the issue. Not much but I'm not well versed in what else to do.

I will force close apps (camera/gallery) for the pictures to appear and/or the thumbnails to show up. This has caused me to lose a photo or two.

I've had to restart the phone a couple of times from the above not working.

I have no issues running other apps or doing other tasks during this time. This is specifically only affecting the Gallery, Graphene Camera, and Pixel Camera.

As an aside I did try OpenCamera which will allow me to see the pictures I take in the gallery within 10 or so seconds.

I'm really curious if it is something I am doing or if there is just some heavy work going on behind the scenes to process these images and it takes a bit.

@thestinger
Copy link
Member

Unable to replicate any issue. If you're talking about Night mode in GrapheneOS Camera on the Pixel 9, that's a known upstream bug introduced in Android 15. We're waiting for a fix from them in the next CameraX release:

https://issuetracker.google.com/issues/374903782

They've merged a fix but a new release is not out yet.

@garcia1987
Copy link
Author

garcia1987 commented Nov 13, 2024

Interesting.

Not using night mode, just standard pictures. Not fiddling with settings in the camera much other than quality and not using latency mode.

Here's a couple of screenshots of what I'm seeing in the gallery app, it's been like this since last night.

Screenshot_20241113-084120

Screenshot_20241113-084112

@MHShetty
Copy link
Member

Hi @garcia1987,

Could you please test the following version of our camera app for this issue?

https://drive.proton.me/urls/K1HMFMRG88#67z8HZrVaMkD

@garcia1987
Copy link
Author

It actually appears to be worse now. The camera is unable to take consecutive pictures in a timely manner. I'm not button mashing (using 10 second intervals) but it's taking upwards of a minute for me to be able to take another picture after the first one.

The gallery is still doing the same thing, but now it's freezing up which is new.

@MHShetty
Copy link
Member

Ah that's really weird. Wanted to test if the new gallery implementation resolves the image not getting displayed but this seems to be a different issue altogether.

Since this issue is impacting multiple apps, it might make more sense to shift it to the OS issue tracker, although it is still uncertain what the actual issue is with your device/OS build

@garcia1987
Copy link
Author

garcia1987 commented Nov 14, 2024

For reference
Build Number: 2024110700

Is there anything I can do on my end to help?

I'm not a dev but I do work desktop support and have been fiddling around with things for the better part of 20 years so I can definitely follow some instructions lol.

Edit: So after a little more messing around I decided to delete several of the pictures from within the gallery and I ended up getting the same issue as I get whenever I take pictures. I killed the process and it started showing images again.

The next thing I did was start flipping through images from within the gallery. Screenshots and downloaded images from the web work without issue, I can get back to the other albums and browse around without issue. Now the interesting part, if I go into the camera gallery and even load a single image and try to back out, it borks the gallery and I get all blank icons unless I kill the process.

I'm kinda wondering if I wasn't misplacing my thought on it being the camera app when it may actually be the gallery app. I guess there is still some correlation there but thought it would be good to update with more info.

Edit edit lol: I reverted back to the stock OS simply because I need my phone for work and it requires me taking pictures often so for the time being I will stay on stock pixel until I get another device that I can use for work. That being said, I went out for the night and took about 30 pictures without touching the gallery until I got home. Once I got home I checked the gallery and there were only two of the images that I took available. I plugged my phone into my computer and looked into the folder where images were being saved to (default dir) and I found all of the pictures that I took with a ".pending-" appended to the front of the image names. All of the images appeared to be completely processed so I moved them to my computer and they were fine.

My experience with GrapheneOS is awesome and I really enjoy it short of the camera/gallery issues that I was having. I would love to tinker with it some more once I get another device but due to needing that specific functionality I need to compensate until I have something else to hold me over while I can help to troubleshoot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants