Gource visualising feng’s history — A story of Radeon

Or see this on YouTube — and yes this is quite ironic that we’ve uploaded to YouTube the visualised history of a streaming software stack.

The video you can see here is the GIT history of feng the RTSP streaming server me and Luca are working on for the LScube project, previously founded by the Turin Politechnic, visualised through Gource.

While this video has some insights about feng itself, which I’ll discuss on the mailing list of the project soon enough, I’m using this to bring home another point, one even more important I think. You probably remember my problems with ATI HD4350 video card … well, one of the reasons why I didn’t post this video before, even though Gource has been in tree (thanks to Enrico) for a while already, is that it didn’t work too well on my system.

It might not be too obvious, but the way Gource work is by using SDL (and thus OpenGL) to render the visualisation to screen and to (PPM) images – the video is then produced by FFmpeg that takes the sequence of PPM and encodes it in H.264 with x264; no I’m not going to do this with Theora – so you rely on your OpenGL support to produce good results. When 0.24 was being worked on (last January) the r700 Radeon driver, with KMS, had some trouble, and you’d see a full orange or purple frame from time to time, resulting in a not-too-appealing video. Yesterday I bit the bullet, and after dmesg has shown me a request from the kernel to update my userland, I rebuilt the Radeon driver from GIT, and Mesa from the 7.8 branch…

Perfect!

No crashes, no artefacts on glxgears, and no artefacts on Gource either! As you can see from the video above. This is with kernel 2.6.33 vanilla, Mesa 7.8 GIT and Radeon GIT, all with KMS enabled (and the framebuffers work as well!). Kudos to Dave, and all the developers working on Radeon, this is what I call good Free Software!

Just do yourself a favour, and don’t buy videocards with fans… leaving alone nVidia’s screwup with the drivers, all of them failed on me at some point, passive cards instead seem to work much longer, probably because of the lack of moving parts.

3 thoughts on “Gource visualising feng’s history — A story of Radeon

  1. Cool video. I really wish I knew enough to do the kind of work/play you guys do.As far as fanless video cards go repeat after me …Heat is the enemy. Heat is the destroyer. Heat is the epic fail king.I agree on getting only fanless video cards. Of course, doing so depends on your needs. Insane gaming at chest beating resolutions and realism require insane and relatively short lived cards with extreme cooling.Fortunately, I’m perfectly happy with cards capable of HD playback. :DNo fans need apply.

    Like

  2. I’ve recently made the switch away from fglrx myself. I was waiting for a bug affecting Zaphod mode to be fixed but was eventually told that I’d need to fix it myself. So I did. I’d never hacked X before so that was interesting. Even though I had to do the work myself, it was nice to see the free software process working well.

    Like

  3. Totally agree about passive video cards. I had 3 video cards in a row die when the fan died & card overheated. (Nvidia cards go into a super-slow-motion emergency mode when overheating, took me a while to figure out that was my problem at first…)Last 2 PCs I built I used video cards with massive passive heatsinks, and sufficient airflow in the case (now I have 5x120mm fans and 1x 200mm fan :) and they are working great.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s