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!

Articles Collection of Mar’09

These are the collection of useful articles about Linux/Open source, that I collected in March 2009:

  1. ClamAV – A Must Antivirus for Linux Systems
  2. VirtualBox, Virtual Networking
  3. Flegita: Gnome Scan – A Simple Scanning Alternative to XSane
  4. Play StarCraft in Linux
  5. The Ultimate Guide To Manage Your Audio/Video Files In Linux
  6. 4 Great Tools to Find Files Quickly in Ubuntu
  7. The Beginner’s Guide to Linux, Part 2: Installation
  8. 10 ways to go green with Linux
  9. Migrating to Linux in 5 Steps
  10. Important Linux File Directories That Users Should Know About
  11. Vim: master the basics
  12. Free Video Editors for Linux
  13. More Linux tips every geek should know
  14. Top Five Geek-Style Distros
  15. How To Transfer Files Easily Between Linux Machines
  16. Transparent GTK Themes
  17. Automate Linux with Cron and Anacron
  18. Quick fixes for common Linux problems
  19. Three Easy Steps to Set-up Anonymous Web Browsing on Linux
  20. 29 Music-making Apps for Linux
  21. Setting up SSHFS
  22. Move /home to It’s Own Partition
  23. Top 10 Linux Distros Reviewed
  24. gstreamer bug in Ubuntu and a temporary fix
  25. Xfig: a classic program for diagram editing
  26. How To Reset Any Linux Password
  27. How-To: Compile Programs From Source in Linux
  28. Burning Xbox 360 Games on Linux (Stealth!)
  29. Commandline 101: Getting a Grip on Grep
  30. Etymology of an Open Source App/Project
  31. andLinux – Run Linux natively inside Windows
  32. 10 Most important linux networking commands
  33. Run Levels in a Nutshell
  34. Compile source code – and solve problems
  35. 5 Compiz Effects That Are Actually Useful
  36. fwbuilder: Manage Firewalls Professionally
  37. Using ATA Over Ethernet (AoE) On Debian Lenny (Initiator And Target)
  38. Reviewed and rated: the best Linux newsreaders
  39. Top 10 Projects To Revive
  40. Play Games Inside Your Linux Terminal
  41. Software Tip: Using Unetbootin
  42. The fastest way to disable PC speaker in Ubuntu
  43. Making The Linux Command Line A Little Friendlier
  44. Ubuntu Package Management from Command line using apt (Advanced Packaging Tool)
  45. Configuring Printers Via The CUPS Web Interface
  46. Diagnose and fix network problems yourself
  47. Find files the easy way
  48. Linux Puzzle Games
  49. Top 10 Free Linux Games in 2009
  50. 100 tips to help you work smarter with Firefox
  51. How to write an interactive shell script
  52. A handful of Firefox tweaks that will double your browser speed
  53. Easily Mount ISO Files in Linux on Right Click
  54. My teenager top 8 Linux games
  55. 10 Cool Cursor Themes for Linux
  56. How To Configure A Firewall In Linux Using Firestarter
  57. 10 Must-Have Linux Applications
  58. Boot an ISO image from hard disk?
  59. Password-less SSH Connection
  60. Getting Started with Firewall Builder
  61. 4 Ways to Create CD/DVD ISO Images in Ubuntu
  62. 25 Tutorials To Get You Started With Inkscape
  63. 7 Free Mind Mapping Softwares