Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-09-08, 06:07 AM   #1
yamane
Registered User
 
Join Date: Oct 2008
Posts: 30
Default [177.80] Tweeks is still necessary?

Hi,
About tweeks commented in:
http://www.nvnews.net/vbulletin/showthread.php?t=118088

I would like to know if this is still necessary in 177.80 release.

Best regards,
Renato
yamane is offline   Reply With Quote
Old 10-09-08, 06:11 AM   #2
swagger01
Registered User
 
Join Date: Sep 2008
Posts: 17
Default Re: [177.80] Tweeks is still necessary?

It seems they are ... I applied them to the 177.80 driver and it improved performance a lot .. make sure you do the xorg.conf tweaks as well.
swagger01 is offline   Reply With Quote
Old 10-09-08, 06:11 AM   #3
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: [177.80] Tweeks is still necessary?

Yes. They are planned to be default in 180 series, but this will be written in the release notes.

Fuchs
NvFuchs is offline   Reply With Quote
Old 10-09-08, 11:12 AM   #4
oyvind
Registered User
 
Join Date: May 2004
Location: Norway
Posts: 117
Default Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by NvFuchs View Post
Yes. They are planned to be default in 180 series, but this will be written in the release notes.

Fuchs
That's strange, I've stopped doing
Code:
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
after logging in to desktop, and yet those options are still set to 2/1 respectively, when I check with nvidia-settings -q. They are not stored in ~/.nvidia-settings-rc (which I do load at startup), so my guess is that the driver now sets them to these values by default.

The AllowSHMPixmaps and PixmapCacheSize xorg.conf options are not set by default, AFAIK.
oyvind is offline   Reply With Quote
Old 10-09-08, 11:28 AM   #5
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by oyvind View Post
That's strange, I've stopped doing
Code:
nvidia-settings -a InitialPixmapPlacement=2 -a GlyphCache=1
after logging in to desktop, and yet those options are still set to 2/1 respectively, when I check with nvidia-settings -q. They are not stored in ~/.nvidia-settings-rc (which I do load at startup), so my guess is that the driver now sets them to these values by default.
It doesn't. nvidia-settings must be getting invoked somewhere during startup.
AaronP is offline   Reply With Quote
Old 10-09-08, 11:40 AM   #6
oyvind
Registered User
 
Join Date: May 2004
Location: Norway
Posts: 117
Default Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by AaronP View Post
It doesn't. nvidia-settings must be getting invoked somewhere during startup.
Yep, I'll take your word for it . Very strange though, I have no idea where I set those options now.

This is the contents of ~/.nvidia-settings-rc:
Code:
#
# /home/oyvind/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Tue Oct  7 19:58:48 2008
#

# ConfigProperties:

RcFileLocale = C
ToolTips = Yes
DisplayStatusBar = Yes
SliderTextEntries = Yes
IncludeDisplayNameInConfigFile = No
ShowQuitDialog = No
Timer = Thermal_Monitor_(GPU_0),Yes,1000
Timer = PowerMizer_Monitor_(GPU_0),Yes,1000

# Attributes:

0/DigitalVibrance[DFP-0]=0
0/SyncToVBlank=0
0/AllowFlipping=1
0/LogAniso=0
0/FSAA=0
0/TextureSharpen=0
0/CursorShadow=0
0/CursorShadowXOffset=5
0/CursorShadowYOffset=5
0/CursorShadowAlpha=64
0/CursorShadowRed=0
0/CursorShadowGreen=0
0/CursorShadowBlue=0
0/FSAAAppControlled=1
0/LogAnisoAppControlled=1
0/GPUScaling[DFP-0]=131075
0/FSAAAppEnhanced=0
0/RedBrightness=0.000000
0/GreenBrightness=0.000000
0/BlueBrightness=0.000000
0/RedContrast=0.000000
0/GreenContrast=0.000000
0/BlueContrast=0.000000
0/RedGamma=1.000000
0/GreenGamma=1.000000
0/BlueGamma=1.000000
0/OpenGLImageSettings=1
0/XVideoTextureBrightness=0
0/XVideoTextureContrast=4096
0/XVideoTextureHue=0
0/XVideoTextureSaturation=4096
0/XVideoTextureSyncToVBlank=1
0/XVideoSyncToDisplay=65536
And I do invoke:
"nvidia-settings -l" on startup.

But nowhere can I find any call which explicity sets these two variables. I remember explicity removing the startup-item I used which did the call, and it no longer exists in ~/.config/autostart (Gnome-session place for auto-start items). But hey, I'll probably figure it out, eventually ..
oyvind is offline   Reply With Quote
Old 10-09-08, 11:45 AM   #7
oyvind
Registered User
 
Join Date: May 2004
Location: Norway
Posts: 117
Default Re: [177.80] Tweeks is still necessary?

Quote:
But hey, I'll probably figure it out, eventually ..
Yup, found it .. Gnome apparently has multiple places where it stores startup-stuff. The command still existed in ~/.gnome2/session. Move on, folks.
oyvind is offline   Reply With Quote
Old 10-09-08, 12:20 PM   #8
yamane
Registered User
 
Join Date: Oct 2008
Posts: 30
Unhappy Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by swagger01 View Post
It seems they are ... I applied them to the 177.80 driver and it improved performance a lot .. make sure you do the xorg.conf tweaks as well.
I test with glxgears and I get the same 3200 FPS (Lenovo T61 with NVidia NVS140M)

$ nvidia-settings -q InitialPixmapPlacement
Attribute 'InitialPixmapPlacement' (mandachuva:0.0): 2.
The valid values for 'InitialPixmapPlacement' are in the range 0 - 4 (inclusive).
'InitialPixmapPlacement' can use the following target types: X Screen.

$ nvidia-settings -q GlyphCache
Attribute 'GlyphCache' (mandachuva:0.0): 1.
The valid values for 'GlyphCache' are in the range 0 - 1 (inclusive).
'GlyphCache' can use the following target types: X Screen.

===========
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "nvidia-auto-select +0+0"
Option "RenderAccel" "True"
Option "AllowGLXWithComposite" "True"
Option "AddARGBGLXVisuals" "True"
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "0"

SubSection "Display"
Depth 24
EndSubSection
EndSection
=============

Best regards,
Renato
yamane is offline   Reply With Quote

Old 10-09-08, 12:33 PM   #9
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by yamane View Post
I test with glxgears and I get the same 3200 FPS (Lenovo T61 with NVidia NVS140M)
1) http://wiki.cchtml.com/index.php/Glx...ot_a_Benchmark

NEVER, NEVER, NEVER use glxgears as a benchmark.
Sorry for caps, but people never seem to learn that.

2) The improvements are mostly with RENDER, that'd be 2D operations. Glxgears is no benchmark at all, but clearly not a 2D benchmark.

Quote:
Best regards,
Renato
Kind regards

Fuchs
NvFuchs is offline   Reply With Quote
Old 10-09-08, 01:18 PM   #10
yamane
Registered User
 
Join Date: Oct 2008
Posts: 30
Wink Re: [177.80] Tweaks is still necessary?

Quote:
Originally Posted by NvFuchs View Post
1) http://wiki.cchtml.com/index.php/Glx...ot_a_Benchmark

NEVER, NEVER, NEVER use glxgears as a benchmark.
Tested with GTKPerf:

$ gtkperf -a
GtkPerf 0.40 - Starting testing: Thu Oct 9 15:12:58 2008

GtkEntry - time: 0.01
GtkComboBox - time: 1.85
GtkComboBoxEntry - time: 1.68
GtkSpinButton - time: 0.18
GtkProgressBar - time: 0.14
GtkToggleButton - time: 0.61
GtkCheckButton - time: 0.54
GtkRadioButton - time: 0.52
GtkTextView - Add text - time: 0.59
GtkTextView - Scroll - time: 0.29
GtkDrawingArea - Lines - time: 0.31
GtkDrawingArea - Circles - time: 0.42
GtkDrawingArea - Text - time: 0.52
GtkDrawingArea - Pixbufs - time: 0.12
---
Total time: 7.77


This value is good to my hardware?
- Lenovo T61
- Intel Core2Duo T7500 (2.2GHz)
- 2Gb RAM
- NVidia NVS140M
- Driver nvidia 177.80

I ask this because I don't fell confortable when I maximize/minimize windows.
E.g.: When I maximize Firefox, I see it in blocks, not smoothed (first is maximized title bar, next is buttons, and next is website).
This is very fast, but is still "not smoothed".

Best regards,
Renato
yamane is offline   Reply With Quote
Old 10-09-08, 01:35 PM   #11
NvFuchs
Registered Fox
 
NvFuchs's Avatar
 
Join Date: Oct 2007
Location: Confoederatio Helvetica
Posts: 530
Default Re: [177.80] Tweeks is still necessary?

Fine, but could be better, as mine is double as fast.

But gtkperf depends on other stuff than gpu / gpu driver as well.

For a T61 you might be interested in my

http://www.thinkwiki.org/wiki/Instal..._R61#xorg.conf

as the T61 has about the same hardware as my specific R61.

Fuchs
NvFuchs is offline   Reply With Quote
Old 10-09-08, 02:23 PM   #12
yamane
Registered User
 
Join Date: Oct 2008
Posts: 30
Default Re: [177.80] Tweeks is still necessary?

Quote:
Originally Posted by NvFuchs View Post
For a T61 you might be interested in my
http://www.thinkwiki.org/wiki/Instal..._R61#xorg.conf
Your tweak said:
Section "Device"
...
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "False"

But NVidia tweak said to insert this in Screen section.

After tweaks showed in Thinkwiki, I get this:
GtkEntry - time: 0.00
GtkComboBox - time: 2.01
GtkComboBoxEntry - time: 1.73
GtkSpinButton - time: 0.18
GtkProgressBar - time: 0.18
GtkToggleButton - time: 0.52
GtkCheckButton - time: 0.49
GtkRadioButton - time: 0.43
GtkTextView - Add text - time: 0.52
GtkTextView - Scroll - time: 0.24
GtkDrawingArea - Lines - time: 0.34
GtkDrawingArea - Circles - time: 0.49
GtkDrawingArea - Text - time: 0.54
GtkDrawingArea - Pixbufs - time: 0.12
---
Total time: 7.81

Worst than before!

====xorg.conf=====
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "Quadro NVS 140M"
Option "OnDemandVBlankInterrupts" "true"
Option "RandRRotation" "true"
Option "RenderAccel" "true"
Option "UseEvents" "false"
Option "TripleBuffer" "1"
Option "DamageEvents" "1"
Option "BackingStore" "1"
Option "AllowIndirectPixmaps" "true"
Option "AddARGBGLXVisuals" "True"
Option "PixmapCacheSize" "1000000"
Option "AllowSHMPixmaps" "False"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "AddARGBGLXVisuals" "true"
Option "UseCompositeWrapper" "true"
Option "metamodes" "nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection
================
yamane is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:23 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.