Skip navigation
This is Chromium... inside Linux... running on my browser. 🤠
0:00 / 0:33

This is Chromium... inside Linux... running on my browser. 🤠

Pooya Parsa

@_pi0_15K followers

Visit on X
530 likesDownloadOriginal post

20,105 views

This is Chromium... inside Linux... running on my browser. 🤠 unkernel now has a GPU and a Desktop that runs unmodified Wayland, X and GL apps with hardware acceleration in high resolution.

40 Comments

Comments from the original post on X (Twitter)

  • Pooya Parsa's profile picture

    @_pi0_

    The demo above runs Linux 7.3 compiled to a single wasm module, with unmodified Debian packages on an ARM CPU emulator. The stock virtio_gpu driver talks to virglrenderer (wasm) on WebGL2. GL frames never leave the GPU, other windows are read in place from shared memory.

    23 likes

  • Pooya Parsa's profile picture

    @_pi0_

    A relay in the guest streams Wayland windows to the page over vsock. GL windows come straight from the GPU, which is why they are so fast. Clipboard, cursors and Window management just work, thanks to Wayland and Wland, which renders it all directly in the browser.

    15 likes

  • Pooya Parsa's profile picture

    @_pi0_

    Legacy X Apps (via xwayland) and Game Windows are also supported!

    10 likes

  • Pooya Parsa's profile picture

    @_pi0_

    If you are using unkernel SDK, here's how to wire up the GPU and Wayland windows:

    13 likes

  • Pooya Parsa's profile picture

    @_pi0_

    Give it a try:

    12 likes

  • Pooya Parsa's profile picture

    @_pi0_

    GitHub:

    17 likes

  • Balázs Németh's profile picture

    @zsilbi

    nice

    16 likes

  • Pooya Parsa's profile picture

    @_pi0_

    Honestly i never dared to even try this myself 😂🤯

    7 likes

  • .claude/agents/gorilla.md's profile picture

    @nainemom

    :D

    8 likes

  • Axel Garcia K. 🇬🇧 Dev's profile picture

    @AxelGarciaK

    Great job! Unkernel is such an interesting project, keep it up!

    4 likes

  • sanixdk's profile picture

    @sanixdarker

    Big fan of this project, keep it up please 💪🏾

    2 likes

  • 🅅🄸🄽🄰🅈🄰🄺's profile picture

    @_vinayak_k

    I think this might be a good time to test out maplibre-gl native in browser 😉

    2 likes

  • Taher's profile picture

    @entrptaher

    What if you run chrome inside unkernel Iinside chrome inside unkernel inside chrome inside...

    2 likes

  • Constantine Fomchenkov's profile picture

    @Constantinefom

    Very cool! So the Linux VM in this demo runs locally in the browser via WASM, with shared memory/GPU access? Have you also tested wland with a remote Linux host over a WAN? I’m trying that setup and seeing noticeable lag when playing video, especially as the window gets larger. I see the copy path uses lossless LZ4 on changed pixel regions - great for crisp text/UI, but moving content can still generate a lot of traffic. For context, I compared the same 480p25 video on the same 2-vCPU cloud machine with software rendering: wland over WSS: ~110 Mbps X11 capture + VP8 over WebRTC/UDP: ~1.6 Mbps wland actually had lower idle input-to-pixels latency: ~47 ms versus ~127 ms. The capture and network paths differed, so this was a comparison of complete setups, not just codecs. Have you experimented with something like this?

    2 likes

  • User Friendly's profile picture

    @codemodify

    good shit

    1 like

  • Hybrid 🏃🏾's profile picture

    @markfenner

    How many browsers deep did you go before you called it a day? 😂

    1 like

  • henrique cunha's profile picture

    @henrycunh

    so sick!!

    1 like

  • Zack Jackson's profile picture

    @ScriptedAlchemy

    Does it work on safari....

    1 like

  • Pooya Parsa's profile picture

    @_pi0_

    Yes all major browsers.

    1 like

  • Zack Jackson's profile picture

    @ScriptedAlchemy

    So I’ll finally be able to run omarchy on my iPhone