Wednesday, June 04, 2008

Intel 945/965 mobile with Compiz

For ones that have just upgraded to Fedora 9 with the new Xorg 1.5 (actually 1.4.99 at the time this is posted), compiz performance may be a big problem on Intel 945/965 mobile cards. Fedora 9 was shipped with Xorg 1.5 which is too new and this makes Fedora 9 much more a bleeding edge release than ever.

The well known 'i810' driver in Xorg 1.3 is now deprecated and is shipped as a sym-link to the 'intel' experimental driver in the new Xorg. This resulted in a situation that there is only one way for you to run a 945/965 card with Fedora 9: use the experimental driver. And, this is not good.

The experimental 'intel' driver provides a very bad performance when working with Compiz in its default setting mode. I haved tried to enable the Desktop Effect with no errors but Firefox scrolling perfomance dropped down badly.

I am really disappointed with the way Fedora 9 is shipped with the brand new Xorg. Users with Intel cards have bad compiz performance; Users with Nvidia cards have only a 2D driver with no compiz at all, no 3D game at all (even when using livna). Who else can benefit the new Xorg?!?

I'm still waiting for the new updates from Fedora to have all Intel card problems fixed. The Fedora team has worked really hard to bring Sulphur to life. However, a little bit more efforts for fixing the Intel problems will be deeply appreciated :-x

For the time being, I have temporarily fixed to compiz performance by switching the acceleration mothod of the 'intel' driver to its old XAA mode. This makes Firefox scrolling performance acceptable when using it under Compiz.

Section "Device"
Identifier "Videocard0"
Driver "intel"
Option "AccelMethod" "XAA"
EndSection

Wednesday, May 21, 2008

sed + xargs + inkscape

to make a batch exporting of SVGs to PNGs at a specific size:

foo.sh:
#!/bin/sh

PNG=`echo $1 | sed s/scalable/$2x$2/ | sed s/.svg/.png/`
DIR=`dirname $PNG`

mkdir -p $DIR
inkscape $1 --export-png=$PNG -w$2 -h$2

and at the shell:
$ find . -iname *.svg | xargs -i ./foo.sh {} 32

Friday, May 09, 2008

The new Ubuntu website banner

renders its bad way of marketing!


  • You advertise your operating system by featuring the uninstaller?
  • "(Note that you'll need it)"?!?
(*) the 'e' is added by me, not them. But does it make a difference?

Sunday, July 29, 2007

Source controls explained

  • CVS: Si Vi Ếch
  • SVN: Si Vi Nhái
Copyright by BoBo :|

Monday, July 16, 2007

This is a test entry using gnome blog poster

Just to try the gnome-blog-poster after yumming.

Sunday, June 03, 2007

Nghỉ Pyco

(This entry was closed due to unnecessary quotes in other websites. The comments are still there for you in case you want to read)

Monday, May 14, 2007

There is only one word about the pidgin logo

ugly!

http://pidgin.im/~seanegan/pidgin.png

it's pidgin but it doesn't mean that you have you put that ugly pigeon in your logo x-(