Hi
,
Section "Device"
    Identifier  "Videocard0"
    Driver      "nv"
EndSection

This means you aren't using the nvidia driver. Depending on your distribution you may be able to install the driver via its package management system, otherwise you can start here:

http://www.nvidia.com/object/unix.html

You can still use gazebo, but you won't be able to do hardware rendering. I would recommend you go through the trouble of getting the Nvidia driver setup so that you can make use of its capabilities. Nvidia also provides a program that will help setup your xorg.conf file if you are so inclined.

Are you sure you have tried all of the renderMethod options. Below, you tried XLIB. Have you tried the other methods. Look here:

http://playerstage.sourceforge.net/doc/Gazebo-manual-0.7.0-html/ gazebo_opengl.html

Pick an example world file, change the observer cam to:

  <model:ObserverCam>
    <id>userCam0</id>
    <xyz>5.637 93.859 3.053</xyz>
    <rpy>-0 13 -39</rpy>
    <imageSize>640 480</imageSize>
    <updateRate>10</updateRate>
    <renderMethod>GLX</renderMethod>
  </model:ObserverCam>

This should work.

Nathan






Vaibhav

Check your X11 conf file (on my system: /etc/X11/xorg.conf). Check section "Module". If glx is listed, run glxinfo.

Nvidia has good documentation on how to set up your system using the Nvidia driver here:

http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/ chapter-03.html#id2475540

Nathan

On Apr 1, 2007, at 7:49 AM, Vaibhav Ghadiok wrote:

I have a Nvidia 6600 Graphics Card.
How do I figure out whether I have GLX or DRI enabled?

On 3/28/07, Nate Koenig < [EMAIL PROTECTED]> wrote:
Don't try running wxgazebo right now. First make sure that gazebo runs
fine. So, you have tried all options for the <renderingMethod>, and
for each one you ran gazebo not wxgazebo. And in each instance gazebo
failed with this error:

X Error of failed request:  GLXUnsupportedPrivateRequest
  Major opcode of failed request:  143 (GLX)
  Minor opcode of failed request:  16 (X_GLXVendorPrivate)
  Serial number of failed request:  14
  Current serial number in output stream:  16

If that is true, then could you tell me what type of video card you
have, and whether you have glx and dri enabled?

-nate

On 3/27/07, Vaibhav Ghadiok < [EMAIL PROTECTED]> wrote:
> When I execute gazebo I get an eror saying:
>
> [ [EMAIL PROTECTED] ~]$ gazebo
> /usr/local/share/gazebo/worlds/example.world
> ** Gazebo 0.7.0 **
> * Part of the Player/Stage Project [
> http://playerstage.sourceforge.net].
> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig and contributors.
> * Released under the GNU General Public License.
> using display [: 0.0]
> rendering: [Xlib unmapped] direct [no] RGBA [8 8 8 0] depth [16]
> Segmentation fault
>
>
> With an empty world file:
>
> [EMAIL PROTECTED] ~]$ gazebo q.world
> ** Gazebo 0.7.0 **
> * Part of the Player/Stage Project
> [http://playerstage.sourceforge.net].
> * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
> * Nate Koenig and contributors.
> * Released under the GNU General Public License.
> using display [:0.0]
> q.world:1: parser error : Document is empty
>
> ^
> q.world:1: parser error : Start tag expected, '<' not found
>
> ^
> error   : unable to parse [q.world]
> Initialization failed
>
>
> Vaibhav
>
>
> On 3/27/07, Vaibhav Ghadiok < [EMAIL PROTECTED]> wrote:
> > I tried all the Render Methods but I am still getting the same error
> message.
> >
> > Infact even if I just execute wxgazebo without any parameters it gives me
> the same error message.
> >
> > wxgazebo /usr/local/share/gazebo/worlds/example.world
> >
> > Traceback (most recent call last):
> >   File "/usr/local/bin/wxgazebo", line 4, in ?
> >     from wxgazebo.main import main
> > ImportError: No module named wxgazebo.main
> >
> > Sorry for the late reply.
> >
> > Vaibhav
> >
> >
> >
> >
> > On 3/22/07, Nate Koenig < [EMAIL PROTECTED]> wrote:
> > > Try setting the <renderMethod> in the world file to SGIX, GLX, GLXP,
> > > or XLIB. See which one works.
> > >
> > > -nate
> > >
> > > On 3/21/07, Vaibhav Ghadiok < [EMAIL PROTECTED] > wrote:
> > > > hi everyone
> > > >
> > > > Thanks to everyone who helped.
> > > >
> > > > Well, I somehow managed to install freeglut but the 2 problems that I
> get
> > > > now, after, installing gazebo is;
> > > >
> > > > 1.
> > > >
> > > > [EMAIL PROTECTED] eg]$ wxgazebo
> > > > /usr/local/share/gazebo/worlds/example.world
> > > > Traceback (most recent call last):
> > > >   File "/usr/local/bin/wxgazebo", line 4, in ?
> > > >     from wxgazebo.main import main
> > > > ImportError: No module named wxgazebo.main
> > > >
> > > >
> > > >
> > > >
> > > > 2.
> > > >
> > > > [EMAIL PROTECTED] eg]$ gazebo
> > > > /usr/local/share/gazebo/worlds/example.world
> > > > ** Gazebo 0.7.0 **
> > > > * Part of the Player/Stage Project
> > > > [ http://playerstage.sourceforge.net ].
> > > > * Copyright 2000-2005 Brian Gerkey, Richard Vaughan, Andrew Howard,
> > > > * Nate Koenig and contributors.
> > > > * Released under the GNU General Public License.
> > > > using display [:0.0]
> > > > X Error of failed request:
> GLXUnsupportedPrivateRequest
> > > >   Major opcode of failed request:  143 (GLX)
> > > >    Minor opcode of failed request:  16 (X_GLXVendorPrivate)
> > > >   Serial number of failed request:  14
> > > >   Current serial number in output stream:  16
> > > >
> > > >
> > > > Cheers
> > > > Vaibhav
> > > >
> > > >
> --------------------------------------------------------------------- ----
> > > > Take Surveys. Earn Cash. Influence the Future of IT
> > > > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > > > opinions on IT & business topics through brief surveys-and earn cash
> > > >
> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> > > > _______________________________________________
> > > > Playerstage-gazebo mailing list
> > > > Playerstage-gazebo@lists.sourceforge.net
> > > >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > > >
> > > >
> > >
> > >
> --------------------------------------------------------------------- ----
> > > Take Surveys. Earn Cash. Influence the Future of IT
> > > Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> > > opinions on IT & business topics through brief surveys-and earn cash
> > >
> http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Playerstage-gazebo mailing list
> > > Playerstage-gazebo@lists.sourceforge.net
> > >
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
> > >
> >
> >
> >
> > --
> > Mobile Robotics Laboratory
> > Guidance, Control and Decision Systems Laboratory
> > Aerospace Department
> > Indian Institute of Science, Bangalore
>
>
>
> --
> Mobile Robotics Laboratory
> Guidance, Control and Decision Systems Laboratory
> Aerospace Department
> Indian Institute of Science, Bangalore
> --------------------------------------------------------------------- ----
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
>
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>

--------------------------------------------------------------------- ----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo



--
Mobile Robotics Laboratory
Guidance, Control and Decision Systems Laboratory
Aerospace Department
Indian Institute of Science, Bangalore
--------------------------------------------------------------------- ----
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV_______________________________ ________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo




--
Mobile Robotics Laboratory
Guidance, Control and Decision Systems Laboratory
Aerospace Department
Indian Institute of Science, Bangalore
---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV________________________________ _______________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to