Re: Detecting Monitor mode from AutoConfig

2003-10-07 Thread Dr Andrew C Aitchison
On Mon, 6 Oct 2003, Kirk Haderlie wrote:

 Is there an interface available to enumerate the video modes supported by a
 monitor?  It would be nice to get this information for use in auto config.
 We have a dual head configuration with one monitor which supports up to 1024
 x 768 and the second up to 800 x 600.  The problem is that X tries to drive
 the second monitor at 1024 x 768.  If I configure XF86 manually I can get
 the first to run 1024 X 768 and the second in 800 x 600.  I want to
 customize the monitor sections of auto config.  I have already modified auto
 config to support multiply heads but now would like to implement custom
 monitor configurations.  Any help or suggestions would be appreciated.

In principle the full DDC information is available from each monitor,
but in practice for most dual-head cards we don't kow how to ask for
the information about both heads.
If this is a laptop with a builtin screen and an external monitor socket, 
we don't even have a consensus as to whether the builtin screen has DDC
info.

Once the server has started, if you are *not* using Xinerama or similar
methods of making the displays appear as one, the DDC data is available as
a root window property; usually XFree86_DDC_EDID1_RAWDATA, which can be 
printed out with:
xprop -display $DISPLAY -root 0x XFree86_DDC_EDID1_RAWDATA


-- 
Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]   http://www.dpmms.cam.ac.uk/~werdna

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel


Detecting Monitor mode from AutoConfig

2003-10-06 Thread Kirk Haderlie
Title: Message



Is there an 
interface available to enumerate the video modes supported by a monitor? 
It would be nice to get this information for use in auto config. We have a 
dual head configuration with one monitor which supports up to 1024 x 768 and the 
second up to 800 x 600. The problem is that X tries to drive the second 
monitor at 1024 x 768. If I configure XF86 manually I can get the first to 
run 1024 X 768 and the second in 800 x 600. I want to customize the 
monitor sections of auto config. I have already modified auto config to 
support multiply heads but now would like to implement custom monitor 
configurations. Any help or suggestions would be 
appreciated.

Kirk Haderlie
Design Engineer
Vivid Image Technology
[EMAIL PROTECTED]