Friday, February 20, 2009

abcde configuration

LAMEOPTS="--preset standard"

Sunday, February 15, 2009

jerky green video output with mplayer and xv

After an upgrade to Ubuntu Jaunty, my mplayer video output (using -vo xv) was completely green and jerky. It turned out that during the upgrade apparently the proprietary nvidia driver was disabled. You simply need to reenable it at System -> Administration -> Hardware Drivers and reboot to fix the problem.

ssh connect error

buffer_get_ret: trying to get more bytes 4 than in buffer 0
buffer_get_int: buffer error

Seems to have something to do with the public key.
It helps to remove ~/.ssh/id_dsa* (or the whole ~/.ssh directory if you want to be sure).

This appeared to me only after the upgrade to Ubuntu Jaunty, I don't know if it's related or what the correct fix is.

There seems to be a matching bug report here.

Update: Apparently it's fixed by now.

Tuesday, February 10, 2009

Stuttering sound after upgrade to Ubuntu 9.04 (Jaunty)

It turns out that some sound drivers don't work well with PulseAudio, especially regarding the "glitch-free mode". The fix (as described here) is to disable glitch-free:


load-module module-hal-detect tsched=0

Afterwards, restart PulseAudio (or simply reboot).

Sunday, February 8, 2009

colorgcc from within SCons error: uninitialized value

Eror: Use of uninitialized value $ENV{"HOME"} in concatenation (.) or string at /usr/local/bin/g++ line 211.

Solution, see here:


$configFile = $ENV{"HOME"} . "/.colorgccrc";


my($found_HOME) = 0;
while (my ($key, $value) = each (%ENV))
if ($key =~ /HOME/)
$found_HOME = 1;

if ($found_HOME == 0)
$ENV{"HOME"} = "/";
$configFile = $ENV{"HOME"} . "/.colorgccrc";