• Diff for "Hardware/NVIDIA"
  • Immutable Page
  • Info
  • Attachments
Differences between revisions 20 and 22 (spanning 2 versions)
Revision 20 as of 2007-11-04 15:13:00
Size: 4591
Editor: adsl-68-94-97-95
Comment:
Revision 22 as of 2007-11-23 09:12:14
Size: 4640
Editor: S01060018f33c7b8b
Comment: Fixed link formatting in last section.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
General nvidia intro goes here This page needs a suitable introductory statement. It also has sections in need of completion.
Line 3: Line 3:
= Supported Cards =
CompizFusion requires compatible HW with driver support and sufficient performance.
[[TableOfContents]]
Line 6: Line 5:
== Tested OK == == Supported Cards ==
CompizFusion requires compatible hardware with driver support and sufficient performance.

=== Tested OK ===
Line 10: Line 12:
== Compatible Specs == === Compatible Specs ===
Line 14: Line 16:
== Tested FAIL == === Tested FAIL ===
Line 18: Line 20:

= Available Drivers =
== Available Drivers ==
Line 24: Line 25:
= System Setup = == System Setup ==
Line 26: Line 27:
For information about which drivers can run Xorg (NVIDIA) and which can run Xgl, see '''["Setup"]'''. For information about which drivers can run '''Xorg''' (using the ''nvidia'' driver) and which can run '''Xgl''', see '''["Setup"]'''.
Line 28: Line 29:
= Additional Configuration = === Additional Configuration ===
Line 31: Line 32:
 * This option is not really needed with newer drivers as it is enabled by default at 9746 and newer. {{{  * This option is not really needed with newer drivers as it is enabled by default in versions 9746 and newer. {{{
Line 37: Line 38:
 * Do NOT use this option if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV. {{{  * 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. {{{
Line 41: Line 42:
 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.  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.
Line 43: Line 44:
{i} 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 100.14.19 http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/appendix-b.html {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
Line 45: Line 46:
= Setup nvidia-settings to start on login = === Setting up nvidia-settings to start on login ===
This information is intended to help you start `nvidia-settings` options on login.
Line 47: Line 49:
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`
Line 49: Line 57:
The fact that we can set AA and FSAA settings using an export command in various locations including manually in a terminal after login or in /etc/init.d/xdm or /etc/profile or /etc/env.d/03opengl or even /home/user/.bashrc, this does not help us with the other options available to us in nvidia-settings, including Cursor Shadows, Vibrance Controls and others. After much searching I have found a solution to this which will enable us to take advantage of all the options in nvidia-settings by executing the settings file itself in our /home/user/.bashrc. To accomplish this of course you will need to have nvidia-settings installed, then using this tool you will need to make the changes you want to the different options. Once this is accomplished you can then edit your local /home/user/.bashrc file and add the following near the top of the file. However, this does not help us with the other options available to us in {{{nvidia-settings}}}, including ''Cursor Shadows'', ''Vibrance Controls'', and others.
Line 51: Line 59:
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 58: Line 67:
Keep in mind this can also be added to /etc/init.d/xdm or /etc/profile to make the settings global. And of course your settings file would have to be in /root. Not the best solution in my opinion for obvious reasons. 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 60: Line 69:
There is also a ''Texture Filtering'' option in '''["CCSM"]''' which can be adjusted. In CCSM, go to '''[:Plugins/Core:General Options]''' --> ''Display Settings'' --> ''Texture Filter'' --> '''Best'''.
Line 61: Line 71:
There is also a Texture Filtering option in CCSM you can activate to take advantage of this. In CCSM go to 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.
Line 63: Line 74:
Now you may be wondering where do I find the proper settings for my Nvidia card. The vsync, AA and, FSAA settings can be found in the readme file of your driver.
http://us.download.nvidia.com/XFree86/Linux-x86/100.14.19/README/chapter-11.html

To understand these settings and figure out how best to set them I recommend reading pages 9-11 here.
To understand these settings and figure out how best to set them, pages 9 through 11 of the following guide are recommended:
Line 69: Line 77:
Please understand this is only one solution and not the most elegant but I found it to be a simple solution.

(!) 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.
(!) 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.

{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 [:Plugins/Core: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)