Hello,

That is an interesting problem. Does gazebo run fine when no textures
are present?

-nate

On 9/27/07, Stéphane LAFORET <[EMAIL PROTECTED]> wrote:
> Hi,
> I haven't still tried to change my video driver
> (without Envy) but with more tests, I saw that the
> error message "gl error : invalide value" appear when
> I have more than one textured object. Exemple, with
> only 1 box textured by grid.ppm, there is no problem.
> But when I add a second box (textured or not), the
> error message appear!
>
> So my world file is:
> <?xml version="1.0"?>
> <gz:world
> xmlns:gz="http://playerstage.sourceforge.net/gazebo/xmlschema/#gz";
> xmlns:model="http://playerstage.sourceforge.net/gazebo/xmlschema/#model";
> xmlns:sensor="http://playerstage.sourceforge.net/gazebo/xmlschema/#sensor";
> xmlns:window="http://playerstage.sourceforge.net/gazebo/xmlschema/#window";
> xmlns:param="http://playerstage.sourceforge.net/gazebo/xmlschema/#params";
> xmlns:ui="http://playerstage.sourceforge.net/gazebo/xmlschema/#params";>
>
> <!-- Description du monde / world description-->
>   <model:ObserverCam>
>     <id>userCam0</id>
>     <xyz>0 0 20</xyz>
>     <rpy>-0.1 89 0.1</rpy>
>     <imageSize>640 480</imageSize>
>     <updateRate>10</updateRate>
>                 <displayRays>true</displayRays>
>     <renderMethod>AUTO</renderMethod>
>   </model:ObserverCam>
>
>   <model:SkyDome>
>     <toneMap>skyTones.jpg</toneMap>
>     <timeLapse>true</timeLapse>
>   </model:SkyDome>
>
>   <model:LightSource>
>     <id>light1</id>
>     <xyz>0.000 0.000 100.000</xyz>
>     <ambientColor>0.2, 0.2, 0.2</ambientColor>
>     <diffuseColor>0.8, 0.8, 0.8</diffuseColor>
>     <specularColor>0.2, 0.2, 0.2</specularColor>
>     <attenuation>1.0, 0.0, 0.00</attenuation>
>   </model:LightSource>
>
>   <model:GroundPlane>
>     <id>ground1</id>
>     <color>0.0 0.5 0.0</color>
>     <textureFile>grid.ppm</textureFile>
>   </model:GroundPlane>
>
>   <model:SimpleSolid>
>     <xyz>10.0 10.0 0.5</xyz>
>     <shape>box</shape>
>     <size>1 1 1</size>
>     <textureFile>grid.ppm</textureFile>
>   </model:SimpleSolid>
>
>   <model:SimpleSolid>
>     <xyz>-10.0 10.0 0.5</xyz>
>     <shape>box</shape>
>     <size>1 1 1</size>
>     <textureFile>grid.ppm</textureFile>
>   </model:SimpleSolid>
>
>   <model:SimpleSolid>
>     <xyz>10.0 -10.0 0.5</xyz>
>     <shape>box</shape>
>     <size>1 1 1</size>
>     <textureFile>grid.ppm</textureFile>
>   </model:SimpleSolid>
>
> <!-- X -->
>   <model:SimpleSolid>
>     <xyz>-8.5 -10.0 0.5</xyz>
>     <shape>box</shape>
>     <size>2 1 1</size>
>     <textureFile>x.ppm</textureFile>
>   </model:SimpleSolid>
>
> <!-- Y -->
>   <model:SimpleSolid>
>     <xyz>-10 -8.5 0.5</xyz>
>     <shape>box</shape>
>     <size>1 2 1</size>
>     <textureFile>y.ppm</textureFile>
>   </model:SimpleSolid>
>
> <!-- Z -->
>   <model:SimpleSolid>
>     <xyz>-10 -10 0.5</xyz>
>     <shape>box</shape>
>     <size>1 1 3</size>
>     <textureFile>z.ppm</textureFile>
>   </model:SimpleSolid>
>
> <!-- Description du robot / robot description-->
>   <model:CycabModel>
>     <plugin>CycabModel.so</plugin>
>     <id>cycab01</id>
>     <xyz>0 0 0.2</xyz>
>     <rpy>0 0 0</rpy>
>     <skinFile>cycab.3ds</skinFile>
>     <skinScale>1 1 1</skinScale>
>     <skinXyz>-0.65 0 -0.15</skinXyz>
>     <skinRpy>90 180 90</skinRpy>
>             <model:TruthWidget>
>               <id>truth01</id>
>             </model:TruthWidget>
>             <model:SickLMS200>
>               <id>laser1</id>
>               <xyz>1.0 0.0 0.3</xyz>
>                <model:MonoCam>
>                 <id>camera1</id>
>                 <xyz>0 0 0.2</xyz>
>                 <renderMethod>AUTO</renderMethod>
>               </model:MonoCam>
>             </model:SickLMS200>
>   </model:CycabModel>
> </gz:world>
> --- Nate Koenig <[EMAIL PROTECTED]> a écrit :
>
> > Hi Stephanie,
> >
> > The glxinfo looks good. Could you post your world
> > file?
> >
> > -nate
> >
> > On 9/25/07, Stéphane LAFORET <[EMAIL PROTECTED]>
> > wrote:
> > > Hi, yes, I think I have installed the good
> > drivers. I
> > > am under Ubuntu and I used Envy to installed it.
> > > So, glxinfo give me that:
> > >
> > > name of display: :0.0
> > > display: :0  screen: 0
> > > direct rendering: Yes
> > > server glx vendor string: NVIDIA Corporation
> > > server glx version string: 1.4
> > > server glx extensions:
> > >     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> > > GLX_SGIX_fbconfig,
> > >     GLX_SGIX_pbuffer, GLX_SGI_video_sync,
> > > GLX_SGI_swap_control,
> > >     GLX_EXT_texture_from_pixmap,
> > GLX_ARB_multisample,
> > > GLX_NV_float_buffer,
> > >     GLX_ARB_fbconfig_float,
> > GLX_EXT_framebuffer_sRGB
> > > client glx vendor string: NVIDIA Corporation
> > > client glx version string: 1.4
> > > client glx extensions:
> > >     GLX_ARB_get_proc_address, GLX_ARB_multisample,
> > > GLX_EXT_visual_info,
> > >     GLX_EXT_visual_rating, GLX_EXT_import_context,
> > > GLX_SGI_video_sync,
> > >     GLX_NV_swap_group, GLX_NV_video_out,
> > > GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
> > >     GLX_SGI_swap_control, GLX_NV_float_buffer,
> > > GLX_ARB_fbconfig_float,
> > >     GLX_EXT_fbconfig_packed_float,
> > > GLX_EXT_texture_from_pixmap,
> > >     GLX_EXT_framebuffer_sRGB
> > > GLX version: 1.3
> > > GLX extensions:
> > >     GLX_EXT_visual_info, GLX_EXT_visual_rating,
> > > GLX_SGIX_fbconfig,
> > >     GLX_SGIX_pbuffer, GLX_SGI_video_sync,
> > > GLX_SGI_swap_control,
> > >     GLX_EXT_texture_from_pixmap,
> > GLX_ARB_multisample,
> > > GLX_NV_float_buffer,
> > >     GLX_ARB_fbconfig_float,
> > GLX_EXT_framebuffer_sRGB,
> > >     GLX_ARB_get_proc_address
> > > OpenGL vendor string: NVIDIA Corporation
> > > OpenGL renderer string: GeForce 8800 GTX/PCI/SSE2
> > > OpenGL version string: 2.1.1 NVIDIA 100.14.19
> > > OpenGL extensions: ....[Below it's not important
> > in my
> > > opinion]
> > >
> > > Do you see something wrong?
> > >
> > > Very thanks for your answer!
> > >
> > > Stephane
> > >
> > > --- Nathan Michael <[EMAIL PROTECTED]> a
> > écrit :
> > >
> > > > Hi Stephane,
> > > >
> > > > The NVidia 8800GTX should work. Are you sure you
> > > > have installed the
> > > > driver correctly? What does the output from
> > glxinfo
> > > > look like? Also,
> > > > is everything setup correctly in you X11 config
> > > > file.
> > > >
> > > > Nate
> > > >
> > > > On Sep 24, 2007, at 10:11 AM, Stéphane LAFORET
> > > > wrote:
> > > >
> > > > > Hi, my computer have a new GPU, a nvidia
> > 8800GTX.
> > > > I
> > > > > have the good driver. But now, when I launch
> > > > wxgazebo,
> > > > > I have lot of error message:
> > > > > gl error : invalide value
> > > > >
> > > > > I tried to modify the render method of the
> > > > observer
> > > > > cam and of the robot's camera (sony vid or
> > > > monoCam) I
> > > > > have the same trouble.
> > > > >
> > > > > Only if I use GLX as renderMethod for
> > observerCam
> > > > and
> > > > > AUTO for the renderMethod of the robot's
> > camera,
> > > > the
> > > > > error message desappear.
> > > > >
> > > > > What's happened? and how to fix it?
> > > > >
> > > > > kind regards, Stephane
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> >
> ______________________________________________________________________
> > > >
> > > > > _______
> > > > > Ne gardez plus qu'une seule adresse mail !
> > Copiez
> > > > vos mails vers
> > > > > Yahoo! Mail
> > > > >
> > > > >
> > > >
> > >
> >
> ----------------------------------------------------------------------
> > > >
> > > > > ---
> > > > > This SF.net email is sponsored by: Microsoft
> > > > > Defy all challenges. Microsoft(R) Visual
> > Studio
> > > > 2005.
> > > > >
> > > >
> > >
> >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > >
> > _______________________________________________
> > > > > Playerstage-gazebo mailing list
> > > > > [email protected]
> > > > >
> > > >
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > >
> > > >
> > > >
> > >
> >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio
> > > > 2005.
> > > >
> > >
> >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > _______________________________________________
> > > > Playerstage-gazebo mailing list
> > > > [email protected]
> > > >
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > >
> > >
> > >
> > >
> > >
> >
> ______________________________________________________________________________
> > > Stockage illimité de vos mails avec Yahoo! Mail.
> > Changez aujourd'hui de mail !
> > >
> > >
> >
> -------------------------------------------------------------------------
> > > This SF.net email is sponsored by: Microsoft
> > > Defy all challenges. Microsoft(R) Visual Studio
> > 2005.
> > >
> >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > [email protected]
> > >
> >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio
> > 2005.
> >
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Playerstage-gazebo mailing list
> > [email protected]
> >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> >
>
>
>
>       
> _____________________________________________________________________________
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Playerstage-gazebo mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to