Testing LibDRM with Multi-Monitors on VMWare Fusion / Workstation
Rian Quinn
rianquinn at gmail.com
Fri Oct 17 16:52:56 PDT 2014
Thanks a ton, I plan to try this out right away.
- Rian
On Oct 15, 2014, at 4:34 PM, Thomas Hellstrom <thellstrom at vmware.com> wrote:
> Hi!
>
> On 09/25/2014 06:52 PM, Rian Quinn wrote:
>> I have been doing a lot of work with LibDRM, including Multi-Monitor work on Intel and VMWare. Do you guy’s know if there is an easy way to tell VMWare to add more virtual display’s for testing? LibDRM reports something like 8 different connectors, and several CRTCs, so I know it at least supports Multi-Monitor, I’m just not sure how to tell the hypervisor to enable more than one for testing.
>>
>> I’m sure this is a question for a better list, but I figured I cannot be the only one interested in working with LibDRM on VMWare.
>>
>> Thanks in advance,
>> - Rian
>
> Sorry for the late reply. There's an ioctl you may use to set the GUI
> layout: DRM_IOCTL_VMW_UPDATE_LAYOUT
> (which would in real hardware correspond to plugging in a set of
> monitors and arranging them). That ioctl is currently reserved for the
> master and the Xorg driver is using it if you need a code example. I
> haven't tested for a while, but it should be possible to have up to
> eight different virtual "displays" in a single VMware GUI window.
>
> One caveat is that you might need to manually set the number of displays
> and their max sizes from the VMware GUI to make sure you get enough VRAM
> to back the displays.
>
> /Thomas
>
>
>> _______________________________________________
>> dri-devel mailing list
>> dri-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dri-devel
>
More information about the dri-devel
mailing list