Avatar
GrapheneOS (RSS Feed)
2306b336f168f4add8da924dae907d2a6b9c13fb0a06672bd7708295dec75da7
Public posts from @GrapheneOS@grapheneos.social https://grapheneos.social/@GrapheneOS

Linux 6.1 replaced important core kernel code with a significantly more complex new implementation (maple trees) that's not yet battle hardened. It should have been given more time to mature before making it into the only available option. It's causing issues for a lot of people.

https://grapheneos.social/@GrapheneOS/110282681321857743

The kernel version ranges listed above where Android builds work still have severe issues. They tried to fix those issues at the expense of regressing this again even though there are test cases for this that are now failing. These regressions are in no way hardware specific.

https://grapheneos.social/@GrapheneOS/110282669089379376

Linux 6.2.13 and 6.1.26 have broken Android builds again by resolving some mmap regressions at the expense of reintroducing others. mmap has been broken since 6.1.

https://grapheneos.social/@GrapheneOS/110121891995898025 (https://grapheneos.social/@GrapheneOS/110121891995898025)

The usable 6.1/6.2 kernel versions are 6.2.9 through 6.2.12 and 6.1.22 through 6.1.25.

https://grapheneos.social/@GrapheneOS/110282667559902215

We use broadcom.psds.grapheneos.org as default PSDS source for 6th/7th generation Pixels with a toggle to choose standard Google cache instead. We obtain data from Broadcom's service since it can be fresher than Google's cache.

Our Qualcomm PSDS cache will be shipped for 4th/5th gen.

https://grapheneos.social/@GrapheneOS/110271573467058591

Since access to TPU/GXP doesn't provide access to any additional data and the apps able to use them aren't installed by default, we'll be enabling this toggle by default for ease of use. By default, only difference will be faster Google Camera on Pixel 7 and 7 Pro via GXP access.

https://grapheneos.social/@GrapheneOS/110152368311031519

Google Camera uses the TPU on 6th generation Pixels which already works fine on GrapheneOS. On 7th generation Pixels, it uses both the TPU and the new GXP accelerator. It needs a special SELinux domain to access the GXP and we didn't have it set up so post-processing was slower.

https://grapheneos.social/@GrapheneOS/110152368003083180

Android Neural Networks API needs to abstract across different Android hardware including the Snapdragon DSP and Tensor TPU. Multiple Google apps directly use TPU to provide more acceleration. This is currently allowed but it adds extra attack surface so we're making it optional.

https://grapheneos.social/@GrapheneOS/110152367607004554

Tensor's hardware accelerators are isolated components respecting app sandboxing. Every app can use TPU via Neural Networks API (https://developer.android.com/ndk/guides/neuralnetworks (https://developer.android.com/ndk/guides/neuralnetworks)). Apps using Camera2 API in a certain way or using CameraX get hardware accelerated HDR+ taking advantage of TPU and/or GXP.

https://grapheneos.social/@GrapheneOS/110152367175225751

Our next release includes a toggle for users to choose whether Google apps they install can directly use Pixel hardware accelerators. This controls direct access to Tensor TPU on both 6th/7th generation Pixels and also direct access to the GXP for Google Camera on 7th gen Pixels.

#grapheneos (https://grapheneos.social/tags/grapheneos)#tensor (https://grapheneos.social/tags/tensor)#tpu (https://grapheneos.social/tags/tpu)#gxp (https://grapheneos.social/tags/gxp)#pixel (https://grapheneos.social/tags/pixel)#GoogleCamera (https://grapheneos.social/tags/GoogleCamera)

https://grapheneos.social/@GrapheneOS/110152366738775752