If you are upgrading from Feisty 7.04 or earlier versions and you have run Xgl before.
When upgrading, you may experience blank screen, a screen with no
windows and toolbars, a screen with only a background, or any other
mess. It is caused by the customized scripts for Xgl which do not work
with Gutsy. So, we need to clean up.
If you really can't log into a working X session and open a terminal,
simply press "Ctrl-Alt-F1" to get into the text prompt and follow the
removal steps (1-4) from the text interface. After a reboot, the
graphics should work better.
- Remove compiz
Code:
sudo echo "activate sudo"
sudo apt-get --purge remove compiz*
sudo apt-get --purge remove libcompiz*
sudo apt-get --purge remove libdecoration0
sudo apt-get --purge remove compizconfig-settings-manager
sudo apt-get --purge remove python-compizconfig
- Remove Xgl
Code:
sudo apt-get --purge remove xserver-xgl
- Clean up
Code:
sudo apt-get autoremove
- Remove customizations
Code:
rm -rf ~/.compiz
rm -rf ~/.config/compiz
rm -rf ~/.gconf/apps/compiz
sudo rm -i /usr/local/bin/startxgl.sh
sudo rm -i /usr/share/xsessions/xgl.desktop
When asked to remove the files, type YES. If the files were
present and you removed them, proceed to the next item. Otherwise, undo
customizations to /etc/gdm/gdm.conf and /etc/gdm/gdm.conf-custom that
you have made from this section of the guide - Reboot
- Login back in and find yourself in a 3D effect devoid session. You
may not even be running a windows manager. If you can't move windows
and don't see window decorations, press "Alt-F2" and type
- Verify that everything else is working properly, e.g. Firefox
opens, Wired and/or Wireless Network connects, etc. This is the best
time to troubleshoot everything else until we enable 3D effects.
- Enable fgrlx driver.
Install linux-restricted-modules and restricted-manager provided in the restricted repositories:
Code:
sudo apt-get update
sudo apt-get install linux-restricted-modules-generic restricted-manager
Open the restricted drivers manager in "System ->
Administration -> Restricted Drivers Manager" and select "ATI
accelerated graphics driver". - Reboot if necessary.
- After reboot, log back in.
Open terminal and run
Code:
fglrxinfo -display :0
and verify that you see something like this:
Code:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Mobility Radeon X1400
OpenGL version string: 2.0.6473 (8.37.6)
If
you don't have command fglrxinfo, you either don't have a supported ATI
card or you missed a step or two. Go back through all steps.
If
you see "Mesa GLX Indirect" instead of "ATI Technologies", see
Troubleshooting section below. If still unsure, post your
/etc/X11/xorg.conf in this thread. DO NOT CONTINUE INSTALLATION UNTIL YOU FIX THIS ISSUE AND GET RID OF MESA. - =================================
- Are you ready to get back into the wobbly windows and Desktop Cube?
- =================================
- Install Xgl.
Code:
sudo apt-get install xserver-xgl
- Install compiz
Code:
sudo apt-get install compizconfig-settings-manager compiz compiz-core compiz-fusion-plugins-main compiz-fusion-plugins-extra compiz-gnome compiz-plugins libcompizconfig-backend-gconf libcompizconfig0
- Reboot
- Log in. 3D effects should be enabled! You no longer need to select a special Xgl session.
- Customize Compiz Fusion.
Select System → Preferences → Advanced Desktop Effects Settings
In the new window, General Options → Desktop Size → Horizontal Virtual Size. Set it to 4.
The other two options have to be left at 1.
Continue customization per Forlong's guide at http://forlong.blogage.de/article/20...-Compiz-Fusion
Troubleshooting
Solving the 'Mesa nightmares' mystery. This is becoming a hot topic in this guide.
A common problem in step 10 is fgrlxinfo output like this:
Code:
# fglrxinfo -display :0
display: :0.0 screen: 0
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.4 (2.1 Mesa 7.0.1)
.
That means you are not using the restricted driver. Enable it via
Restricted Driver Manager -- see step 8. Just in case, run command
Code:
sudo aticonfig --initial
then reboot.
-----------
More Mesa troubleshooting. Some people reported broken drivers. This
has nothing to do with compiz or Xgl -- it's a matter of having a
broken driver installed. Technically speaking, there are two drivers
for the video card. One driver is a part of the kernel, and one driver
is for X. They need to both work and match.
*
Kernel driver
Verify that the most recent kernel is installed:
should
2.6.22-14-generic
and both packages are installed:
Code:
dpkg -l linux-restricted-modules-2.6.22-14-generic
dpkg -l linux-image-2.6.22-14-generic
Check if your kernel module is loaded:
should return something like:
fglrx 765588 51
You can also check if you are using the right version of the kernel driver:
should return something like this:
filename: /lib/modules/2.6.22-14-generic/volatile/fglrx.ko
depends: agpgart
vermagic: 2.6.22-14-generic SMP mod_unload 586
license: Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY
description: ATI Fire GL
author: Fire GL - ATI Research GmbH, Germany
parm: firegl:charp
If you don't have fglrx kernel module loaded, please
report the problem in this thread. I don't have generic instructions
for you yet.
If you are running a wrong version of kernel, your install may have a
bigger issue than non-working 3D effects. Please address those issues
first.
*
X driver
See if your X driver is installed
Code:
dpkg -l xorg-driver-fglrx
You should have version 7.1.0-8.37.6+2.6.22.4-14.9 installed. If
you got something else, I recommend to uninstall it and reinstall it:
Typical output is:
ii xorg-driver-fg 7.1.0-8.37.6+2 Video driver for ATI graphics accelerators
Code:
sudo apt-get --purge remove xorg-driver-fglrx
sudo apt-get install xorg-driver-fglrx
Once done, reboot and get back into X session. Go back to step 8
and enable the restricted driver. You may need yet another reboot after
enabling the driver.
If that didn't help, you are running into the dreaded "Mesa issue".
Gutsy "Restricted Driver Manager" does everything possible to avoid it.
I have never run into the "Mesa issue", so I don't know how to
troubleshoot it. Please refer to this
excellent updated Wiki page or
Fixing the "Mesa Issue" for ATI Cards thread -- the original post is very outdated, but the troubleshooting section at the end is good.
-----------
Mesa nightmares continued.
If you have any questions, please post output of commands
fglrxinfo -display :0
fglrxinfo -display :1
-----------
Envy and/or newer drivers from ATI
Some users report using Envy or alternative mechanisms to install newer drivers. This is very dangerous. As
this press-release indicates,
many with older GPUs had immediately upgraded with some then having a foul experience.
In this guide, "older" means anything but 2000HD series!!! That's what
most of us run. So, if you have have a video card from the supported
hardware section (see my previous post), then you must not upgrade to
the newer driver.
References
DO NOT FOLLOW THESE LINKS BLINDLY. MOST ARE WRITTEN FOR FEISTY AND THIS GUIDE UNDOES WHAT IS SUGGESTED IN THESE GUIDES.
http://ubuntuforums.org/showpost.php...&postcount=217
http://ubuntuforums.org/showthread.php?t=488385
https://help.ubuntu.com/community/BinaryDriverHowto/ATI
https://help.ubuntu.com/community/RestrictedDrivers/ATI
https://help.ubuntu.com/community/CompositeManager/Xgl