Updating device drivers with ubuntu
Solution Almost everyone who has a NVIDIA graphics card is afraid when Ubuntu updates or the driver updates.
Because, you never know if the install or update will screw up your setup leaving you with no Compiz or even worse, no X windows!
If your phone is from a different manufacturer, replace the code with the appropriate from the table below.
NOTE: If you copy one of the lines mentioned above, make sure you replace the quotation marks with the ones in your keyboard, as these have different display code and it might give you a “no permissions” error.
I highly recommend staying away from the drivers on NVIDIA’s website.
Hardware that doesn’t work is usually just a quick driver download away from working. Most of the drivers for hardware on your computer are open-source and integrated into Linux itself.
These hardware drivers are generally part of the Linux kernel, although bits of graphics drivers are part of Xorg (the graphics system), and printer drivers are included with CUPS (the print system).
They should not just be uninstalled, but every shred of their prior existence must be eradicated. Try with a newer version of driver that you can download.
Purge, not just remove, all installed NVIDIA packages: If you had installed a NVIDIA driver from their website, uninstall it using the shell script that it ships with. You may still have some NVIDIA modules stuck in the kernel.
But they’re sometimes developed by the hardware manufacturer themselves, who contributes their code directly to the Linux kernel and other projects.