I'm having a little trouble adding and switching to modes in my app. First off, the XF86VidMode manpage eludes to a description of AddModeLine being present, but there is none.
XF86VidModeAddModeLine() takes two modelines, one is 'new modeline' the other is 'after modeline'. If you pass in anything for 'after modeline' other than all 0s then the call returns BadValue. Looking at the code, it doesn't seem to be used for anything at all. Maybe it should be removed or fixed. No matter what mode I give to AddModeLine(), I always get XF86VidModeBadHTimings. From the code, this is because my HSYNC is out of range, however when I calculate it myself and compare with the numbers from GetMonitor, it's definitely in range. In fact, taking an existing modeline and changing the hdisplay to be one pixel larger (to not conflict with the existing mode) causes this error. Any ideas as to what is going on? The mode validates successfully using ValidateMode(). I'm using XFree86 version: 4.1.0.1 from debian. I'm trying to allow my application to switch the refresh rate for playing video. (http://www.dumbterm.net/graphics/tvtime/) -- Billy Biggs [EMAIL PROTECTED] _______________________________________________ Xpert mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xpert
