Vulkan on the Amiga
Vulkan 1.1 for AmigaOS 3 (68k): the same vulkan.library runs programs on a
real Amiga 1200 with a PiStorm/Emu68 on the Raspberry Pi 4's GPU, and in WinUAE on the PC's
graphics card.
What is it?
Vulkan is the modern, low-level 3D interface of today's GPUs. This project brings it to
AmigaOS 3: a 68k program opens vulkan.library and uses the normal Vulkan API.
Behind the library are two back ends that share that one interface:
- A1200 with PiStorm/Emu68: the Raspberry Pi 4's own GPU (VideoCore VI / V3D 4.2), driven straight from AmigaOS.
- WinUAE: QuarkTex NG hands the Vulkan calls to the PC's graphics card.
The same 68k program files run in both places, unchanged.
- API
- Vulkan 1.1 + dynamic rendering + timeline semaphores + surfaces/swapchains (own
VK_AMIGA_window_surface) - System
- AmigaOS 3 (68k)
- Real Amiga
- Amiga 1200 + PiStorm/Emu68 + Raspberry Pi 4 (VideoCore VI / V3D 4.2)
- Emulator
- WinUAE with QuarkTex NG, on the PC's graphics card
- Status
- In development; a release is planned
How it works
On the A1200: the Pi 4's GPU
- Mesa's open-source Vulkan driver for the Pi 4 (
v3dv) is compiled for the 68k and runs on the Amiga itself as a server process (v3dvk-server), next to a smallvulkan.librarythat programs open. - It drives the GPU directly from AmigaOS: no Linux, and nothing runs on the Pi side but Emu68.
- The shader compiler (SPIR-V to GPU code) runs on the Amiga too. Compiled pipelines are kept in a cache on disk, so a second start is fast.
- The hardware layer builds on PiStorm3D's V3D code (Dennis van der Boon and Steffen Häuser) and on the work of R-Typer and Ladislawv (ogles3), who showed the way to drive the V3D from 68k code (see Credits).
- Several Vulkan programs can run at once and share the GPU fairly. Pictures go straight into windows or onto their own screens, with vsync.
In WinUAE: QuarkTex NG
- QuarkTex NG is a 3D driver package for WinUAE (Warp3D, StormMESA, MiniGL, ogles2, ogles3). Its
vulkan.libraryhands the Vulkan calls to the PC's graphics card. - By default it shows the Pi 4's limits (a “Pi 4 profile”), so a program tested in WinUAE runs the same way on the A1200.
Two upscalers
For programs that draw their pictures themselves (software renderers, emulators): the program draws a small picture, and the library scales it up to the window's size on the GPU and shows it.
pisgsr.library: Snapdragon Game Super Resolution 1 (Qualcomm), or bilinear + RCAS.pifsr.library: AMD FidelityFX Super Resolution 1 (EASU + RCAS).- Both are also built into the server, so any Vulkan program can be scaled when it presents.
Performance
All figures were measured on the A1200 with PiStorm/Emu68 and a Raspberry Pi 4.
vkQuake
vkQuake is Quake 1 on Vulkan. Sound goes through AHI or Paula; the mission packs, fullscreen and window resizing work.
| Test | fps |
|---|---|
timedemo demo1, 640×480 window | 44.6 |
timedemo demo1, 640×480 fullscreen | 44.2 |
| Playing, 1280×720 window (the screenshots above) | 39–44 |
timedemo demo1, 640×480 window: fps after each stepShow as a table
| Step | fps |
|---|---|
| First run (12.11.2026) | 8.9 |
| Commands queued in the library | 24.7 |
| Pictures straight from GPU memory | 25.6 |
| Rendering into the screen, no waiting | 30.0 |
| Asynchronous submits | 35.0 |
| Own clock and memory allocator in the server | 38.0 |
| GPU job queue | 39.4 |
| Fewer cache cleans | 40.8 |
| Mip levels made by the GPU's texture unit | 41.7 |
| GPU copies the picture into the window | 44.5 |
Sascha Willems' Vulkan examples
The well-known Vulkan examples by Sascha Willems, compiled for the 68k and run in a 1280×720 window. All of them showed the right picture on the first run.
| Example | What it shows | fps |
|---|---|---|
triangle | the first triangle | 234 |
texture | a texture, LOD bias | 149 |
computenbody | N-body particles on compute shaders (3,072 particles) | 69 |
texturecubemap | cubemap skybox and reflections | 52 |
particlesystem | fire and smoke, normal-mapped floor | 49 |
offscreen | mirror (render to texture, clip planes) | 43 |
bloom | glow: offscreen pass + two blur passes | 40 |
pbrbasic | physically based shading | 36 |
parallaxmapping | parallax occlusion mapping | 33 |
radialblur | full-screen radial blur | 20 |
computeshader | image filters on compute shaders | 18 |
instancing | 8,192 asteroids in one draw (instancing) | 15 |
deferred | deferred shading, many lights | 14 (33 at 640×360) |
Sponza | the Sponza atrium, deferred | 9 (22 at 640×360, 33 later) |
ssao | screen space ambient occlusion on Sponza | 3 |
Boing Ocean
A port of an ogles3 demo. At 640×480 on its own screen it runs at 53.2 fps; with the built-in upscaler at half resolution, at 97.9 fps.
Upscalers
The 68k draws a 320×240 picture every frame, and it is shown in a 640×480 window.
| Library and mode | fps |
|---|---|
pisgsr, bilinear | 242 |
pisgsr, SGSR 1 | 152 |
pifsr, EASU + RCAS (FSR 1) | 124 |
pifsr, one pass | 154 |
GPU time for 320×240 → 640×480: bilinear 0.7 ms, SGSR 4.3 ms, FSR 1 (mobile EASU + RCAS) 5.7 ms. A program whose drawing costs about 30 ms a frame at 640×480 runs 2.4× faster when it draws at 320×240 and scales up with SGSR.
Screenshots
All taken on the real A1200 (PiStorm/Emu68, Raspberry Pi 4) on a 1920×1080 Workbench, cropped to the program's window. Click a picture for the full size.
Status
- Working: Vulkan 1.1 on the A1200's GPU and in WinUAE; vkQuake; more than 15 of Sascha Willems' examples; several programs at once; the upscalers.
- In progress: more games (Jedi Outcast and Return to Castle Wolfenstein run through
vulkan.libraryin WinUAE, not yet on the A1200), speed, and an SDK for developers. - Release: planned. There is no download yet; this page will be updated when there is one.
Credits
This project would not exist without the work and help of others:
- R-Typer and Ladislawv (ogles2/ogles3 for the Pi), who showed the way to drive the Pi 4's V3D from 68k code.
- Dennis van der Boon and Steffen Häuser (PiStorm3D), whose V3D code the hardware layer builds on.
- Lukasz Paczko, for testing.
- Mesa's
v3dvdevelopers, for the open-source Vulkan driver, and Sascha Willems, for the Vulkan examples.
Thank you.

