• Diff for "Hardware/NVIDIA"
  • Immutable Page
  • Info
  • Attachments
Differences between revisions 1 and 24 (spanning 23 versions)
Revision 1 as of 2007-08-21 21:57:42
Size: 3469
Editor: adsl-68-91-108-96
Comment:
Revision 24 as of 2007-12-25 19:56:01
Size: 4761
Editor: pool-68-162-138-187
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
First, keep in mind that the best way to get a nice graphical experience is to use your monitors native resolution. It is also recommended that you verify that you have direct rendering enabled before you start to setup composite desktop. In a terminal you can type this. This page needs a suitable introductory statement. It also has sections in need of completion.
Line 3: Line 3:
[[TableOfContents]]

== Supported Cards ==
CompizFusion requires compatible hardware with driver support and sufficient performance.

=== Tested OK ===
Cards tested to work, driver required, and performance notes:
 * (card / driver / notes)

=== Compatible Specs ===
Cards theoretically compatible by specs, driver required, and performance notes:
 * (card / driver / notes)

=== Tested FAIL ===
Cards tested to fail, driver(s) tested, and specific failures:
 * (card / driver(s) / notes)

== Available Drivers ==
 * '''Legacy''' (1.0.7xxx)
 * '''New Legacy''' (1.0.96xx)
 * '''Latest''' (1.0.97xx - 100.x.x)

== System Setup ==

For information about which drivers can run '''Xorg''' (using the ''nvidia'' driver) and which can run '''Xgl''', see '''["Setup"]'''.

=== Additional Configuration ===
Some of the following options may be worth trying to improve performance or fix bugs:

 * This option is not really needed with newer drivers as it is enabled by default in versions 9746 and newer. {{{
 Option "RenderAccel" "True" }}}
 * This option helps performance. It is currently incompatible with SLI and MultiGPU modes. {{{
 Option "DamageEvents" "True"}}}
 * Use this option with caution as it may '''not''' work on all systems. {{{
 Option "UseEvents" "False" }}}
 * Do NOT use this option if you have less than 128MB of video RAM, and always use it with Sync2Vblank enabled in {{{nvidia-settings}}} both for OpenGL and XV. {{{
 Option "TripleBuffer" "True" }}}
 * Use this options with caution as it may '''not''' work on all systems, especially with 6 series GeForce cards (it is known to cause freezes with compiz) but give it a try because it helps performance. It can also break Xinerama. {{{
 Option "BackingStore" "True" }}}
 The ''!BackingStore'' option is an Xorg option, not an nVidia option. It is used to enable the server's support for backing store, a mechanism by which pixel data for occluded window regions is remembered by the server thereby alleviating the need to send expose events to X clients when the data needs to be redisplayed. Note that this can significantly increase performance in nVidia !TwinView setups.
  *for nvidia drivers prior to the 100.xx drivers. {{{
 Option "AddARGBGLXVisuals" "True" in Section "Screen"

{i} For further documentation on these settings please refer to the readme file of the particular Nvidia driver you are using. The README file for driver version 100.14.19 can be found here: http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/appendix-b.html

=== Setting up nvidia-settings to start on login ===
This information is intended to help you start `nvidia-settings` options on login.

We can set ''AA'' and ''FSAA'' settings using an {{{export}}} command in various locations, including the following:
 * manually in a terminal after login
 * in one of the following files:
  * `/etc/init.d/xdm`
  * `/etc/profile`
  * `/etc/env.d/03opengl`
  * `/home/user/.bashrc`

However, this does not help us with the other options available to us in {{{nvidia-settings}}}, including ''Cursor Shadows'', ''Vibrance Controls'', and others.

To address this issue, it is possible to execute the settings file itself in `/home/user/.bashrc`. To accomplish this, you will need to have `nvidia-settings` installed. It can then be used to set the desired options. Once this is done, edit your local `/home/user/.bashrc` file and add the following near the top of the file:
Line 4: Line 63:
glxinfo | grep direct if [ $DISPLAY ] && [ $TERM == "dumb" ]; then
# Load nvidia-settings
nvidia-settings -load-config-only > /dev/null 2>&1
fi
Line 6: Line 68:
The response should look like this.
Line 8: Line 69:
{{{
direct rendering: Yes
}}}
If the response is "No" then direct rendering is not enabled and this guide will try and get you on your way. If you still experience problems with direct rendering after following this guide please keep in mind that this is only a general guide. The best source to get anything setup properly in your particular distribution of Linux is to go to the distributions documentation and/or that distributions forum.
Keep in mind this can also be added to `/etc/init.d/xdm` or `/etc/profile` to make the settings global; however, your settings file would also have to be in `/root`, making this second approach less than ideal.
Line 13: Line 71:
With driver 100.14.11 and older or 9631 legacy(no info about 7185) under the hood... In your /etc/X11/xorg.conf you should have the following options in order to run composite desktop. Options that are commented "##" at the end have been found to help either quality, performance or stability. There is also a ''Texture Filtering'' option in '''["CCSM"]''' which can be adjusted. In CCSM, go to '''[:GeneralOptions:General Options]''' --> ''Display Settings'' --> ''Texture Filter'' --> '''Best'''.
Line 15: Line 73:
{{{
Section "ServerLayout"
Option "AIGLX" "False"
=== Finding the correct settings for your card ===
The vsync, AA and, FSAA settings can be found in the [http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/chapter-11.html README] file for your driver.
Line 19: Line 76:
Section "Module"
Load "glx"
#Load "glcore" ## comment this line if it is there
#Load "dri" ## comment this line if it is there
To understand these settings and figure out how best to set them, pages 9 through 11 of the following guide are recommended:
http://www.tweakguides.com/Graphics_1.html
Line 24: Line 79:
Section "Device"
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"
Option "DisableGLXRootClipping" "True" ## This option is deprecated.
Option "RenderAccel" "True" ## Not really needed with newer drivers as it is enabled by default in newer drivers
Option "DamageEvents" "True" ## This option is currently incompatible with SLI and MultiGPU modes
Option "UseEvents" "False" ## Use this one with caution it may NOT work on all systems
Option "TripleBuffer" "True" ## Do NOT use if you have less than 128mb vram
Option "BackingStore" "True" ## Use this one with caution it may NOT work on all systems (freezes when load beryl-manager) but give it a try because it helps performance] It can also break Xinerama

Section "Extensions"
Option "Composite" "Enable"

Section "Screen"
DefaultDepth 24
}}}
That is what is recommended for using composite desktop. For further documentation on these settings please refer to the readme file of the particular Nvidia driver you are using. Here is the readme for driver 9755 http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-d.html

The option "BackingStore" is a Xorg option not Nvidia. This option is used to enable the server's support for backing store, a mechanism by which pixel data for occluded window regions is remembered by the server thereby alleviating the need to send expose events to X clients when the data needs to be redisplayed. Note that this can significantly increase performance in nVidia TwinView setups.
----------
If you would like to make further changes to improve the graphics performance here is a few suggestions.

(!) If you look in your computer bios and see a MTRR setting, make sure it is set to "DISCRETE"

If you have an AGP card add the following options in your modprobe.conf file or any name this file has in your distro:

options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_EnableBrightnessControl=1 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1 NVreg_SaveVBios=1 NVreg_SoftEDIDs=0 NVreg_VideoMemoryTypeOverride=0 NVreg_NvAGP=3 NVreg_ReqAGPRate=8->(8=for 8X AGP, 4=for 4X AGP)

Copy them as they are. They are typed correctly!
(!) When FSAA is enabled (the {{{__GL_FSAA_MODE}}} environment variable is set to a value that enables ''FSAA'' and a multisample visual is chosen), the rendering may be corrupted when resizing the window.

This page needs a suitable introductory statement. It also has sections in need of completion.

TableOfContents

Supported Cards

CompizFusion requires compatible hardware with driver support and sufficient performance.

Tested OK

Cards tested to work, driver required, and performance notes:

  • (card / driver / notes)

Compatible Specs

Cards theoretically compatible by specs, driver required, and performance notes:

  • (card / driver / notes)

Tested FAIL

Cards tested to fail, driver(s) tested, and specific failures:

  • (card / driver(s) / notes)

Available Drivers

  • Legacy (1.0.7xxx)

  • New Legacy (1.0.96xx)

  • Latest (1.0.97xx - 100.x.x)

System Setup

For information about which drivers can run Xorg (using the nvidia driver) and which can run Xgl, see ["Setup"].

Additional Configuration

Some of the following options may be worth trying to improve performance or fix bugs:

  • This option is not really needed with newer drivers as it is enabled by default in versions 9746 and newer.

     Option "RenderAccel" "True" 
  • This option helps performance. It is currently incompatible with SLI and MultiGPU modes.

     Option "DamageEvents" "True"
  • Use this option with caution as it may not work on all systems.

     Option "UseEvents" "False" 
  • Do NOT use this option if you have less than 128MB of video RAM, and always use it with Sync2Vblank enabled in nvidia-settings both for OpenGL and XV.

     Option "TripleBuffer" "True" 
  • Use this options with caution as it may not work on all systems, especially with 6 series GeForce cards (it is known to cause freezes with compiz) but give it a try because it helps performance. It can also break Xinerama.

     Option "BackingStore" "True" 

    The BackingStore option is an Xorg option, not an nVidia option. It is used to enable the server's support for backing store, a mechanism by which pixel data for occluded window regions is remembered by the server thereby alleviating the need to send expose events to X clients when the data needs to be redisplayed. Note that this can significantly increase performance in nVidia TwinView setups.

    • for nvidia drivers prior to the 100.xx drivers.

       Option     "AddARGBGLXVisuals"   "True"  in Section "Screen"
      
      {i} For further documentation on these settings please refer to the readme file of the particular Nvidia driver you are using. The README file for driver version 100.14.19 can be found here: http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/appendix-b.html
      
      === Setting up nvidia-settings to start on login ===
      This information is intended to help you start `nvidia-settings` options on login.
      
      We can set ''AA'' and ''FSAA'' settings using an {{{export
      command in various locations, including the following:
  • manually in a terminal after login
  • in one of the following files:
    • /etc/init.d/xdm

    • /etc/profile

    • /etc/env.d/03opengl

    • /home/user/.bashrc

However, this does not help us with the other options available to us in nvidia-settings, including Cursor Shadows, Vibrance Controls, and others.

To address this issue, it is possible to execute the settings file itself in /home/user/.bashrc. To accomplish this, you will need to have nvidia-settings installed. It can then be used to set the desired options. Once this is done, edit your local /home/user/.bashrc file and add the following near the top of the file:

if [ $DISPLAY ] && [ $TERM == "dumb" ]; then
# Load nvidia-settings
nvidia-settings -load-config-only > /dev/null 2>&1
fi

Keep in mind this can also be added to /etc/init.d/xdm or /etc/profile to make the settings global; however, your settings file would also have to be in /root, making this second approach less than ideal.

There is also a Texture Filtering option in ["CCSM"] which can be adjusted. In CCSM, go to [:GeneralOptions:General Options] --> Display Settings --> Texture Filter --> Best.

Finding the correct settings for your card

The vsync, AA and, FSAA settings can be found in the [http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/chapter-11.html README] file for your driver.

To understand these settings and figure out how best to set them, pages 9 through 11 of the following guide are recommended: http://www.tweakguides.com/Graphics_1.html

(!) When FSAA is enabled (the __GL_FSAA_MODE environment variable is set to a value that enables FSAA and a multisample visual is chosen), the rendering may be corrupted when resizing the window.

Hardware/NVIDIA (last edited 2010-07-27 05:24:55 by 124-169-107-122)