antegre.com
Work:Docs/Vulkan.guide

Vulkan on the Amiga

In development · Vulkan 1.1 · AmigaOS 3 (68k) · A1200 + PiStorm/Emu68 + Raspberry Pi 4 · WinUAE (QuarkTex NG)

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.

In development This project is still being developed. A release is planned, but there is no download yet. The screenshots and figures below come from the current development builds.
vkQuake on the A1200, on the A1200
vkQuake on the A1200, 1280×720 window, 39 fps.
vkQuake on the A1200, on the A1200
vkQuake on the A1200, 1280×720 window, 44 fps.

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 small vulkan.library that 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.library hands 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.
Byte order Data in GPU memory is little-endian, while the 68k is big-endian. The ported programs convert their uploads.

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.

Testfps
timedemo demo1, 640×480 window44.6
timedemo demo1, 640×480 fullscreen44.2
Playing, 1280×720 window (the screenshots above)39–44
vkQuake timedemo demo1, 640×480 window: fps after each step
  1. First run (12.11.2026)8.9
  2. Commands queued in the library24.7 fps
  3. Pictures straight from GPU memory25.6 fps
  4. Rendering into the screen, no waiting30.0 fps
  5. Asynchronous submits35.0 fps
  6. Own clock and memory allocator in the server38.0 fps
  7. GPU job queue39.4 fps
  8. Fewer cache cleans40.8 fps
  9. Mip levels made by the GPU's texture unit41.7 fps
  10. GPU copies the picture into the window44.5
From 8.9 to 44.5 fps in ten steps, five times the first run's speed, measured with the same demo and window. Point at a bar to see its value.
Show as a table
Stepfps
First run (12.11.2026)8.9
Commands queued in the library24.7
Pictures straight from GPU memory25.6
Rendering into the screen, no waiting30.0
Asynchronous submits35.0
Own clock and memory allocator in the server38.0
GPU job queue39.4
Fewer cache cleans40.8
Mip levels made by the GPU's texture unit41.7
GPU copies the picture into the window44.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.

ExampleWhat it showsfps
trianglethe first triangle234
texturea texture, LOD bias149
computenbodyN-body particles on compute shaders (3,072 particles)69
texturecubemapcubemap skybox and reflections52
particlesystemfire and smoke, normal-mapped floor49
offscreenmirror (render to texture, clip planes)43
bloomglow: offscreen pass + two blur passes40
pbrbasicphysically based shading36
parallaxmappingparallax occlusion mapping33
radialblurfull-screen radial blur20
computeshaderimage filters on compute shaders18
instancing8,192 asteroids in one draw (instancing)15
deferreddeferred shading, many lights14 (33 at 640×360)
Sponzathe Sponza atrium, deferred9 (22 at 640×360, 33 later)
ssaoscreen space ambient occlusion on Sponza3

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 modefps
pisgsr, bilinear242
pisgsr, SGSR 1152
pifsr, EASU + RCAS (FSR 1)124
pifsr, one pass154

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.

Sponza atrium, on the A1200
Sponza atrium, deferred shading, 1280×720.
Screen space ambient occlusion (SSAO) on Sponza, on the A1200
Screen space ambient occlusion (SSAO) on Sponza.
Physically based shading, on the A1200
Physically based shading, 36 fps.
Bloom: an offscreen pass and two blur passes, on the A1200
Bloom: an offscreen pass and two blur passes, 40 fps.
8, on the A1200
8,192 instanced asteroids in one draw, 15 fps.
Deferred shading with many lights, on the A1200
Deferred shading with many lights.
Cubemap skybox and reflections, on the A1200
Cubemap skybox and reflections, 52 fps.
Particle fire and smoke over a normal-mapped floor, on the A1200
Particle fire and smoke over a normal-mapped floor, 49 fps.
Parallax occlusion mapping, on the A1200
Parallax occlusion mapping, 33 fps.
N-body simulation on compute shaders, on the A1200
N-body simulation on compute shaders, 69 fps.
Image filter (emboss) on compute shaders, on the A1200
Image filter (emboss) on compute shaders, 18 fps.
Full-screen radial blur, on the A1200
Full-screen radial blur, 20 fps.
A texture with LOD bias, on the A1200
A texture with LOD bias, 149 fps.
Sponza at 640×360, on the A1200
Sponza at 640×360.
The first Vulkan triangle on the A1200, on the A1200
The first Vulkan triangle on the A1200.
The first program through vulkan.library: a cube, on the A1200
The first program through vulkan.library: a cube, 640×480, 171 fps at the time.

Status

Where the project stands
  • 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.library in 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 v3dv developers, for the open-source Vulkan driver, and Sascha Willems, for the Vulkan examples.

Thank you.