Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 10 of 10

Thread: GLX extension not supported by display

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2000
    Location
    Aachen (Germany)
    Posts
    5

    GLX extension not supported by display

    Hello,

    i've just changed from suse to redhat(6.2) and thought i had it all set up properly. Compiling former programms is no problem, but if i want to run them i get this error:

    "GLUT: Fatal Error in test: OpenGL GLX extension not supported by display: :0"

    as mentioned above im running redhat on a PII with a voodooII.
    ive installed mesa, the 3dfx device, the glidecontroll package, the glide package for my voodooII, the glide sdk and a package glx?????.rpm which i found in the powertools dir of the redhat distibution.
    I hope anyone can tell me what could have gone wrong or what i've forgotten to install.

    thanks

    Nils

  2. #2
    Junior Member Regular Contributor
    Join Date
    May 2000
    Location
    San Diego, CA, USA
    Posts
    110

    Re: GLX extension not supported by display

    Compiling requires that you have the header files and libraries installed properly.

    But to run the GL binaries you need the glx module loaded when you start X. Somewhere in your installation you should have modified your XF86Config to load the glx.so module.

    /skw|d

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2000
    Location
    Aachen (Germany)
    Posts
    5

    Re: GLX extension not supported by display

    Uhh, so i have to recompile the X server and include the glx files? I only installed the x server packages that came on the cd.

  4. #4
    Junior Member Regular Contributor
    Join Date
    May 2000
    Location
    San Diego, CA, USA
    Posts
    110

    Re: GLX extension not supported by display

    The GLX module is seperate from the X Server. I got mine when I installed the latest nVidia drivers for my hardware.

    /skw|d

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2000
    Location
    FRANCE
    Posts
    22

    Re: GLX extension not supported by display

    Open /etc/X11/XF86config in emacs, vi or any editor:

    There should be a section modules:

    Section "Module"

    Load "glx"

    Many times, the line Load "glx" is commented out.

    The glx module should be included in the binary distribution.

  6. #6
    Junior Member Newbie
    Join Date
    Sep 2000
    Location
    Aachen (Germany)
    Posts
    5

    Re: GLX extension not supported by display

    Thanks, that worked so far.
    There was no module section in my xf86config. After adding it i can run my programms, but the screen turns black and the whole system hangs, after starting it.

  7. #7
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Russia
    Posts
    4

    Re: GLX extension not supported by display

    Originally posted by Nils:
    Thanks, that worked so far.
    There was no module section in my xf86config. After adding it i can run my programms, but the screen turns black and the whole system hangs, after starting it.

  8. #8
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Russia
    Posts
    4

    Re: GLX extension not supported by display

    Originally posted by gluser:

  9. #9
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    Russia
    Posts
    4

    Re: GLX extension not supported by display

    Originally posted by Nils:
    Thanks, that worked so far.
    There was no module section in my xf86config. After adding it i can run my programms, but the screen turns black and the whole system hangs, after starting it.
    sorry for empty forms (newby)

    try to delete _every_ GL-libs first. especially in /usr/X11R6/lib/ the libGL.so* and links to libMesaGL.so.* if thea exist and in /usr/X11R6/lib/modules/extensions the libglx.* they comes with the XFree86-4.0x by default based on Mesa...

    after that apply the nvidia-GLX-rpm again, start the xserver and check if in /var/log/XFree86.0.log
    the line
    (II) Module glx: vendor="NVIDIA Corporation"
    should exist and "xdpyinfo | grep GLX" reports:
    GLX
    NV-GLX
    NVIDIA-GLX

    than all should work without problems. I use rh-6.2 too and have no problems. if you have non-intel chipset it is possible that you disable agp-support to run. check the man from nvidia for this toppic please.

    good luck

  10. #10
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    taichung,taiwan,taiwan
    Posts
    2

    Re: GLX extension not supported by display

    I also have similar problem. I have two computers, one is installed Win2000, the other is installed Linux. I use X-window emulator as Xserver in Win to display client programs in Linux. That client program contains the GLUT codes. My X emulator can normally display 3D pics. That X server emulator(Xwin32) doesn't support GLX. Linux box is only installed GLUT but isn't installed GLX extension. Why it can nomrally display? According to OpenGL rules, if you want display OpenGL render on Xwindow, you must install GLX extentsion.

    P.S. I never install MESA in the Linux box.
    The Version of Xserver in linux is 3.3.6.

    But I install GLUT in SGI Irix. I use also use Xserver emulator as Xserver, the GLUT demo program as client. The demos programs is as same as the program in Linux, but it is recompiled in Irix. The X emulator can't normally display OpenGL render at this testing. It got error messages
    "GLUT: Fatal Error in atlantis:OpenGL GLX extension not supported by display: 140.120.1.2:0.0"

    What is difference about the two case?
    The same GLUT(Ver 3.7), the same demos program(atlantis), why does one need GLX, another doesn't need ? Can Anyone explain it in detail?

Posting Permissions

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