From: Rian Quinn Subject: Re: Testing LibDRM with Multi-Monitors on VMWare Fusion / Workstation Date: Fri, 17 Oct 2014 19:52:56 -0400 Message-ID: <99EA145B-B06E-4BAA-8953-50C01BE8C043@gmail.com> References: <543EDA61.906@vmware.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 404C06E3A7 for ; Fri, 17 Oct 2014 16:53:06 -0700 (PDT) Received: by mail-qc0-f179.google.com with SMTP id x3so1443832qcv.10 for ; Fri, 17 Oct 2014 16:53:05 -0700 (PDT) In-Reply-To: <543EDA61.906@vmware.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: Thomas Hellstrom Cc: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Thanks a ton, I plan to try this out right away. = - Rian On Oct 15, 2014, at 4:34 PM, Thomas Hellstrom 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 wor= k on Intel and VMWare. Do you guy=92s know if there is an easy way to tell = VMWare to add more virtual display=92s for testing? LibDRM reports somethin= g like 8 different connectors, and several CRTCs, so I know it at least sup= ports Multi-Monitor, I=92m just not sure how to tell the hypervisor to enab= le more than one for testing. = >> = >> I=92m 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@lists.freedesktop.org >> http://lists.freedesktop.org/mailman/listinfo/dri-devel > =