LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Weird error help! please (https://www.linuxquestions.org/questions/linux-software-2/weird-error-help-please-78153/)

Devboy 08-01-2003 05:49 PM

Weird error help! please
 
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't get an RGB, Double-buffered visual

i get this error alot when i run glxinfo i get:

name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual

visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
----------------------------------------------------------------------
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x21 24 tc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
0x22 24 dc 1 0 0 c . . 0 0 0 0 0 0 0 0 0 0 0 0 0 None


can someone help me fix this please.

Corin 08-01-2003 06:08 PM

1) Have you installed DRI support for your video card?

2) Have you installed the glx libraries for your video card?

3) Have you added the line

Load "glx"

to the

Section "Module"

of your /etc/X11/XF86Config file?

4) Are you Manx?

Franklin 08-01-2003 06:10 PM

Make sure the modules section of /etc/X11/XF86Config has the line:

Load "GLX"

example:

Section "Module"
Load "dbe"
Load "type1"
Load "speedo"
Load "freetype"
Load "extmod"
Load "glx"
Load "v4l"
End Section

If not, add it. If it's commented oput(#) uncomment it.

HTH

Devboy 08-01-2003 06:32 PM

1: dunno

2:dunno

3:Yes!

how can i check the first 2.

Corin 08-01-2003 07:34 PM

If you cannot be bothered to tell us which video card you have installed, how can we know how to tell you how to check if you have installed the appropriate driver for that card?

Does IOM == Isle of Mann?

Devboy 08-01-2003 07:36 PM

sorry i thought i had, i have a Nvidia MSI Geforce4 TI4600 128mb DDR and yes! IOM=Isle of Man why u ask?

Corin 08-01-2003 07:48 PM

If you bother to check your original post, you will see that nowhere do you mention that you have an Nvidia card.

To get the latest and greatest performance from your Nvidia card,
go to

http://www.nvidia.com/object/linux_d..._1.0-4496.html

and follow the instructions for downloading and installing the driver
(which enables GLX support)

------------------------------------------------------------------------------

To download and install the drivers, follow the steps below:

STEP 1: Review the NVIDIA Software License and documentation. You will need to accept this license prior to downloading any files.

NVIDIA Software License
README - Text Version

STEP 2: Download the Driver File
Download - NVIDIA-Linux-x86-1.0-4496-pkg2.run

STEP 3: Check dependencies
The dependencies are listed in the README. It is important to note that the NVIDIA driver set requires XFree version 4.0.1 or greater. If this is not available on your linux distribution, please go to the XFree86 web site (www.xfree86.org).

STEP 4: Install
Type "sh NVIDIA-Linux-x86-1.0-4496-pkg2.run" to install the driver.
See the README (text) for more detailed instructions. If you have any questions or problems, please check the linux discussion forum. If you don't find an answer to your question there, you can send email to linux-bugs@nvidia.com.

-------------------------------------------------------------------------------

To discuss the NVidia driver go to the forum at

http://www.nvnews.net/vbulletin/foru...?s=&forumid=14

Hopefully your missing GLX problem will be solved by the above.

LavaDevil94 08-01-2003 07:51 PM

to see if you have any opengl hardware 3d libs, go to /usr/X11R6/include and see if you have a directory named GL, and list its contents here at the forum.

Devboy 08-01-2003 08:03 PM

Corin i have installed the latest Nvidia Drivers thats how i got this error.

and there no GL dir in:

/usr/X11R6/include

Corin 08-01-2003 08:56 PM

In your original posting, why did you not explain

I have just installed the latest Nvidia driver files for my FXwhatever
card and I am not getting the following error

It would have made things a lot simpler and faster in dealing with your problem, instead of the "dunno" "dunno" type of response.


From

ftp://download.nvidia.com/XFree86/Li...496/README.txt

which is the README file for the installation of the latest NVidia driver.




(app-c) APPENDIX C: INSTALLED COMPONENTS
__________________________________________________________________________

The NVIDIA Accelerated Linux Driver Set consists of the following
components (the file in parenthesis is the full name of the component
after installation; "x.y.z" denotes the current version -- in these
cases appropriate symlinks are created during installation):

o An XFree86 driver (/usr/X11R6/lib/modules/drivers/nvidia_drv.o);
this driver is needed by XFree86 to use your NVIDIA hardware.
The nvidia_drv.o driver is binary compatible with XFree86 4.0.1
and greater.

o A GLX extension module for XFree86
(/usr/X11R6/lib/modules/extensions/libglx.so.x.y.z); this module is
used by XFree86 to provide server-side glx support.

o An OpenGL library (/usr/lib/libGL.so.x.y.z); this library
provides the API entry points for all OpenGL and GLX function calls.
It is linked to at run-time by OpenGL applications.

o An OpenGL core library (/usr/lib/libGLcore.so.x.y.z); this
library is implicitly used by libGL and by libglx. It contains the
core accelerated 3D functionality. You should not explicitly load
it in your XF86Config file -- that is taken care of by libglx.

o Two XvMC (X-Video Motion Compensation) libraries: a static library
and a shared library (/usr/X11R6/lib/libXvMCNVIDIA.a,
/usr/X11R6/lib/libXvMCNVIDIA.so.x.y.z); please see (app-p) APPENDIX P:
XVMC SUPPORT for details.

o A kernel module (/lib/modules/`uname -r`/video/nvidia.o
or /lib/modules/`uname -r`/kernel/drivers/video/nvidia.o). This
kernel module provides low-level access to your NVIDIA hardware
for all of the above components. It is generally loaded into the
kernel when the X server is started, and is used by the XFree86
driver and OpenGL. nvidia.o consists of two pieces: the binary-only
core, and a kernel interface that must be compiled specifically
for your kernel version. Note that the linux kernel does not have
a consistent binary interface like XFree86, so it is important that
this kernel interface be matched with the version of the kernel that
you are using. This can either be accomplished by compiling yourself,
or using precompiled binaries provided for the kernels shipped with
some of the more common linux distributions.

o OpenGL and GLX header files
(/usr/share/doc/NVIDIA_GLX-1.0/include/GL/gl.h, and
/usr/share/doc/NVIDIA_GLX-1.0/include/GL/glx.h). These files can also
be installed in /usr/include/GL/ by passing the "--opengl-headers"
option to the .run file during installation.

o ELF TLS OpenGL and OpenGL core libraries
(/usr/lib/tls/libGL.so.x.y.z and /usr/lib/tls/libGLcore.so.x.y.z).
Linux systems that utilize glibc 2.3 or greater with tls support
enabled, use a new mechanism for thread local storage (TLS).
This mechanism is incompatible with NVIDIA's previous thread
local storage support; therefore, special ELF TLS libraries are
provided, and installed in /usr/lib/tls/ on systems that support it.
The runtime loader will select between the OpenGL libraries installed
in /usr/lib/, and those installed in /usr/lib/tls/.

It should also be noted that this new TLS mechanism also affects
the GLX extension module (libglx.so.x.y.z). However, because the
XFree86 loader does not know how to select between tls and non-tls
libraries, the correct libglx library is automatically installed
in /usr/X11R6/lib/modules/extensions/.

You can determine if your glibc uses the new thread local
storage mechanism by executing the command:

/lib/libc.so.6 | grep "Thread-local storage support included."

The above command will print "Thread-local storage support
included." on systems that support the new thread local storage.

o The application nvidia-installer (/usr/bin/nvidia-installer) is
NVIDIA's tool for installing and updating NVIDIA drivers. Please see
(sec-03) EDITING YOUR XF86CONFIG FILE for a more thorough description.

-------------------------------------------------------------------------------

So if you followed the instructions for installing the new driver, it should have installed the necessary library files for the drived and GLX --

/usr/X11R6/lib/modules/drivers/nvidia_drv.o
/usr/X11R6/lib/modules/extensions/libglx.so.x.y.z
/usr/lib/libGL.so.x.y.z
/usr/lib/libGLcore.so.x.y.z

Do you have all of those files correctly installed?

And is the nvidia.o file installed in the correct /lib/modules directory
and loaded at boot time?


All times are GMT -5. The time now is 07:56 AM.