Status
| Item | Status | Notes |
|---|---|---|
| USB boot | Works | In Developer Mode. |
| Built-in screen, keyboard and touchpad | Works | The touchpad settings apply in Hyprland only. |
Wi-Fi and pacman | Works | MT7925 Wi-Fi chip. |
| Hyprland on the Mali-G57 | Works | Hyprland 0.57.2, without a login screen. New sticks wait for you to choose a desktop. |
| niri + Vitrum Plus v10 | Works | Tested on an existing stick. Installation through tarkin-desktop on a fresh stick is untested. |
| Region screenshot in niri | Works | Super+Shift+S: clipboard and ~/Pictures/Screenshots. |
| Speakers | Works | |
| Bluetooth audio | Works | Tested with one JBL headset. You may have to select it once in pavucontrol. |
| Firefox on the GPU | Works | Through gpuapp. The 4-image WSI layer fixes the freeze under niri; confirmed on the machine. The updated installer on a fresh stick is untested. See Applications on the GPU. |
| Hardware video decoding | Does not work | Video is decoded on the CPU, also with gpuapp. |
| Suspend | Disabled | The idle lock only turns the screen off. |
| GDM login screen | Does not work | Goes black on the first key press. GDM is off by default; tarkin-console starts the selected desktop, or a terminal if none is selected. |
| XFCE with SDDM | Experimental | The SDDM login screen has never been tried on the machine. |
| Automatic first-boot setup | Untested | GPU stack and sound, then a restart into the terminal. No desktop starts by default. Not yet tried from start to finish. |
tarkin-desktop and fresh niri install | Untested | New chooser: niri + Vitrum Plus, Hyprland or no desktop. The new install instructions are also untested from start to finish. |
| USB stick-in-use safety check | Untested | Stops before formatting and lists what holds the stick. Tested with mocks only. |
| Finding the GPU driver on a new stick | Untested | New in v1.40. |
Screen lock and tarkin-update | Untested | New in v1.40. |
| Headphone jack switching, microphones and HDMI | Untested | Run tarkin-audio-test and send a photo of the summary. |
| Touchscreen | Untested | |
| Hyprland with software rendering | Untested | The fallback settings have not been confirmed on the machine. |
| Brightness, keyboard backlight and volume keys | Untested | F6/F7 screen brightness and F8 keyboard backlight are new in v1.50. F13/F14 change the volume. |
| Smooth mode | Works | Confirmed on the machine. Supports niri and Hyprland; off by default. See Smooth mode. |
| First-boot failure report | Untested | New in v1.50. Terminals show the step that failed. |
| Updating a stick made before v1.40 | Untested | New in v1.50. See Older sticks. |
The stick runs the ChromeOS kernel, signed again with the developer keys. It is never replaced by an Arch kernel. The tests in tests/ run against mocks, not the hardware.
Install
You need the Chromebook in Developer Mode, a USB stick or USB SSD of 8 GB or more, and a WPA2 Wi-Fi network. A phone hotspot works.
VT2 has no copy and paste: type its commands by hand.
-
Download the repository
In ChromeOS, save the v1.60 source ZIP in Downloads. Keep its file name.
-
Unpack it in the ChromeOS terminal
Press Ctrl+Alt+T, then type:
shellUnpack the ZIP:
cd /var/tmp bsdtar -xf ~/MyFiles/Downloads/boot-arch-linux-on-CM1406-asus-without-using-ssh-1.60.zip lslsshould list the folderboot-arch-linux-on-CM1406-asus-without-using-ssh-1.60. -
Write the USB stick from VT2
Plug in the stick. Press Ctrl+Alt+Refresh and log in as
chronos. Type:cd /var/tmp/boot-arch-linux-on-CM1406-asus-without-using-ssh-1.60 sudo bash install.shsudoonly works in VT2, not in the Ctrl+Alt+T terminal. The installer downloads the Arch Linux ARM rootfs, asks you to type the stick’s name, writes the stick and asks twice for a password for the useralarm. If it is interrupted, run the same command again: it resumes.The password needs at least 8 characters and must not contain
alarm. VT2 is always QWERTY, while the stick uses the French layout by default. Unless you pass--keymap us, the installer only accepts these letters, upper or lower case, which are on the same keys in both layouts:b c d e f g h i j k l n o p r s t u v xOptions go after
install.sh, for examplesudo bash install.sh --keymap us.sudo bash install.sh --helplists them. -
Boot from the stick
Reboot with the stick plugged in. At the “OS verification is OFF” screen, press Ctrl+U or choose “Boot from external disk”.
-
Wait for the first-boot setup
The first boot installs the GPU stack, sound and Hyprland files. It takes 20 to 60 minutes and needs Wi-Fi. Do not power off. The machine then restarts once into the terminal. No desktop starts automatically. The terminal tells you to run
tarkin-desktop. This whole first-boot setup is still untested on the machine.To follow it:
tail -f /var/log/tarkin-firstboot.logIf the setup fails, every new terminal shows the step that failed, the reason and what to type. The same text is in
/var/lib/tarkin/firstboot.reason. Fix the cause (often the network), read the end of the log, then run the setup again asalarm, withoutsudo:tail -n 40 /var/log/tarkin-firstboot.log bash ~/install-hyprland.sh --no-autostart -
Choose a desktop
As
alarm, withoutsudo, run:tarkin-desktopChoose 1) niri + Vitrum Plus v10, 2) Hyprland with the base config, or 3) none. It installs what is missing and offers to restart. The chooser and a fresh niri installation have not yet been tried on the machine.
Run it again any time to switch. To stop starting a desktop at boot:
tarkin-desktop --noneTo remove the niri and Vitrum setup and return to the terminal:
tarkin-desktop --undo-niriThis restores the saved files and removes the system-access changes. Packages stay installed; it prints the removal command for the packages it added. To switch to Hyprland without removing niri, use
tarkin-desktop --hyprland. Changes apply at the next boot.
If you already know which desktop you want, sudo bash install.sh --wm niri or sudo bash install.sh --wm hyprland preselects it during installation. Only these optional flags bypass the terminal-only first boot.
niri + Vitrum Plus
Vitrum Plus v10 is the Quickshell desktop for niri: top bar, dock, control centre and widgets. The dock and widgets keep their existing look. niri with Vitrum Plus v10 works on the CM1406; the new all-in-one installation is still untested.
In niri, Super+Enter opens a terminal. Super+Shift+S selects a screenshot region. Press Enter or Space to copy it to the clipboard and save it in ~/Pictures/Screenshots. The screenshot shortcut has been tested on the machine.
The chooser installs niri with the EGL fix, Quickshell and Vitrum Plus. If niri fails to start, the launcher tries Hyprland. See Install for switching and undo commands.
Vitrum Plus includes widgets from MacShell-niri (MIT, Rickky) and the Open Runde font (SIL Open Font License 1.1). Notices are in the release’s LICENSE.
Applications on the GPU
By default only the desktop uses the GPU. Applications render on the CPU (Mesa llvmpipe).
install-gpuapp.sh is optional. It installs a launcher, gpuapp, that runs one program on the Mali-G57 through Mesa Zink and the Vulkan driver in the ChromeOS libmali. It builds ARM’s vulkan-wsi-layer on the stick with a patch from zoan37. Nothing is set system-wide: a program started without gpuapp still renders on the CPU.
Run it as alarm, without sudo, in a terminal of niri or Hyprland (Super+Enter):
bash ~/install-gpuapp.shCheck that it works:
gpuapp --checkIt prints apps on the GPU: yes (…) or apps on the GPU: no (reason). Then start a program with it. Close the normal Firefox first:
gpuapp firefoxWhen Firefox is installed, the script also adds a “Firefox (GPU)” menu entry. To remove everything the script installed (the packages stay):
bash ~/install-gpuapp.sh --removeOn the CM1406, gpuapp --check answered apps on the GPU: yes (zink Vulkan 1.4(Mali-G57 (ARM_PROPRIETARY))), and Firefox reported WebRender on that renderer in about:support. There are no benchmark numbers. --remove has only been run against mocks.
Firefox freezing under niri
The Vulkan WSI layer now provides at least 4 images per window instead of 2. With 2, Firefox could wait forever for a free buffer. The 4-image fix has been tested on the CM1406: Firefox on the GPU no longer freezes.
On an existing stick, unpack the v1.60 source ZIP and run the updated script from that unpacked folder to rebuild an older layer:
bash install-gpuapp.shA layer already fixed to 4 images is kept. Close and reopen GPU applications afterwards. This updated installer has not yet been tried on a fresh stick.
The old layer is saved in /usr/local/lib/tarkin-gpu/vulkan/layer/backup-min-images-2. To restore it exactly:
bash ~/install-gpuapp.sh --layer-rollbackRestart GPU applications after restoring it. The old 2-image layer can freeze Firefox again.
Limits: Wayland programs only. X11 programs fail, Chromium and Electron applications fall back to the CPU, Qt Quick applications crash under Zink, and video is still decoded on the CPU.
Smooth mode
Optional and off by default. It sets the GPU minimum frequency to 526 MHz instead of 390 MHz and keeps niri or Hyprland on the two fast CPU cores. It stays on after a reboot and uses more power. Applications do not get the compositor’s CPU setting.
sudo tarkin-smooth onTo show the current values, or to go back to the factory values:
tarkin-smooth status
sudo tarkin-smooth offSmooth mode has been tested on the CM1406. The desktop feels smoother; there are no benchmark numbers. The service reapplies the GPU floor if it drops. When the GPU is hot, the kernel can lower the maximum frequency; status reports that limit.
Older sticks
To bring a stick made with an older version up to date, unpack the v1.60 source ZIP on the stick, go into the unpacked folder and run this as alarm, without sudo. The script needs the rootfs/ folder next to it.
bash install-hyprland.shOn a stick made before v1.40, it installs tarkin-display and, when GDM came from an older version, turns GDM off for the next boot. The running screen is not stopped. With SDDM or another login screen, it stops and says which tarkin-display command to run.
Known problems and included fixes
The touchpad ignores light touches
The included /etc/libinput/local-overrides.quirks sets the pressure thresholds to 15:10 instead of libinput’s 25:30. With the default, a light touch is ignored and the pointer freezes while libinput still reports motion.
Sound routing and distorted output
The included tarkin-audio service keeps PipeWire on the pro-audio profile and switches the routes of the ChromeOS use case profile with alsaucm. Headphone jack switching and the microphones are untested. WirePlumber forces 16-bit, 48 kHz output because the 24-bit format PipeWire picks by default sounds distorted.
The desktop does not start
On a new v1.60 stick, a plain terminal after setup is expected: run tarkin-desktop first. Once a desktop is selected, niri falls back to Hyprland if it fails. Hyprland tries its Mali launcher, default settings, software rendering, then the terminal. The software rendering settings have not been confirmed on the CM1406.
“No usable libmali” during the first boot
Copy a working libmali.so to the stick, then run:
bash ~/install-hyprland.sh --mali-source /path/to/libmali.so --no-autostartNo internet on the stick
When names do not resolve but ping 1.1.1.1 works, this sets Cloudflare then Quad9 as DNS servers on wlan0. --keep makes it permanent and ignores the router’s DNS. If that does not help, run sudo tarkin-diag.
sudo tarkin-dns --keepIt boots ChromeOS instead of the stick
In ChromeOS VT2, from the unpacked folder:
sudo bash scripts/repair-boot.shBlack screen, or stuck on the logo
Boot ChromeOS, then run this in VT2, from the unpacked folder:
sudo bash scripts/check-usb.shReport a bug
On the stick, run:
sudo tarkin-diagIt prints Report written to: followed by the path of the report, ~/tarkin-diag-<date>.txt. Read the file before you post it, then send it or paste its contents.
The report covers the system, the console and Hyprland logs, crash reports, the GPU, touchpad, Wi-Fi, Bluetooth, audio, battery and pacman. Wi-Fi names, passwords and MAC addresses are masked.
For a sound problem, run this as alarm, without sudo, and send a photo of the summary:
tarkin-audio-testDo not publish HWIDs, serial numbers, MAC addresses, partition UUIDs, Wi-Fi credentials or GitHub tokens.
Download
v1.60 source ZIP, from the v1.60 release on GitHub. On the release page it is “Source code (zip)”. The commands on this page use its folder name, boot-arch-linux-on-CM1406-asus-without-using-ssh-1.60.
The separate boot-arch-linux-on-CM1406.zip release asset contains the same release files but unpacks as boot-arch-linux-on-CM1406-v1.60. Its SHA-256 is 0ace66d6570077cf29ad35b46d395e0c55a4be7155ef440bc1e95f99099363df. This checksum is for that asset, not GitHub’s source ZIP.
Changelog
- v1.60
- First boot stops at a terminal;
tarkin-desktopchooses niri + Vitrum Plus v10, Hyprland or no desktop. Adds the niri EGL fix and Super+Shift+S screenshot. Fixes the Firefox GPU freeze with a 4-image WSI layer, supports niri in smooth mode and reapplies its GPU floor. Checks whether a USB stick is in use before formatting. niri + Vitrum Plus v10, screenshots, the Firefox fix and smooth mode work on the CM1406. The complete first boot, chooser, fresh install and new install instructions are still untested on the machine. - v1.50
- Adds F6/F7 for screen brightness, F8 for the keyboard backlight, the optional smooth mode (
sudo tarkin-smooth) and a first-boot failure report that names the step that failed. Fixesinstall-gpuapp.shon a new stick (it now installspkgconf), rerunninginstall-hyprland.shon a stick made before v1.40, and a first boot that stopped on optional parts. Not yet tested on the CM1406. - v1.40
- Adds the optional
gpuapplauncher (install-gpuapp.sh), automatic Bluetooth setup, a screen lock without suspend,sudo tarkin-update(a full update that keeps the kernel packages back),sudo tarkin-displayto choose what starts at the next boot, optional XFCE with SDDM (experimental), offline display recovery from ChromeOS and an optional Firefox DRM helper. The GPU driver search on a new stick no longer assumes ext4. Only thegpuapplauncher has been run on the CM1406; the rest is untested there. - v1.35
- Adds the one-command, resumable installer, the automatic first-boot setup, sound that follows the headset jack,
scripts/repair-boot.shand a required password. Fixes the rootfs download after a network cut and the password question that always said the two entries differ.
Details are in CHANGELOG.md.