When running pi.dev in the default terminal and Tilix, occasionally there are severe screen flickering and text jumping, it occurs more frequently while the model waiting for user inputs. According to Gemini AI, this happens because the default terminal struggles to handle rapid frame redraws inside the Crostini Linux container. It is not a deal breaker but annoying enought to my old eyes.
I installed Ghostty, no flickering or text jump, however, there is an obvious lag when typing. After enabling GPU support, reboot, Ghostty works smoothly.
The following guide is generated by Gemini AI.
Step 1: Enable ChromeOS GPU Support
Before installing Ghostty, you must ensure your Chromebook’s Linux environment has direct access to your graphics hardware.
- Open a new Chrome browser tab and navigate to:
chrome://flags - Search for Crostini GPU Support.
- Change the setting from Default to Enabled.
- Click the blue Restart prompt at the bottom right to apply changes.
Step 2: Install Ghostty on Linux
Because Ghostty is not available in standard Debian stable channels, you can install it using the trusted community setup script. Open your default terminal app and execute:
1/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/mkasberg/ghostty-ubuntu/HEAD/install.sh)"
Follow the on-screen prompts to complete the installation. Once finished, you can launch Ghostty directly from your ChromeOS application drawer (under Linux Apps).
Step 3: Verify Hardware Acceleration with glxinfo
To confirm that Ghostty is running natively on your hardware graphics card rather than falling back to an unaccelerated, laggy software emulator, you can check the OpenGL reporting metrics inside the container.
- Install the baseline Mesa graphics utilities:
1sudo apt update && sudo apt install -y mesa-utils - Query your active OpenGL graphics pipeline renderer details:
1glxinfo -B
Reading Your Results
- GPU Accelerated (Correct): If the output lists
Accelerated: yesand theDevice:line showsvirglalongside your graphics card framework (e.g., Mesa Intel(R) HD Graphics 630), your GPU is handling the text rendering pipeline. - Software Rendered (Slow): If the device reads
llvmpipe, hardware virtualization failed. You will need to explicitly grant user permissions by runningsudo usermod -a -G video,render $USERand restarting your Linux subsystem.