From: Gordan Bobic <gordan@bobich.net>
To: therion@ninth-art.de, xen-devel@lists.xen.org
Subject: Re: Fwd: Re: Xen 4.3 / 4.4 - concurrent APIs, VGA Passthru
Date: Mon, 28 Jul 2014 16:01:27 +0100 [thread overview]
Message-ID: <53D665C7.6010004@bobich.net> (raw)
In-Reply-To: <53D659C3.9010500@ninth-art.de>
On 07/28/2014 03:10 PM, Georg Bege wrote:
> Thanks for your response, I can imagine hundred of people asked the same
> questions already -
> but as said it was hard to get an up to date documentation about this.
> However I did experiment more with it, my graphics card is an GeForce
> GTX470.
> I came to the conclusion that passthru works great with XP (both 32bit
> and 64bit) but giving me issue's whenever Im trying on Windows 7 64bit.
Unless something major has changed very recently, an unmodified GTX470
won't work passed through to a domU using unmodified drivers.
I am using Xen 4.3.0, and am using a pair of 780Ti cards at the moment,
but this is a relatively recent upgrade from 470/480 cards.
GTX470 can be modified into a Quadro 5000 using a small BIOS change
(google it, I'm sure you'll find information about it), after which it
will work just fine passed through to a domU.
Having said that - it has recently been reported that various QEMU
patches have neutered various ways the Nvidia driver uses to check
whether it is running in a VM. Including things as lame as looking for
QEMU's CPU model name/number override. Unsurprisingly, once you prevent
the driver from detecting it is running in a VM, the card works fine.
One thing you might want to try is an older Nvidia driver. There has
been a lot of cat-and-mouse game going on with QEMU getting patched to
neuter checks for whether the stack is running virtualized, and Nvidia
introducing new checks for it to attempt to continue making the GeForce
cards not work virtualized.
But if you are not afraid of flipping a few bits on your GTX470 to turn
it into a Quadro 5000, that is probably the easiest option that
debugging the issue. IIRC was using my modified GTX470 and 480 cards
with 320.xx and 331.xx drivers without problems.
> It seems that vga passthru doesnt work for the newer qemu-xen model
> (using Qemu 2.0.0), so Im using
> qemu-xen-traditional along with the old bundled qemu-dm which works fine
> for XP.
I am using qemu traditional on my system. I have two VMs running all the
time, one running XP64, the other running 64-bit Windows. I have
observed no issues at all with either guest OS.
> So any idea why this is not working right for Win7?
> Win7 also seems to be a lot slower with qemu-xen-traditional, is that a
> bug in the old model?
It could be something in Xen 4.4. I am using 4.3 with no problems in a
similar setup. The machine runs 24/7 and the VMs are always running as
they are different "workstations". Everything works exactly as expected,
including VM rebooting, and performance is close enough to native to not
impede gaming (Crysis 3 at 2560x1600, Borderlands 2 at 3840x2400).
Gordan
next prev parent reply other threads:[~2014-07-28 15:01 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <53D5C00E.5040706@ninth-art.de>
2014-07-28 14:10 ` Fwd: Re: Xen 4.3 / 4.4 - concurrent APIs, VGA Passthru Georg Bege
2014-07-28 14:34 ` jacek burghardt
2014-07-28 15:01 ` Gordan Bobic [this message]
[not found] ` <53D6F500.1010806@ninth-art.de>
[not found] ` <53D748DC.10209@bobich.net>
[not found] ` <53D74F9E.6010508@ninth-art.de>
[not found] ` <bb4d5eb4f453e5596f696eb93c3f7df5@mail.shatteredsilicon.net>
2014-07-29 11:52 ` Georg Bege
2014-07-29 12:22 ` Gordan Bobic
2014-08-02 10:49 ` Georg Bege
2014-08-03 9:49 ` Gordan Bobic
[not found] ` <53DE0A73.9040304@ninth-art.de>
2014-08-03 10:20 ` Fwd: " Georg Bege
2014-08-04 8:18 ` Gordan Bobic
2014-08-04 19:30 ` Georg Bege
2014-08-18 15:26 ` Georg Bege
2014-08-18 15:45 ` Gordan Bobic
2014-08-18 21:13 ` Richie
2014-08-19 10:31 ` Gordan Bobic
2014-08-03 9:57 ` James Harper
2014-08-03 1:09 ` Georg Bege
2014-08-03 9:40 ` Gordan Bobic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53D665C7.6010004@bobich.net \
--to=gordan@bobich.net \
--cc=therion@ninth-art.de \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).