PDA

View Full Version : [ubuntu] restricted nvidia driver



swappo1
December 6th, 2009, 06:42 AM
Hello,

I am trying to set up the restricted nvidia driver from the live cd so I can set my monitor to 1920x1080 and 60hz. When I run nvidia-xconfig as root, I get the following message:
root@ubuntu:/home/ubuntu# nvidia-xconfig

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

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

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
How do I change the settings in nvidia x server settings? Can I do this manually? Here is xorg.conf:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder58) Fri Aug 14 18:33:37 PDT 2009

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
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection How do I edit this to get 1920x1080 and 60hz resolution?

swappo1
December 6th, 2009, 06:37 PM
Anybody?

phillw
December 6th, 2009, 06:43 PM
Hi,

Have you had a read through of the sticky at the top of the page on ATI and nVidia drivers ?
http://ubuntuforums.org/showthread.php?t=1305459
It covers quite a lot of potential issues.

A set of threads related to nVidia is here --> http://ubuntuforums.org/tags.php?tag=nvidia

Regards,

Phill.

swappo1
December 6th, 2009, 06:57 PM
Hi, thanks for the response. I checked out those threads. All the solutions require a reboot. I am running from a live cd and can't reboot. I installed the glx1.85 driver from synaptic and run nvidia-xconfig as root. I get the following error:
root@ubuntu:/home/ubuntu# nvidia-xconfig

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

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

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf'
I don't have access to Nvidia X Server Settings to change the resolution.

phillw
December 6th, 2009, 07:16 PM
Hi, thanks for the response. I checked out those threads. All the solutions require a reboot. I am running from a live cd and can't reboot. I installed the glx1.85 driver from synaptic and run nvidia-xconfig as root. I get the following error:
root@ubuntu:/home/ubuntu# nvidia-xconfig

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

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

Backed up file '/etc/X11/xorg.conf' as '/etc/X11/xorg.conf.backup'
New X configuration file written to '/etc/X11/xorg.conf' I don't have access to Nvidia X Server Settings to change the resolution.

I think You'd have to re-master your LiveCD
There are tricks on how you can get to feel the GNOME system in your chroot environment.
1. Copy your xorg.conf in the chrooted "etc/X11/" directory.

cp /etc/X11/xorg.conf edit/etc/X11/2. Create generic devices on your chroot system using MAKEDEV

cd /dev/
MAKEDEV generic3. Start X or restart gdm

/etc/init.d/gdm startSupposed you want to make modifications on the Desktop, that will be used by all the new users, just change your $HOME to /etc/skel/ and start gdm or X.

export HOME=/etc/skel/If you want to load all the other stuff GNOME needs (i.e, dbus, avahi, network-manager), just boot as (single-user mode), and start dbus in your chrooted environment.

/etc/init.d/dbus startAn example of the whole procedure. (under single-user mode)

sudo /etc/init.d/networking restart
sudo cp /etc/resolv.conf edit/etc/
sudo cp /etc/X11/xorg.conf edit/etc/X11/
sudo chroot edit
mount -o none /proc
mount -o none /sys
export HOME=/etc/skel/
cd /dev/
MAKEDEV generic
/etc/init.d/dbus start
/etc/init.d/gdm startbut that's beyond me !!!

https://help.ubuntu.com/community/LiveCDCustomization

Has all the info on doing that sort of stuff !!

You may be able to restart X and get it to read your revised file, but, again - that's beyond my knowledge.

hopefully someone can come up with a different solution for you.

Regards,

Phill.