PDA

View Full Version : [ubuntu] Xorg.conf lcd problem



Kagura
December 16th, 2008, 05:08 AM
I tried many times, reading every solved problem similar to mine and I cant make it work.

Everytime I restart the system, my res goes back to 800x600@72, and I want to keep my 1400x900 also I cant set the refresh rate to 75 always is set as auto and if I try to select only shows 60Hz. I edited the file as root, with gedit, nvidia-settings, even before ubuntu starts using the console all as root... but still not working.

I have a video card Nvidia 6600GT and a LG W1934S LCD Monitor the max res is 1400x900@75 http://www.lge.com/products/model/detail/w1934s.jhtml

this is my Xorg.conf file

# 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 "ServerFlags"
Option "Xinerama" "0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-1"
HorizSync 30.0 - 83.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600 GT"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
EndSection

Section "Screen"

# Removed Option "metamodes" "1440x900_75 +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "1440x900 +0+0; nvidia-auto-select +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

The Option "metamodes" "1440x900_75 +0+0; nvidia-auto-select +0+0" changes to Option "metamodes" "800x600_72 +0+0; nvidia-auto-select +0+0" everytime i restart the system.

any idea? thank you!

Tatty
December 16th, 2008, 05:12 AM
Try resetting your xorg.conf back to its default values with:

sudo dpkg-reconfigure -phigh xserver-xorg

Then run
gksu nvidia-settings And try changing your settings there, then "Save to X configuration file". But dont click "apply" first, because that seems to make things go wrong, at least for me.

Kagura
December 16th, 2008, 05:30 AM
I did that, then i got a Out of Range in my lcd after i restarted the system, I had to close session and edit the xorg.conf again in safe mode. after that the login screen changed to 1440x900 then I logged in and changed it back to 800x600 :(


# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@palmer) Mon Nov 3 08:46:46 UTC 2008


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

Section "Files"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "type1"
Load "freetype"
Load "glx"
EndSection

Section "ServerFlags"
Option "Xinerama" "0"
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"

# HorizSync source: xconfig, VertRefresh source: xconfig
Identifier "Monitor0"
VendorName "Unknown"
ModelName "CRT-1"
HorizSync 30.0 - 80.0
VertRefresh 60.0 - 72.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce 6600 GT"
EndSection

Section "Screen"

# Removed Option "metamodes" "1440x900_60 +0+0; nvidia-auto-select +0+0"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "0"
Option "metamodes" "800x600 +0+0"
SubSection "Display"
Depth 24
EndSubSection
EndSection

starcannon
December 16th, 2008, 06:11 AM
Your likely going to need a custom modeline for your monitor; I've had this happen on an old Nfren monitor myself. My solution was to create a modeline using the xorg modeline generator, you can find it here:
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl

After you have created your custom modeline, you can use this model of sorts to see where to insert it, here:
http://ubuntuforums.org/showpost.php?p=6212633&postcount=2

If you have any problems I'll check back, pm me if I go ADD on you ;)

GL and have fun