Laptop display simulation: enhanced

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Laptop display simulation: enhanced

Manu Cornet-2
Hi all!

Two weeks ago I sent a message about a color swizzling mode in Xephyr
[1]. The program emulated the color swizzling and the simple
antialiasing algorithm the DCON chip uses. The biggest problem was
that the display was not nearly bright enough and was not loyal to the
actual laptop display.

I'm glad to announce a new version of this "simulator" that solves
this problem (plus a few others). I had a lot of help on this from
David Turner, main author of Freetype, who masters this kind of
matters :)

Here is what the simulator looked like in the previous version:

http://www.manucornet.net/pub/olpc/swizzle_dark.png

and here is a screenshot of today's version:

http://www.manucornet.net/pub/olpc/swizzle_enhanced.png

David created a smart postprocessing mode (occurring after the AA +
swizzling) that restores the original image's brightness and corrects
some diagonal artifacts. I used this process in my Xephyr simulation
mode. The patch is available here:

http://www.manucornet.net/pub/olpc/xephyr_swizzle.diff

(you'll need to run automake before ./configure and compiling, since I
added a new source file).

I will soon update my project's wiki page to explain how this process works.

Cheers,
Manu

[1] http://www.mail-archive.com/devel@.../msg00072.html
Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Ivan Krstić-2
Manu Cornet wrote:
> I'm glad to announce a new version of this "simulator" that solves
> this problem (plus a few others).

Rocking work!

--
Ivan Krstic' <[hidden email]> | GPG: 0x147C722D
Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Jim Gettys-3
In reply to this post by Manu Cornet-2
Great work, Manu!
               - Jim

On Sat, 2006-08-12 at 16:56 +0000, Manu Cornet wrote:
--
Jim Gettys
One Laptop Per Child


Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Manu Cornet-2
Hi!

Small update: I made an Ubuntu package out of this modified Xephyr. I
don't if it can be useful to anyone, or whether it is easy to convert
it into an RPM, but here it is anyway:

http://www.manucornet.net/pub/olpc/xserver-xephyr_6.6.1-0ubuntu4_i386.deb

You'll want to run Xephyr as:

Xephyr -screen 1200x900x16 -ac :1

Cheers,
Manu
Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Jim Gettys-3
Manu,

You should give the package a name that is not "ubuntu".  At some point,
there will be a later ubuntu version, and you'll have a name conflict.
                              - Jim


On Mon, 2006-08-14 at 21:14 +0200, Manu Cornet wrote:

> Hi!
>
> Small update: I made a
> n Ubuntu package out of this modified Xephyr. I
> don't if it can be useful to anyone, or whether it is easy to convert
> it into an RPM, but here it is anyway:
>
> http://www.manucornet.net/pub/olpc/xserver-xephyr_6.6.1-0ubuntu4_i386.deb
>
> You'll want to run Xephyr as:
>
> Xephyr -screen 1200x900x16 -ac :1
>
> Cheers,
> Manu
> _______________________________________________
> Devel mailing list
> [hidden email]
> http://mailman.laptop.org/mailman/listinfo/devel
--
Jim Gettys
One Laptop Per Child


Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Matthew Allum-2
In reply to this post by Manu Cornet-2
Hi;

On Mon, 2006-08-14 at 21:14 +0200, Manu Cornet wrote:
>
> You'll want to run Xephyr as:
>
> Xephyr -screen 1200x900x16 -ac :1
>

How about a '-swizzle' switch to optionally turn on the swizzle mode ?
Without out that it makes the modified package not so useful for people
wanting to also use Xephyr 'normally'.

  -- Matthew

Reply | Threaded
Open this post in threaded view
|

Re: [OLPC-devel] Laptop display simulation: enhanced

Manu Cornet-2
Hi!

> How about a '-swizzle' switch to optionally turn on the swizzle mode ?
> Without out that it makes the modified package not so useful for people
> wanting to also use Xephyr 'normally'.

Absolutely, that would be great! I attached the new patch to the bug:

https://bugs.freedesktop.org/show_bug.cgi?id=7814

The changes to hostx.c are shorter, and I gathered the swizzle part
into swizzle.c

Cheers,
Manu

PS : I renamed the package, here:

http://www.manucornet.net/pub/olpc/xserver-xephyr-swizzle_6.6.1-0ubuntu3_i386.deb