On Mon, 2006-10-23 at 23:29 -0500, Rajko M wrote:
On Monday 23 October 2006 01:23, Roger Oberholtzer wrote: .....
ftp://download.nvidia.com/novell, which can be added as an rpm-md repository. I think it can also be used from yast. But I am pretty sure when used from smart, the odd link appeared. I do not recall which version of the driver was installed this way. It would be whatever one was available late September. It could also be some non-NVIDIA wrapper that did this.
I just looked in nvidia-gfx-kmp-default-1.0.8762_2.6.16.21_0.8-1.i586.rpm postinstall scripts and it has nothing that will perform linking to nv driver. Even post uninstall will not do that, which might sound logical if previous driver was nv.
Is the X server part in the same RPM as the kernel modules?
X server part is not in the same package.
The only files that you can find in above rpm are /lib/modules/2.6.16.21-0.8-default/updates/nvidia.ko and 3 scripts POSTIN, POSTUN, PREUN.
The package x11-video-nvidia-1.0.8762-1.i586.rpm has X server part including this 2 scripts.
#postinstall scriptlet (through /bin/sh): #/sbin/ldconfig #test -x usr/bin/switch2nvidia && usr/bin/switch2nvidia #if ls var/lib/hardware/ids/* &> /dev/null; then # > var/lib/hardware/hd.ids # for i in var/lib/hardware/ids/*; do # cat $i >> var/lib/hardware/hd.ids # done #fi #exit 0
Where switch2nvidia is simple script that will replace any "nv" with "nvidia" in xorg.conf.
#postuninstall scriptlet (through /bin/sh): #/sbin/ldconfig #if [ "$1" -eq 0 ]; then # test -x usr/bin/switch2nv && usr/bin/switch2nv # if ls var/lib/hardware/ids/* &> /dev/null; then # > var/lib/hardware/hd.ids # for i in var/lib/hardware/ids/*; do # cat $i >> var/lib/hardware/hd.ids # done # else # rm -f var/lib/hardware/hd.ids # fi #fi #exit 0
The switch2nv is calling tiny-nvidia-installer --uninstall -s to remove nvidia driver silently, before change any "nvidia" to "nv" in xorg.conf.
Now is again late. It would be interesting to see the file that you downloaded, but I don't know where Smart can keep copies.
If you find something, let me know.
Not much. I may very well have cleaned the smart cache as well. I did see that tiny-nvidia-installer has some symbolic linking stuff in it: (assuming it uses a system() call to do this): strings /usr/bin/tiny-nvidia-installer | grep "ln -s" produced: The symbolic link '%s' does not exist. This is necessary for correct operation of the %s. You can create this symbolic link manually by executing `ln -sf %s %s`. The symbolic link '%s' does not point to '%s' as is necessary for correct operation of the %s. It is possible that `ldconfig` has created this incorrect symbolic link because %s's "soname" conflicts with that of %s. It is recommended that you remove or rename the file '%s' and create the necessary symbolic link by running `ln -sf %s %s`. Of course, that does not mean it made the symbolic link. Unless it failed on install and tried to undo whatever it had done by placing the link so modified config files where it replaced nv with nvidia would still work. All speculation. Here in is one problem with closed source code... -- Roger Oberholtzer OPQ Systems AB Ramböll Sverige AB Kapellgränd 7 P.O. Box 4205 SE-102 65 Stockholm, Sweden Tel: Int +46 8-615 60 20 Fax: Int +46 8-31 42 23