Saturday, 8 June 2013

NVIDIA x server - "sudo nvidia config" does not generate a working 'xorg.config'

NVIDIA x server - "sudo nvidia config" does not generate a working 'xorg.config'

I am over 18 hours deep on this challenge. I got to this point and am stuck. very stuck. Maybe you can figure it out?
Ubuntu Version 12.04 LTS with all the updates installed.
Problem: The default settings in "etc/X11/xorg.conf" that are generated by the "nvidia-xconfig" tool, do not allow the NVIDIA x server to connect to the driver in my "System Settings > Additional Driver window". (that's how I understand it. Lots of information below).
Symptoms of Problem
"System Settings > Additional Driver" window has drivers, but the nvidia x server cannot connect/utilize any of the 4 drivers. Sorry not allowed Screen shots, but the window looks the same as Nvidia driver activated but currently not in use except my 2 activated drivers are: "nvidia_current" and "nvidia_current_updates".
When I go to "System Tools > Administration > NVIDIA x server settings" I get an error that basically tells me to create a default file to initialize the NVIDIA X server (screen shot below). Sorry not allowed screen shots. Actual error is the same as: "You do not appear to be using the nvidia x server"(screenshot included)
This is the messages the terminal gives after running a "sudo nvidia-xconfig" command for the first time. It seems that the generated file by the tool i just ran is generating a bad/unusable file:
  mike@mike-ThinkPad-W520:~$ sudo nvidia-xconfig
  [sudo] password for mike:

  Using X configuration file: "/etc/X11/xorg.conf".

  VALIDATION ERROR: Data incomplete in file /etc/X11/xorg.conf.
                    At least one Device section is required.

  Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
  New X configuration file written to '/etc/X11/xorg.conf'

  mike@mike-ThinkPad-W520:~$
If I run the "sudo nvidia-xconfig" command again, I wont get an error the second time. However when I reboot, the default file that is generated (etc/X11/xorg.conf) simply puts the screen resolution at 800 x 600 (or something big like that).
When I try to go to NVIDIA x server settings I am greeted with the same screen as the screen shot as in symptom 2 (no option to change the resolution). If I try to go to "system settings > display" there are no other resolutions to choose from. At this point I must delete the newly minted "xorg.conf" and reinstate the original in its place.
Here are the contents of the "xorg.conf" that is generated first (the one missing required information):
 # nvidia-xconfig: X configuration file generated by nvidia-xconfig

 # nvidia-xconfig:  version 304.88  (buildmeister@swio-display-x86-rhel47-06)  Wed Mar 27 15:32:58 PDT 2013

   Section "ServerLayout"
       Identifier     "Layout0"
       Screen      0  "Screen0"
       InputDevice    "Keyboard0" "CoreKeyboard"
       InputDevice    "Mouse0" "CorePointer"
   EndSection

   Section "Files"
   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 "InputDevice"
        # generated from default
 

No comments:

Post a Comment