Fight for the Internet 1!

Tuesday, November 17, 2009

Ubuntu 9.10 Karmic Nvidia-settings parse fail with xorg.conf

There is a bug in Ubuntu 9.10 Karmic with the default /etc/X11/xorg.conf involving Nvidia. If you try running 'kdesu nvidia-settings' or 'gksu nvidia-settings', then try to save with "Save to x confguration file" button, but receive the error:
Failed to parse existing X config file '/etc/X11/xorg.conf'
I found the problem by running:
sudo nvidia-settings 2>/dev/null

VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
Undefined Device "(null)" referenced by Screen "Default Screen".

Erreur de segmentation
My default /etc/X11/xorg.conf looks like this:
Section "Screen"
Identifier "Default Screen"
DefaultDepth 24
EndSection

Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection
To fix the problem, just remove the Section "Screen" part. IF YOU NEED HELP EDITING CONFIGURATION FILES UNDER LINUX, please see this link: http://awesomelinux.blogspot.com/2010/09/how-to-edit-configuration-file.html

The final version (before you edit it with the nvidia-settings program) should look like this:
Section "Module"
Load "glx"
EndSection

Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "True"
EndSection

20 comments:

  1. Thank you!!!!
    This is the info that I needed.

    ReplyDelete
  2. YOU ROCK! THANKS!!! Works like a charm.

    ReplyDelete
  3. This would be wonderful if I knew how to open XORG in order to change it! This shows what to do after one knows how to open it to begin with. Too new at this.

    ReplyDelete
  4. You can open the xorg file from command line with:

    sudo nano /etc/X11/xorg.conf

    You will be prompted for your password first, since it requires admin privileges to edit.

    ReplyDelete
  5. This was awesome buddy - superb and easy.
    Thanks a ton for this solution

    ReplyDelete
  6. Thank you very much from Paris - France

    ReplyDelete
  7. Thanks!!! Cheers from Argentina

    ReplyDelete
  8. Cheers! that worked a treat! B

    ReplyDelete
  9. I also had an extra line in

    Section "Module"
    Load "glx"
    Disable "dri2"
    EndSection

    which worked after I changed it to:

    Section "Module"
    Load "glx"
    EndSection

    ReplyDelete
  10. I still am experiencing some problems.

    First, it will not save to ?etc/X11/xconf.backup.

    Second, even though I can apply, I cannot get two separate screens. Clones is no good and when I try positions, seems to be one big screen. I have primary as 'absolute' and secondary as 'top'.

    I have tried left, right etc. but cannot get two separate screens.

    Any suggestions?!

    Thanks

    ReplyDelete
    Replies
    1. I am sorry I cannot help you with this. I am not experienced with this problem. I would suggest you ask for help on the Ubuntu forums.

      Delete
  11. How do I manually access Nvidia settings without having to enable the task-bar notification icon?
    Thx
    Brad Fallon

    ReplyDelete
  12. How to repair an Ubuntu system if it fails to load boot up files

    Sexy Devil Costumes

    ReplyDelete
    Replies
    1. You will get better help for this if you go to the ubuntuforums.org and post about your problem there. Good luck!

      Delete
  13. I am usig a wireless usb modem for connecting to internet made by HUAWEI, can i get Ubuntu driver for it?

    21st birthday decorations

    ReplyDelete
    Replies
    1. You will get better help for this if you go to the ubuntuforums.org and post about your problem there. Good luck!

      Delete
  14. This comment has been removed by a blog administrator.

    ReplyDelete
  15. I have installed fresh Linux Ubuntu 9.10 on my PC and I am totally new to this OS?

    icon brickell

    ReplyDelete
    Replies
    1. You will get better help for this if you go to the ubuntuforums.org and post about your problem there. Good luck!

      Delete