xf86-video-intel, modesetting branch

Krzysztof Halasa khc at pm.waw.pl
Sat Jan 27 12:14:15 PST 2007


I don't exactly understand the logic behind pScrn->modes,
and "output modes".

I have
Section "Monitor"
        Identifier      "Monitor"
        HorizSync       30-111
        VertRefresh     50-160
        Option          "NoDDC"
        ModeLine          "640x480" ...
        ModeLine          "800x600" ...
EndSection

Section "Screen"
        Identifier      "Screen"
        Device          "VGA"
        Monitor         "Monitor"
        #Option         "monitor-VGA" "Monitor1"
        DefaultDepth    24
        SubSection "Display"
                Viewport        0 0
                Virtual         1600 1200
                Depth           24
                Modes          "640x480" "800x600" "1024x768"
        EndSubSection
EndSection

In this case ModeLines in Monitor section are ignored (perhaps thanks
to i830_xf86Crtc.c:xf86SetScrnInfoModes()) and all I get are default
modes. If I uncomment that "monitor-VGA" option, I also get
modes specified with "Monitor1".

I understand a single CRTC can drive more than 1 "monitor".
Wouldn't it be better to not ignore the "main" modes, and perhaps
to append "monitor-*" and default modes to it (and then validate
the list against, say, sync rates of all "monitors")?

The same seems to apply to sync rates, are "main monitor's" sync
rates ignored on purpose?

Perhaps I'm missing something important here?
-- 
Krzysztof Halasa



More information about the xorg mailing list