Hidden file does not get removed when switching from nvidia-glx-new/nvidia-glx-legacy to nvidia-glx causing X not to start due to mismatch of versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-restricted-modules-2.6.20 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
Gutsy |
Invalid
|
Undecided
|
Unassigned | ||
linux-restricted-modules-2.6.22 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Gutsy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have found that when I tried switching back from the new nvidia-glx-new package to the nvidia-glx package, a hidden file .nvidia_
root@heckmedia:
total 24
drwxr-xr-x 3 root root 4096 Apr 13 09:34 .
drwxr-xr-x 16 root root 12288 Apr 10 19:40 ..
-rw-r--r-- 1 root root 58 Apr 10 19:35 .nvidia_
drwxr-xr-x 13 root root 4096 Apr 10 19:43 2.6.20-14-generic
root@heckmedia:
I can get X to start by hiding the hidden file (moving it to .hidden) and doing
modprobe -r nvidia
startx
The error that X spits out when I load with the mismatched drivers is
Error: API mismatch: the NVIDIA kernel module has the version 1.0-9755, but this X module has the version 1.0-9631. Please make sure that the kernel module and all NVIDIA driver components have the same version.
Here is the last entry in my /var/log/aptitude file
Log complete.
Aptitude 0.4.4: log report
Fri, Apr 13 2007 08:22:59 -0400
IMPORTANT: this log only lists intended actions; actions which fail due to
dpkg problems may not be completed.
Will install 2 packages, and remove 2 packages.
2892kB of disk space will be freed
=======
[HOLD] linux-image-
[INSTALL] nvidia-glx
[INSTALL] nvidia-
[REMOVE] nvidia-glx-new
[REMOVE] nvidia-
=======
Log complete.
Changed in linux-restricted-modules-2.6.20: | |
assignee: | nobody → dkotik |
assignee: | dkotik → nobody |
Changed in linux-restricted-modules-2.6.22: | |
assignee: | nobody → ubuntu-kernel-team |
importance: | Undecided → High |
milestone: | none → gutsy-updates |
status: | Confirmed → Triaged |
I can confirm that problem!
I've installed Feisty Fawn beta and updated to the latest packages as of 15-APR-07. My PC has an integrated GeForce4 MX and it wouldn't work with nvidia-glx-new nor nvidia-glx. It did work with nvidia-glx-legacy but I believe this old version does not suport X composite and also has problems with suspend/hibernate (at least here).
So I decided to remove the ubuntu packages and install the binary package from Nvidia's web site. I dowloaded version ...9631 , which is not the newest one, but is the latest to suport my chipset. And after instaling it successfully it didn't work.
I've found out that "modprobe nvidia" causes /sbin/lrm-video to run and check whether there is a file "/lib/linux- restricted- modules/ .nvidia_ new_installed" . It so happens that this file existed (it was still there!) even though I had already removed the package "nvidia-glx-new" that had been installed at first.
I deleted this file and now the driver version 9631 works and I believe that installing the deb package for nvidia-glx would work too.
Cheers,
Paulo