I've been reworking the multi-monitor configuration support that I started
a while ago, and I have a patch relative to the latest XFree86 snapshot
(4.4.99.17) that implements it.  This provides a better way of handling
the multi-monitor configuration than the current "mergedfb" methods.  It
does so by allowing multiple Monitor entries in the Screen sections, and
allowing per-Monitor Display subsections for providing per-monitor
parameters.

The patch implements the configuration changes and some helper functions
that drivers can use to access the new data.  The implementation is
backward-compatible in the sense that existing drivers will continue to
function without knowledge of these changes.

An example of how the configuration looks is as follows:

Section "Screen"
        Identifier "Multi-Monitor Demo Screen"
        Device "Multi-Monitor Device 1"
        Monitor 1 "My Monitor"
        Monitor 2 "My Monitor"
        Monitor 3 "My Other Monitor"
        DefaultDepth 24
        Option "Screen Option" "Value"
        SubSection "Display"
                Monitor 1
                Modes "1024x768" "800x600"
                Virtual 1024 768
                Option "MonitorOption" "val1"
        EndSubSection
        SubSection "Display"
                Monitor 2
                Modes "1280x1024"
                Option "MonitorOption" "val2"
        EndSubSection
        SubSection "Display"
                Monitor 3
                Modes "1600x1200"
                Option "MonitorOption" "val3"
        EndSubSection
        SubSection "Display"
                # Screen-wide display parameters
        EndSubSection
EndSection

Although my broader goal is to eliminate the need for complete static
configuration, this patch also serves to provide associations between
the relevant data internally in a more consistent way than is used for
the current multi-monitor solutions.

The patch is available at:

   http://www.x-oz.com/multimonconfig-1.0.diff.gz

Comments and feedback are welcome.

David
-- 
David Dawes                                     X-Oz Technologies
www.XFree86.org/~dawes                          www.x-oz.com
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to