Writing a new driver for nested Xorg servers based on Xephyr code

Jasper St. Pierre jstpierre at mecheye.net
Sun Sep 28 18:47:02 PDT 2014


I don't believe a driver is the correct thing to do. Xorg, in many places,
assumes it's on raw hardware and does things like modesetting and VT
switching, which obviously won't work in a nested environment.

Additionally, I think the Xorg maintainers think that less drivers is
better -- the modesetting driver was recently merged into the X server and
is getting Glamor support for a great out-of-the-box experience that should
work with anything that has EGL support.

The input situation is similar, and is slimming down to just supporting
xf86-input-libinput. Are you going to write an xf86-input-nested as well?

What's the reason you're trying to turn Xorg into a nested server?

On Fri, Sep 26, 2014 at 8:52 AM, Laércio de Sousa <
laerciosousa at sme-mogidascruzes.sp.gov.br> wrote:

> Hi there!
>
> Some time ago, I've asked you about current situation of video drivers for
> nested Xorg servers as an alternative to Xephyr. This is mentioned in
> http://www.x.org/wiki/Releases/7.8/
>
> Currently there's a project named xf86-video-nested, which is written
> somehow independently from Xephyr, but seems no longer maintained.
>
> Now I've started playing with xf86-video-nested and Xephyr code, trying to
> merge as much code as possible. It's still in an embrionary stage, so I
> want to ask you some questions:
>
> * Is there an official position from X.Org development team about
> deprecating Xephyr in favour of a driver based approach for nesting Xorg
> server? Or at least let both approaches coexist (maybe moving common code
> to a shared library, as I've asked you previously)?
>
> * In case I decide to proceed with Xephyr code merging into a video
> driver, should I do it in current project xf86-video-nested, or fork a new
> one (e.g. xf86-video-ephyr)?
>
> * I'm currently working on mapping Kdrive/Xephyr command line options to
> xorg.conf options for the driver. Which Kdrive/Xephyr options are really
> suitable for this mapping, and which ones are just reimplementations of
> command line options already present in Xorg itself?
>
> I'm pushing my progress to https://github.com/oiteam/xf86-video-ephyr, if
> you want to take a look. My main motivation with this project is providing
> a suitable way for single-card multiseat configuration on systemd-logind
> based systems, so I'm not so focused on implementing a "nested input
> driver" at the moment.
>
> Thanks for your attention!
> --
> *Laércio de Sousa*
> *Orientador de Informática*
> *Escola Municipal "Professor Eulálio Gruppi"*
> *Rua Ismael da Silva Mello, 559, Mogi Moderno*
> *Mogi das Cruzes - SPCEP 08717-390*
> Telefone: (11) 4726-8313
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140928/abad71fd/attachment.html>


More information about the xorg-devel mailing list