mercredi, le 6 juillet, 2005, Whyzzi nous a dit ceci:

> Just out of curiosity, anyone have Dual/Display xorg.config file for a
> Radeon 9600Pro? I cannot seem to get mine working, and I was wondering
> if it had something to do with the fact that the second "head" wasn't
> identified in the kernel. Dmesg below.
> 
> Thanks in advance,

[ snip dmesg ]

Here's the /etc/X11/xorg.conf from my OpenBSD/i386 3.7-stable system that
has a Radeon 9600 Pro that I run as a dual-screen display.

--------------------------------[ cut here ]----------------------------------
# File generated by xf86config.
# (and heavily modified since)

#*****************************************************************************
# for the ATI Radeon 9600 PRO (AGP)
# and the two Planar PX191 monitors
#*****************************************************************************
# with XFree86 V4.x.x using the XFree86 server & modules
# on OpenBSD using the "wsmouse" mouse device.
#*****************************************************************************

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
#       FontPath        "/usr/X11R6/lib/X11/fonts/local/"
        FontPath        "/usr/local/lib/X11/fonts/jmk/"
        FontPath        "/usr/local/lib/X11/fonts/terminus/"
        FontPath        "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath        "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/local/lib/X11/fonts/ghostscript/"
#       FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
#       FontPath        "/opt/ttfonts/"
EndSection

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

Section "DRI"
        Mode    0666
EndSection

Section "ServerFlags"
        Option  "BlankTime"     "0"             # disable this
        Option  "StandbyTime"   "0"             # disable 'standby mode'
        Option  "SuspendTime"   "0"             # disable 'suspend mode'
        Option  "OffTime"       "30"            # turn the screen right off
EndSection

Section "InputDevice"
        Identifier      "LogiTechInternetKeyboard"
        Driver          "keyboard"
        Option          "autorepeat"    "250 30"
        #Option         "XkbLayout"     "my_kb_layout"
        #Option         "XkbVariant"    "my_kb_variant"
        Option          "XkbModel"      "itouch"
        Option          "XkbRules"      "xfree86"
EndSection

Section "InputDevice"
        Identifier      "TrackManMarble"
        Driver          "mouse"
        Option          "Protocol"      "wsmouse"
        Option          "Device"        "/dev/wsmouse"
        Option          "ZAxisMapping"  "4 5"
EndSection

Section "Monitor"
        Identifier      "Planar PX191 LCD 1"
        VendorName      "Planar"
        ModelName       "PX191"
        HorizSync       31.5-80
        VertRefresh     56-75
        Option          "DPMS"
        # This monitor is connected directly to the DVI connector
        # and the server can therefore pull EDID information from
        # the monitor through the card during initialization, so
        # we don't need to put the display size here.
EndSection

Section "Monitor"
        Identifier      "Planar PX191 LCD 2"
        VendorName      "Planar"
        ModelName       "PX191"
        HorizSync       31.5-80
        VertRefresh     56-75
        Option          "DPMS"
        # This monitor is connected to the VGA connector through a
        # KVM switch that does not pass EDID information, so we
        # put the screen size here so the X server knows how big
        # the screen is and can figure out the DPI.
        DisplaySize     380 300
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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "Display"                   # <str>
        #Option     "PanelWidth"                # <i>
        #Option     "PanelHeight"               # <i>
        #Option     "ProgramFPRegs"             # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "ShowCache"                 # [<bool>]
        Identifier  "ATI Radeon 9600 PRO Screen0"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon 9600 PRO"
        BusID       "PCI:1:0:0"
        Screen      0           # DVI connector on this card.
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     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "Dac6Bit"                   # [<bool>]
        #Option     "Dac8Bit"                   # [<bool>]
        #Option     "Display"                   # <str>
        #Option     "PanelWidth"                # <i>
        #Option     "PanelHeight"               # <i>
        #Option     "ProgramFPRegs"             # [<bool>]
        #Option     "UseFBDev"                  # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "ShowCache"                 # [<bool>]
        Identifier  "ATI Radeon 9600 PRO Screen1"
        Driver      "radeon"
        VendorName  "ATI Technologies Inc"
        BoardName   "Radeon 9600 PRO"
        BusID       "PCI:1:0:0"
        Screen      1           # VGA connector on this card.
EndSection

Section "Screen"
        Identifier      "ATI_Screen0_Planar"
        Device          "ATI Radeon 9600 PRO Screen0"
        Monitor         "Planar PX191 LCD 1"
        DefaultDepth    24
        Subsection      "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort        0 0
                Virtual         1280 1024
        EndSubsection
EndSection

Section "Screen"
        Identifier      "ATI_Screen1_Planar"
        Device          "ATI Radeon 9600 PRO Screen1"
        Monitor         "Planar PX191 LCD 2"
        DefaultDepth    24
        Subsection      "Display"
                Depth           24
                Modes           "1280x1024" "1024x768" "800x600" "640x480"
                ViewPort        0 0
                Virtual         1280 1024
        EndSubsection
EndSection

# This one is listed first so the server picks it as the default.
Section "ServerLayout"
        Identifier      "MainLayout"
        Screen          "ATI_Screen0_Planar"
        Screen          "ATI_Screen1_Planar" RightOf "ATI_Screen0_Planar"
        InputDevice     "LogiTechInternetKeyboard" "CoreKeyboard"
        InputDevice     "TrackManMarble" "CorePointer"
#       Option          "Xinerama"
EndSection

Section "ServerLayout"
        Identifier      "ATI"
        Screen          "ATI_Screen0_Planar"
        InputDevice     "LogiTechInternetKeyboard" "CoreKeyboard"
        InputDevice     "TrackManMarble" "CorePointer"
EndSection
--------------------------------[ cut here ]----------------------------------

Matt.
-- 
"I decry the current tendency to seek patents on algorithms.  There are
better ways to earn a living than to prevent other people from making use of
one's contributions to computer science."  -- Donald E. Knuth, TAoCP vol 3

Reply via email to