Something what I don't understand - how is it possible to achieve 80-90% performance of a native gpu with vgpu according to documentation/some articles if dma buffering is not fixed yet?

2017-09-05 17:16 GMT+02:00 Richard Lagler <rilagler@gmail.com>:
Hi Maik,

I tried to review kernel and qemu repository to check if the patch is already made available in qemu 2.10/linux 4.12 or newer developer versions but can't find it. Do you know something about it?

Because under Gentoo I could merge current qemu git repo just from version 9999 but want to be sure it is included. Otherwise more elegant solution would be to build a custom ebuild for this patch to ensure the patch is applied also with future updates

2017-09-05 12:37 GMT+02:00 Maik Broemme <mbroemme@libmpq.org>:
Hi Richard,

oh probably this will help https://www.kraxel.org/cgit/qemu/commit/?h=work/intel-vgpu&id=24bd8891e8e9e930105183feb9b1ddb61fc34036

On Sep 05, 2017, at 13:33, Maik Broemme <mbroemme@libmpq.org> wrote:
> Hi Richard,
>
> I have the same problem but it is probably related to VNC output. I use
> Intel GPU for headless acceleration in Windows VM and display is
> rendered in VNC.
>
> I believe the issue is caused by that, once QEMU/Linux has dma-buf
> patches included local display will start working and performance issue
> will went away (my thoughts).
>
> The kernel part from https://patchwork.freedesktop.org/series/28980/
> I've tried already but I haven't found any working QEMU patches yet.
>
> On Sep 05, 2017, at 12:49, Richard Lagler <rilagler@gmail.com> wrote:
> > Update: Uninstalled Intel driver in device-manager and fully re-installed it.
> > Performance still leaks. Use driver win64_154519.4678.exe
> >
> > @Maik: I saw you faced the same performance issue with the HD520 in May and Pei
> > Zhang stated it is a driver issue and you should update it. Did you solve it?
> >
> > 2017-09-05 10:02 GMT+02:00 Richard Lagler <rilagler@gmail.com>:
> >
> >   I am using GVT-g. Have a notebook Lenovo Yoga 900 with Intel HD graphics 520
> >   and want share a virtual GPU to windows for 3D in Host and Guest. Worked
> >   through
> >   https://github.com/01org/gvt-linux/wiki/GVTg_Setup_Guide#5-basic-usage.
> >
> >   I installed teamviewer now to connect to the Guest, with it I disabled the
> >   Redhat QXL in device manager again and with teamviewer I am able to use the
> >   HD520. In Windows display settings only the HD520 is available. However, the
> >   performance is quite bad, tried to play a 4k video from youtube (with
> >   1920x1080 resolution) and it stucks quite much.
> >
> >   With disabled Windows Firewall I was able to connect with tigervnc too, here
> >   the performance is incredibly bad. Means it takes 20 seconds until a dialog
> >   windows closes, windows is reacting. Tried to turn off encryption too. Didn't
> >   try with tightvnc yet since its not available in Gentoo repo - but I believe
> >   it will be the same since its a fork.
> >
> >   I re-checked with Intel driver update utility and it says the driver setup is
> >   correct. Tried also re-install the driver.
> >
> >  
> >
> >   Any idea why performance is too bad?
> >
> >   2017-09-05 6:12 GMT+02:00 Zhang, Xiong Y <xiong.y.zhang@intel.com>:
> >
> >     Which wiki are you following to setup your environment ?
> >
> >     We have two types intel gpu virtualization, one is GVT-d which pass though
> >     intel gpu to one guest . The other one is GVT-g which create a vgpu through
> >     UUID.
> >
> >      
> >
> >     It seems you are using GVT-d, in this case monitor may be black if you bios
> >     is native uefi. But you could install a vnc server in your windows guest and
> >     let vnc server auto start at windows boot, so you could connect to windows
> >     guest through vnc viewer on another machine.
> >
> >     thanks
> >
> >     From: iGVT-g [mailto:igvt-g-bounces@lists.01.org] On Behalf Of Iarwain
> >     Ben-adar
> >     Sent: Tuesday, September 5, 2017 12:16 AM
> >     To: Richard Lagler <rilagler@gmail.com>; igvt-g@lists.01.org
> >     Subject: Re: [iGVT-g] Windows 8.1 Guest - vgpu can't be used as monitor
> >
> >      
> >
> >     I install TeamViewer using vnc and the qxl gpu, and then I use TeamViewer.
> >
> >      
> >
> >     On Mon, Sep 4, 2017, 11:35 Richard Lagler <rilagler@gmail.com> wrote:
> >
> >       Hi,
> >
> >       I use Win 8.1 guest and passed through an Intel HD 520, installed
> >       successfully latest driver 15.45.19.4648, but I can't enable the graphics
> >       card in the display settings. In Win 8.1 setup is default as an extended
> >       display, but no matter how I change the settings (change primary display,
> >       "show desktop only on Intel HD520", the card doesn't start working. In
> >       device manager all looks normal.
> >
> >       Even if I disable the Redhat QXL graphics card in the device manager, the
> >       monitor just turns black.
> >
> >       Tried with VNC and SPICE. Tried virt-manager, spicy, remote-viewer. No
> >       chance.
> >
> >       Further, when the vgpu is passed through, I start to have mouse issues.
> >       Mostly no mouse is visible, sometimes mouse is only invisible but useable.
> >       Tried passthrough an extra mouse, no effect.
> >
> >       What is best practice? How you use the Windows machine with the vgpu?
> >
> >       Help is very much appreciated!
> >
> >       Kind Regards,
> >
> >       Richard
> >
> >       _______________________________________________
> >       iGVT-g mailing list
> >       iGVT-g@lists.01.org
> >       https://lists.01.org/mailman/listinfo/igvt-g
>
> --Maik
> _______________________________________________
> iGVT-g mailing list
> iGVT-g@lists.01.org
> https://lists.01.org/mailman/listinfo/igvt-g
>

--Maik