From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Hellstrom Subject: Re: Testing LibDRM with Multi-Monitors on VMWare Fusion / Workstation Date: Wed, 15 Oct 2014 22:34:41 +0200 Message-ID: <543EDA61.906@vmware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from smtp-outbound-2.vmware.com (smtp-outbound-2.vmware.com [208.91.2.13]) by gabe.freedesktop.org (Postfix) with ESMTP id 3116D6E1C4 for ; Wed, 15 Oct 2014 13:35:12 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Rian Quinn Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org 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=92s know if there is an easy way to tell V= MWare to add more virtual display=92s for testing? LibDRM reports something= like 8 different connectors, and several CRTCs, so I know it at least supp= orts Multi-Monitor, I=92m just not sure how to tell the hypervisor to enabl= e more than one for testing. = > > I=92m sure this is a question for a better list, but I figured I cannot b= e 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@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel