Switching mode with XMir

Daniel van Vugt daniel.van.vugt at canonical.com
Wed Dec 11 01:55:16 UTC 2013


Thomas,

XMir is a relatively small thing. There is no documentation specifically 
for XMir, but I think you will find answers in:
 
https://github.com/RAOF/xserver/blob/vladmir-upstreaming/hw/xfree86/xmir/xmir-output.c
or more generally:
    https://github.com/RAOF/xserver/tree/vladmir-upstreaming/hw/xfree86/xmir

There are some known issues with XMir mode switching, listed here:
    https://bugs.launchpad.net/xmir/+bugs?field.tag=multimonitor

Further questions specifically about XMir? Chris Halse Rogers is the 
expert (and author).

- Daniel


On 09/12/13 18:43, Thomas Hellstrom wrote:
> Hi!
>
> Is there any documentation on how modeswitching with XMir is done, and
> by that I mean
> what mechanism is used to resize the root pixmap?
>
> I assume the xf86Crtc system is completely bypassed?
>
> Is SwitchMode and ValidMode ever called, or is XMir simply calling
> modifyPixmapHeader on the root pixmap
> to switch modes?
>
> Any insight would be appreciated.
>
> Thanks,
> Thomas Hellström, VMware
>



More information about the Mir-devel mailing list