PDA

View Full Version : xorg.conf


Joel123
1st December 2008, 01:35 PM
I have a microtek 710s monitor, nvidia [GeForce4 MX 420] video card. Everytime I try to update fedora (now using fedora 10), the display needs to be moved to the left through xvidtune and then I have to edit xorg.conf to make the change permanent. I have used

- Xorg -configure :1, and
- system-config-display

to produce xorg.conf files which I have put in /etc/X11

and I have put

ModeLine "1280x1024" 135.0 1280 1444 1588 1688 1024 1025 1028 1066 +hsync +vsync

within the monitor section of xorg.conf, where 1588 1688 are the values that change after adjusting the display with xvidtune. When I re-start X (cntl-alt-backspace) nothing happens.

What do I need to do to make the monitor work again?

....

Here is my xorg.conf file:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "catalogue:/etc/X11/fontpath.d"
FontPath "built-ins"
EndSection

Section "Module"
Load "dbe"
Load "glx"
Load "extmod"
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"

#DisplaySize 340 270 # mm
Identifier "Monitor0"
VendorName "MTK"
ModelName "MICROTEK 710S"
HorizSync 30.0 - 81.0
VertRefresh 55.0 - 76.0
ModeLine "1280x1024" 135.0 1280 1444 1588 1688 1024 1025 1028 1066 +hsync +vsync
Option "DPMS"
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 "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nv"
VendorName "nVidia Corporation"
BoardName "NV17 [GeForce4 MX 420]"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

stoat
4th December 2008, 06:55 PM
Hello Joel123,

You may be long gone from here. Anyway, you should take a moment to search the Internet regarding "Display Data Channel" or DDC. It's possible to disable it with a line in the xorg.conf "Device" section (e.g., Option "NoDDC", Option "NoDDCValue", Option "DDC" "false", etc.). Disabling DDC can sometimes help when the modeline in xorg.conf that you created with xvidtune seems to be being ignored. No promises.

Joel123
6th December 2008, 12:54 PM
Hi Stoat,

Thank you for your response. I won't be able to investigate your solution, because I switched to the nvidia driver. Now, I basically have the same problem but now xvidtune doesn't work "it says that my hardware configuration does not support this modeline configuration".

Joel123
6th December 2008, 02:49 PM
And now how I solved my problem.

- I switched to the nvidia driver. (GEFORCE4 mx 420 is my video card)
- I'm not sure how but the resolution was switched from Auto to 1280x1040 (microtek 710s is my monitor); this is the resolution I want.
- then instead of trying to adjust the position through xorg.conf I used the monitor's controls!

stoat
8th December 2008, 01:51 PM
...then instead of trying to adjust the position through xorg.conf I used the monitor's controls! Good idea. But here is something to keep in mind about that. Sometimes it can affect the screen position when you boot into another system, say Windows. True, many cards have fancy software to adjust the various screen parameters in Windows, but I happen to hate those software packages and never install them in Windows. So for me, I use the monitor controls on Windows, and still use xvidtune, modeline, and xorg.conf to smooth out the display in Fedora. But that's just me.

Tieli Travel Photos - Ngozi Instagram Photos - Daxi