Unable to enable nvidia restricted drivers in Hardy

Bug #226015 reported by Cesar Kawakami
4
Affects Status Importance Assigned to Milestone
linux-restricted-modules-2.6.24 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've just upgraded from 7.10 to 8.04. After having to activate the nv driver manually, since GDM insisted in starting in low graphics mode, I'm now unable to activate nvidia restricted drivers through jockey (Hardware Drivers). Nvidia drivers simply don't show up. "No proprietary drivers are in use...".

Running jockey-gtk through console gives "modinfo for module nvidia* failed: modinfo: could not find module nvidia*" for nvidia_new, nvidia, nvidia_legacy and nvidia_new.

I already tried reinstalling nvidia-glx and linux-restricted-modules through apt-get - this seemed to fix the problem to many users, but it didn't work for me.

Forcing modprobe (after editing xorg.conf to use nvidia drivers) gives:

root@flap:/home/firer# modprobe -v nvidia
install /sbin/lrm-video nvidia
FATAL: Error running install command for nvidia

I don't know if this relates to this problem, but I just upgraded the kernel to version 2.6.24-17.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Cesar:
Did you manually install the NVIDIA drivers before the upgrade (or use a 3rd party tool like automatrix or envy)?

It may also be helpful to post the output of
lspci -nn
to this bug report along with the output of
sudo sh -x /sbin/lrm-video nvidia
.

Revision history for this message
Cesar Kawakami (cesarkawakami) wrote :

The nvidia drivers were installed via restricted drivers manager on 7.10.

Seems that the situation is more alike other cases I've seen on some
forums. After reinstalling the restricted modules, doing

sudo apt-get install linux-restricted-modules-2.6.24-17-generic --reinstall

I could load the module

sudo nvidia-xconfig && sudo modprobe nvidia && sudo /etc/init.d/gdm start

and X appeared. The problem, now, is that this configuration seems
nonpersistent. I mean, after restarting the system, the kernel is,
again, unable to load the nvidia module -- seems that it can't find
some file on /lib/modules/2.6.24-17-generic/volatile -- forcing,
again, the reinstallation of the restricted modules.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Cesar:
Could you paste the output of
cat /etc/default/linux-restricted-modules-common
into this bug report (no need to attach it as the output should be only 12 lines).

Could you restart the system and go to recovery mode (don't run apt). Choose that you want a terminal and then run the following:

ls -ra /lib/modules/2.6.24-17-generic/volatile > ls-volatile.txt
sudo modprobe --ignore-install nvidia_new > modprobe.output 2>&1
sudo chown $USER modprobe.output ls-volatile.txt
sudo reboot

And then upload modprobe.output and ls-volatile.txt to this bug report?

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Punting to linux-restricted-modules-2.6.24)

Revision history for this message
Cesar Kawakami (cesarkawakami) wrote :

Turns out that /etc/default/linux-restricted-modules-common disabled the loading of the nvidia drivers. I wonder when did I make this modification...

Thanks! And sorry for wasting your time, I should have figured out by myself.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Resolving invalid. FYI: You can resolve your own bugs invalid by clicking the down arrow in the yellow strip at the top of the page and changing the status)

Cesar:
These things happen. You kept your bug short and always replied in a timely fashion. I'm glad you found the issue!

Changed in linux-restricted-modules-2.6.24:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.