On Fri, 3 May 2002 [EMAIL PROTECTED] wrote:

> I've been doing some research for a small video-related project, and
> it appears that there's no way for a client to discover exactly what
> refresh rate the server is running (one of) the attached monitors
> at. Is this actually the case? Driver-dependent waiting for retrace
> is fine - all I want to know is how often this actually occurs.

man XF86VidModeGetModeLine
That will give you the modeline of the current mode;
divide the dot clock by the htotal and the vtotal and multiple by 1000
(or something like that). 

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

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to