Skip to content
HUBrisOrigami project journal
Color Schemes
Color Scheme Browser
Desktop SchemesBase · gamma 1.7
Monitor gamma
Chrome type · pointer

/usr/lib/X11/schemes · x_eoe_6530m

IRIS InSight: HUBris Library

HUBris Library / Engineering Notes / InfiniteReality on the Onyx2: From an Upside-Down Menu to a Desktoppage 49 of 97

NavigatorHUBris Library
Engineering Notespage 49 of 97

Engineering Notes Onyx2

InfiniteReality on the Onyx2: From an Upside-Down Menu to a Desktop

The Onyx2's InfiniteReality pipe from an upside-down PROM menu to a 4Dwm desktop and first GL triangle, with the failures on the way and the host-command approximation stated.

The first picture the emulated InfiniteReality drew was a PROM menu standing on its head. Three days later IRIX’s 4Dwm desktop was on the same pipe, and a GL triangle had gone through it with every pixel matching the expected image. In between, the pipe drew one corner of a login dialog, killed the X server over a DMA completion it never sent, and produced a diagnosis that was wrong within the day. This is the ladder, failures included, and every frame is the guest on our emulator rather than anything the real board draws.

What the model is, and is not

The pipe is an approximation. The geometry engine on a real InfiniteReality runs microcode, and we have no readable copy of its instruction set. So the model does not run that microcode. It presents the registers, mailbox and windows the stock PROM, kernel, X server and OpenGL library talk to, decodes the commands they push into the pipe, and renders what each one means with a software renderer. Correctness means the stock software behaves and the model agrees with itself. It does not mean the pixels match a real board, because nothing we hold can establish that.

A menu, upside down

By 27 September the PROM’s graphical System Maintenance Menu was reaching the pipe’s scanout. The runs used a development topology, an Origin 2000 module with the pipe added, because the Onyx2 machine did not exist yet. The first legible frame had the right pieces in the wrong orientation.

The InfiniteReality PROM menu drawn upside down, with six empty button squares in the left column

Early development frame, 27 September (UTC), on an Origin 2000 module with the pipe added. The wordmark is upside down. Six icon buttons wait for labels that have not arrived.

The model had taken the guest’s y coordinate as a framebuffer row counted from the top. Counting from the bottom turned the splash around. Whether real hardware shares that convention, or the PROM compensates for a top-down pipe some other way, is unknown, and our display datasheet records it as unknown.

Upright was not finished. The buttons had no text, and the bottom-left corner of the screen held a block of stray colour: 1,135 pixels in rows 987 to 1023, byte-identical across three independent boots. The block’s colours all matched palette entries those boots had loaded, though no drawing call in the trace had put them there.

The first evidence said there was no bitmap traffic at all. The packet trace counted zero bitmap-transfer commands, which seemed to rule out the menu’s text as the source. The trace was blind to them. Its event fires only for ordinary commands, and the model’s bitmap path consumed its own header and payload words without reporting one. The boot that carried the menu through to its buttons made 308 bitmap transfers. The model had been placing each at the header’s raw origin instead of relative to the raster position the PROM sets before every blit, so every label and icon landed in the same corner. Replaying that capture under the old rule reproduced the corner block pixel for pixel. Under the corrected rule the replay matched the boot’s screendump with zero differing pixels out of 1,310,720.

The complete InfiniteReality PROM menu: six labelled choices, the Welcome To wordmark and the Silicon Graphics, Inc. footer

The complete PROM menu, 27 September (UTC), on an Origin 2000 module with the pipe added.

On 28 September the Onyx2 machine itself passed the PROM diagnostics and booted IRIX to a serial root login in both the rack and deskside topologies, with hinv listing an InfiniteReality2 board (docs/boot-logs/irix.boot.2026-09-28T11:21:21-07:00 is the rack). That was serial only, with no picture.

X reaches the pipe

IRIX’s X server is the pipe’s first real client, and 27 and 28 September read like a staircase, each step ending at a command the model had never heard of:

  1. The X server stays up, loads its display modes and colour map, then stops at one unknown command with the head still black.
  2. Its video command is modelled, and it stalls on the gamma-map load.
  3. It completes its whole open and sends its first drawing command, a full-screen fill that the model consumed and did not draw.
  4. The login greeter’s window shows on the scanout as boxes, colour and position known wrong. A dark green frame with a few brighter green blocks in its top-left corner was the first IRIX pixel on an Onyx2 head.
  5. Pixel writes resolve through the X colour map and the greeter turns grey and white.

Only the lower-right corner of the IRIX login dialog, the Log In and Help buttons, drawn at the top-left of the screen

Greeter after the colour fix, 28 September. The dialog’s lower-right corner sits in the top-left of the screen. Our notes at the time listed “dialog placement” as still wrong.

The first GL client panics the kernel

The first OpenGL program broke something else. It took the kernel down in a panic on a zero value in the pool descriptors the model left blank. Filling in the descriptors cleared the panic, and the client then stalled in the driver’s process-context swap on a command the model dropped. Answering that let the swap complete, and the client’s own make-current stream reached the pipe and was dropped in turn.

A desktop that was gone minutes later

On 30 September the pipe started dying at every X server open. The Hub model had begun counting graphics credits and the head returned none, so the kernel’s credit wait recorded a death. Returning one credit per store fixed that, and a graphical login finally started 4Dwm, the Toolchest and the file manager.

Then came the wrong diagnosis. Our first notebook entry said the session was alive but drawing invisibly, because the model did not decode its colour packings. A follow-up the same day found the opposite: the fills resolved to the right colours, and the session barely drew. Its first image write, a 256 by 256 transfer by DMA, never completed. The kernel logged a DMA timeout, the pipe went fatal, the X server died and the display manager restarted it at the greeter. The desktop was gone a few minutes after login. The blocker was the image path and the completion interrupt the kernel waits for, not colour at all.

Once the model fed the DMA rows into the pending X pixel write and posted the completion the kernel expected, the desktop stayed. The boot log’s own header says what was tested: “acceptance of the desktop: a 4Dwm session that starts and stays up”, and under unknowns, “711 command words are dropped in this boot” (the X server’s point and data tokens, not yet decoded, in docs/boot-logs/irix.boot.2026-09-30T19:20:46-07:00). 4Dwm, the Toolchest and the file manager kept their process IDs for more than a minute.

The IRIX 4Dwm desktop on an emulated Onyx2: Toolchest with six menus, a black Console icon and four icons on the right edge, over a textured teal background

First 4Dwm desktop on the pipe, 30 September. The Console icon is solid black.

The GL probe ran the same day. The result is exact against our own expected image: a 128 by 128 window drawn at 256,256, each case compared across 16,384 pixels.

CasePixels differingYellow pixels
clear00
triangle04,400
triangle-moved03,888
triangle-reversed04,400

A yellow triangle on a blue 128 by 128 square, on a grey weave screen

First GL triangle through the pipe, 30 September. The expected image comes from our polygon rule, not from hardware.

A double-buffered clear also completed its buffer swap in about a second. Before, it sat out the kernel’s 60-second timeout.

What broke next

On 3 October the greeter stopped one step short. A 6 by 20 pixel read at 454,700 arrived as a command the model did not know, and nothing after it completed. Adding indexed reads brought the login back. The desktop then drew a terminal with a black rectangle inside it, the Icon Catalog stayed black, and dragging the terminal turned most of the screen black. Texture probes showed the black catalogue again, with missing checkerboards, and we paused at a stopping point on 4 October with redraw, window movement and textured OpenGL still to do.

By 24 October the catalogue’s icons were drawing, and the pipe presented a second display head.

The IRIX desktop on head 0 of a two-head Onyx2 run, with a terminal titled channel-one, an xclock and the Icon Catalog showing five application icons

Head 0 of an Onyx2 run, 24 October (UTC). Head 1 of the same run shows the same terminal and clock in a 640 by 480 frame. We infer from the two screenshots that it is offset about 640 pixels to the left.

The same day a one-command install took a blank disk on an Onyx2 with the default InfiniteReality to a first login (docs/boot-logs/irix.boot.2026-10-24T17:33:12+00:00). That console shows the installer, not the desktop, and nothing here shows the real board’s raster output.