Paul - The Programmer

simple & stupid

Upgrade from Debian stable to testing

I upgrade the Debian Lenny on my old laptop to Debian testing brunch this weekend.

Now I have more latest version of packages. 

Gnome is upgraded to 2.3. The new icon theme is much better than 2.2. 

Grub 2.0 with eye candy background is also okay. 

The Totem movie player from Gnome finally can play the rmvb and avi movies.

The full screen flash can work in current Google Chrome 8.0.552.208 beta.

The new kernel version 2.6.32 has replaced the old one.  The latest open source ATI driver is upgraded as well.

BTW. The latest open source driver requires the non-free ATI firmware which now is in the Debian non-free repository.

The bad thing is the ATI mobility Radeon X300's 3D acceleration seems not okay.

Before upgrade the FPS of glxgear is above 1000+ FPS. But now it drops to 100 FPS.

The 3D acceleration is enabled which is indicated by  the Xorg.log.

One forum thread points out that  the glxgear does not reflect the real OpenGL benchmark. The Lib Mesa should be upgraded.

So, I updated the Mesa to the latest version 7.9. But latest Mesa lib didn't bring any help.

Moreover, the Google earth can get the whole system hangs in current environment.  This must be related to the low OpenGL FPS.

The Jython from Debian repository can not be integrated within the eclipse pydev.

So I removed the Debian Jython and install the  Jython 2.5.2 from the official Jython website.

Everything else seems quite good in the Debian testing.

I should keep searching on the solution for this 3D acceleration problem.



Apply for Google adsense but be declined

As you see in the title, my application for Google adsense get declined within half of an hour. :-(

Well, let's try next. Maybe this is a motivation for me to update my blog more frequently.


Enable Google Chrome 8 GPU accelerated rendering

The Chrome 8 comes with GPU acceleration. But this feature is disabled by default.

To enable this feature, just startup Chrome with parameter :

--enable-gpu-plugin --enable-gpu-rendering --enable-accelerated-2d-canvas --enable-accelerated-compositing

Then you should find the gpu plugin enabled in tab config:plugins.

I tried this on my old laptop ( Debian Lenny + Chrome testing brunch version 8 ). Didn't get to it works well. The web page be rendered in a mess.

Then try to start Chrome without the --enable-gpu-rendering, everything seems recovered. But didn't find anything noticeable accelerated comparing with the one without hardware accelerated.

The GPU rendering is still an incomplete functionality.

The testing web page is from Microsoft,

My score is around 20 fishes with 15 FPS and the CPU is fully loaded.

What's a pity.

The Impossible Dream

   To dream the impossible dream

    To fight the unbeatable foe

    To bear with unbearable sorrow

    To run where the brave dare not go.

    To right the unrightable wrong

    To be better far than you are

    To try when your arms are too weary

    To reach the unreachable star   

    This is my quest, to follow that star,   

    No matter how hopeless, no matter how far

    To be willing to give when there’’s no more to give

    To be willing to die so that honor and justice may live

    And I know if I”ll only be true to this glorious quest

    That my heart will lie peaceful and calm when I”m laid to my rest

    And the world will be better for this

    That one man scorned and covered with scars

    Still strove with his last ounce of courage

    To reach the unreachable star.

Hide Vim menu bar and tool bar

" Hide the menu bar

:set guioptions-=m

" Hide the tool bar

:set guioptions-=T