Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: How to install openGL under Linux Debian

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Palermo, Sicily, Italy
    Posts
    16

    How to install openGL under Linux Debian

    Hi everybody,
    I would like beginnig to study this libraries, but when I trie to run the program I received this text

    Xlib: extension "GLX" missing on display ":0.0".
    Xlib: extension "GLX" missing on display ":0.0".

    I've just installed the GLX kenerl source and drivers

    ii nvidia-glx 1.0.4496-2.1 NVIDIA binary XFree86 4.x driver
    ii nvidia-kernel- 1.0.4496-2.1 NVIDIA binary kernel module source

    And when X run I received this

    (EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not
    found)

    How can I make to correct this errors and, finally, can run the opengl program?
    bye

  2. #2
    Intern Newbie
    Join Date
    Jul 2002
    Posts
    42

    Re: How to install openGL under Linux Debian

    Have you followed the instructions at /usr/share/doc/nvidia-glx/README.Debian?

    In particular the part about modifying /etc/X11/XF86Config-4

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Palermo, Sicily, Italy
    Posts
    16

    Re: How to install openGL under Linux Debian

    Originally posted by FermatSpiral:
    Have you followed the instructions at /usr/share/doc/nvidia-glx/README.Debian?

    In particular the part about modifying /etc/X11/XF86Config-4


    I haven't /usr/share/doc/nvidia-glx/README.Debian

  4. #4
    Junior Member Regular Contributor
    Join Date
    Mar 2000
    Location
    east norwalk, ct, usa
    Posts
    184

    Re: How to install openGL under Linux Debian

    Are there other .deb's from nvidia's site that contain the docs you need?

  5. #5
    Member Regular Contributor
    Join Date
    Apr 2001
    Location
    Greece
    Posts
    477

    Re: How to install openGL under Linux Debian

    I really doubt you managed to get an X server with no glx extension on debian so make sure that the line:
    Load "glx"
    appears in the "Module" section. It's probably just not configured to load the extension you need.

  6. #6
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Palermo, Sicily, Italy
    Posts
    16

    Re: How to install openGL under Linux Debian

    Originally posted by zen:
    I really doubt you managed to get an X server with no glx extension on debian so make sure that the line:
    Load "glx"
    appears in the "Module" section. It's probably just not configured to load the extension you need.
    I've modified the X file config with Load "glx" but I received this text

    (EE) [GLX]: Failed to add GLX extension (NVIDIA XFree86 driver not
    found)

  7. #7
    Member Regular Contributor
    Join Date
    Apr 2001
    Location
    Greece
    Posts
    477

    Re: How to install openGL under Linux Debian

    Have you compiled/installed the nvidia driver? Just downloading the packages isn't enough as they're just installers. You have to run the installer (not sure of the name, 'nvidia-installer' I think) and it will download and setup the drivers for X and the kernel.

  8. #8
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Palermo, Sicily, Italy
    Posts
    16

    Re: How to install openGL under Linux Debian

    Originally posted by zen:
    Have you compiled/installed the nvidia driver? Just downloading the packages isn't enough as they're just installers. You have to run the installer (not sure of the name, 'nvidia-installer' I think) and it will download and setup the drivers for X and the kernel.

    no I haven't 'nvidia-installer'...
    but How I compile the package???

  9. #9
    Junior Member Newbie
    Join Date
    Sep 2003
    Location
    Palermo, Sicily, Italy
    Posts
    16

    Re: How to install openGL under Linux Debian

    okkey....

    I've found tha package under /usr/src

    I've installed it "tar xvzf package.tgz"

    Now I've readed the Readme.Debian, but I don't understand what I must do for compile the modules and install it...

  10. #10
    Member Regular Contributor
    Join Date
    Apr 2001
    Location
    Greece
    Posts
    477

    Re: How to install openGL under Linux Debian

    Well I'm not sure as I don't have the debian packages(I have the ones that nvidia ships), but there should be some installation instructions(usually file named INSTALL) in the package or maybe /usr/share/docs.
    Do dpkg -L xxx where xxx are the debian package names (nvidia-glx, nvidia-kernel) to see what files they contain and where they are. Look for documentation. Sorry I can't help out more. I would install the debian packages myself but that means that I'll have to re download the drivers I have allready downloaded from nvidia(~8MB) so I'll do it when the drivers get updated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •