LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". HELP! (https://www.linuxquestions.org/questions/linux-newbie-8/video-card-nvidia-driver-xlib-extension-glx-missing-on-display-0-0-help-400731/)

Flesym 01-08-2006 01:30 PM

And another thing: If you have also gcc-4.0 installed you must redirect the 'gcc'-link from gcc-4.0 to gcc-3.4 To do so:
cd /usr/bin
sudo rm gcc
sudo ln -s gcc-3.4 gcc

Hope that helped

badgerbox76 01-08-2006 01:40 PM

See i new i had it installed even throught nvida said i dident, now what should i do about the kernel tree?

nos@ubuntu:~$ sudo apt-get install gcc-3.4
Password:
Reading package lists... Done
Building dependency tree... Done
gcc-3.4 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
nos@ubuntu:~$

Flesym 01-08-2006 01:46 PM

Did you do, what I posted before?

Quote:

Originally Posted by Flesym
Do you have the headers installed? -If so and it doesn't find the kernel tree then indicate the install path explicite with then parameter:
--kernel-install-path
(type 'NVIDIA-Linux-x86-1.0-8178-pkg1.run -A' to get more information)

I.e. run:
./NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/


badgerbox76 01-08-2006 01:54 PM

I did not know if i had the header installed or not. so could you give me the commands to run :)

Flesym 01-08-2006 02:01 PM

sudo apt-get install linux-headers-$(uname -r)

badgerbox76 01-08-2006 02:11 PM

It worked so were are on the wright track shout i shout down x and try to install the driver now?


nos@ubuntu:/usr/bin$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
linux-headers-2.6.12-10
The following NEW packages will be installed:
linux-headers-2.6.12-10 linux-headers-2.6.12-10-386
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 6727kB of archives.
After unpacking 70.2MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://security.ubuntu.com breezy-security/main linux-headers-2.6.12-10 2. 6.12-10.25 [5926kB]
Get:2 http://security.ubuntu.com breezy-security/main linux-headers-2.6.12-10-38 6 2.6.12-10.25 [801kB]
Fetched 6727kB in 1m2s (107kB/s)
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend requires a screen at least 13 lines tall and 31 column s wide.)
debconf: falling back to frontend: Readline

Preconfiguring packages ...
Selecting previously deselected package linux-headers-2.6.12-10.
(Reading database ... 68215 files and directories currently installed.)
Unpacking linux-headers-2.6.12-10 (from .../linux-headers-2.6.12-10_2.6.12-10.25 _i386.deb) ...
Selecting previously deselected package linux-headers-2.6.12-10-386.
Unpacking linux-headers-2.6.12-10-386 (from .../linux-headers-2.6.12-10-386_2.6. 12-10.25_i386.deb) ...
Setting up linux-headers-2.6.12-10 (2.6.12-10.25) ...

Setting up linux-headers-2.6.12-10-386 (2.6.12-10.25) ...
nos@ubuntu:/usr/bin$

Flesym 01-08-2006 02:24 PM

I really don't know what you could do else!? ;-)

badgerbox76 01-08-2006 02:34 PM

ha ha ok well i tryed to install the driver and while it was building a kernel moduel i got this error. :( what should i do now?

Error: unable to load the kernel module 'nvidia.ko'. this is most likely
beacyes the kernel modyle was built using the wrong kernel source file.
please make sure you have installed the kernel source
files for your kernel and that they are properly configured.

Flesym 01-08-2006 02:40 PM

Did you try inicate the kernel-path explicite as I told you? I.e:
./NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/

look in '/usr/src' for the right dir-name of your headers

badgerbox76 01-08-2006 02:55 PM

when i use that command it tells bash: ./NVIDIA-Linux-x86-1.0-8178-pkg1.run: permission denied whats that all about. nerver mind i fixed that

Flesym 01-08-2006 03:03 PM

Do you run it as root? Otherwise you have to "sudo", of course!

badgerbox76 01-08-2006 03:03 PM

ok so this is what i did, i stoped x and then loged in as root when to the directory where the file was and typed it in just like this

sh NVIDIA-Linux-x86-1.0-8178-pkg1.run --kernel-install-path=/usr/src/linux-headers-2.6.12-10-386/

and yes i did check and that is the right header

what to do now

badgerbox76 01-08-2006 03:13 PM

here is what i get when i get the installer to run

No precompiled kernel interface found to match your kernel; would you like the installer to attempt to download a kernel interface for you kernel from the nvidia ftp site: so i say yes

and then i get. No matching precompiled kernel interface was found on the nivdia ftp site this means that the installer will ne to compile a kernel interface for your kernel

so i set the directory and file /usr/src/linux-hearders-2.6.12-10-386 and i have taken off the -386 and tryed again but i still get the same thing unable to load the kernel module nvidia.ko

ASDGASDGASDGASDG so now what should i do :((

badgerbox76 01-08-2006 03:21 PM

dont leave me i need your help :( plz

Flesym 01-08-2006 03:41 PM

I have no real answer to that. This doesn't make sense for me. What you can try is, to get a new kernel-image (maybe there is something broken??):
sudo apt-get install linux-image-$(uname -r)

this will set up a new entry in your menu.lst of yout grub (your bootloader). So boot this new kernel and try the same thing as before. But I must say, that I don't think, that it will work..., but try. If that doesn't do the trick you may try to compile a kernel for yourself. There are severel tutorials, how to do this for Ubuntu. Use google for that.

But maybe there is someone out there how had the same Problem as you and know of a trick, that doesn't came to my mind...

Good luck!


All times are GMT -5. The time now is 02:36 AM.