err: 'GLX' extension missing... ???

Started by
17 comments, last by qingrui 21 years, 9 months ago
i have followed the instructions of README.TXT of the driver packages. i have made sure it''s using XF86Config-4. i have checked the files installed, from both packages. i have added the line ''Load "glx"'' in the module section, and changed ''Driver "nv"'' to ''Driver "nvidia"''.

but in /var/log/XFree86.0.log, there is no "glx"!! i checked the date of the files. it seems not the files currently using. i''m using VNCSERVER and VNCVIEWER from a Win2000 machine. will this make some differences? it seems using another configuration file, but i don''t know what it is.

and after i installed the driver, i get a "/bin/bash: =: not a command" message every time i login. what''s it?
Advertisement
What machine do you have, and what linux have you installed ?
today i tried to start X directly on the server instead of using vncserver and vncviewer from my win2000 machine. the XF86Config-4 is actually loaded this time. so i can be sure that vnc is using some else config file. could anyone tell me how to configurate vnc?

but still without luck. X cannot start.

the server is running mandrake 8.2smp. (double PIII 1G, TNT2 Vanta)

here''s a portion of XFree86.0.log

...

(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.2960
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX

...

(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.2960
Module class: XFree86 Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) v4l driver for Video4Linux
(II) NVIDIA XFree86 Driver 1.0-2960 Tue May 14 07:45:20 PDT 2002
(II) NVIDIA: NVIDIA driver for: RIVA TNT, RIVA TNT2, Vanta,
RIVA TNT2 Ultra, RIVA TNT2 Model 64, Aladdin TNT2, GeForce 256,
GeForce DDR, Quadro, GeForce2 MX/MX 400, GeForce2 MX 100/200,
Quadro2 MXR/EX/Go, GeForce2 Integrated GPU, GeForce2 GTS,
GeForce2 Ti, GeForce2 Ultra, Quadro2 Pro, GeForce4 MX 460,
GeForce4 MX 440, GeForce4 MX 420, Quadro4 500/550 XGL,
Quadro4 200/400 NVS, GeForce3, GeForce3 Ti 200, GeForce3 Ti 500,
Quadro DCC, GeForce4 Ti 4600, GeForce4 Ti 4400, GeForce4 Ti 4200,
Quadro4 900 XGL, Quadro4 750 XGL, Quadro4 700 XGL, GeForce2 Go,
GeForce4 440 Go, GeForce4 420 Go, GeForce4 420 Go 32M,
GeForce4 440 Go 64M, Quadro4 500 GoGL
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset Vanta found

...

(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xD4000000
(--) NVIDIA(0): MMIO registers at 0xD6000000
(EE) NVIDIA(0): Failed to initialize the NVdriver kernel module!
(EE) NVIDIA(0): *** Aborting ***
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
You could start X before, but now when you start X manually it doesn''t work ?!

I can''t help you about vnc. I hope that it''s not it that causes problems.
I don''t know vnc at all, but i may understand what it does ...

with vnc you can run an X session on a windows2k machine from a linux server ? right ?

so if i''m right, perhaps you should check some of these "little" things :

- when using vnc, will OpenGL be handled by the server''s video card or the client one ?
- does vnc allows hardware OpenGL be "carried" from the server to the client ?
- does vnc allows hardware OpenGL be called from the server and actually be done on the client ?

and finally :
- does the server have an OpenGL video card ?
- does the client have an OpenGL video card ?

from what you said, i guess the server hasn''t an OpenGL nvidia card

and i think i could safely assume vnc doesn''t enable a program that is executed on the server to use the hardware OpenGL acceleration on the client...

hope that helps ...

flure
i mean, when the sytem has nothing to do with vnc, X failed to start after i installed the driver. maybe i do something wrong?

vncserver seems using another config file other than XF86Config-4. so it''s not affected by the driver at all.
what video card does the server have ?

IIRC, some old nvidia cards aren''t supported at all by their linux drivers, but you should check this on nvidia''s website

BTW i had no problem installing and configuring OpenGL for my TNT2 M64 on my linux box, just took me approximately one hour (including download time) including some annoying reboots because i didn''t set up the runlevel correctly, thus i had to use a rescue disc to recover my box, but that was my own fault )

flure

when installing the kernel rpm, it prints
modprobe: Can''t load module NVdriver
and then
the package is successfully installed.

i just asked the administrator, and got to know he has rebuild the linux kernel. so i guess that neither the SMP or UP driver can be installed properly. i have asked him to help me with the problem.

many thanks to everyone here!
With the nvidia drivers it''s usually best (in my experience) to install using the tar balls (i.e. the .tar.gz, or .tgz files).

I have never heard of vnc, but I did a quick web search, and from what I gather it is (among other things) an X server that forwards stuff to a ''display server'' running on a different computer (kinda like a remote X session, but a little different).

From what I understand your X client will be running under the Xvnc server, and not the ordinary X server (meaning that it will likely use a different configuration file, and it will probably not load modules designed for the XFree86 server).

In general you won''t get accelerated OpenGL with a remote X server, since all OpenGL calls have to go through the X protocol over the network to be displayed on the server.

Perhaps this link can help you. I found it through google, but as I said I have never heard of vnc before, so I''m not sure how helpful it is.

This topic is closed to new replies.

Advertisement