Ubuntu Update Breaks NVidia Composite Display

Yesterday evening I’ve encountered an annoying problem. My composite display was broken. My compiz was not working properly. I couldn’t play any games that using 3D texture. I remember that the night before I installed regular updates from Ubuntu. As Homer says, DOUB! That must be the cause. Sometimes I don’t understand why this kind of problem must be happening. When I run “compiz-check”, it returned:

Gathering information about your system…
.
Distribution:          Ubuntu 10.04
Desktop environment:   GNOME
Graphics chip:         nVidia Corporation Device 0a2b (rev a2)
Driver in use:         nvidia
Rendering method:      Nvidia
.
Checking if it’s possible to run Compiz on your system…
.
Checking for texture_from_pixmap…               [ FAIL ]
Checking for non power of two support…          [ FAIL ]
Checking for composite extension…               [ OK ]
Checking for FBConfig…                          [ OK ]
Checking for hardware/setup problems…           [ SKIP ]
.
At least one check had to be skipped:
Error: Unable to detect maximum 3D texture size

I run “nvidia-bug-report.sh” to check what the error is, and then checked the file generated by the script. The file showed that GLX initialization is failed, and recommended me to reinstall the NVidia driver.

(EE) Apr 29 21:46:19 NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) Apr 29 21:46:19 NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) Apr 29 21:46:19 NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) Apr 29 21:46:19 NVIDIA(0):     you continue to encounter problems, Please try
(EE) Apr 29 21:46:19 NVIDIA(0):     reinstalling the NVIDIA driver.

As recommended, I reinstalled the NVidia driver. When reinstalling the driver, the installer returned an error message:

ERROR: File ‘/usr/lib/xorg/modules/extensions/libglx.so’ is not a symbolic link.

After the message, the installer was still continuing the installation process until finish. I restarted my system, and found out that the problem had gone. Then I checked the location of the libglx.so, and it is there. So, I guess that’s the root of the problem. I think Ubuntu has to be more careful with its update, because sometimes it breaks a well-running system. Luckily, the problem is not as complicated as I thought.

Thanks to these forums:

And, special thanks to http://forlong.blogage.de/entries/pages/Compiz-Check for the “compiz-check” script. You Rockz!

Ubuntu Kernel Update Breaks NVidia Driver

A day after the successful installation of Ubuntu 10.04, I ran recommended update of the operating system. One of the update was for its kernel. Because of the Nvidia driver was installed into the system’s kernel, so I thought I had to prepare for the worst.

After the update finished and I restarted the system, my worry became reality, the NVidia driver was missing, so even though I still able to go into Gnome, the screen resolution backed to the standard resolution. When I used Linux Mint, this problem was never happened, maybe it was because last time I used NVidia driver that came with the distro through Envy application. But, for current driver I downloaded manually from the NVidia website.

According to a thread in ubuntuforums.org (I forgot the address) I just need to reinstall the NVidia driver. So, I did it, and it works.

Thanks, God. Luckily, it’s easy…