XF86Config for dual-head digital/analog display

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



greets.

it is said that if you give an infinite number of monkeys an infinite 
amount of keyboard time, one will eventually write out the works of 
shakespeare. my XF86Config file is scarcely shakespeare, but i am 
writing from a 1920x1200 desktop attached by dvi cable to my rv250 
(radeon 9000) video card; by pushing the front panel switch i can go to 
the same thing, much less sharp, in analog. this was arrived at by 
complete trial ane error, there being little apparent documentation on 
the subject. it may contain errors; if it does, i would gratefully 
welcome corrections. the lone real problem is that glx direct rendering 
does not work, according to glxinfo. i have no idea how i might fix it.

i am not certain what did the trick. i cleaned up some repetitive 
language and commented-out stuff and fashioned a modeline from the edid 
numbers in xfree log, to wit:

"1920x1200" 170 1920 1984 2016 2120 1200 1201 1204 1250

this *apparently* did the trick. but, again, there is a dearth of 
documentation on getting here, so i thought i would post my XF86Config 
in hope it might serve as a template for others. (there are, i'm given 
to understand, many, many options available for "tuning" the digital 
display. this configuration file contains none of them. i can control a 
great deal of the manner of display from the monitor's front panel. 
perhaps as time goes on and i want to break something i'll delve into 
experimentation in the configuration file.)

here it is:

# /.../
# XF86Config file
# NOT generated by Sax2. Keep Sax2 the hell away from it.
#Make a backup where Sax2 cannot find it.
# 
Section "Files"
  InputDevices "/dev/ttyS0"
  InputDevices "/dev/ttyS1"
  InputDevices "/dev/ttyS2"
  InputDevices "/dev/ttyS3"
  InputDevices "/dev/ttyS4"
  InputDevices "/dev/ttyS5"
  InputDevices "/dev/ttyS6"
  InputDevices "/dev/ttyS7"
  InputDevices "/dev/ttyS8"
  InputDevices "/dev/psaux"
  InputDevices "/dev/logibm"
  InputDevices "/dev/sunmouse"
  InputDevices "/dev/atibm"
  InputDevices "/dev/amigamouse"
  InputDevices "/dev/atarimouse"
  InputDevices "/dev/inportbm"
  InputDevices "/dev/gpmdata"
  InputDevices "/dev/mouse"
  InputDevices "/dev/usbmouse"
  InputDevices "/dev/adbmouse"
  InputDevices "/dev/input/mice"
  InputDevices "/dev/input/event0"
  InputDevices "/dev/pointer0"
  InputDevices "/dev/pointer1"
  InputDevices "/dev/pointer2"
  InputDevices "/dev/pointer3"
    FontPath 	"/usr/X11R6/lib/X11/fonts/misc:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/local"
    FontPath 	"/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Type1"
    FontPath 	"/usr/X11R6/lib/X11/fonts/URW"
    FontPath 	"/usr/X11R6/lib/X11/fonts/Speedo"
    FontPath 	"/usr/X11R6/lib/X11/fonts/truetype"
    FontPath 	"/usr/X11R6/lib/X11/fonts/uni:unscaled"
    FontPath 	"/usr/X11R6/lib/X11/fonts/CID"
    FontPath 	"/opt/kde3/share/fonts"
    FontPath 	"/usr/local/share/fonts"
    FontPath 	"/usr/X11R6/lib/X11/fonts"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
  Option       "RandR" "on"
EndSection

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "speedo"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
  Load         "dri"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/mouse"
  Option       "Emulate3Buttons"
  Option       "Protocol" "PS/2"
  Option       "DragLockButtons" "2 1"
EndSection

Section "Monitor"
  Option       "PanelSize" "1920x1200"
  HorizSync    28-92
  Identifier   "Monitor[0]"
  ModelName    "SDM-232W"
  VendorName   "Sony"
  VertRefresh  48-85
  UseModes     "Modes[0]"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline 	"1920x1200" 170.0 1920 1984 2016 2120 1200 1201 1204 1250
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1600x1200" "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection

Section "Monitor"
  Option       "PanelSize" "1920x1200"
  HorizSync    28-92
  Identifier   "Monitor[1]"
  ModelName    "SDM-P232W"
  VendorName   "Sony"
  VertRefresh  48-85
  UseModes     "Modes[1]"
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline 	"1920x1200" 236.35 1920 2064 2272 2624 1200 1201 1204 1251
EndSection

Section "Screen"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "1920x1200" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1920x1200" 
  EndSubSection
  Device       "Device[1]"
  Identifier   "Screen[1]"
  Monitor      "Monitor[1]"
EndSection
Section "Device"
  BoardName    "Radeon 9000"
  BusID        "1:0:0"
  Driver       "radeon"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "ATI"
EndSection


Section "Device"
  BoardName    "Radeon 9000"
  BusID        "1:0:0"
  Driver       "radeon"
  Identifier   "Device[1]"
  Screen       1
  VendorName   "ATI"
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Option       "MonitorLayout" "TDMS, TDMS"
  Option       "Clone" "on"
  Option       "Xinerama" "off"
  Option       "Rotate" "off"
  Screen       "Screen[0]"
  Screen       "Screen[1]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

again, any improvements are welcome, but this might provide a starting 
point for those who are, as i was, stuck.
-- 
dep
_______________________________________________
XFree86 mailing list
XFree86@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux