r/Googlebook • u/mateusseiboth • 8h ago
UPDATE: LineageOS for PCs: video on the GPU, Chromium desktop as the browser, and two weeks of fixes
Thanks again for every log, test and issue. A lot of what's below was found by people running it on their own hardware, and some fixes came straight from your analysis.
ISO (Google apps and microG editions): https://sourceforge.net/projects/capivaos/files/android-17/
If you already have it installed, open System updates and it will offer version 20261201-2051.
Video on the GPU
Videos now play on the graphics card's video engine instead of the processor: H.264, HEVC, VP8 and VP9. Screen and camera recording use the GPU's H.264 encoder too, and nothing is copied on the way. On my AMD Ryzen 5600G a 1080p video decodes at more than 700 frames per second, and the decoded frames were bit-identical to ffmpeg's.
It's on for every GPU, but I only tried it on that AMD. Intel, older AMD and NVIDIA through nouveau are untested, so I'd really like to hear how it goes. If video breaks on your PC, adb shell setprop persist.vendor.pc.hwvideo 0 and a restart put software video back. AV1 stays in software for now.
Chromium is the browser
The desktop build of Chromium for Android, with the tab strip and extensions, replaces Jelly. It's signed with a key of this project and updates with the system. Jelly's bookmarks and history are not moved, so save what you need before updating.
Desktop
- Single bar: an option in Settings > System puts the clock, notifications and quick settings at the right end of the taskbar, so the screen has one bar instead of two.
- Linux apps show their tray icons in the status bar, with their menus, and a full-screen game or app covers the whole display.
- Keyboard languages: an indicator in the bar switches between them.
- Maximized windows follow a screen rotation or a resolution change, and the color palette survives a restart.
Power and hardware
- Power settings: performance profiles, what the power button and the lid do, a charge limit at 80% on laptops that allow it, and processor and fan controls. On battery the computer saves power by itself.
- Microphones work on HD Audio laptops and on Intel audio DSP laptops such as the Surface Pro 7. Chromebooks with Intel AVS sound get their speakers and microphone.
- USB webcams open, and camera apps can record video.
- Laptops with an NVIDIA card next to Intel or AMD no longer start on it or run hot. NVIDIA cards themselves aren't supported yet.
- Surface: linux-surface's kernel patches, so the touch screen, pen, Type Cover, sensors and Marvell Wi-Fi work. Touch keeps working after closing the cover.
- VMware and VirtualBox show the desktop with 3D acceleration on, and every resolution can be picked.
Installing and updating
- Persistent live USB: a GRUB entry keeps apps and files on the stick.
- System updates works with Ventoy, btrfs and Rufus's ISO mode, and Android notices each update now.
- Disks formats small FAT32 partitions and boots with Intel VMD ("RAID On").
- Diagnostics > Logs saves the logs of the last three starts, and a kernel panic shows the reason in plain words.
Known issues
- The GPU video above is only tested on one AMD PC.
- The built-in cameras of the Surface Go 4 and newer still don't show up. They need a camera HAL I can't build without the hardware.
- NVIDIA cards run without acceleration.
- In a VM, a video can freeze the screen. That comes from the VM's virtual GPU, not from real graphics cards.
If you try it, tell me your hardware and what broke. Diagnostics > Logs saves everything I need.
What other features would you like to have in the system?
Source and repo for the issues: https://github.com/mateusseiboth/android_device_pc_x86_64
