Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 108

Thread: nvidia settings can't save to conf file

  1. #11
    Join Date
    Aug 2007
    Beans
    142

    Re: nvidia settings can't save to conf file

    Guys im in need of help.. Sorry to post in this thread.. but im facing very similar issues

    my office desk has kubuntu 8.10 ..

    suddenly the resolution is set to 800x600 .. there is no other higher options available..

    output from xrandr :

    Code:
    Screen 0: minimum 320 x 240, current 800 x 600, maximum 800 x 600
    default connected 800x600+0+0 0mm x 0mm
       800x600        60.0*    56.0
       640x480        60.0
       400x300        60.0     56.0
       320x240        60.0
    lspci output :
    Code:
    01:00.0 VGA compatible controller: nVidia Corporation NV18GL [Quadro NVS 280 SD] (rev c1)
    xorg.conf :
    Code:
    ....
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "Device"
    	Identifier	"Configured Video Device"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    EndSection
    how do i get it to use resolution of 1024 x 768 or higher ?

  2. #12
    Join Date
    Aug 2007
    Beans
    142

    Re: nvidia settings can't save to conf file

    this is what i get when i run nvidia-settings :

    Code:
    You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
    on running nvidia-xconfig :
    Code:
    Using X configuration file: "/etc/X11/xorg.conf".
    
    VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                      Device section "Configured Video Device" must have a Driver
                      line.
    
    sh: pkg-config: not found
    sh: pkg-config: not found
    Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
    New X configuration file written to '/etc/X11/xorg.conf'
    i restarted the system.. but when it reboots.. i dont even get kdm..
    luckily i had backed xorg.conf file and replaced it.. then im back to 800x600 mode

  3. #13
    Join Date
    Mar 2006
    Location
    Osaka
    Beans
    13
    Distro
    The Feisty Fawn Testing

    Re: nvidia settings can't save to conf file

    Quote Originally Posted by norwoods View Post
    run sudo nvidia-xconfig to create a new Xorg.conf.

    if there is a problem with this, rename Xorg.conf and run sudo nvidia-xconfig.
    I had the same problem as the top poster and this fixed it.
    Using 9.04 with an 8600GT and twinview.

  4. #14
    Join Date
    Aug 2007
    Beans
    142

    Re: nvidia settings can't save to conf file

    ive posted the output of running that command in my last post..

    if i do it using sudo.. and then restart system.. i do not even get the login screen..

    so had to go kill kdm and restore the backup xorg.conf file..

  5. #15
    Join Date
    Jul 2008
    Beans
    32

    Re: nvidia settings can't save to conf file

    @terrordrone

    I've had the same problems as you've described. I honestly cannot believe they released this version of Ubuntu given there's a hell of a lot of other problems that have crept in (compared to Hardy).

    Anyway, this is what I did to get it working - the first part is what I've been doing in the past to lock the resolution for my system in Hardy:

    Install EnvyNG

    Launch EnvyNG (Applications > System) and installed the driver it recommended (for my system it was v173)

    Restart the system.

    From here your res might well be OK. But for me, I run a few computers over a KVM so when I start my Kubuntu box it will default to a low res if the system does not have monitor focus when it boots - ie cannot see what monitor is connected) So, to lock the resolution, I also did this:

    Install nvidia-settings

    Opened a terminal and ran:
    Code:
    $ sudo nvidia-settings
    (must be run as root so settings can be saved to xorg.conf)

    In EnvyNG, click X Server Configuration

    In the display tab, my monitor was correctly identified (22" Acer AL2216w)

    In the resolution pull-down list, select the desired res. For me it is 1680x1050 @ 60Hz.

    Click 'Save to X Configuration File'

    Theoretically, that is it... and this is what I have done previously in Hardy (Kubuntu 8.04 and 8.10). However, in 9.04, I find that I get an error and the changes to xorg.conf do not get saved (as per the OP of this thread). I did try creating a blank xorg.conf using sudo touch... but I still couldn;t save the file.

    I looked at the output to my console (because I'd launched nvidia-settings from the terminal, as root) and it complained that it didn't like a setting in xorg.conf. I can't recalled the error but it related to the use of "Disable". Looking at my xorg.conf I see a section that says:

    Code:
    Section "Module"
               Load "glx"
               Disable "dri2"
    EndSection
    So I opened xorg.conf and removed that section (and each time I do something like this I make a backup copy of the file!

    Next I re ran nvidia-settings. This time when I clicked the Save to X Configuration File it saved to the file. All apeared to go OK though I got various mesaages about the use of "CoreKeyboard" and others in the existing file. After a while, except the output from the console froze. I waited for a while, got sick of waiting after about 1 min, hit Ctrl-c and then nvidia-settings closed.

    I then restarted the system and all has been well since.

    That all said, I presume the problem with trying to write to xorg.conf might be because of sections in it that nvidia-settings doesn't like because ENvyNG had shortly beforehand auto-edited it.

    I'd be interested in comments about this.

    Here's my xorg.conf

    Code:
    Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "Mouse0" "CorePointer"
    EndSection
    
    Section "ServerFlags"
        Option         "Xinerama" "0"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Keyboard0"
        Driver         "kbd"
    EndSection
    
    Section "InputDevice"
        # generated from default
        Identifier     "Mouse0"
        Driver         "mouse"
        Option         "Protocol" "auto"
        Option         "Device" "/dev/psaux"
        Option         "Emulate3Buttons" "no"
        Option         "ZAxisMapping" "4 5"
    EndSection
    
    Section "Monitor"
        Identifier     "Configured Monitor"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Acer AL2216W"
        HorizSync       30.0 - 82.0
        VertRefresh     56.0 - 76.0
    EndSection
    
    Section "Device"
        Identifier     "Configured Video Device"
        Driver         "nvidia"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce FX 5200"
    EndSection
    
    Section "Screen"
        Identifier     "Default Screen"
        Device         "Configured Video Device"
        Monitor        "Configured Monitor"
        DefaultDepth    24
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "TwinViewXineramaInfoOrder" "CRT-0"
        Option         "metamodes" "1680x1050_60 +0+0; nvidia-auto-select +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

    Fun and games with Kubuntu 9.04.
    Last edited by scootre; May 2nd, 2009 at 07:14 AM.

  6. #16
    Join Date
    Aug 2007
    Beans
    142

    Re: nvidia settings can't save to conf file

    sorry for the late reply guys

    when i booted the machine today morning.. (had installed the nvidia-glx-96 before i went home through synaptic )

    i got a pop up saying 'you are using restricted drivers and is not supported' or something like that..

    i clicked on use the 96 driver and restarted the system..

    my resolution is now 640x480 Sad


    here is my new xorg.conf

    Code:
    # nvidia-settings: X configuration file generated by nvidia-settings
    # nvidia-settings:  version 1.0  (buildd@palmer)  Mon Nov  3 08:46:46 UTC 2008
    
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    
    Section "ServerLayout"
        Identifier     "Layout0"
        Screen      0  "Screen0" 0 0
    EndSection
    
    Section "Module"
        Load           "glx"
    EndSection
    
    Section "ServerFlags"
        Option         "Xinerama" "0"
    EndSection
    
    Section "Monitor"
        Identifier     "Configured Monitor"
    EndSection
    
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "CRT-1"
        HorizSync       28.0 - 33.0
        VertRefresh     43.0 - 72.0
    EndSection
    
    Section "Device"
        Identifier     "Configured Video Device"
        Driver         "nvidia"
        Option         "NoLogo" "True"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "Quadro NVS 280 SD"
    EndSection
    
    Section "Screen"
        Identifier     "Default Screen"
        Device         "Configured Video Device"
        Monitor        "Configured Monitor"
        DefaultDepth    24
        Option         "AddARGBGLXVisuals" "True"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "0"
        Option         "metamodes" "nvidia-auto-select @1024x768 +0+0"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection
    a pic of the settings page
    http://picasaweb.google.com/llabhila...00610901974354
    Last edited by terrordrone; May 4th, 2009 at 09:54 AM.

  7. #17
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: nvidia settings can't save to conf file

    Quote Originally Posted by ajayrockrock View Post
    How I fixed it:

    1) open a terminal
    2) sudo mv -i /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    2) sudo touch /etc/X11/xorg.conf
    3) sudo nvidia-settings
    4) hit "save configuration"

    with the empty xorg.conf, nvidia-settings should properly save the file.
    I have a fresh install of Jaunty. I did these exact steps (copied and pasted into terminal) except #4 where I used gksudo.

    Result:
    Code:
    root@myubuntu:~# mv -i /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    root@myubuntu:~# touch /etc/X11/xorg.conf 
    root@myubuntu:~# gksudo nvidia-settings
    
    VALIDATION ERROR:  Data incomplete in file /etc/X11/xorg.conf.
    At least one Device section is required.
    Can anyone suggest a solution? (I don't want to use EnvyNG, even though I used it before and I like it. I'm trying to keep this install as standard as possible.)

  8. #18
    Join Date
    May 2009
    Beans
    1

    Re: nvidia settings can't save to conf file

    I also received this error.

    Code:
    VALIDATION ERROR:  Data incomplete in file /etc/X11/xorg.conf.
    At least one Device section is required
    To fix it, I did the following:

    Code:
    root@myubuntu:~# mv -i /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
    root@myubuntu:~# touch /etc/X11/xorg.conf
    I then copied ONLY the "Device" section from the backup to the new conf, since that is what it said was required. Mine was as follows:

    Code:
    Section "Device"
        Identifier     "Configured Video Device"
        Driver         "nvidia"
    EndSection
    I then ran nvidia-settings and saved successfully.

  9. #19
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: nvidia settings can't save to conf file

    Quote Originally Posted by alexpw View Post
    I also received this error.

    I then ran nvidia-settings and saved successfully.
    Thanks. That worked for me too.

  10. #20
    Join Date
    Aug 2006
    Location
    home
    Beans
    Hidden!
    Distro
    Ubuntu Studio 9.10 Karmic Koala

    Re: nvidia settings can't save to conf file

    Best method is to get things working:

    remove any old xorg.conf / xorg.conf.backup
    Code:
    sudo rm /etc/X11/xorg.conf
    sudo rm /etc/X11/xorg.conf.backup
    create new clean xorg.conf
    Code:
    sudo nvidia-xconfig
    modify & Save to X Configuration File> uncheck merge
    Code:
    sudo nvidia-settings
    Obviously this requires you to install the nvidia drivers & reboot first.
    democracy : 2 wolves and a sheep voting on "what's for dinner"
    i am self-employed, and my views reflect the electrical charges held between many simultaneously firing synapses... or is that synapsi?
    http://3d.uk.to

Page 2 of 11 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •