![]() |
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.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Desktop Environments Support for your Ubuntu desktop. Including Gnome, KDE and XFCE. |
|
|
Thread Tools | Display Modes |
|
|
#1 | ||
|
SADFL's Commando
![]() |
XGL Install and General Tips For Gnome and Nvidia
My guide is REALLY outdated. Instead use this site:
http://knowledge76.com/index.php/XGL...z_Nvidia_32bit Thank you! Hello Nvidia Users. If you are a ATI user then please use this guide instead: http://www.ubuntuforums.org/showthread.php?p=739758 AMD64 Users look here: http://www.ubuntuforums.org/showthread.php?t=131659 A few notes: You must compile the newest CVS version of glitz to get this to work with Nvidia cards that lack Pixel Shaders (aka anything older than a 5200 FX). Hopefully this will be updated in the repository soon. THIS BREAKS XINERAMA AND TWINVIEW so dual head use is more annoying. Proceed at you own risk. This is new experimental stuff and I hope you are a little command line savy (or can call someone that is) because if something messes up you might be stuck on the command line. Don't say I didn't warn you. Also I assume you have installed the newest Nvidia driver from the repos. To get it, this command: Code:
sudo apt-get install nvidia-kernel-common nvidia-glx Code:
sudo gedit /etc/X11/xorg.conf Code:
# Load "GLcore"
# Load "dri"
Load "glx"
Change every line but the “Identifier” line to look just like mine: Code:
Section "Device" Identifier- leave this line alone! Driver "nvidia" BusID "PCI:1:0:0" Option "RenderAccel" "true" EndSection IF LATER ON COMPIZ DOES NOT WORK FOR YOU (and complains about composite extension): Add this to the very bottom: Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
VERY IMPORTANT: Make sure your default color depth is 24! Now save and close the file. Now on to the second part- install XGL. I pretty sure this line will do it. I tried it on a clean install: Code:
sudo apt-get install compiz xserver-xgl libgl1-mesa xserver-xorg libglitz-glx1 compiz-gnome Thats pretty easy. Next step is the making it start when Gnome starts. I get this from the ATI guide with modification. Thanks JoWilly! First a command: Code:
sudo gedit /etc/gdm/gdm.conf-custom Code:
# GDM Configuration Customization file. # # This file is the appropriate place for specifying your customizations to the # GDM configuration. If you run gdmsetup, it will automatically edit this # file for you and will cause the daemon and any running GDM GUI programs to # automatically update with the new configuration. Not all configuration # options are supported by gdmsetup, so to modify some values it may be # necessary to modify this file directly by hand. # # To hand-edit this file, simply add or modify the key=value combination in # the appropriate section in the template below. Refer to the comments in the # gdm.conf file for information about each option. Also refer to the reference # documentation. # # If you hand edit a GDM configuration file, you should run the following # command to get the GDM daemon to notice the change. Any running GDM GUI # programs will also be notified to update with the new configuration. # # gdmflexiserver --command="UPDATE_CONFIG <configuration key>" # # For example, the "Enable" key in the "[debug]" section would be specified by # "debug/Enable". # # You can also run gdm-restart or gdm-safe-restart to cause GDM to restart and # re-read the new configuration settings. You can also restart GDM by sending # a HUP or USR1 signal to the daemon. HUP behaves like gdm-restart and causes # any user session started by GDM to exit immediately while USR1 behaves like # gdm-safe-restart and will wait until all users log out before restarting GDM. # # For full reference documentation see the gnome help browser under # GNOME|System category. You can also find the docs in HTML form on # http://www.gnome.org/projects/gdm/ # # NOTE: Lines that begin with "#" are considered comments. # # Have fun! [daemon] [security] [xdmcp] [gui] [greeter] [chooser] [debug] [servers]# Override display 1 to use Xgl (DISPLAY 1 IMPORTANT FOR ATI FGLRX). 0=Xgl [server-Xgl] name=Xgl server command=/usr/bin/Xgl :0 -fullscreen -ac -accel glx:pbuffer -accel xv:fbo flexible=true Time for the last step: make compiz work! This part will work for ATI users as well. Two ways to do that. Either go by what this post says (thanks g14) or use my small script: This: http://www.ubuntuforums.org/showpost...&postcount=507 Or: First this command: Code:
sudo gedit /usr/bin/thefuture Code:
#!/bin/bash gnome-window-decorator & compiz --replace gconf decoration wobbly fade minimize cube rotate zoom scale move resize place switcher & Code:
sudo chmod 755 /usr/bin/thefuture Code:
xmodmap /usr/share/xmodmap/xmodmap.<language> Code:
xmodmap /usr/share/xmodmap/xmodmap.us thefuture That should make compiz start working. If not, just keep using that command (maybe up to 20 times) till it does work. If you have problems, post them in thread so you can get help. Try it out. Here are the basic key commands: CTRL + ALT + Left/right arrow key. Switches to the new side of the cube for me. CTRL + ALT + SHIFT + Left/Right arrow key- Takes the in focused app around cube. CTRL + ALT + Left Click on Desktop - allows you to use the mouse to rotate cube. F12 - uses the Expose like trick Alt- Tab - switcher Vista-style Now is to solve some general issues. One is the fact that the wobble seems off to many people with Nvidia cards. There is an easy fix thanks to roberTO: Run the command: Code:
gconf-editor apps>compiz>general>screen0>option Then turn off the "detect_refresh_rate" option. Then set the "refresh_rate" to 60 It will work like a charm. Here is a neat trick if you want to take screenshots from npodges. Go in the gconf-editor to: apps>compiz>general>screen0>options Change “command0” into"gnome-screenshot" Then change “run_command0” into"Print" Now the PrintScr button will take screenshots. More helpful advice on the different gconf-editor options can be found on this page: http://gentoo-wiki.com/HOWTO_XGL I hope you enjoyed the guide. To Undo This command: Quote:
__________________
Quote:
Last edited by poofyhairguy; September 19th, 2006 at 09:30 PM.. |
||
|
|
|
|
|
#2 |
|
Dipped in Ubuntu
![]() |
Re: XGL Install and General Tips For Gnome and Nvidia
PHG. You have no idea how helpful this was to me. Thanks so much. You are great asset to the community. One quick note / question. compiz gives an error about libmenu.so missing, although it still runs perfectly. Ah well. Thanks again sooo much
woe. |
|
|
|
|
|
#3 |
|
Ubuntu Extra Shot
![]() Join Date: Oct 2005
Beans: 225
Kubuntu Intrepid Ibex (testing)
|
Re: XGL Install and General Tips For Gnome and Nvidia
Thanks for the guide, hope someone will make one for the kubuntu users to soon.
The community did a good job to get Xgl to work , thanks for those people to. A rated |
|
|
|
|
|
#4 |
|
Way Too Much Ubuntu
![]() Join Date: Apr 2005
Location: Dublin
Beans: 90
The Feisty Fawn Testing
|
Re: XGL Install and General Tips For Gnome and Nvidia
OK, I'm the unlucky one. All I got is this message:
$ thefuture $ compiz.real: GLX_EXT_texture_from_pixmap is missing compiz.real: Failed to manage screen: 0 compiz.real: No managable screens found on display :0.0 And it kills my gnome-panel, nautilus, and metacity. Maybe I am missing something? Oh yeah, and I can not find apps>compiz in my gconf-editor Last edited by encho; February 16th, 2006 at 05:26 AM.. |
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() Join Date: Aug 2005
Beans: 15
|
Re: XGL Install and General Tips For Gnome and Nvidia
thanks for this guide... i was unlucky to get compiz run... tried running thefuture even for 30 times.. sometimes compizreal appears for 5 second in the running applications list then disapperas... any idea? thanks again...
|
|
|
|
|
|
#6 | ||
|
SADFL's Commando
![]() |
Re: XGL Install and General Tips For Gnome and Nvidia
Quote:
__________________
Quote:
|
||
|
|
|
|
|
#7 |
|
Ubuntu French Roast
![]() Join Date: Jun 2005
Location: France
Beans: 6,250
Ubuntu 9.04 Jaunty Jackalope
|
Re: XGL Install and General Tips For Gnome and Nvidia
really nice.
I have 2 questions regarding Xgl/compiz : 1- Do you get the same FPS with xgl and does the game works well ? 2- How to undo that, i mean to make xserver and metacity load as usual ? Thank you for this neat guide. |
|
|
|
|
|
#8 | |
|
Way Too Much Ubuntu
![]() Join Date: Apr 2005
Location: Dublin
Beans: 90
The Feisty Fawn Testing
|
Re: XGL Install and General Tips For Gnome and Nvidia
Quote:
Finally works! What now? I'll just play with the windows and wobbling ... 3 hours later ... still wobbling. |
|
|
|
|
|
|
#9 | |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2004
Beans: 18
|
Re: XGL Install and General Tips For Gnome and Nvidia
This is the first how-to take gets me everything set up... And only under a 3 minutes!
Quote:
Resizing windows hasn't improved in performance though, that's a real turndown Last edited by scrooch; February 16th, 2006 at 05:44 AM.. |
|
|
|
|
|
|
#10 |
|
Just Give Me the Beans!
![]() Join Date: Aug 2005
Beans: 15
|
Re: XGL Install and General Tips For Gnome and Nvidia
is xgl really broken for amd64?
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|