Native surface creation

Jon Smirl jonsmirl at gmail.com
Fri Mar 11 14:19:20 PST 2005


I'm trying to make sure that XGL doesn't have to run as root. This
implies that you can't set an arbitrary mode. That's the purpose of
the list of modes names that you can then copy to 'mode'.

However, the list of mode name is created from a hotplug event that
runs as root. Right now the user space app builds the list of names
from EDID but it is intented to also merge in custom modes from
/etc/fb.modes. So if you want 1184x888 at 77Hz add it to fb.modes and
reload the fbdev driver. That will cause1184x888 at 77Hz to now appear in
the mode list and a normal user can then select it.

As for picking the mode, why bother with the closest match function.
Why not just give them a list of mode names and let them pick?

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the dri-egl mailing list