wnd's weblog


December 2008
Mo Tu We Th Fr Sa Su
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31 1 2 3 4
Categories
Archive

64-bit Java-plugin for Debian/Ubuntu

17 December 2008 15:00:17 Debian, Linux, software

Sun has finally delivered 64-bit version of browser Java plugin for Linux. If you can't wait for proper release (update12), you can try Java SE 6 Updates Early Access Program. If you're running Debian or Ubuntu, you can package everything neatly in a .deb-package. While java-package 0.4.1 don't know how to deal with the early access version, this patch shoudl help. Link to "patches" page.

Permalink | Comments (0)

VDPAU and Debian

15 December 2008 18:35:10 Debian, Linux, software

Now that NVIDIA has released updated beta (180.16) of its proprietary graphics card drivers for Linux, I've finally managed to install VDPAU-capable drivers without breaking everything else. Basically version 180.06 also worked, but for whatever reason it also caused X to consume nearly all available CPU time whenever Firefox was running. VDPAU is an API that allows applications to utilise GPU for video decoding and post-processing. In other words, you'll get smoother video playback of H.264. To quote phoronix, "HD Video Playback With A $20 CPU & $30 GPU On Linux".

If you're running Debian GNU/Linux and willing to try the drivers out but are not too keen to mess your installation with files outside package management, feel free to use make-nvpkg.sh (symlink to the latest version). make-nvpkg.sh abuses packaging scripts by Randall Donald. You can get the original from your local Debian repository. The script creates kernel source package, runtime and development package of GLX. Kernel source package can then be compiled and installed using module-assistant. Once done, reload the kernel module and you're good to go. You can try VDPAU with VDPAU enabled mplayer.

Note that I've tested the script only on AMD64 but thanks to magnificent work done by Randall Donald, it should also work on i386. If it doesn't feel free to send in patches.

Permalink | Comments (3)

Ubuntu 8.10

10 December 2008 12:34:55 non-military service, rant

I was lucky to get to work at department of computer science at University of Helsinki for the duration of my non-military service. I've spent most of my time doing two things: instructing -- that is, not teaching -- course on database applications and working on Ubuntu-based Linux distribution that will replace CSL2, RedHat-based Linux distribution used here at the department. Working on CSL3 (to be renamed) has been mostly rather smooth -- until my personal experiences with Ubuntu 8.10.

When I arrived at the University seven weeks ago I installed current version of CSL3 on my workstation. After completing the install by installing FVWM, zsh, rxvt and ALSA-patched sidplay2, I was quite pleased with the systems. Things just worked right. After all, I had been using very similar configuration back home with Debian for years. Last friday I did the mistake of upgrading Ubuntu 8.04 to 8.10.

X and keyboard
Suddenly the keyboard started sending keycodes different from ones on Ubuntu 8.04 -- or any IBM-PC-compatible Linux-boxes I've tried so far. This meant that my xmodmap changes broke all AltGr-keys such as @ (at), ^ (caret), | (pipe) and \ (backslash) buttons. Less significantly, End button and left and down arrow keys no did what they were supposed to do. Without my xmodmap modifications things worked mostly. I never figured a way to fix the keycodes or why they had changed so I had to work around this by creating alternative xmodmap for changed keycodes and by writing a Perl-script to rewrite my xmodmap file to fix changed modifiers.
GDM and xsession
For whatever reason my ~/.xsession no longer worked. At first it seemed that whatever I did, my Xsession exited as quickly as it started. Perhaps my ~/.xsession was broken all along, but magically it worked before. While I fixed the thing, I also made it to work on multiple systems where Fvwm, rxvt, and zsh may not be available.
Audio
Applications such as alsamixer and ALSA-patched version of sidplay2 now defaulted to using PulseAudio. While being technically neat, PulseAudio seems to be an endless source of trouble. Not only does it hide all the controls from the application, but it also has tendency to crash few times a day. Fortunately when that happens I only need to kill it manually, restart it, and restart all applications using ALSA... When I first logged in to by shiny new Ubuntu 8.10 based distribution, the sound was so quiet that I could barely hear a thing. pavucontrol didn't allow changing master volume but eventually I was told that widget on gnome-panel allowed me to do that. How convenient for a user who shuns GNOME.

I have now spend about one working day to fix things Ubuntu 8.10 broke. When people have asked me which Linux distribution to install I have recommended Ubuntu most of the time with a note that I use Debian myself. I'm starting to wonder if have to reconsider.

Permalink | Comments (0)

wnd-Bar-Orc-Mal-Cha

4 December 2008 17:21:32 misc

Another NetHack ascension! My seventh NetHack ascension took place as chaotic male orc barbarian on a public server at nethack.alt.org. In 93401 turns and eight days of wall time my character ascended to demigodhood. Cheers!

Permalink | Comments (0)