One of the strongest components of the Raspberry Pi is the VideoCore IV GPU which should allow us to play 3d games reasonably well on the device. The first such game to be compiled is Quake 3, and it works reasonably well, But up until now the Pi’s version has had it’s sound disabled. Thankfully dextrus from the Raspberry Pi forums has worked out how to re-enable it. It turns out that it was disabled to allow it to compile on ARM platforms without the necessary sound drivers.
In code/client modify the following lines in snd_dma.c. I might have nudged the line-numbers out though..
393: Undo the hack by un-commenting the s_soundMuted = qfalse; line. Comment out the line after, which reads “s_SoundMuted = 1″.
1501: Comment out the “s_soundMuted = 1″ line. Someone slipped this in without commenting! This too disables sound.
Finally, modify the Makefile at line 1381 and replace the “es_snd.o” with “sdl_snd.o”. For some reason the arm build was not linking in the SDL sound.
I’ve compiled it for Raspbian using hardfloat, and it works fine, though it is a little slower with sound enabled. As it took almost an hour to compile I’ve uploaded it so that you don’t have to compile it yourself.
If you’ve not already enabled the Pi’s sound driver you’ll need to run :
Alternatively you can add “snd_bcm2835″ to /etc/modules and reboot to enable sound permanently.
You will also need libsdl1.2debian installed
apt-get install libsdl1.2debian
Be sure to read my post on Overclocking the Raspberry Pi to help you squeeze a few more much-needed FPS out of your Pi.