Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

These is lshw print:

-display UNCLAIMED
                description: VGA compatible controller
                product: NV17 [GeForce4 420 Go]
                vendor: NVIDIA Corporation
                physical id: 0
                bus info: pci@0000:01:00.0
                version: a3
                width: 32 bits
                clock: 66MHz
                capabilities: pm agp agp-2.0 vga_controller bus_master cap_list
                configuration: latency=64 maxlatency=1 mingnt=5
                resources: memory:fd000000-fdffffff memory:dc000000-dfffffff memory:dbf80000-dbffffff memory:dbf00000-dbf1ffff
share|improve this question
add comment

1 Answer

You can manually configure your drivers. In a Terminal run:

sudo apt-get install build-essential linux-source linux-headers

If the transitional package linux-headers is not available, instead, please try running the command by specifying the exact version of the headers with:

sudo apt-get install linux-headers-`uname -r`

And this should work. Of course, it only magnifies the feces level of the latest Ubuntu release, but it could help you sort things out. Next, install the current Nvidia driver:

sudo apt-get install nvidia-current

If you skip the part where you install the sources, headers and the rest, you will see the following error message:

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.5.0-17-generic

2013-04-18 13:37:19,611 WARNING: modinfo for module nvidia_current failed: ERROR: modinfo: could not find module nvidia_current

2013-04-18 13:37:19,611 WARNING: /sys/module/nvidia_current/drivers does not exist, cannot rebind nvidia_current driver

Once the installation completes successfully, check if the Nvidia driver is loaded:

sudo /sbin/lsmod | grep nvidia

If it's not, you will need to manually insert into memory. First, make sure all kernel module dependencies are satisfied and resolved:

sudo depmod -a

Then, load the driver:

sudo modprobe nvidia_current

This should succeed and the lsmod command should show it's loaded, but the usage count will probably be 0, because nothing will be using it yet. You will need to restart the graphics environment to actually benefit from the driver:

sudo /etc/init.d/lightdm restart

This will restart the graphics environment, you will see the Nvidia splash, and you will load into a desktop that has the nvidia driver running, and all that. Your problem is now resolved. For the skeptics among you, you can reboot to verify. Although there's really no need for that. Linux is flexible enough to setup drivers without having to restart the system.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.