Forum Home
Press F1
 
Thread ID: 97054 2009-02-02 21:20:00 Installing NVIDIA drivers under Ubuntu LynX (14542) Press F1
Post ID Timestamp Content User
744382 2009-02-06 20:40:00 Talking about xorg.conf file, I think it is a bit weird, even haywire. Just booting into Ubuntu and getting you guys a copy.

Note: My system is Ubuntu 8.04 LTS (Hardy Heron), but does that matter? I think I mentioned it before, but I can't remember.
LynX (14542)
744383 2009-02-06 21:05:00 Okay, I got it now . When I saved it to a NTFS drive as . txt file, everything linked up in one sentence . Anyhow, it took me a while to straighten them up, restoring as much as possible .

My current xorg . conf:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1 . 0 (buildmeister@builder63) Wed Oct 1 15:09:35 PDT 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 .

#
# 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 "Default Layout"

Screen "Default Screen" 0 0

InputDevice "Generic Keyboard" "CoreKeyboard"

InputDevice "Configured Mouse"


EndSection



Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"
EndSection

Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"
Option "CorePointer"


EndSection



Section "Monitor"

Identifier "Configured Monitor"

EndSection



Section "Device"


Identifier "Configured Video Device"

Driver "nvidia"
EndSection

Section "Screen"

Identifier "Default Screen"

Device "Configured Video Device"

Monitor "Configured Monitor"

Option "UseFBDev" "true"


SubSection "Display"

Modes "nvidia-auto-select"

EndSubSection


EndSection



However, I think the other one made more sense, but it was created by NVIDIA . The file told me to create a "real" xorg file . Read it here:



# nvidia-xconfig: X configuration file generated by nvidia-xconfig

# nvidia-xconfig: version 1 . 0 (buildmeister@builder63) Wed Oct 1 15:09:35 PDT 2008


# xorg . conf (X . Org X Window System server configuration file)

#
# This file was generated by failsafeDexconf, using

# values from the debconf database and some overrides to use vesa mode .

#
# You should use dexconf or another such tool for creating a "real" xorg . conf

# For example:

# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"


Identifier "Default Layout"

screen 0 "Default Screen" 0 0

Inputdevice "Generic Keyboard" "CoreKeyboard"

Inputdevice "Configured Mouse" "CorePointer"


EndSection



Section "Module"

Load "v4l"

Load "dri"

Load "GLcore"


EndSection



Section "InputDevice"

Identifier "Generic Keyboard"

Driver "kbd"

Option "XkbRules" "xorg"

Option "XkbModel" "pc105"

Option "XkbLayout" "us"


EndSection



Section "InputDevice"

Identifier "Configured Mouse"

Driver "mouse"


EndSection



Section "Monitor"

Identifier "Configured Monitor"

Vendorname "Plug 'n' Play"

Modelname "Plug 'n' Play"

Gamma 1

modeline "640x480@60" 25 . 2 640 656 752 800 480 490 492 525 -hsync -vsync


EndSection



Section "Monitor"

#

Identifier "monitor1"

Gamma 1
EndSection

Section "Device"

Identifier "Configured Video Device"

Driver "nv"

Vendorname "NVIDIA"

Boardname "NVIDIA GeForce 7 Series"

Busid "PCI:1:0:0"
Screen 0
EndSection

Section "Device"

#


Identifier "device1"

Driver "nv"

Vendorname "NVIDIA"

Boardname "NVIDIA GeForce 7 Series"

Busid "PCI:1:0:0"

Screen 1


EndSection



Section "Screen"

Identifier "Default Screen"

Device "Configured Video Device"

Monitor "Configured Monitor"

Defaultdepth 24
SubSection "Display"

Depth 24

Modes "640x480@60"


EndSubSection


EndSection



Section "Screen"

#

Identifier "screen1"

Device "device1"

Monitor "monitor1"

Defaultdepth 24


EndSection



Thanks for looking at such a long post .
LynX (14542)
744384 2009-02-07 00:18:00 Thanks to everyone giving me so much support over the times . The problem appears to be fixed .

1) I prevented the "stock" driver by changing DISABLED_MODULES="nv nvidia new" after running command [gksudo gedit /etc/default/linux-restricted-modules-common]

2) Installed the nvidia driver . The desttop looks good now .

3) Opened up the nVIDIA X Server Settings under System Tools, checked the settings are right, and pressed "Save Configuration to File" or something like that . It said that "Unable to remove backup file xorg . conf . backup" . I clicked "preview file", copied everything, opened up xorg with root, overwrite everything inside and saved it .

4) The next time I started it greeted me with nVIDIA splash screen AND 1024*768 resolution (I use a 15in monitor) . The menu fades very well .

Sorry for my noob description, but that's how I got it to work .
LynX (14542)
744385 2009-02-07 00:25:00 Well done on solving the problem yourself. :)

I had just booted up my Ubuntu laptop to see if I could offer any advice, when you made this post. :)

I have to say, for a Linux newbie you ought to be very proud of your troubleshooting skills and willingness to tackle this problem rather than giving up straight away.
Jen (38)
744386 2009-02-07 01:05:00 Well done on solving the problem yourself. :)

I had just booted up my Ubuntu laptop to see if I could offer any advice, when you made this post. :)

I have to say, for a Linux newbie you ought to be very proud of your troubleshooting skills and willingness to tackle this problem rather than giving up straight away.

Thanks a lot. I ended up looking through some other forums, and came up with such method. If you don't have a lot of things to do, would you mind looking through my Linux Confusion Season 2: Ubuntu Dial Up Annoyance post (pressf1.pcworld.co.nz)? (I guess you probably saw it)

Thanks for the helps.
LynX (14542)
1 2 3