• Diff for "Hardware/NVIDIA"
  • Immutable Page
  • Info
  • Attachments
Differences between revisions 13 and 14
Revision 13 as of 2007-08-24 02:30:07
Size: 6719
Editor: adsl-68-91-108-96
Comment:
Revision 14 as of 2007-08-24 20:14:33
Size: 4237
Editor: pool-70-104-174-247
Comment: Restructure, delete redundant and unnecessary content.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from Nvidia
'''Setup Nvidia For Composite Desktop'''
General nvidia intro goes here
Line 4: Line 3:
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. = Available Drivers =
 * '''Legacy''' (1.0.7xxx)
 * '''New Legacy''' (1.0.96xx)
 * '''Latest''' (1.0.97xx - 100.x.x)
Line 6: Line 8:
{{{
glxinfo | grep direct
}}}
The response should look like this.
= System Setup =
Line 11: Line 10:
{{{
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.
Some stuff about which drivers can run Xorg (NVIDIA) and which can run Xgl:
Line 16: Line 12:
With driver 100.14.11 and older or 9631 legacy(no info about 9639) 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. See '''["Setup"]'''
Line 18: Line 14:
{{{
Section "ServerLayout"
Option "AIGLX" "False"
#(Doesn't affect anything practically but who knows)
= Additional Configuration =
Some of the following options may be worth trying to improve performance or fix bugs:
Line 23: Line 17:
This option is deprecated.Use it ONLY with 100 series drivers in order to cure the FROZEN Bug if you cannot use the 9755 driver ex. G86 GPU cards {{{
Option "DisableGLXRootClipping" "True" }}}
Not really needed with newer drivers as it is enabled by default at 9746 and newer{{{
Option "RenderAccel" "True" }}}
This option is currently incompatible with SLI and MultiGPU modes.Helps performance{{{
Option "DamageEvents" "True"}}}
Use this one with caution it may NOT work on all systems{{{
Option "UseEvents" "False" }}}
Line 24: Line 26:
Section "Module"
Load "glx"
#Load "glcore" ##(comment this line if it is there)
#Load "dri" ##(comment this line if it is there)
Do NOT use if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV{{{
Option "TripleBuffer" "True" }}}
Line 29: Line 29:
Use this one with caution it may NOT work on all systems especially with 6 series GeForce cards(freezes when load beryl-manager) but give it a try because it helps performance. It can also break Xinerama {{{
Option "BackingStore" "True" }}}
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.
Line 30: Line 33:
Section "Device" or "Screen"(doesn't matter)
Option "AddARGBGLXVisuals" "True"
#(Enables Window Decorations. Not needed for 100 series drivers as it is enabled by default there)
{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 1.0.9755 http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-d.html
Line 34: Line 35:
Option "AllowGLXWithComposite" "True"
#(Not really needed with newer drivers as it is enabled by default at 9746 and newer)

Option "DisableGLXRootClipping" "True"
#(This option is deprecated.Use it ONLY with 100 series drivers in order to cure the FROZEN Bug if you cannot use the 9755 driver ex. G86 GPU cards)

Option "RenderAccel" "True"
#(Not really needed with newer drivers as it is enabled by default at 9746 and newer)

Option "DamageEvents" "True"
##(This option is currently incompatible with SLI and MultiGPU modes.Helps performance)

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 and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV)

Option "BackingStore" "True"
##(Use this one with caution it may NOT work on all systems especially with 6 series GeForce cards(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 (openSuSE 10.2=/etc/modprobe.conf.local, Kubuntu-Ubuntu 7.04=/etc/modprobe.d/nvidia-kernel-nkc, Gentoo=/etc/modules.d) or any name this file has in your distro:

options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 NVreg_EnableBrightnessControl=0 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)

If you have a PCI Express here are the options for you:

options nvidia NVreg_VideoMemoryTypeOverride=0 NVreg_NvAGP=0 NVreg_ReqAGPRate=0 NVreg_SoftEDIDs=0 NVreg_DevicesConnected=1 NVreg_VbiosFromROM=1 NVreg_SaveVBios=1 NVreg_EnableBrightnessControl=0

Copy them as they are. They are typed correctly!
----------
'''Setup Nvidia-Settings to Start on Login'''
= Setup nvidia-settings to start on login =
Line 93: Line 47:
Line 94: Line 49:
Line 105: Line 61:
(!) 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.

General nvidia intro goes here

Available Drivers

  • Legacy (1.0.7xxx)

  • New Legacy (1.0.96xx)

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

System Setup

Some stuff about which drivers can run Xorg (NVIDIA) 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 deprecated.Use it ONLY with 100 series drivers in order to cure the FROZEN Bug if you cannot use the 9755 driver ex. G86 GPU cards

Option "DisableGLXRootClipping" "True" 

Not really needed with newer drivers as it is enabled by default at 9746 and newer

Option "RenderAccel" "True" 

This option is currently incompatible with SLI and MultiGPU modes.Helps performance

Option "DamageEvents" "True"

Use this one with caution it may NOT work on all systems

Option "UseEvents" "False" 

Do NOT use if you have less than 128mb vram and always with Sync2Vblank enabled at nvidia-settings both for OpenGL and XV

Option "TripleBuffer" "True" 

Use this one with caution it may NOT work on all systems especially with 6 series GeForce cards(freezes when load beryl-manager) but give it a try because it helps performance. It can also break Xinerama

Option "BackingStore" "True" 

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.

{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 1.0.9755 http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-d.html

Setup nvidia-settings to start on login

This information is intended to help you start nvidia-settings options on login.

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.

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. And of course your settings file would have to be in /root. Not the best solution in my opinion for obvious reasons.

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"

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. Usually in appendix E. http://us.download.nvidia.com/XFree86/Linux-x86/1.0-9755/README/appendix-e.html

To understand these settings and figure out how best to set them I recommend reading pages 9-11 here. http://www.tweakguides.com/Graphics_1.html

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.

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