Plants Vs. Zombies – Linux gaming with WINE

May 31st, 2009

Again a great and affordable game by PopCap. It’s an highly addictive tower-defense type of game with very funny moments and nice graphics. Although developed for Windows and Mac it runs perfectly with WINE on Linux. Have a look at the Wikipedia article or the PopCap website for more information and more games that do well work with WINE.

Zattoo discontinues Linux support

May 23rd, 2009

Damn! Trying to update my Zattoo client today I was informed that Linux support is no more. Instead users should switch to Zatto Web TV as an alternative. Which it isn’t. There’s much lesser stations, no EPG, a crappy interface, no fullscreen view and seems to be in early beta.

Updating BIOS on EeePC 1000H

May 5th, 2009

Everybody knows it: Never change a running System! Except you’re a tinkerer. Because if it isn’t broke you can’t fix it ;) . Hence I decided to perform a BIOS update on my EeePC 1000H. Some might say fortunately others would state unfortunately nothing broke.

I downloaded the BIOS update from http://support.asus.com/download/download.aspx and extracted the zip file to 1000H-ASUS-1902.ROM. Renamed the file matching my model number (1000H.ROM) and copied it on a USB stick formatted with FAT16. Always make sure you operate with a fully loaded battery and the power cord plugged in!

I then booted my EeePC with inserted USB stick and pressed ALT-F2 during the ASUS boot screen. All went well and my machine commenced installation. After a couple of minutes I was prompted to press the power butten. I removed the USB stick, rebooted and voilà: BIOS updated!

P2PTV – 3 ways explained to watch live football on Ubuntu

April 10th, 2009

1. Veetle

Veetle is a very sophisticated high quality video broadcasting service. Besides Windows and MacOS it’s available for Linux. Just download their VLC-plugin for Firefox, install and start watching directly in your browser.

Video quality is great but the software is not widely used for football broadcasts. So despite it’s quality and ease of use Veetle is only used occasionally for your favorite game.

2. Sopcast

GTK-sopcast runs natively under Linux. Just install the provided .deb file and have fun. Sopcast can also be run from the command line:

sp-sc sop://broker.sopcast.com:3912/6000 3908 8908

starts sopcast playing channel 6000 on your local port 8908. In order to watch this channel with mplayer just enter

mplayer http://localhost:8908/tv.asf

Video quality depends on bitrate but is most likely much lower than Veetle or TVAnts broadcasts. However chances are much higher that your desired game is available on Sopcast.

3. TVAnts

TVAnts is not available for Linux. The Windows .exe can be downloaded from here. You will need WINE to install and run Windows programs like TVAnts. WINE can be installed via Synaptic or by typing sudo apt-get install wine via the command line. I’m not going into detail about what WINE can or can’t do but it suffices to run TVAnts.

Install TVAnts with wine TvantsSetup.exe although be aware that the name of the install file might differ. Just use that which you downloaded. After the installation process finished depending on distribution and window manager you are able to start TVAnts via your graphical menu or by typing

wine 'c:/Program Files/TVAnts/Tvants.exe'

on the command line. Now just choose your channel from the channel tab. You will get an error about TVAnts not beeing able to find Windows’ default player. Of course. We’re not using Windows, are we? But it also tells us how to play the stream:

mplayer http://localhost:16900/1

can be utilized – again – on the command line. If you add more channels in TVAnts please replace 1 by the number of the channel you’d like to watch. Also please note that even if you remove one or more channels from the channels tab channel numbers keep increasing until you restart TVAnts. For example if you have three channels running, you remove them and add one further channel you will only have one channel running in TVAnts. Until you restart completely you will have to tell mplayer to play channel 4.

If you find a link on a website pointing to a TVAnts stream just copy it’s location (e. g. tvants://list.tvants.com/tvants/?k=79ed1f19fb51593f5391d8d7c3e6f478) and manually enter this URL via TVAnts -> Channels – Add button.

Video quality is generelly better than Sopcast but TVAnts needs 5-10 minutes to establish connections and stabilize the stream. So be patient. Availability of broadcasts using TVAnts is also quite good.

If you don’t like mplayer you might consider using VLC to play your streams. Just replace mplayer with vlc in the examples above.

Upgrading RAM in HP Compaq nx8220

April 7th, 2009

I just upgraded RAM in my aging nx8220 from 1 to 2 GiB with Kingston ValueRAM. Specs are: SO-DIMM, SDRAM-DDR2, 533 (PC2 – 4200). That helps a lot running Windows XP in Virtualbox which was kind of slow with only 512 KiB of assignable RAM. If you’re looking for HP’s Maintenance and Service Guide for the nx8220, grab it here.

No video tearing with mplayer and GMA 950 on EeePC 1000H

March 19th, 2009

I was slightly disturbed when looking at the video playback performance of my EeePC 1000H. Heavy video tearing all over the place, not much fun at all. After a little searching I was able to circumvent the problem by using the video overlay port with mplayer. Let me shed some light:

xvinfo delivers information on textured video and video overlay and the associated ports

Adaptor #1: "Intel(R) Textured Video"
port base: 58

and

Adaptor #0: "Intel(R) Video Overlay"
port base: 57

port 57 (can be different on other machines or installations) is what we’re looking for. In order to force mplayer to use this port simply start with

mplayer movie.avi -vo xv:port=57

or more conveniently add the following to ~/.mplayer/config

vo=xv:port=57

to have mplayer always use video overlay.

Xfce 4.6 – No lock after resume from suspend?

March 18th, 2009

If I resume from suspend on my nx8220 having suspended over the Log-Out menu the screen will not be locked. Being heavily paranoid I got slightly nervous. I found myself digging about in screensaver and power-manager settings but didn’t seem to be able to solve this annoying issue. The solution came by accident: using FN+F3 and hereby suspending via the designated keyboard shortcut does the trick!

Xubuntu 9.04 (Jaunty Jackalope) Alpha 5 mit Xfce 4.6

March 9th, 2009

Am Wochenende hab ich mir mal einen Einblick in die aktuelle Entwicklungsversion von Xubuntu 9.04 alias Jaunty Jackalope mit dem brandneuen Xfce 4.6 gegönnt. Nach einer Datensicherung der alten Intrepid-Installation ging es mit dem Download des ISO-Abbildes los. Die Alternate install CD birgt keine großen Überraschungen, ganze Festplatte mit verschlüsseltem LVM ausgewählt und los gings. Die Installation verlief weitgehend problemlos, lediglich meine deutsche Tastatur wurde während der Prozedur zwar eingerichtet aber nicht verwendet. Vorsicht also bei der Eingabe der Passphrase! Nach knapp 20 Minuten konnte ich dann erstmals meinen frischen Xfce-Desktop booten.

Boot

Subjektiv erschien mir der gesamte Bootprozess etwas schneller als noch bei Intrepid. Sowohl die Zeit bis zur Eingabe der Passphrase als auch der fortgesetzte Verlauf machten einen zügigeren Eindruck.

Xfce 4.6

Nach einigen kosmetischen Anpassungen und der Installation von Codecs, mplayer, conky etc. konnte ich mich mit den neuen Features von Xfce 4.6 auseinandersetzen. Eine detaillierte Übersicht findet sich auf der offiziellen Site. Die Reaktionszeiten sind insgesamt schnell und ohne Verzögerungen. Thunar und ein Terminal starten z. B. augenblicklich nach dem Mausklick. Auch die optische Darstellung des integrierten Window Managers xfwm mit echter Transparenz und Schatten macht nach der Überarbeitung einen guten Eindruck.

Window Manager xfwm

Womit wir bei der grafischen Darstellung wären. Jaunty setzt auf den neuen Xserver Xorg 1.6. Die Entwickler weisen darauf hin, dass dieser Wechsel für einige Leute problemlos läuft, andere dagegen mit Stabilitätsproblemen zu kämpfen haben werden. Für mich als Besitzer einer Ati-Grafikkarte bedeutet der neue Xserver auch den gezwungen Verzicht auf den proprietären fglrx-Treiber, welcher Version 1.6 noch nicht unterstützt. Aber ich benutze eh den freien xserver-xorg-video-ati.

Lautstärketasten

Die Lautstärketasten an meinem NX8220 funktionierten nicht out-of-the-box. Hierzu war eine Anpassung in den Keyboard-Shortcuts nötig:

amixer set Master 10%+
amixer set Master 10%-
amixer set Master toggle

mussten manuell hinzugefügt werden, funktionieren seitdem aber tadellos.

keyboard.png

Rechtsklick-Menu

Das Rechtsklick-Menu reagiert schnell. Mangels Menü-Editor muss allerdings für gewünschte Anpassungen Hand angelegt werden. Da ich kein großer Fan von Panels bin, habe ich mir ein paar direkte Starter für Browser, Terminal und Thunar hinzugefügt.

menu.png

Thunar und verschlüsselte Medien

Auch Thunar kann jetzt verschlüsselte Datenträger erkennen, nach Passphrase fragen und mounten. Wirklich? Leider nicht ganz. Die Erkennung und der Passphrase-Dialog funktionieren zwar aber das Gerät wird danach nicht korrekt gemountet, so dass aktuell ein manuelles sudo mount /dev/mapper/luks_crypto_blah-blah /media/blah nötig ist. Hoffentlich wird hier noch Abhilfe geschaffen.

Edit 10.03.2009: Mit den heutigen Updates klappts! Luks-USB-Festplatte wird erkannt, Passphrase abgefragt und bei korrekter Eingabe nach /media/volume_label gemountet.

encrypted.png

Suspend und Hibernate

Suspend-to-Ram funktioniert einwandfrei, allerdings wird beim Aufwachen weder Passwort noch Passphrase abgefragt. Anders der Hibernate-Modus, hier wird erst nach ordentlicher Eingabe der Passphrase hochgefahren.

Fazit

Insgesamt gefällt mir das Release sehr gut. Xfce 4.6 trifft genau meinen Geschmack und wird auch bald auf meinem EeePc Einzug halten. Das System läuft trotz des Alpha-Entwicklungsstadiums stabil und macht mir Geschmack auf die finale Version.

VDPAU und Ubuntu, mit oder ohne MythTV

March 4th, 2009

Wer über eine geeignete Nvidia-Grafikkarte verfügt hat es unter Ubuntu 8.10 relativ leicht, die Prozessorauslastung beim Abspielen von HD-Videos deutlich zu reduzieren. VDPAU heißt das Zauberwort. Nvidias Video Decode and Presentation API for Unix lagert wesentliche Decodierungsprozesse auf die GPU aus und erlaubt die Wiedergabe von Filmen in HD-Qualität, bei minimaler CPU-Auslastung. Benötigt werden ein aktueller Nvidia-Treiber ab 180.22, ein mplayer einschließlich aller erforderlichen Patches und ggf. ein gepatchtes MythTV.

Jean-Yves Avenard betreibt ein Repository mit aktuellen Paketen für obige Progamme unter http://www.avenard.com/. Die MythTV-Pakete habe ich nicht überprüft, mplayer mit VDPAU und der zugehörige Nvidia-Treiber laufen jedoch wie geschmiert.

Zwei Tipps zum Schluss:

/etc/X11/xorg.conf ergänzen (verhindert Tearing)

Section "Extensions"
Option "Composite" "Disable"
EndSection

~/.mplayer/config ergänzen

vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,

mplayer wählt dann automatisch VDPAU mit dem passenden Video Codec. Die Kommata am Ende sind wichtig, damit auch “normale” Videos (ohne VDPAU) wiedergegeben werden.

Impressionen von La Gomera

January 9th, 2009

MountainGreenForest_