[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

etch nvidia xorg nvidia-glx-legacy X crashes



I've been trying to install the nvidia driver.  I managed to get it
working, but my solution is not entirely satisfactory, because it's
vulnerable to an update of the nvidia-glx-legacy package.  I'll trace
through the problem, and perhaps somebody can point to a better way.

Debian etch
nVidia Corporation NV28 [GeForce4 Ti 4200 AGP 8x] (rev a1)
NVIDIA-Linux-x86-96.43.01-pkg1.run ("the installer")
nvidia-glx-legacy

I used the  installer to compile and install the nvidia video
driver module, but X crashed on next boot.  I couldn't find any
documentation warning about this after much searching.  I did however
figure out what was causing the problem.

The init file /etc/init.d/nvidia-glx-legacy was causing the X crashes,
by fiddling with needed links and file locations in the libraries.  I
fixed this by the following:

# cd /etc/init.d
# mv nvidia-glx-legacy XXnvidia-glx-legacy 

How I tested this:

First I installed the module
#  sh NVIDIA-Linux-x86-96.43.01-pkg1.run 

Upon success, I rebooted.  Then X failed to run.  So I used a rescue
linux to edit /etc/X11/xorg.conf to use the "nv" driver rather than
the "nvidia" one, and rebooted again.

Then I tested the installation of the nvidia module.

# sh NVIDIA-Linux-x86-96.43.01-pkg1.run  --sanity

The output of this program showed that files were missing, so I
installed the nvidia module once more:

#  sh NVIDIA-Linux-x86-96.43.01-pkg1.run

Staying in the console, I ran this:

# sh NVIDIA-Linux-x86-96.43.01-pkg1.run  --sanity

No missing files. Then I ran:

#  /etc/init.d/nvidia-glx-legacy

and ran the sanity check once more:

# sh NVIDIA-Linux-x86-96.43.01-pkg1.run  --sanity

The sanity check showed files were missing again. So, I installed the
nvidia module once more:

#  sh NVIDIA-Linux-x86-96.43.01-pkg1.run 

and did this:

# mv nvidia-glx-legacy XXnvidia-glx-legacy 

Upon reboot, the nvidia logo appeared and X started normally.

QED: /etc/init.d/nvidia-glx-legacy, a part of the nvidia-glx-legacy package 
makes it impossible for me to use the nvidia video driver, as
installed by NVIDIA-Linux-x86-96.43.01-pkg1.run






-- 
Hugh Lawson
hlawson@triad.rr.com


Reply to: