Monday, May 30, 2011

[AWN]Fast Boot is always the Justice.

For a couple of days, I've profiled my X120e in the focus of Boot Speed:
My X120e had been replaced HDD to SSD (Crucial RealSSD C300 128GB), but already you guys could see my bootchart, it wasted around 17 seconds... X(

Who is the worst?

yeah AWN... it would be slower than Docky (Docky has costed around 5 seconds).
I love AWN's usabilities, configurable stuffs, many functions included, and much more. but it's damned TOO SLOW !!

The fact that fglrx also wasting time to kick userspace driver. :P

Sunday, May 29, 2011

[psb_gfx]3 codelines make a big difference.

Before:
 After:
 lol

So what are the differences between them? yeah that's "Dithering".
the original codes in git tree, Alan had treated dithering as well but he only activated it when psb_gfx runs under non-full resolutions (scaled fullscreen)... :(
Well, I didn't notice that things at first time, then Lucazade had noticed such ugly appearances by causing dithering. so I had tried patchworks for it. :)

       /* Native modes don't need fitting but dithering. */
        if (adjusted_mode->hdisplay == mode->hdisplay &&
                adjusted_mode->vdisplay == mode->vdisplay)
                pfit_control |= PANEL_8TO6_DITHER_ENABLE;
Yes. only I had embedded 3 codelines, only 3!!
Let's explain it.
top line is the comment. 2-3 lines said "even if you could get native resolutions for LVDS panel". and last one said "psb_gfx forces LVDS to use dithering" by using 8TO6 protocol. these pieces of codes had been employed in generic Intel driver for i9xx. then I had mixed them to force dithering on even native resolutions.

these patchworks applied in GMA500 Team's PPA instead of Kristoffer's git tree. :D

After all, the graphic performance would be slow down around 10%, but good appearances would be brought.

Saturday, May 28, 2011

All in Avant...

Here is my Natty desktop on X120e.

Now I'm addicted to AWN!! :)
I hope AWN would have an applet to kick "Dash" of Unity... I also love dash!!

PSB-GFX was the gift from guru Alan Cox and Kristoffer.

From 4Q 2010 to 1Q 2011, I've been working with GMA500 Team. :)
that team is fantastic!!

and early 2011 the Linux-Next Team (they had been developing amazing kernels for a long time!) had released completely new driver for Poulsbo chipsets. it called "PSB-GFX".  the rock Alan Cox developed it. yeah he is god of opensourced Intel drivers... and also Kristoffer had managed Alan's codes to embed git development kernel tree.

http://git.kernel.org/?p=linux/kernel/git/kristoffer/linux-gma500.git;a=shortlog;h=refs/heads/v2.6.39-rc1-gma500

So I had been contributing above codes to fit with Ubuntu-kernel as external "dkms". psb_gfx is the real KMS (Kernel Mode Setting) driver to handle framebuffer well. already we had some drivers for poulsbo, but all of them had not implement for such KMS features... for the future, I believe that we must need KMS features to run new born Graphical Window System, especially "Wayland". additionally psb_gfx had some great benefits to take us the higher by incredible 2D accel... :D this accel is similar to generic intel drivers, and also has "GEM" technologies instead of ttm or any other VRAM managements. for 2D rendering speed, it's the fastest driver in ours. today we could run this driver "out of the box" by employing 2.6.39 kernel.

but...

this driver isn't perfect.

  1. because of some lack of dithering in fullscreen, it has ugly color gradations...
  2. acpi_video_register didn't match all of laptops. 

so I've hacked the codes in above issues for Ubuntu... that's the reason why we had remained dkms in our PPA. dkms kernel system would give the more higher priority to external modules, so once you had installed our psb_gfx as dkms, you could avoid the default one safely... ;)

Anyway, this driver would be the baselines of poulsbo for the future... so I gotta fix some remained issues to keep up the support! :D

Friday, May 27, 2011

SPINLOCK is rock?

The latest Robert's fglrx-installer is here:
https://launchpad.net/~ubuntu-x-swat/+archive/x-updates

In a couple of days ago, I've sent PM to him that talking about .39 patches. he had removed SPINLOCK at all... but I suggest like this in firegl_public.c line 1052:
 dev->spinlock[i] = SPIN_LOCK_UNLOCKED;
to
dev->spinlock[i] = __SPIN_LOCK_UNLOCKED(old_style_spin_init); 
I think that's better. but I agree he had purged lock/unlock_kernel as "big lock kernel". I also don't like these unstable locks... :) it would cause to be unstable for other kernelspace drivers like Wifi...

HD63xx + fglrx -> VA-API :-)

I've tried fglrx on Natty with 2.6.39-3-generic Oneiric kernel.
https://launchpad.net/~guido-iodice/+archive/kernel-and-drivers/+packages
Guido had opened his ppa for freaks. ;)

The current libva is libva - 1.0.12-1~xup.
but.... the fact fglrx's va driver had been installed as:
  /usr/lib/va/drivers/fglrx_drv_video.so
oh god... :(
so I've linked to:
/usr/lib/dri/fglrx_drv_video.so 
because vainfo always watches above dirs to search for va driver in libva - 1.0.12-1~xup.

Then I could use xvba-video with libva (vaapi) successfully! oops. forgot to mention! you guys should use vaapi-patched player like mplayer... but to be honest, CPU usages didn't decreased so much. hehe :P

"e" of mine...

The "e" are very important for me.

1st is "elementary OS". yeah that's based on Ubuntu Linux, and added more improvements for desktop experiences. For example, GTK theming, icons, and some more apps. but unfortunately it's still under developments so I gotta keep watching whatever they would do the next...

 2nd is "Thinkpad X120e". it's the state of the art AMD/ATI combinations called "Fusion APU" platform. ;) after updating from Dual-Cored X100e, a lot of advantages were given. the most remarkable thing, Lenovo had solved the "Heat"! basically Fusion had increased around 65% graphic performance from previous Vision platform... but don't worry about Heat problems, in opposite the heat was decreased dramatically!! lol

I've been playing with Linux for 14 years over.  and Thinkpad had used to be my best rated laptop in most cases.

Hello World...

let's start blogging...