amjjawad wrote:And in order to make this a complete thread, could you please tell us what should be written inside that file?
Whatever works
As root, run
This will create the file
/root/xorg.conf.new . Ideally, one should just be able to copy this to
/etc/X11/xorg.conf and restart X (or reboot). My monitor does not emit a valid EDID, so I need to manually edit my xorg.conf file manually (manually adding lines for
Display Size, the
ModeLines, and the
Modes I want to be able to access) in order to obtain my monitor's full 1680x1050 resolution. FWIW, I've included by xorg.conf file below.
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib64/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection
Section "Module"
Load "dri2"
Load "dbe"
Load "glx"
Load "extmod"
Load "record"
Load "dri"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
#UseModes "Modes0" #monitor0usemodes
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
DisplaySize 432 270
HorizSync 30.0 - 86.0
VertRefresh 56.0 - 76.0
ModeLine "1440x900" 106.5 1440 1520 1672 1904 900 901 904 932 -hsync +vsync
ModeLine "1680x1050" 147.1 1680 1784 1968 2256 1050 1051 1054 1087 -hsync +vsync
Option "PreferredMode" "1680x1050"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
#Option "EXAPixmaps" # [<bool>]
Option "IgnoreEDID" "TRUE"
Identifier "Card0"
Driver "nouveau"
VendorName "nVidia Corporation"
BoardName "Unknown Board"
BusID "PCI:2:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
Option "IgnoreEDID" "TRUE"
Modes "1680x1050" "1440x900" "1280x1024"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "Compositing" "Enable"
EndSection