IRIX Idiosyncrasies

ยท 304 words ยท 2 minute read

A (growing) collection of topics around IRIX administration.

Booting IRIX without a keyboard attached ๐Ÿ”—

By default, most SGI workstations will halt the startup process with the following error message if no keyboard is attached:

Cannot connect to keyboard -- check the cable.

To fix this, start the machine with a monitor and keyboard attached, enter the PROM monitor and set the nogfxkbd environment variable:

setenv nogfxkbd 1

Exit the PROM monitor, unplug keyboard and reboot. The machine should now boot into IRIX without any issues.


Enable 24-bit color depth ๐Ÿ”—

Not all SGI machines that support 24-bit TrueColor mode (e.g., Indy with the 24-bit XL Graphics option) have it enabled by default. To configure X11 to run in 24 bit TrueColor mode, change /var/X11/xdm/Xservers from:

:0 secure /usr/bin/X11/X -bs -nobitscale -c -pseudomap 4sight -solidroot sgilightblue -cursorFG red -cursorBG white

to

:0 secure /usr/bin/X11/X -bs -nobitscale -c -class TrueColor -depth 24 -solidroot sgilightblue -cursorFG red -cursorBG white

Then restart the graphics subsystem with the new settings:

(/usr/gfx/stopgfx; /usr/gfx/startgfx)&

You can use the xdpyinfo command to check if the new settings are active.


Change the screen resolution ๐Ÿ”—

The current and default video output formats can be set with the setmon command. For example, run the following command to set the screen resolution to 1280x1024 @ 76Hz:

/usr/gfx/setmon -x 1280x1024_76

The specified video format will take effect when the X server restarts (when one logs out from an X session) or during the next boot cycle. You can run the following command to restart the graphics subsystem with the new settings:

(/usr/gfx/stopgfx; /usr/gfx/startgfx)&

WARNING: If you set an unsupported video format you won’t be able to access the graphical login screen anymore. In that case you can reset the resolution from the PROM monitor with setenv monitor h.

Shutdown the system ๐Ÿ”—

sudo /etc/shutdown -y -g0 -p