Using the etnaviv shader assembler

This post describes the only part of etna_pipe API that is not yet equal or at least analogous to Gallium. Etnaviv does not yet have a GLSL shader compiler (or TGSI converter). Until then, shaders can only be compiled from native assembly.

Read More

Building mesa without X11

By default, Mesa appears to be quite insistent on building against X libraries. Because etnaviv is going to be an embedded GL driver, I don't want to pull the whole X11 shebang in. From the error messages it is not entirely clear how to proceed without X libs and build it, for example, for framebuffer only.

Read More


Over the last four months, I have been working on reverse engineering the Vivante GPU present on many ARM SoCs such as the Freescale i.mx6, Marvell Dove, and Rockchip 2918 (just for fun, after a five-year hiatus from reverse engineering GPUs since decuda).

Read More

Doxygen docs for bitcoin and doom3-gpl

Recently I discovered the wonders of Doxygen (by ASML colleague Dimitri van Heesch). As that tool generates cross-reference links and even diagrams, it helps a lot in getting an overview of source code, quicker than browsing it in Github or in an IDE.

I have generated and uploaded doxygen documentation for Bitcoin and the Doom 3 GPL source code that was released yesterday. Have fun browsing.

(the documentation will be automatically regenerated every day from the master branch)

Read More

Changing tab icons in Konsole

Today I was looking for a way to change the color of tabs in the KDE console, Konsole, to make it apparent to which remote host they are connected through SSH. This was possible in 3.5, but no longer in 4.x. However, I discovered something more awesome: it is possible to change the tab icons (small icons next to the title) using an escape sequence.

Read More