Good afternoon, I am a new Ubuntu user and I need some help to duly set up my GPU card. I am really lost with this, I have read a lot about how to configure Nvidia cards, but I cannot possibly solve a matter related to Compiz, Nvidia, the benchmark tool glxgears (Well, most of linux users claim it is not a real benckmark tool) and games performance on fullscreen. So I just hope someone could please help me to set it up.
Here, how some files are configured (only resumed):
Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" HorizSync 28.0 - 33.0 VertRefresh 43.0 - 72.0 Option "DPMS" EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Boardname "GeForce 8400M GS" Option "NoLogo" "True" Option "NoFlip" "False" Option "RenderAccel" "True" Option "AddARGBLXVisuals" "True" Option "AllowGLXWithComposite" "True" Option "DynamicTwinView" "False" Option "TripleBuffer" "True" Option "TwinView" "False" Option "FlatPanelProperties" "Scaling = Native" Option "RegistryDwords" "PerfLevelSrc=0x2222; PowerMizerEnable=0x1; PowerMizerLevel=0x3; PowerMizerLevelAC=0x1" EndSection Section "Extensions" Option "Composite" "Enable" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 EndSubSection EndSection
# Attributes: AS5720G:0.0/SyncToVBlank=1 AS5720G:0.0/LogAniso=0 AS5720G:0.0/FSAA=0 AS5720G:0.0/TextureSharpen=0 AS5720G:0.0/TextureClamping=0 AS5720G:0.0/AllowFlipping=1 AS5720G:0.0/FSAAAppControlled=1 AS5720G:0.0/LogAnisoAppControlled=1 AS5720G:0.0/OpenGLImageSettings=3 AS5720G:0.0/FSAAAppEnhanced=0 AS5720G:0.0/DigitalVibrance[DFP-0]=0 AS5720G:0.0/GPUScaling[DFP-0]=65538 AS5720G:0.0/ColorSpace[DFP-0]=0 AS5720G:0.0/ColorRange[DFP-0]=0 AS5720G:0.0/XVideoTextureBrightness=0 AS5720G:0.0/XVideoTextureContrast=0 AS5720G:0.0/XVideoTextureHue=0 AS5720G:0.0/XVideoTextureSaturation=0 AS5720G:0.0/XVideoTextureSyncToVBlank=1 AS5720G:0.0/XVideoSyncToDisplay=65536
CompizConfg - Unity profile:
[composite] s0_slow_animations_key = Disabled s0_detect_refresh_rate = true s0_refresh_rate = 60 s0_unredirect_fullscreen_windows = true s0_unredirect_match = (any) & !(class=Totem) & !(class=MPlayer) & !(class=Vlc) & > !(class=Plugin-container) & !(class=Firefox) s0_force_independent_output_painting = false [opengl] s0_texture_filter = 1 s0_lighting = false s0_sync_to_vblank = true s0_texture_compression = false s0_unredirect_driver_blacklist = (nouveau|Intel).*Mesa (8.0|9.0)
Here, some system details:
OS: Ubuntu 12.04.1 LTS, Unity 3D Kernel: 184.108.40.206 CPU: Intel Core2Duo T7100 GPU: Nvidia Geforce 8400M GS
And here, the glxgears issue:
With all above changes currently set, glxgears is limited to refresh rate (about 60 frames per second) both windowed and fullscreen modes, but gears move kind of like laggy and sluggish.
If 'Sync to vblank' is disabled in
CCSM, glxgears is limited to refresh rate both windowed and fullscreen mode. Gears are smooth and flawless, but there is a bit of tearing on fullscreen, just in the middle.
If 'Sync to vblank' is disabled in OpenGL
Nvidia-Settings, glxgears is not limited to refresh rate neither windowed nor fullscreen (between 180 - 200 fps). Gears move perfectly smooth, flawless and without tearing when they are windowed, but they are laggy and sluggish on fullscreen (I guess due to the composite. The refresh rate is 200 fps or 1000 frames per 5 seconds).
If 'Sync to vblank' is disabled in both
Nvidia-Settings, glxgears is not limited to refresh rate (between 2050 - 180 fps). Gears move smooth but with tearing.
Most of Nvidia & Ubuntu users suggest turning on both 'Sync to vblank' and overlook the glxgears performance, but I do not know if I should do it or not.
Lastly, regarding fullscreen games, I checked 'Sync to vblank' from CCSM does not affect their performance, but OpenGL 'Sync to vblank' form Nvidia-Settings does. Games have some tearing issues and they are not smooth at all, even though frames are limited to 60fps. I am really looking forward to getting rid of that tearing.