LinHES Forums http://forums.linhes.org/ |
|
Custom Mode Line in R6 LinHES http://forums.linhes.org/viewtopic.php?f=24&t=20464 |
Page 1 of 1 |
Author: | Martian [ Mon Nov 02, 2009 9:28 am ] |
Post subject: | Custom Mode Line in R6 LinHES |
I finally upgraded to R6 last night which went very smoothly however I had a heck of a time getting X to use my custom mode line that I had been using in R5.5. I knew my xorg.conf file from R5.5 wouldn't work in R6 so I let the upgrade generate a new one and worked from it. It appears that the key line to get X to accept my mode line was adding this to the "Device" section: Code: Option "ModeValidation" "AllowNon60HzDFPModes, NoMaxPClkCheck, NoEdidMaxPClkCheck, NoMaxSizeCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoWidthAlignmentCheck, NoDFPNativeResolutionCheck, NoVirtualSizeCheck" I also uncommented: Code: Option "ConnectedMonitor" "DFP" and added: Code: Option "UseEvents" "true" Option "ExactModeTimingsDVI" "true" In the "Device" section. ============================ In my "Screen" section I added the following: Code: Option "DPMS" "true" Option "UseEdidDpi" "FALSE" Option "DPI" "100 x 100" Option "ConnectedMonitor" "DFP" In addition to my custom Mode Line which is: Code: # 1368x768 @ 60.00 Hz ModeLine "1368x768" 85.9 1368 1440 1584 1800 768 769 772 795 -Hsync +Vsync ============================ To select my custom Mode Line I needed to add: Code: Modes "1368x768" Below: Code: Depth 24
In the "Screen" section. I hope this will help others get their custom mode lines working in R6. Martian |
Author: | Martian [ Mon Nov 02, 2009 9:36 am ] |
Post subject: | |
Here is my Xorg.conf file: Code: # nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006 Section "ServerFlags" Option "AutoAddDevices" "False" EndSection Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" # RgbPath "/usr/X11R6/lib/X11/rgb" EndSection Section "Module" Load "dbe" Load "extmod" # Load "type1" Load "freetype" Load "glx" 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 "keyboard" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Unknown" ModelName "Unknown" Option "DPMS" "true" Option "UseEdidDpi" "FALSE" Option "DPI" "100 x 100" Option "ConnectedMonitor" "DFP" # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors VertRefresh 50.0 - 75.0 # Very conservative. May flicker. # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. TFT default. # 1368x768 @ 60.00 Hz ModeLine "1368x768" 85.9 1368 1440 1584 1800 768 769 772 795 -Hsync +Vsync EndSection Section "Device" Identifier "Device0" Driver "nvidia" VendorName "NVIDIA Corporation" Option "DPI" "100 x 100" Option "NoLogo" "1" #INSERT HERE #END OPTIONS Option "ConnectedMonitor" "DFP" Option "UseEvents" "true" # Option "FlatPanelProperties" "Scaling = centered, Dithering = enabled" # Option "DigitalVibrance" "0" # Option "TransparentIndex" "0" # Option "CursorShadowAlpha" "64" # Option "CursorShadowXOffset" "4" # Option "UseEdidFreqs" "True" # Option "NvAGP" "1" Option "ExactModeTimingsDVI" "true" Option "ModeValidation" "AllowNon60HzDFPModes, NoMaxPClkCheck, NoEdidMaxPClkCheck, NoMaxSizeCheck, NoHorizSyncCheck, NoVertRefreshCheck, NoWidthAlignmentCheck, NoDFPNativeResolutionCheck, NoVirtualSizeCheck" EndSection Section "Screen" Identifier "Screen0" Device "Device0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1368x768" EndSubSection EndSection |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |