Trackers for HP-UX
Published: 28-Nov-2026 - Last Updated: 29-Nov-2026
Ports to HP-UX 11.11 on PA-RISC 2.0:
Both use SDL 2, with new HP-UX support: OpenGL rendering, a /dev/audio
driver, PA-RISC atomics, and timing that works around HP-UX's 10 ms scheduler tick.
They are statically linked, except for libraries that come with HP-UX: libc, libpthread,
librt, libm, libX11, libXext and HP's libGL. Nothing else needs to be installed apart from the
requirements below.
Download
Installing
Each tarball has bin/<program> and share/doc/<program>/ (the licenses). Nothing in the
programs depends on where they are installed, so they can be extracted anywhere and run from
there. For example, as root, to install into /usr/local:
cd /usr/local
/usr/contrib/bin/gzip -dc /path/to/pt2-clone-1.78-hpux11.11-hppa.tar.gz | tar xf -
Add the directory to /etc/PATH if you want it on PATH.
Requirements
- HP-UX 11.11 on PA-RISC 2.0
- libc patch PHCO_38279 or later, which adds
gethrtime. Without it they crash with "Unresolved symbol: gethrtime".
- Optional: HP's OpenGL runtime. The trackers use OpenGL if it is installed, and SDL's software renderer otherwise.
Tested on a c8000 (ATI FireGL X3), a C360 (VISUALIZE-FX4) and a B2600 (VISUALIZE-FXE).
pt2-clone and ft2-clone
Run pt2-clone or ft2-clone. ft2-clone is built without MIDI. It also takes --software, to
use SDL's software renderer, and --fps N (default 30).
Sound
Sound goes to /dev/audio:
- By default the device's current outputs are kept. If none are on, which is the state after boot,
the speaker, headphone and line outputs are all turned on.
SDL_AUDIO_HPUX_OUTPUT picks them,
for example headphone,line, or a mask (1 speaker, 2 headphone, 4 line).
- If another program has
/dev/audio open when the app starts, the app runs silently instead of
waiting for it.
- If the sound hardware stops taking data for 3 seconds, the app carries on without sound.
SDL_LOGGING=audio=warn prints why.
- Machines without sound hardware get a silent audio device that runs in real time, so playback
still works.
-
SDL_AUDIODRIVER=disk SDL_DISKAUDIOFILE=/tmp/out.raw writes the sound to a file instead
(16-bit big-endian stereo).
Graphics
On cards without a texture accelerator, such as the VISUALIZE-FX4, frames are drawn with
glDrawPixels instead of textures, which is much faster there. This is detected automatically.
SDL_HPUX_GL_DRAWPIXELS=1 or =0 forces it on or off, and SDL_LOGGING=render=info shows the
decision. SDL_RENDER_DRIVER=software turns off OpenGL.
Licenses
The trackers are BSD 3-clause. ft2-clone's graphics, except a few bitmaps, are by Magnus Högdahl,
under CC BY-NC-SA 4.0. SDL is under the zlib license. See share/doc/<name>/.