PDA

View Full Version : GLX extension not supported by display



Nils
09-12-2000, 11:47 AM
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

skw|d
09-12-2000, 09:54 PM
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

Nils
09-13-2000, 12:00 AM
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.

skw|d
09-13-2000, 07:30 AM
The GLX module is seperate from the X Server. I got mine when I installed the latest nVidia drivers for my hardware.

/skw|d

MC
09-14-2000, 12:14 AM
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.

Nils
09-14-2000, 09:29 PM
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.

GLuser
09-29-2000, 09:35 AM
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.

GLuser
09-29-2000, 09:37 AM
Originally posted by gluser:

GLuser
09-29-2000, 09:49 AM
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

saturn
04-23-2001, 07:35 PM
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?