Tuesday, June 1, 2010

gallium3D on gentoo

Ok, today i give a short howto about gallium3D.

Gallium3D is a new 3D API under Linux. It not only supports OpenGL, but also OpenVG, GPGPU and Direct3D. Right now gallium3D is still under heavy development, but it's already quite stable. Since a few days now it's also very easy to get this new API. We only have to unmask mesa-9999 and keyword both mesa and eselect-mesa (which is needed by mesa-9999).

This is easily done by doing (as root) :

echo "media-libs/mesa" >> /etc/portage/package.unmask

echo "media-libs/mesa" >> /etc/portage/package.keywords

echo "app-admin/eselect-mesa" >> /etc/portage/package.keywords

Afterwards we can set the gallium API via eselect:

eselect mesa set r300 gallium

eselect mesa set sw gallium

Now everything runs threw Gallium3D, but how much does it bring? Here is a short glxgears test:

gallium: 12124 frames in 5.0 seconds = 2424.745 FPS

classic: 11817 frames in 5.0 seconds = 2363.365 FPS

This is under my Radeon X1900 XT. Well not much in glxgears, but i encountered a better playable ut2004. :)

No comments:

Post a Comment