Hi Xusheng,
the trick I learned is to "clone" graphic card. In xorg.conf you'll have 
two nearly identical sections for one graphic card.

Section "Device"
        Identifier  "Card0"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "M22 [Radeon Mobility M300]"
        BusID       "PCI:1:0:0"
        Screen      0
EndSection

Section "Device"
        Identifier  "Card1"
        Driver      "ati"
        VendorName  "ATI Technologies Inc"
        BoardName   "M22 [Radeon Mobility M300]"
        BusID       "PCI:1:0:0"
        Screen      1
EndSection


Notice those "Screen" parameters. Then, you can create the configuration 
as if you have two cards each connected to one monitor.

Regards,
Milan Cermak

Xusheng.Hou at Sun.COM wrote:
> Hi,
> Anybody successed to set up for dual screen on solaris?
> I wonder if it is possible to do that?
> I was trying to configure /etc/X11/.xorg.conf(7.2) to implement the 
> dual-screen for my laptop which uses ATI X300 graphic card.
> 
> 
> I changed my xorg.conf to add a screen section and a monitor section but 
> with no luck.
> Anybody can give me some clue?
> 
> My xorg.conf is showed as below.
> 
> Section "ServerLayout"
>        Identifier     "X.org <http://X.org> Configured"
>        Screen        "Screen0"
>        Screen        "Screen1" RightOf "Screen0"
>        InputDevice    "Mouse0" "CorePointer"
>        InputDevice    "Keyboard0" "CoreKeyboard"
> EndSection
> 
> Section "Files"
>        RgbPath      "/usr/X11/share/X11/rgb"
>        ModulePath   "/usr/X11/lib/modules"
>        FontPath     "//usr/X11/lib/X11/fonts/TrueType//"
>        FontPath     "/usr/X11/lib/X11/fonts/Type1/"
>        FontPath     "//usr/X11/lib/X11/fonts/Type1/sun//"
>        FontPath     "//usr/X11/lib/X11/fonts/F3bitmaps//"
>        FontPath     "//usr/X11/lib/X11/fonts/misc//"
>        FontPath     "//usr/X11/lib/X11/fonts/100dpi//"
>        FontPath     "//usr/X11/lib/X11/fonts/75dpi//"
> EndSection
> 
> Section "Module"
>        Load  "IA"
>        Load  "dbe"
>        Load  "extmod"
>        Load  "record"
>        Load  "xtrap"
>        Load  "GLcore"
>        Load  "glx"
>        Load  "dri"
>        Load  "type1"
> EndSection
> 
> Section "InputDevice"
>        Identifier  "Keyboard0"
>        Driver      "kbd"
> EndSection
> 
> Section "InputDevice"
>        Identifier  "Mouse0"
>        Driver      "mouse"
>        Option      "Protocol" "auto"
>        Option      "Device" "/dev/mouse"
>        Option      "ZAxisMapping" "4 5 6 7"
> EndSection
> 
> Section "Monitor"
>        Identifier   "Monitor0"
>        VendorName   "Monitor Vendor"
>        ModelName    "Monitor Model"
> EndSection
> 
> Section "Monitor"
>        Identifier   "Monitor1"
>        VendorName   "gnr"
>        ModelName    "gnr"
> 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     "PanelOff"                  # [<bool>]
>        #Option     "DDCMode"                   # [<bool>]
>        #Option     "MonitorLayout"             # [<str>]
>        #Option     "IgnoreEDID"                # [<bool>]
>        #Option     "UseFBDev"                  # [<bool>]
>        #Option     "MergedFB"                  # [<bool>]
>        #Option     "CRT2HSync"                 # [<str>]
>        #Option     "CRT2VRefresh"              # [<str>]
>        #Option     "CRT2Position"              # [<str>]
>        #Option     "MetaModes"                 # [<str>]
>        #Option     "MergedDPI"                 # [<str>]
>        #Option     "MergedXinerama"            # [<bool>]
>        #Option     "MergedXineramaCRT2IsScreen0"       # [<bool>]
>        #Option     "MergedNonRectangular"      # [<bool>]
>        #Option     "MergedMouseRestriction"    # [<bool>]
>        #Option     "DisplayPriority"           # [<str>]
>        #Option     "PanelSize"                 # [<str>]
>        #Option     "ForceMinDotClock"          # <freq>
>        #Option     "ColorTiling"               # [<bool>]
>        #Option     "VideoKey"                  # <i>
>        #Option     "RageTheatreCrystal"        # <i>
>        #Option     "RageTheatreTunerPort"      # <i>
>        #Option     "RageTheatreCompositePort"  # <i>
>        #Option     "RageTheatreSVideoPort"     # <i>
>        #Option     "TunerType"                 # <i>
>        #Option     "RageTheatreMicrocPath"     # <str>
>        #Option     "RageTheatreMicrocType"     # <str>
>        #Option     "RenderAccel"               # [<bool>]
>        #Option     "SubPixelOrder"             # [<str>]
>        #Option     "ShowCache"                 # [<bool>]
>        #Option     "DynamicClocks"             # [<bool>]
>        #Option     "BIOSHotkeys"               # [<bool>]
>        #Option     "VGAAccess"                 # [<bool>]
>        #Option     "ReverseDDC"                # [<bool>]
>        #Option     "LVDSProbePLL"              # [<bool>]
>        #Option     "AccelMethod"               # <str>
>        #Option     "ConstantDPI"               # [<bool>]
>        Identifier  "Card0"
>        Driver      "ati"
>        VendorName  "ATI Technologies Inc"
>        BoardName   "M22 [Radeon Mobility M300]"
>        BusID       "PCI:1:0:0"
> EndSection
> 
> Section "Screen"
>        Identifier "Screen0"
>        Device     "Card0"
>        Monitor    "Monitor0"
>        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
> 
> 
> Section "Screen"
>        Identifier "Screen1"
>        Device     "Card0"
>        Monitor    "Monitor1"
>        SubSection "Display"
>                Viewport   0 0
>                Depth     1
>        EndSubSection
> EndSection
> 
> Thanks
> Xusheng Hou(Steven)
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss at opensolaris.org


Reply via email to