Xvfb - how to enable extensions (doesn't seem to be working right) XFree86-VidModeExtension

Jason Galyon jgalyon at sister.tv
Tue Jun 9 08:42:16 PDT 2009


Alan Coopersmith wrote:
> Jason Galyon wrote:
>   
>> Following the Xserver man pages, I started my Xvfb with a '-
>> XFree86-VidModeExtension' (and tried with '+' as well.
>>     
>
> That doesn't work in general, only for specific extensions - it should in
> fact, be returning a fatal error & refusing to start (at least it does for
> me).   The generic form is "+extension XFree86-VidModeExtension" or
> "-extension ..."
>
> However, even if you get the syntax right, it won't make your program work.
> The XFree86-VidModeExtension is not implemented in Xvfb, only in Xorg/XFree86
> itself 
Thank you very much, that is great to know (disappointing but great) :)
> (the code is in the XFree86 DDX layer at hw/xfree86/common/xf86VidMode.c
> not up in one of the common layers shared with Xvfb & other servers) - so
> you'd have to modify the Xvfb code to add support for that extension, but since
> Xvfb doesn't connect to any monitors, the VidModeExtension seems pretty useless.
>
>   
Here it is being utilized for opengl rendering in which it needs to know
screen modes.  Perhaps there is a better way to extract the needed
information (resolution and depth I believe is all it needs).

fyi, this app is called Pyglet.

-- 
Jason Galyon
Silver Screen Tele-Reality, Inc. 
http://www.sister.tv | http://www.videocarlot.tv
Phone: 972-855-3500 |  Fax: 413-778-2146




More information about the xorg mailing list