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

Sepolicy change for Pixel 7 / 7 Pro #1841

Closed
popogomo opened this issue Dec 20, 2022 · 3 comments
Closed

Sepolicy change for Pixel 7 / 7 Pro #1841

popogomo opened this issue Dec 20, 2022 · 3 comments

Comments

@popogomo
Copy link

Google Camera's processing speed is very slow on Pixel 7 / 7 Pro devices, especially, Portrait processing that take over a minute to process. Many people reported this issue on GOS forums: https://discuss.grapheneos.org/d/1815-google-camera-very-slow-portrait-mode-processing/25

There was an sepolicy change needed for the Pixel 6 / 6 Pro in order to allow the camera software to access the DSP for accelerated image processing. Before that, Google Camera on Pixel 6 was slow too (please see here: https://issuetracker.google.com/issues/227166806#comment8

Was that change incorporated in the Pixel 7? Has it been properly validated that it doesn't need some tweaking for the minor differences? Thanks.

@thestinger thestinger closed this as not planned Won't fix, can't repro, duplicate, stale Dec 20, 2022
@thestinger
Copy link
Member

It works fine on the Pixel 6 without privileged hardware access. It will likely get fixed in Google Camera.

@girlbossceo
Copy link

The sepolicy being referenced was intentionally removed by GrapheneOS to simply prevent it having privileged direct hardware access as attack surface reduction. Nothing is blocking it from using the hardware unprivileged at the cost of processing performance, it just does not have privileged direct access like it does on stock OS.

No plans to add this sepolicy back. Said issue will likely get fixed.

@thestinger
Copy link
Member

@Rubber-Duckie Full Tensor image processing functionality is available to Pixel Camera on GrapheneOS. Not sure why you're posting here, but you're completely wrong and misusing this as a discussion board.

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