Minimal Wayland compositor in RISC-V assembly
A minimal Wayland compositor for Linux targeting AMD GPUs without libdrm, written in 64-bit RISC-V assembly and run on x86_64 via a small RISC-V machine-code interpreter written in x86_64 assembly. Programs use a deliberately simple custom file format wrapped in an ELF capsule. It starts with SHM buffer support (linux dma-buf planned later), already includes AMD GPU code for SHM, and speaks the Wayland wire format natively instead of using the Wayland project's C libraries. The author wants to move away from X11 and may fork xwayland for legacy compatibility with the Steam client and some games.
What it addresses
Offers a path away from X11 on Linux; legacy compatibility with X11 software such as the Steam client and some games remains a challenge that may require a forked xwayland.
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Minimal Wayland compositor in RISC-V assembly
A minimal Wayland compositor for Linux targeting AMD GPUs without libdrm, written in 64-bit RISC-V assembly and run on x86_64 via a small RISC-V machine-code interpreter written in x86_64 assembly. Programs use a deliberately simple custom file format wrapped in an ELF capsule. It starts with SHM buffer support (linux dma-buf planned later), already includes AMD GPU code for SHM, and speaks the Wayland wire format natively instead of using the Wayland project's C libraries. The author wants to move away from X11 and may fork xwayland for legacy compatibility with the Steam client and some games.
Problem: Offers a path away from X11 on Linux; legacy compatibility with X11 software such as the Steam client and some games remains a challenge that may require a forked xwayland.
Posted by @sylware · Original source ↗
Source text · @sylware · · Source ↗
On and off, I am currently coding a minimal wayland compositor for linux and AMD GPU(no libdrm), in RISC-V assembly (64bits), which I run on x86_64 with a small RISC-V machine code interpreter written itself in x86_64 assembly.