Switching mode with XMir

Thomas Hellstrom thellstrom at vmware.com
Wed Dec 11 07:07:55 UTC 2013


On 12/11/2013 02:55 AM, Daniel van Vugt wrote:
> Thomas,
>
> XMir is a relatively small thing. There is no documentation 
> specifically for XMir, but I think you will find answers in:

Thanks for the pointers. I thought that XMir would be a suitable 
application to fire up on Mir/vmwgfx since I would then be
able to check both that Mir is running reasonably well with a typical 
client and that XMir on vmwgfx is OK performance-wise, which will 
benefit any X implementation on top of Mir I guess.

/Thomas

>
> https://urldefense.proofpoint.com/v1/url?u=https://github.com/RAOF/xserver/blob/vladmir-upstreaming/hw/xfree86/xmir/xmir-output.c&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=Fn8KSR%2FmC%2Bv3NJplYeBEJVzJX4CKeuglxz4GK0gfxOg%3D%0A&s=37a78b41d204329d6ee595b2b7e950ed8594a95b8c793732f28ca142c7e2106e 
>
> or more generally:
> https://urldefense.proofpoint.com/v1/url?u=https://github.com/RAOF/xserver/tree/vladmir-upstreaming/hw/xfree86/xmir&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=Fn8KSR%2FmC%2Bv3NJplYeBEJVzJX4CKeuglxz4GK0gfxOg%3D%0A&s=9b4f90d981e31ee640216d6fa2d44b24f6bd1ca1794d753d1afcc04d098d3847
>
> There are some known issues with XMir mode switching, listed here:
> https://urldefense.proofpoint.com/v1/url?u=https://bugs.launchpad.net/xmir/%2Bbugs?field.tag%3Dmultimonitor&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=l5Ago9ekmVFZ3c4M6eauqrJWGwjf6fTb%2BP3CxbBFkVM%3D%0A&m=Fn8KSR%2FmC%2Bv3NJplYeBEJVzJX4CKeuglxz4GK0gfxOg%3D%0A&s=cf70b599a93f87e9124307d016079dbca02982217071e78584b2ec9900337158
>
> 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