How I build squeak-vm with FT2Plugin on Linux

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

How I build squeak-vm with FT2Plugin on Linux

laurent laffont
Hi,

As a memento for me, I've written a tutorial to build the VM on Linux. http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html

I also provide the binaries and Pharo image with VMMaker loaded.

As I'm newbie on building a VM, thanks for additional informations.

Cheers,

Laurent Laffont

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Stéphane Ducasse
excellent
we are waiting for a living pharobook and this is typically what should go there.

Stef

On Mar 10, 2010, at 11:24 PM, laurent laffont wrote:

> Hi,
>
> As a memento for me, I've written a tutorial to build the VM on Linux. http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html
>
> I also provide the binaries and Pharo image with VMMaker loaded.
>
> As I'm newbie on building a VM, thanks for additional informations.
>
> Cheers,
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Adrian Lienhard
In reply to this post by laurent laffont
Hi Laurent,

Nice! I just did the same the other day ;)

My blog post describes step by step how to build a Unix VM from scratch on OSX:
 
http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

Please note that you are using the 3.11.3.*2135* sources, which produce a VM with terrible performance. The reason is that they don't have the gnuification step that creates a jump table instead of the case switch for the interpreter loop. I use the most recent source from SVN (r2151) and the bytecodes/s is 479400749 compared to 248543689.

Cheers,
Adrian



On Mar 10, 2010, at 23:24 , laurent laffont wrote:

> Hi,
>
> As a memento for me, I've written a tutorial to build the VM on Linux.
> http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html
>
> I also provide the binaries and Pharo image with VMMaker loaded.
>
> As I'm newbie on building a VM, thanks for additional informations.
>
> Cheers,
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

laurent laffont
Great !

Can we merge our respective posts and put this on the Pharo wiki ?

I don't have write access to the wiki.

Do you know if there's an equivalent tutorial for windows ?

I will try with the svn trunk.

Laurent Laffont


On Thu, Mar 11, 2010 at 8:38 AM, Adrian Lienhard <[hidden email]> wrote:
Hi Laurent,

Nice! I just did the same the other day ;)

My blog post describes step by step how to build a Unix VM from scratch on OSX:

http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

Please note that you are using the 3.11.3.*2135* sources, which produce a VM with terrible performance. The reason is that they don't have the gnuification step that creates a jump table instead of the case switch for the interpreter loop. I use the most recent source from SVN (r2151) and the bytecodes/s is 479400749 compared to 248543689.

Cheers,
Adrian



On Mar 10, 2010, at 23:24 , laurent laffont wrote:

> Hi,
>
> As a memento for me, I've written a tutorial to build the VM on Linux.
> http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html
>
> I also provide the binaries and Pharo image with VMMaker loaded.
>
> As I'm newbie on building a VM, thanks for additional informations.
>
> Cheers,
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Mariano Martinez Peck
Both really interesting posts. Now...Some people reported that the Exupery Linux VM has "nicer" fonts than the standard VM, even if both use true type.
Then Bryce Kampjes said in the mailing list:

"If it's font related then the Exupery VMs also have a patched bitlbt for
subpixel antialiasing. The true type code uses that to make fonts look a
bit nicer."

Do you know how that can be included ?

Cheers

Mariano


2010/3/11 laurent laffont <[hidden email]>
Great !

Can we merge our respective posts and put this on the Pharo wiki ?

I don't have write access to the wiki.

Do you know if there's an equivalent tutorial for windows ?

I will try with the svn trunk.

Laurent Laffont



On Thu, Mar 11, 2010 at 8:38 AM, Adrian Lienhard <[hidden email]> wrote:
Hi Laurent,

Nice! I just did the same the other day ;)

My blog post describes step by step how to build a Unix VM from scratch on OSX:

http://www.adrian-lienhard.ch/blog?article=building-a-pharo-squeak-vm-from-first-principles

Please note that you are using the 3.11.3.*2135* sources, which produce a VM with terrible performance. The reason is that they don't have the gnuification step that creates a jump table instead of the case switch for the interpreter loop. I use the most recent source from SVN (r2151) and the bytecodes/s is 479400749 compared to 248543689.

Cheers,
Adrian



On Mar 10, 2010, at 23:24 , laurent laffont wrote:

> Hi,
>
> As a memento for me, I've written a tutorial to build the VM on Linux.
> http://magaloma.blogspot.com/2010/03/how-i-build-squeak-vm-on-archlinux.html
>
> I also provide the binaries and Pharo image with VMMaker loaded.
>
> As I'm newbie on building a VM, thanks for additional informations.
>
> Cheers,
>
> Laurent Laffont
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Bryce Kampjes
On Thu, 2010-03-11 at 10:28 +0100, Mariano Martinez Peck wrote:

> Both really interesting posts. Now...Some people reported that the
> Exupery Linux VM has "nicer" fonts than the standard VM, even if both
> use true type.
> Then Bryce Kampjes said in the mailing list:
>
> "If it's font related then the Exupery VMs also have a patched bitlbt
> for
> subpixel antialiasing. The true type code uses that to make fonts look
> a
> bit nicer."
>
> Do you know how that can be included ?

Apply the .cs in the following email to your copy of VMMaker and also
build the truetype plugin:

http://n4.nabble.com/Fwd-Pharo-project-New-Pharo-based-on-core-10309-with-antialiased-fonts-td107050.html#a107071

The truetype work was done by Andy Tween. Googling for him, truetype,
plugin, and VM should find a bit more information.

Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Mariano Martinez Peck


On Mon, Mar 22, 2010 at 9:22 PM, Bryce Kampjes <[hidden email]> wrote:
On Thu, 2010-03-11 at 10:28 +0100, Mariano Martinez Peck wrote:
> Both really interesting posts. Now...Some people reported that the
> Exupery Linux VM has "nicer" fonts than the standard VM, even if both
> use true type.
> Then Bryce Kampjes said in the mailing list:
>
> "If it's font related then the Exupery VMs also have a patched bitlbt
> for
> subpixel antialiasing. The true type code uses that to make fonts look
> a
> bit nicer."
>
> Do you know how that can be included ?

Apply the .cs in the following email to your copy of VMMaker and also
build the truetype plugin:

http://n4.nabble.com/Fwd-Pharo-project-New-Pharo-based-on-core-10309-with-antialiased-fonts-td107050.html#a107071

The truetype work was done by Andy Tween. Googling for him, truetype,
plugin, and VM should find a bit more information.


Thanks Bryce!!! would be cool to have the "official" Linux VM for Pharo 1.0 release with this feature.

Cheers

Mariano


Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

laurent laffont


2010/3/22 Mariano Martinez Peck <[hidden email]>


On Mon, Mar 22, 2010 at 9:22 PM, Bryce Kampjes <[hidden email]> wrote:
On Thu, 2010-03-11 at 10:28 +0100, Mariano Martinez Peck wrote:
> Both really interesting posts. Now...Some people reported that the
> Exupery Linux VM has "nicer" fonts than the standard VM, even if both
> use true type.
> Then Bryce Kampjes said in the mailing list:
>
> "If it's font related then the Exupery VMs also have a patched bitlbt
> for
> subpixel antialiasing. The true type code uses that to make fonts look
> a
> bit nicer."
>
> Do you know how that can be included ?

Apply the .cs in the following email to your copy of VMMaker and also
build the truetype plugin:

http://n4.nabble.com/Fwd-Pharo-project-New-Pharo-based-on-core-10309-with-antialiased-fonts-td107050.html#a107071

The truetype work was done by Andy Tween. Googling for him, truetype,
plugin, and VM should find a bit more information.


Thanks Bryce!!! would be cool to have the "official" Linux VM for Pharo 1.0 release with this feature.


I've built one here http://lolgzs.free.fr/pharo/Squeak-3.11.3.2135-src-pached.tar.gz with FT2Plugin and the patched bitlbt.

If someone can test it on another machine ...

Note that I have several tests failing with this VM on RC3 image  (but it doesn't crash, so that's far better than my previous custom VM :)

Laurent Laffont
 

Cheers

Mariano


Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

Mariano Martinez Peck


2010/3/22 laurent laffont <[hidden email]>


2010/3/22 Mariano Martinez Peck <[hidden email]>



On Mon, Mar 22, 2010 at 9:22 PM, Bryce Kampjes <[hidden email]> wrote:
On Thu, 2010-03-11 at 10:28 +0100, Mariano Martinez Peck wrote:
> Both really interesting posts. Now...Some people reported that the
> Exupery Linux VM has "nicer" fonts than the standard VM, even if both
> use true type.
> Then Bryce Kampjes said in the mailing list:
>
> "If it's font related then the Exupery VMs also have a patched bitlbt
> for
> subpixel antialiasing. The true type code uses that to make fonts look
> a
> bit nicer."
>
> Do you know how that can be included ?

Apply the .cs in the following email to your copy of VMMaker and also
build the truetype plugin:

http://n4.nabble.com/Fwd-Pharo-project-New-Pharo-based-on-core-10309-with-antialiased-fonts-td107050.html#a107071

The truetype work was done by Andy Tween. Googling for him, truetype,
plugin, and VM should find a bit more information.


Thanks Bryce!!! would be cool to have the "official" Linux VM for Pharo 1.0 release with this feature.


I've built one here http://lolgzs.free.fr/pharo/Squeak-3.11.3.2135-src-pached.tar.gz with FT2Plugin and the patched bitlbt.


Excellent!!!   do you know if this vm has the "Gnuification"  ???

I saw an email from Adrian in VM maling list saying he has problem with that.

 
If someone can test it on another machine ...



I will try later (lazy to open virtual box hahah)
 

Note that I have several tests failing with this VM on RC3 image  (but it doesn't crash, so that's far better than my previous custom VM :)

Laurent Laffont
 

Cheers

Mariano


Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

laurent laffont

Thanks Bryce!!! would be cool to have the "official" Linux VM for Pharo 1.0 release with this feature.


I've built one here http://lolgzs.free.fr/pharo/Squeak-3.11.3.2135-src-pached.tar.gz with FT2Plugin and the patched bitlbt.


Excellent!!!   do you know if this vm has the "Gnuification"  ???

I don't think so as I use  the current stable VM 3.11.3. rev 2135.  I will try with last trunk.

Laurent Laffont

 

I saw an email from Adrian in VM maling list saying he has problem with that.

 
If someone can test it on another machine ...



I will try later (lazy to open virtual box hahah)
 

Note that I have several tests failing with this VM on RC3 image  (but it doesn't crash, so that's far better than my previous custom VM :)

Laurent Laffont
 


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: How I build squeak-vm with FT2Plugin on Linux

laurent laffont
In reply to this post by Mariano Martinez Peck
I've built a vm from last trunk with all patches needed. http://lolgzs.free.fr/pharo/squeakvm-r2156.tar.gz
I put FT2Plugin patches in one: http://lolgzs.free.fr/pharo/ft2plugin.patch

I still have around 30 tests failing. It seems I need some magical special powers to built a VM which makes all tests pass :(

Cheers,

Laurent Laffont


2010/3/22 Mariano Martinez Peck <[hidden email]>


2010/3/22 laurent laffont <[hidden email]>



2010/3/22 Mariano Martinez Peck <[hidden email]>



On Mon, Mar 22, 2010 at 9:22 PM, Bryce Kampjes <[hidden email]> wrote:
On Thu, 2010-03-11 at 10:28 +0100, Mariano Martinez Peck wrote:
> Both really interesting posts. Now...Some people reported that the
> Exupery Linux VM has "nicer" fonts than the standard VM, even if both
> use true type.
> Then Bryce Kampjes said in the mailing list:
>
> "If it's font related then the Exupery VMs also have a patched bitlbt
> for
> subpixel antialiasing. The true type code uses that to make fonts look
> a
> bit nicer."
>
> Do you know how that can be included ?

Apply the .cs in the following email to your copy of VMMaker and also
build the truetype plugin:

http://n4.nabble.com/Fwd-Pharo-project-New-Pharo-based-on-core-10309-with-antialiased-fonts-td107050.html#a107071

The truetype work was done by Andy Tween. Googling for him, truetype,
plugin, and VM should find a bit more information.


Thanks Bryce!!! would be cool to have the "official" Linux VM for Pharo 1.0 release with this feature.


I've built one here http://lolgzs.free.fr/pharo/Squeak-3.11.3.2135-src-pached.tar.gz with FT2Plugin and the patched bitlbt.


Excellent!!!   do you know if this vm has the "Gnuification"  ???

I saw an email from Adrian in VM maling list saying he has problem with that.

 
If someone can test it on another machine ...



I will try later (lazy to open virtual box hahah)
 

Note that I have several tests failing with this VM on RC3 image  (but it doesn't crash, so that's far better than my previous custom VM :)

Laurent Laffont
 

Cheers

Mariano


Bryce


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project