minigl.library 29.1 for the AMD Radeon HD 5450 ("Cedar") on a Prometheus or
Firebird PCI bridge, driven by Evergreen.chip 1.1 (driver/video/Evergreen.lha)
It is MiniGL API 29 with the dispatch ABI 5 that current MiniGL games open,
with a native Evergreen back end: the GL state is turned into the card's own
PM4 command buffers and generated vertex/pixel shaders. Nothing is
translated from older Radeon command streams and no Warp3D is needed.
Speed
-----
GLQuake (RadeonGL-GLQuake 1.5.1, unmodified binary), timedemo demo1 at
640x480x16 on an A4000 with a 68060/50 (TF4060), Firebird bridge,
Sapphire HD 5450 PCI: 33.3 fps. The same game's README gives 31.8 fps for
RadeonGL 0.14 on a Radeon 9200 with a 68060/50.
For full speed, map the card's memory window NonSerial and copy the
Kickstart into fast RAM (MMULib), e.g. in S:Startup-Sequence:
MuSetCacheMode from 0x40000000 size 0x10000000
CACHEINHIBIT NONSERIAL IMPRECISE IO (one line in the script)
MuFastROM ON
(0x40000000 is where the bridge maps the card on the test machine; check
yours.) Without them demo1 runs at about 31.4 fps.
Features
--------
Checked by the MiniGL test suite (49 of 49 tests that apply pass):
- Immediate mode, vertex arrays, glDrawElements/glDrawArrays, locked
arrays and RadeonGL's static/dynamic array hints (GL_RGL_*), which keep
model data resident in video memory.
- Depth test, blending, alpha test, linear fog, two texture units
(multitexture lightmaps), matrices.
- Luminance, alpha, luminance-alpha, 16-bit (565, 4444) and 32-bit
textures with mipmaps, sub-image updates, 8-bit palette textures.
- Fullscreen with triple buffering and page flips.
- Lightmap updates send only the bytes that changed.
Not yet: hardware lighting, a PPC (WarpOS) build, more than one context.
The library prints a few diagnostic lines ([mgl], [egarrays], [minigl])
to the program's console when a context opens and closes. This build keeps
them: the same library without them measured 5% slower on the test machine
(code placement in the 68060's caches), so the quiet build waits for that
to be solved.
Installing
----------
Execute Install ; installs Libs/minigl.library to SYS:
Execute Install TARGET=RAM:t/ ; trial run into another directory
An existing minigl.library is kept as minigl.library.previous.
Evergreen.chip 1.1 must be installed and running.
Source
------
https://github.com/mirq/R200_MiniGL_PPC (branch evergreen).
Licence
-------
MIT. It contains code ported from xf86-video-ati, Mesa and the Linux
radeon driver, also MIT; their notices are in Docs/THIRD_PARTY_NOTICES.txt.
|