You are not logged in.

#1 2008-04-09 02:06:34

Misbah
Member
Registered: 2008-02-27
Posts: 218

nvidia-settings not holding? [SOLVED]

I was tweaking my xorg. This is what it looks like currently:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath         "/usr/share/X11/rgb"
    ModulePath      "/usr/lib/xorg/modules"
    FontPath        "/usr/share/fonts/misc"
    FontPath        "/usr/share/fonts/100dpi:unscaled"
    FontPath        "/usr/share/fonts/75dpi:unscaled"
    FontPath        "/usr/share/fonts/TTF"
EndSection

Section "Module"
    Load           "dbe"
    Load           "extmod"
    Load           "glx"
    Load           "record"
    Load           "xtrap"
    Load           "freetype"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Resolution" "1400"
    Option         "SampleRate" "500"
    Option         "Buttons" "7"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "Emulate3Buttons" "false"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
    HorizSync       31.0 - 80.0
    VertRefresh     56.0 - 75.0
EndSection

Section "Device"
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "G70 [GeForce 7800 GT]"
    BusID          "PCI:2:0:0"
    Option         "NvAGP" "0"
    Option         "NoLogo" "True"
    Option         "RenderAccel" "True"
    Option         "TripleBuffer" "True"
    Option         "DamageEvents" "True"
    Option         "NoFlip" "False"
    Option         "SWCursor" "False"
    Option         "HWCursor" "True"
    Option         "CursorShadow" "False"
#   Option         "CursorShadowAlpha" "64"
#   Option         "CursorShadowXOffset" "4"
#   Option         "CursorShadowYOffset" "2"
    Option         "NoBandWidthTest" "True"
    Option         "NoPowerConnectorCheck" "True"
    Option         "Coolbits" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Viewport    0 0
        Depth       1
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       4
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       8
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       15
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       16
    EndSubSection
    SubSection     "Display"
        Viewport    0 0
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
EndSection

It's working fine. I then did "nvidia-settings" to make changes there as I saw fit, and my settings don't hold from session to session, nor are they even applied in the current session. When I do "nvidia-settings" in terminal the nvidia settings utility does pop up but I get this:

[root@misbarch ~]# nvidia-settings
ERROR: Cannot open display 'misbarch:0.0'.
ERROR: Unable to assign attribute DigitalVibrance specified on line 21 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute ImageSharpening specified on line 22 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute SyncToVBlank specified on line 23 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute AllowFlipping specified on line 24 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute LogAniso specified on line 25 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute FSAA specified on line 26 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute TextureSharpen specified on line 27 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute ForceGenericCpu specified on line 28 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute GammaCorrectedAALines specified on line 29 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadow specified on line 30 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowXOffset specified on line 31 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowYOffset specified on line 32 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowAlpha specified on line 33 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowRed specified on line 34 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowGreen specified on line 35 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute CursorShadowBlue specified on line 36 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute FSAAAppControlled specified on line 37 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute LogAnisoAppControlled specified on line 38 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute GPUScaling specified on line 39 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute RedBrightness specified on line 40 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute GreenBrightness specified on line 41 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute BlueBrightness specified on line 42 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute RedContrast specified on line 43 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute GreenContrast specified on line 44 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute BlueContrast specified on line 45 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute RedGamma specified on line 46 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute GreenGamma specified on line 47 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute BlueGamma specified on line 48 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute OpenGLImageSettings specified on line 49 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute XVideoTextureSyncToVBlank specified on line 50 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute XVideoBlitterSyncToVBlank specified on line 51 of configuration file '/root/.nvidia-settings-rc' (no Display connection).
ERROR: Unable to assign attribute XVideoSyncToDisplay specified on line 52 of configuration file '/root/.nvidia-settings-rc' (no Display connection).

Eh, I have a feeling the whole "error cannot open display misbarch 0 0" and "no Display connection" thing has something to do to it.. but why can't it assign those attributes? Is it a permissions thing? I have no idea!

EDIT: I added my /root/nvidia-settings-rc file:

#
# /root/.nvidia-settings-rc
#
# Configuration file for nvidia-settings - the NVIDIA X Server Settings utility
# Generated on Tue Apr  8 21:08:42 2008
#

# ConfigProperties:

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

# Attributes:

misbarch:0.0/DigitalVibrance[DFP-1]=0
misbarch:0.0/ImageSharpening[DFP-1]=0
misbarch:0.0/SyncToVBlank=0
misbarch:0.0/AllowFlipping=1
misbarch:0.0/LogAniso=0
misbarch:0.0/FSAA=0
misbarch:0.0/TextureSharpen=0
misbarch:0.0/ForceGenericCpu=0
misbarch:0.0/GammaCorrectedAALines=0
misbarch:0.0/CursorShadow=0
misbarch:0.0/CursorShadowXOffset=4
misbarch:0.0/CursorShadowYOffset=2
misbarch:0.0/CursorShadowAlpha=64
misbarch:0.0/CursorShadowRed=0
misbarch:0.0/CursorShadowGreen=0
misbarch:0.0/CursorShadowBlue=0
misbarch:0.0/FSAAAppControlled=1
misbarch:0.0/LogAnisoAppControlled=1
misbarch:0.0/GPUScaling[DFP-1]=65537
misbarch:0.0/RedBrightness=0.000000
misbarch:0.0/GreenBrightness=0.000000
misbarch:0.0/BlueBrightness=0.000000
misbarch:0.0/RedContrast=0.000000
misbarch:0.0/GreenContrast=0.000000
misbarch:0.0/BlueContrast=0.000000
misbarch:0.0/RedGamma=1.000000
misbarch:0.0/GreenGamma=1.000000
misbarch:0.0/BlueGamma=1.000000
misbarch:0.0/OpenGLImageSettings=0
misbarch:0.0/XVideoTextureSyncToVBlank=1
misbarch:0.0/XVideoBlitterSyncToVBlank=0
misbarch:0.0/XVideoSyncToDisplay=131072

EDIT: Solved, nevermind.

Last edited by Misbah (2008-04-09 03:34:33)

Offline

#2 2008-04-10 00:41:34

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: nvidia-settings not holding? [SOLVED]

What did you do to solve it?  I have the same problem with nvidia-settings not holding.

Offline

#3 2010-08-07 22:58:41

luboss
Member
Registered: 2010-02-20
Posts: 2

Re: nvidia-settings not holding? [SOLVED]

The same here. No root permission needed. Just remove hostname from the file. For example with this command:

sed -i 's/^'`hostname`'//g' .nvidia-settings-rc

Offline

#4 2010-08-07 23:08:18

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: nvidia-settings not holding? [SOLVED]

luboss wrote:

The same here. No root permission needed. Just remove hostname from the file. For example with this command:

sed -i 's/^'`hostname`'//g' .nvidia-settings-rc

http://wiki.archlinux.org/index.php/For … te#Bumping

Misbah wrote:

EDIT: Solved, nevermind.

http://wiki.archlinux.org/index.php/For … way_Street

Offline

#5 2010-08-08 12:59:00

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: nvidia-settings not holding? [SOLVED]

And closing.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB