Hi Nicklas, <br><br>Great to hear this!! You are the first which have working 3D extension in linux and fglrx driver!! Feel free to send a patch and become a contributor to gvSIG 3D. Here you have the instructions[1]. If you don't have enough time I will do the job for the next release (RC1) and you will be a contributor anyway :) .<br>
<br>About PostGIS in the gvSIG code sprint[2] many bugs were fixes. Maybe you can use a translator, the web is in spanish. Anyway other people in the community can speak about postGis better than me... Hope they read this thread. <br>
<br>We are a bit curious about performance with fglrx drivers. How it goes? Letter 's' toggles the statistics in a 3D view. <br><br>Cheers, and good work!<br><br>[1]<a href="https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/anexos/contribuciones-y-parches-al-codigo-de-gvsig/contributions-and-patches-to-the-gvsig-code/view?set_language=en">https://gvsig.org/web/projects/gvsig-desktop/docs/devel/gvsig-devel-guide/2.0.0/anexos/contribuciones-y-parches-al-codigo-de-gvsig/contributions-and-patches-to-the-gvsig-code/view?set_language=en</a><br>
[2]<a href="http://www.doowikis.com/m/Jy3H1rZ7AP">http://www.doowikis.com/m/Jy3H1rZ7AP</a><br><br><div class="gmail_quote">2011/1/10 Nicklas Avén <span dir="ltr"><<a href="mailto:nicklas.aven@jordogskog.no">nicklas.aven@jordogskog.no</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hallo again<br>
<br>
I had it working. First I tried:<br>
<br>
pathtoGL=$(find /usr/lib/fglrx -iname libGL.so.1);<br>
<br>
then it found libGL.so.1 but couldn't load it.<br>
<br>
But when I changed to<br>
<br>
pathtoGL=$(find /usr/lib32/fglrx -iname libGL.so.1);<br>
<br>
it works.<br>
<br>
Now it is just that issue that I don't get the Z-values from PostGIS.<br>
<br>
Is that patch available? Is it difficult to compile. As I understood it<br>
the bug is not in the 3D-extension but in the desktop application?<br>
<br>
Then I found another issue:<br>
At least in the 3D-extension, I haven't tried the 2D view, If I load a<br>
PostGIS table that table gets locked. Even after I have deleted it from<br>
the view I can't drop it in PostGIS.<br>
<br>
There must be some sort of locking left also efter removing the table<br>
from gvSIG.<br>
<br>
Regards<br>
<font color="#888888"><br>
Nicklas<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Mon, 2011-01-10 at 14:09 +0100, Jordi Torres wrote:<br>
> Hi Nicklas,<br>
><br>
> I think you will have to convert your polyhedralsurfaces to polygons,<br>
> but you can test anyway...<br>
><br>
> I am waiting eagerly for this screenshots!!<br>
><br>
> Cheers.<br>
><br>
> 2011/1/10 Nicklas Avén <<a href="mailto:nicklas.aven@jordogskog.no">nicklas.aven@jordogskog.no</a>><br>
> Great!<br>
><br>
> Thanks both of you.<br>
><br>
> I will get back with some nice screenshots of ST_3DShortesline<br>
> on<br>
> polyhedralsurfaces when I get some extra time and things are<br>
> running.<br>
><br>
><br>
> BTW, will the 3D extension understand the geometry type<br>
> polyhedralsurface or do I have to use ST_Dump to get a bunch<br>
> of 3D<br>
> polygons instead?<br>
><br>
><br>
> Thanks again<br>
><br>
> Nicklas<br>
><br>
><br>
><br>
> On Mon, 2011-01-10 at 13:37 +0100, Jordi Torres wrote:<br>
> > Hi Nicklas,<br>
> ><br>
> > With no doubt the best cards to use with linux are NVIDIA<br>
> one's. Their<br>
> > private drivers runs like a charm in linux machines. And<br>
> they are a<br>
> > couple of steps advanced with respect to ATI, at least in<br>
> linux...<br>
> ><br>
> > The problem you are experiencing is that gvSIG 3D can't find<br>
> your<br>
> > libGL.so.1 implementation (usually in /usr/lib/ ). It has<br>
> been fixed<br>
> > for Mesa drivers, but not for ATI private drivers. You can<br>
> take a look<br>
> > in the script gvSIG.sh to see what we do with mesa drivers<br>
> and try to<br>
> > do something similar. Or you can, of course, wait for RC1<br>
> version.<br>
> ><br>
> > As ben recommended, take a look to phoronix, and compare<br>
> chipsets and<br>
> > drivers.... :)<br>
> ><br>
> > Cheers.<br>
> ><br>
> > 2011/1/10 Nicklas Avén <<a href="mailto:nicklas.aven@jordogskog.no">nicklas.aven@jordogskog.no</a>><br>
> > Here it comes :-)<br>
> ><br>
> ><br>
> > On Mon, 2011-01-10 at 13:27 +0100, Jordi Torres<br>
> wrote:<br>
> > > Hi Nicklas,<br>
> > ><br>
> > > Can you send the<br>
> > > file<br>
> /home/nicklas/gvSIG_1.10/bin/hs_err_pid6059.log ? This<br>
> > file<br>
> > > contains the log for the native crash.<br>
> > ><br>
> > > As Benjamin said, ATI 3D support in linux have<br>
> been<br>
> > problematic for a<br>
> > > long time. Anyway we know we have a problem with<br>
> ati cards<br>
> > in linux<br>
> > > and private drivers. We will do our best to fix it<br>
> for RC1<br>
> > version.<br>
> > ><br>
> > > Cheers.<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > 2011/1/10 Nicklas Avén<br>
> <<a href="mailto:nicklas.aven@jordogskog.no">nicklas.aven@jordogskog.no</a>><br>
> > > I have had some problems seeing the<br>
> beginning of the<br>
> > startup<br>
> > > of gcSIG<br>
> > > since it was too long to be scrollable in<br>
> the<br>
> > terminal. But<br>
> > > now I<br>
> > > outputted it to file and I am not sure it<br>
> is about<br>
> > the video<br>
> > > card.<br>
> > ><br>
> > > I attach both glxint and the output of the<br>
> gvSIG<br>
> > start that<br>
> > > ends with a<br>
> > > crash<br>
> > ><br>
> > > When I installed I tried to just follow<br>
> the<br>
> > instructions which<br>
> > > resulted<br>
> > > in two folders in my home directory:<br>
> > > gvSIG and gvSIG_1.10<br>
> > ><br>
> > > to start I have to manually kick on script<br>
> gvSIG-sh<br>
> > in<br>
> > > bin-directory<br>
> > > under gvSIG_1.10<br>
> > ><br>
> > ><br>
> > ><br>
> > > Thanks<br>
> > ><br>
> > > Nicklas<br>
> > ><br>
> > ><br>
> > > here comes glxinfo output as attachment.<br>
> > ><br>
> > > My system is Ubuntu 10.4 64 bit<br>
> > ><br>
> > > I have had some problems getting the error<br>
> text. I<br>
> > cannot find<br>
> > > it in ant<br>
> > > log and the text is so long so the start<br>
> with the<br>
> > actual<br>
> > ><br>
> > ><br>
> > > On Mon, 2011-01-10 at 12:58 +0100, Jordi<br>
> Torres<br>
> > wrote:<br>
> > > > Hi Nicklas,<br>
> > > ><br>
> > > > About PostGis tables giving 2D<br>
> geometries is a bug<br>
> > that have<br>
> > > been<br>
> > > > tracked and a fixed[1]. The fix (a patch<br>
> submitted<br>
> > by Jose<br>
> > > Carlos<br>
> > > > Martínez from UPV) are not in the svn<br>
> yet, is<br>
> > waiting to be<br>
> > > assigned<br>
> > > > and merged. We hope it will be merged<br>
> for gvSIG<br>
> > 1.11<br>
> > > release.<br>
> > > ><br>
> > > > With respect to your ATI card: are you<br>
> using<br>
> > driver Mesa or<br>
> > > fglrx? Can<br>
> > > > you send to the list a glxinfo output<br>
> please?<br>
> > > ><br>
> > > > Thanks for test the 3D extension!<br>
> > > ><br>
> > > > Cheers.<br>
> > > ><br>
> > > > 2011/1/10 Nicklas Avén<br>
> > <<a href="mailto:nicklas.aven@jordogskog.no">nicklas.aven@jordogskog.no</a>><br>
> > > > Hallo<br>
> > > ><br>
> > > > Actually I started trying some<br>
> the last<br>
> > week without<br>
> > > knowing<br>
> > > > it was that<br>
> > > > new :-)<br>
> > > ><br>
> > > > What I have tried is against<br>
> PostGIS in an<br>
> > attempt<br>
> > > to<br>
> > > > visualize the new<br>
> > > > polyhedral surface and 3D<br>
> distance<br>
> > functions in the<br>
> > > trunk<br>
> > > > comming in<br>
> > > > PostGIS 2.0.<br>
> > > ><br>
> > > > In Ubuntu gvSIG crashes when I<br>
> have the<br>
> > extension<br>
> > > installed. I<br>
> > > > translated some spanish post<br>
> with google<br>
> > on the<br>
> > > subject and I<br>
> > > > guess it<br>
> > > > is a problem with my ATI-card.<br>
> The<br>
> > symptoms looked<br>
> > > very<br>
> > > > similar. Is<br>
> > > > there a solution for that?<br>
> > > ><br>
> > > > In windows I had some other<br>
> trouble. When<br>
> > I had<br>
> > > defined and<br>
> > > > opened a 3D<br>
> > > > view I could open a PostGIS<br>
> table, but I<br>
> > didn't get<br>
> > > the third<br>
> > > > dimmension. Properties said that<br>
> it was a<br>
> > 2d<br>
> > > polygon. I guess<br>
> > > > that can<br>
> > > > be a JDBC-problem. But I don't<br>
> know enough<br>
> > about<br>
> > > that to say<br>
> > > > anything.<br>
> > > ><br>
> > > > Another problem on windows was<br>
> that when I<br>
> > had<br>
> > > loaded my<br>
> > > > postgis table<br>
> > > > the cpu went wild. some<br>
> java-process took<br>
> > all<br>
> > > recourses.<br>
> > > ><br>
> > > > All this was maybe a week ago.<br>
> > > ><br>
> > > > But I saw the idea, and it<br>
> looked<br>
> > great :-)<br>
> > > ><br>
> > > ><br>
> > > > Regards<br>
> > > > Nicklas Avén<br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > On Mon, 2011-01-10 at 12:02<br>
> +0100, Jordi<br>
> > Torres<br>
> > > wrote:<br>
> > > > > Hi gvSIG users!<br>
> > > > ><br>
> > > > > As many of you already know,<br>
> the gvSIG<br>
> > 3D team is<br>
> > > working<br>
> > > > hard to get<br>
> > > > > a final version of the 3D<br>
> extension.<br>
> > During<br>
> > > christmas<br>
> > > > hollydays a beta<br>
> > > > > version have been released.<br>
> After this<br>
> > version we<br>
> > > will<br>
> > > > create<br>
> > > > > consecutives RC (release<br>
> candidates)<br>
> > fixing the<br>
> > > bugs<br>
> > > > detected to<br>
> > > > > arrive to the final release.<br>
> > > > ><br>
> > > > > We are specially interested in<br>
> the<br>
> > community<br>
> > > testing and<br>
> > > > feedback,<br>
> > > > > because the proper functioning<br>
> of this<br>
> > extension<br>
> > > depends on<br>
> > > > the<br>
> > > > > hardware and drivers used. Our<br>
> target is<br>
> > to detect<br>
> > > the<br>
> > > > maximum number<br>
> > > > > of bugs, and which<br>
> configurations are<br>
> > working<br>
> > > well/bad to<br>
> > > > fix these<br>
> > > > > problems in the RC1 version.<br>
> > > > ><br>
> > > > > We recommend to take a look to<br>
> the<br>
> > minimum<br>
> > > requirements[1]<br>
> > > > before to<br>
> > > > > install the 3D extension[2],<br>
> and do it<br>
> > in a<br>
> > > separate gvSIG<br>
> > > > 1.10 final<br>
> > > > > installation. All your<br>
> comments,<br>
> > suggestions and<br>
> > > bug reports<br>
> > > > are<br>
> > > > > wellcome. You can write to<br>
> gvSIG<br>
> > distribution<br>
> > > lists or to<br>
> > > > the gvSIG 3D<br>
> > > > > blog[3], where you can find<br>
> > videotutorials and use<br>
> > > examples.<br>
> > > > ><br>
> > > > > Thank you very much in<br>
> advance!<br>
> > > > ><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
> [1]<a href="https://gvsig.org/web/projects/gvsig-desktop/official/gvsig-1.10/extensiones-gvsig-1.10/extension-3d/system-requirements/view?set_language=en" target="_blank">https://gvsig.org/web/projects/gvsig-desktop/official/gvsig-1.10/extensiones-gvsig-1.10/extension-3d/system-requirements/view?set_language=en</a><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
> [2]<a href="https://gvsig.org/web/projects/gvsig-desktop/official/gvsig-1.10/extensiones-gvsig-1.10/extension-3d/downloads" target="_blank">https://gvsig.org/web/projects/gvsig-desktop/official/gvsig-1.10/extensiones-gvsig-1.10/extension-3d/downloads</a><br>
> > > > > [3]<a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> > > > ><br>
> > > > ><br>
> > > > ><br>
> > > > > -- Jordi Torres Fabra --<br>
> > > > ><br>
> > > > > gvSIG 3D blog<br>
> > > > > <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> > > > > Instituto de Automática e<br>
> Informática<br>
> > Industrial<br>
> > > > > <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
> > > ><br>
> > > ><br>
> > > > ><br>
> > _______________________________________________<br>
> > > > > Gvsig_internacional mailing<br>
> list<br>
> > > > ><br>
> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> > > > ><br>
> > > ><br>
> > ><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > _______________________________________________<br>
> > > > Gvsig_internacional mailing list<br>
> > > ><br>
> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> > > ><br>
> > ><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > ><br>
> > > > --<br>
> > > > Jordi Torres Fabra<br>
> > > ><br>
> > > > gvSIG 3D blog<br>
> > > > <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> > > > Instituto de Automática e Informática<br>
> Industrial<br>
> > > > <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
> > > ><br>
> _______________________________________________<br>
> > > > Gvsig_internacional mailing list<br>
> > > > <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> > > ><br>
> > ><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> _______________________________________________<br>
> > > Gvsig_internacional mailing list<br>
> > > <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> > ><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Jordi Torres Fabra<br>
> > ><br>
> > > gvSIG 3D blog<br>
> > > <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> > > Instituto de Automática e Informática Industrial<br>
> > > <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
> > > _______________________________________________<br>
> > > Gvsig_internacional mailing list<br>
> > > <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> > ><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> ><br>
> ><br>
> ><br>
> > _______________________________________________<br>
> > Gvsig_internacional mailing list<br>
> > <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Jordi Torres Fabra<br>
> ><br>
> > gvSIG 3D blog<br>
> > <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> > Instituto de Automática e Informática Industrial<br>
> > <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
> > _______________________________________________<br>
> > Gvsig_internacional mailing list<br>
> > <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> ><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
><br>
><br>
> _______________________________________________<br>
> Gvsig_internacional mailing list<br>
> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Jordi Torres Fabra<br>
><br>
> gvSIG 3D blog<br>
> <a href="http://gvsig3d.blogspot.com" target="_blank">http://gvsig3d.blogspot.com</a><br>
> Instituto de Automática e Informática Industrial<br>
> <a href="http://www.ai2.upv.es" target="_blank">http://www.ai2.upv.es</a><br>
> _______________________________________________<br>
> Gvsig_internacional mailing list<br>
> <a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
> <a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
<br>
<br>
_______________________________________________<br>
Gvsig_internacional mailing list<br>
<a href="mailto:Gvsig_internacional@listserv.gva.es">Gvsig_internacional@listserv.gva.es</a><br>
<a href="http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional" target="_blank">http://listserv.gva.es/cgi-bin/mailman/listinfo/gvsig_internacional</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Jordi Torres Fabra<br><br>gvSIG 3D blog<br><a href="http://gvsig3d.blogspot.com">http://gvsig3d.blogspot.com</a><br>Instituto de Automática e Informática Industrial <br>
<a href="http://www.ai2.upv.es">http://www.ai2.upv.es</a><br>