Tech News
← Back to articles

Google’s Pixel 10 can now run Linux apps better than other Android phones

read original related products more articles

Joe Maring / Android Authority

TL;DR Google is adding GPU acceleration for graphical Linux apps to Android’s Terminal app, but the feature is currently exclusive to the Pixel 10.

This feature relies on Gfxstream, a library that forwards graphics API calls from the guest Linux virtual machine to the host Android device’s GPU for accelerated rendering.

Though the feature is live for Pixel 10 users in Android 16 QPR2 Beta 3, it’s still buggy and doesn’t yet offer the near-native performance expected.

Back in March, Google introduced the Linux Terminal app to Android, which uses virtualization to run full-fledged Linux programs on Android devices. While the initial release only supported command-line apps, Google is addressing that limitation in the upcoming Android 16 QPR2 update.

Even though Android 16 QPR2 will add support for graphical desktop Linux apps, they will run poorly on most Android devices. This is because the Linux Terminal app currently relies on a software-based renderer called Lavapipe. Lavapipe uses the device’s CPU for complex calculations and rasterization (the process of converting vector graphics into pixels) — tasks that the device’s GPU can perform much more quickly and efficiently.

To solve this performance bottleneck, Google is working to bring Gfxstream support to the Terminal app. Gfxstream is a graphics virtualization technology that forwards graphics API calls from the guest Linux virtual machine directly to the host Android device, enabling GPU-accelerated rendering for Linux apps.

While digging through last month’s 2509 Android Canary release, I spotted a new “Graphics Acceleration” menu in the Terminal app’s settings. Although the menu only showed a toggle for the existing software renderer, I found evidence of a second, hidden option for a new “GPU-accelerated renderer.” After examining the app’s code, I determined this new renderer was Gfxstream.

Mishaal Rahman / Android Authority

Following the release of Android 16 QPR2 Beta 3 last week, Reddit user Unlucky_Drive6363 discovered that GPU acceleration for Linux apps was enabled on their Pixel 10 smartphone. The user shared a screenshot showing a Linux program detecting the phone’s Vulkan graphics driver and confirmed to me that the “Graphics Acceleration” menu appeared in their Terminal app’s settings.

... continue reading