checking out firtree code

39 views
Skip to first unread message

rpg

unread,
Jul 17, 2009, 11:11:06 AM7/17/09
to Firtree Development List
Hi,

Your work is really really exciting but I'd like to know how to
checkout the code. I tried this as

https://code.launchpad.net/firtree

as said here

https://code.launchpad.net/firtree

but I get

~/Documents@rpg> bzr branch lp:firtree
bzr: ERROR: [Errno -2] Name or service not known
~/Documents@rpg>

Rich Wareham

unread,
Jul 17, 2009, 11:19:20 AM7/17/09
to rpg...@gmail.com, firtre...@googlegroups.com
On Fri, Jul 17, 2009 at 4:11 PM, rpg<rpg...@gmail.com> wrote:
>
> Hi,

Hi rpg,

> Your work is really really exciting but I'd like to know how to
> checkout the code. I tried this as

[...]

> ~/Documents@rpg> bzr branch lp:firtree
> bzr: ERROR: [Errno -2] Name or service not known
> ~/Documents@rpg>

Is this on an Ubuntu machine? AFAIK, bzr lp:firtree will only work if
you have the bazaar launchpad integration plugins installed (they are
patched in by default on Ubuntu).

As an alternative, one can use the full URL that lp:firtree expands to:

bzr branch http://bazaar.launchpad.net/%7Efirtree/firtree/main/

Note that Firtree has only been really tested on Ubuntu so you may run
into some cross-distro problems. Sorry in advance.

You may find the following branches of interest too:

http://bazaar.launchpad.net/~richwareham/firtree/pipeline-editor # A
simple python gui pipeline editor.

http://bazaar.launchpad.net/~richwareham/firtree/gstreamer-integration
# A GStreamer sink node for firtree.

Happy hacking,

--
Dr Rich Wareham

Rohit Garg

unread,
Jul 17, 2009, 11:25:16 AM7/17/09
to rj...@hermes.cam.ac.uk, firtre...@googlegroups.com
Hi,

Thanks for your quick response.

> Is this on an Ubuntu machine? AFAIK, bzr lp:firtree will only work if
> you have the bazaar launchpad integration plugins installed (they are
> patched in by default on Ubuntu).

This is on a fedora machine.


>
> As an alternative, one can use the full URL that lp:firtree expands to:
>
> bzr branch http://bazaar.launchpad.net/%7Efirtree/firtree/main/

I tried this but I get this,

~/Documents@rpg> bzr branch
http://bazaar.launchpad.net/%7Efirtree/firtree/main/bzr: ERROR:
Connection error: Couldn't resolve host 'bazaar.launchpad.net' [Errno


-2] Name or service not known
~/Documents@rpg>

I can email to you, so my net connection is obviously fine. Any ideas?

> Note that Firtree has only been really tested on Ubuntu so you may run
> into some cross-distro problems. Sorry in advance.

Ya so far, you look like a lone ranger. :)

BTW, are these kernels compiled to CPU code or are they executed on the GPU?

--
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay

Rich Wareham

unread,
Jul 17, 2009, 11:32:06 AM7/17/09
to Rohit Garg, firtre...@googlegroups.com
On Fri, Jul 17, 2009 at 4:25 PM, Rohit Garg<rpg...@gmail.com> wrote:

>> Is this on an Ubuntu machine?
>

> This is on a fedora machine.

I wish you luck picking out my horrible Ubuntu biases from the code then :).

>>
>> As an alternative, one can use the full URL that lp:firtree expands to:
>>
>> bzr branch http://bazaar.launchpad.net/%7Efirtree/firtree/main/
> I tried this but I get this,

[...]

> I can email to you, so my net connection is obviously fine. Any ideas?

No. Sorry. If you can't resolve bazaar.launchpad.net then there is
*something* wrong with the net connection. You could always try
running 'host bazaar.launchpad.net' to make sure.

> BTW, are these kernels compiled to CPU code or are they executed on the GPU?

Currently CPU (they were GPU before I re-wrote the engine).
Re-creating the GPU engine is next on the list though.

--
Dr Rich Wareham

Rohit Garg

unread,
Jul 17, 2009, 11:39:53 AM7/17/09
to Rich Wareham, firtre...@googlegroups.com
> I wish you luck picking out my horrible Ubuntu biases from the code then :).

*scared*

what biases?

> No. Sorry. If you can't resolve bazaar.launchpad.net then there is
> *something* wrong with the net connection. You could always try
> running 'host bazaar.launchpad.net' to make sure.

Well, I did a host and then used the ip in place of domain name and
managed to check out the code. Thanks.


> Currently CPU (they were GPU before I re-wrote the engine).
> Re-creating the GPU engine is next on the list though.

I must ask, what prompted this, .............. change.

Why not just append your functions/kernels to the shader code and let
the OpenGL driver manage the rest? We took a similar approach when we
did something in the same spirit but not the same thing.

Regards.

Rich Wareham

unread,
Jul 17, 2009, 11:49:27 AM7/17/09
to firtre...@googlegroups.com, rpg...@gmail.com
On Fri, Jul 17, 2009 at 4:39 PM, Rohit Garg<rpg...@gmail.com> wrote:

> what biases?

Heh - I know of none off the top of my head but I imagine that some
parts of the build will turn out to be Ubuntu specific merely because
I have tested it on no other distro.

>> No. Sorry. If you can't resolve bazaar.launchpad.net then there is
>> *something* wrong with the net connection. You could always try
>> running 'host bazaar.launchpad.net' to make sure.
>
> Well, I did a host and then used the ip in place of domain name and
> managed to check out the code. Thanks.
>
>
>> Currently CPU (they were GPU before I re-wrote the engine).
>> Re-creating the GPU engine is next on the list though.
> I must ask, what prompted this, .............. change.

A re-write was prompted by the fact the code beforehand was hard to
maintain and poorly designed. The re-write has just not yet got that
far.

> Why not just append your functions/kernels to the shader code and let
> the OpenGL driver manage the rest? We took a similar approach when we
> did something in the same spirit but not the same thing.

Because the Firtree kernel language is not the same as GLSL. It is
similar but different. Also Firtree will link chains of kernels
together into one 'super kernel'. That being said, adding an OpenGL
backend to Firtree now the core has been sorted shouldn't be too
difficule.

--
Dr Rich Wareham

Rohit Garg

unread,
Jul 17, 2009, 11:54:26 AM7/17/09
to Rich Wareham, firtre...@googlegroups.com
> Because the Firtree kernel language is not the same as GLSL. It is
> similar but different.

That's one of the reasons why I don't like building DSL's. One should
use standard languages as far as possible. May be you should think
about it too. :)

Rohit Garg

unread,
Jul 17, 2009, 11:58:40 AM7/17/09
to Rich Wareham, firtre...@googlegroups.com
> :) - It is in essence a sub-set of GLSL rather than a new DSL. GLSL
> has lots of things that don't map at all onto an image processing
> pipeline like Firtree (e.g. the 'varying' qualifier which implies the
> presence of a vertex shader).

Fair point. But if indeed it is just a subset of GLSL, then we should
be able to get away with string concatenation mostly, right?

Rohit Garg

unread,
Jul 17, 2009, 2:02:41 PM7/17/09
to Rich Wareham, firtre...@googlegroups.com
>> what biases?
>
> Heh - I know of none off the top of my head but I imagine that some
> parts of the build will turn out to be Ubuntu specific merely because
> I have tested it on no other distro.

Well, I just found one. I did a cmake and found that I didn't have
styx. It's not there in fedora repo.

So now we know. :)


>
>>> No. Sorry. If you can't resolve bazaar.launchpad.net then there is
>>> *something* wrong with the net connection. You could always try
>>> running 'host bazaar.launchpad.net' to make sure.
>>
>> Well, I did a host and then used the ip in place of domain name and
>> managed to check out the code. Thanks.
>>
>>
>>> Currently CPU (they were GPU before I re-wrote the engine).
>>> Re-creating the GPU engine is next on the list though.
>> I must ask, what prompted this, .............. change.
>
> A re-write was prompted by the fact the code beforehand was hard to
> maintain and poorly designed. The re-write has just not yet got that
> far.
>
>> Why not just append your functions/kernels to the shader code and let
>> the OpenGL driver manage the rest? We took a similar approach when we
>> did something in the same spirit but not the same thing.
>
> Because the Firtree kernel language is not the same as GLSL. It is
> similar but different. Also Firtree will link chains of kernels
> together into one 'super kernel'. That being said, adding an OpenGL
> backend to Firtree now the core has been sorted shouldn't be too
> difficule.
>
> --
> Dr Rich Wareham
>

--

Reply all
Reply to author
Forward
0 new messages