![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: Aug 2005
Beans: 15
|
This is a howto for installing XGL and Compiz (in simple words: 3D desktop) on Kubuntu (KDE) with ATI drivers.
First, if you haven't done so already, install the fglrx driver following this howto: https://help.ubuntu.com/community/BinaryDriverHowto/ATI Now, check if your drivers are installed correctly. Open a terminal and type: Code:
glxinfo | grep OpenGL Code:
Xlib: extension "XFree86-DRI" missing on display ":1.0". OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: MOBILITY RADEON 9600 Generic OpenGL version string: 1.2 (2.0.6011 (8.28.8)) In terminal, type: Code:
glxinfo | grep direct Code:
direct rendering: Yes If the above commands don't display what they should, there is a problem. Things you can try to do to fix this (after doing each step, reboot the machine and see if it works yet): 1. In terminal, type "sudo nano -w /etc/X11/xorg.conf" Under Section "Device", check that they all say Driver "fglrx". If they say "ati" or "radeon" or anything else, change it to "fglrx". 2. sudo nano -w /etc/X11/xorg.conf My Section "Device" looks like this, see if you are missing any of the options: Code:
Section "Device"
Identifier "ATI Card Name"
BusID "PCI:1:0:0"
Driver "fglrx"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
# Option "UseInternalAGPGART" "no" # check comments about this line
EndSection
3. On some cards it is necessary to disable Composite: sudo nano -w /etc/X11/xorg.conf At the very end add: Code:
Section "Extensions" Option "Composite" "disable" EndSection 5. If this still doesn't solve it, seek help on the forums. Provide the output of "dmesg | grep fglrx", "dmesg | grep agp", your /etc/X11/xorg.conf and your /var/log/Xorg.0.log Now, on to install XGL. There is a very good howto here: https://help.ubuntu.com/community/CompositeManager/Xgl IMPORTANT: When you come to the part "Choose How Your Computer Will Start Xgl", be sure to follow Method A, as this howto will assume you have it set up this way. Now that you've installed and configured XGL, try it out by choosing XGL session in the menu where you log in. It may be very slow, but as long as it's working it's ok. Log out, select KDE session again and continue: Now we will install Compiz and CGWD, which are needed for a nice "3D desktop". First, if you don't have the neccesary repository yet, you will have to add it. You have probably already added it when installing XGL, so you probably do not need to do it now. If you don't have it yet, "sudo nano -w sources.list" and add this to the end: Code:
# XGl and Compiz packages (packages) deb http://media.blutkind.org/xgl dapper main # XGl and Compiz packages MIRROR (packages) - if the first one doesn't work #deb http://ubuntu.compiz.net dapper main #deb http://www.beerorkid.com/compiz dapper main Code:
sudo aptitude install compiz compiz-plugins csm cgwd cgwd-themes cgwd-themes-extra In terminal, run "sudo nano -w /usr/bin/startxgl.sh" (you should have made this script when you used Method A to configure XGL before) and add the lines written in red. I have included the whole content of the file just so you know where to put them, you do not need to change the part that is not written in red color. Code:
#!/bin/sh Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer & DISPLAY=:1 cgwd & compiz & xmodmap /usr/share/xmodmap/xmodmap.us # change us to your country name #xmodmap -e "keysym comma = comma semicolon less" # uncomment this line if you want "AltGr + ," to produce "<" and it does not work #xmodmap -e "keysym period = period colon greater" # uncomment this line if you want "AltGr + ." to produce ">" and it does not work #xmodmap -e "keysym e = e E EuroSign" # uncomment this line if you want "AltGr + e" to produce "€" and it does not work exec startkde IMPORTANT: Please note that i didn't have the "/usr/share/xmodmap/" directory on my Kubuntu Dapper installation. It seems it is included in the "gnome-applets-data" package, but you do not have to install it - just ask a friend with Ubuntu installed to send the files to you. After you make the directory and put the files in, in case you didn't have it already, do "chown -R root:root /usr/share/xmodmap/" and "chmod 644 /usr/share/xmodmap/*". Now, logout, change session to XGL in the menu, and log back in. If all went well you should now have a "3D desktop" If it doesn't work, first try to reboot and try to log in again, using XGL session. Please post if this worked or did not work for you, and if you had to do anything besides what i wrote here. NOTE: THE COMPIZ REPOSITORIES (PACKAGES) MIGHT BE BROKEN AT THE TIME OF WRITING!, which means you might not be able to install compiz, unless you manually download the packages (ask someone if you really want to do that). Otherwise wait until they are fixed. Last edited by mrbrdo; September 23rd, 2006 at 05:35 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|