[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Xen VGA Passthrough - GTX 480 successfully quadrified to quadro 6000 (softmod) - more than 4GB of RAM for Win XP 64 Bits


  • To: Gordan Bobic <gordan@xxxxxxxxxx>
  • From: David TECHER <davidtecher@xxxxxxxx>
  • Date: Wed, 18 Sep 2013 14:15:32 +0100 (BST)
  • Cc: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • Delivery-date: Wed, 18 Sep 2013 13:16:30 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=6mR9eZWjqV0ZxTdoCdt7E+qQfqLSf7CTaF3Z/LU75tkZu0rN7j19m83F7/iOU69MmzGlOWv1R99e7UhrJtWOOEDVNO1JvW/LkzcNdkstnWZw/1DnrkzojmMkLO7UomSJCoSA4HBxXX6xuYgSLiCAJf3tU5LwcG9GHjGi/8FXoVE=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>


I use mini-HDMI port on my card.

Yes I modified the PCI device ID in BIOS at around 0x18E. It could be done using a hex editor. Insteaf of using a hex editor you can use Nibitor.

Nibitor 6.06 has support for Quadro 6000 in its devices list. You can have a look here

http://www.davidgis.fr/blog/index.php?2013/09/08/965-update-asus-gtx-480-bios-to-quadro-fx-6000-bios

Moreover Nibitor 6.06 could be used on Linux using Wine :).

To be more understandable the expected command is -- as you already know --.

nvflash --straps (and mask 0) (or mask 0) (and mask 1) (or mask 1)

Of course here you need to have a hex editor so you have the 4 hex values.

I just read instructions from http://www.davidgis.fr/blog/index.php?2013/09/08/965-update-asus-gtx-480-bios-to-quadro-fx-6000-bios (referring  to the 7th message).

It took me several days  to understand it. ( little endian? straps? softs straps? soft mod?). Several researchs on Internet were required to understand it when you are a noob as I am.

Only (or mask 0) is supposed to be updated.

I just get  the 4 hex values. After that

(and mask 0): original value

(or mask 0): updated as expected

(and mask 1): original value

(or mask 1):  updated so my issue on my domU ( XP 64)  went away -- when Crysis 2 was starting and was locking up --.

Don't ask me why it fixed my issue.  I decided to modify the (or mask 1) knowing that it could break something for my card. Let's say that I was lucky :)

I just modified both (or mak 0) and (or mask 1). I just noticed that it works. It is enough for me.

Playing Windows games on a Linux domU using Wine could be problematic with a such card. This quadrified card is a GTX 480 -- well known to have temperature problems --.

At home I have two GTX 480 cards.

1) #1 is used actually for my current tests

2) #2 with Arctic Cooling Accelero XTREME Plus. I will try to do the same tests on this one. This one should fixed  temperature problems :)

------------------
For e820_host: I am reading your mails on xen-devel list so I am updated :)

For GTX 680/GTX 770:  it is clear that the 64KB limit is the first problem -- primary gfx passthrough --. If you succeeded then keep us posted.





De : Gordan Bobic <gordan@xxxxxxxxxx>
À : David TECHER <davidtecher@xxxxxxxx>
Cc : "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
Envoyé le : Mardi 17 septembre 2013 23h06
Objet : Re: [Xen-users] Xen VGA Passthrough - GTX 480 successfully quadrified to quadro 6000 (softmod) - more than 4GB of RAM for Win XP 64 Bits

On 09/17/2013 09:27 PM, David TECHER wrote:
> Gordan,
>
> I am able to have more than 3-4GB of RAM without any patch. So no patch
> required! It works both for domU = Linux 64 and domU = Win7 64.
> So I was mistaken here.

Oh, I can believe you need a patch - the only reason I can pass more
than 2688MB of RAM to my VMs is because I patched hvmloader to make sure
that it leaves memory holes in the same places as the host - because my
dodgy PCIe bridges bypass the IOMMU and when the host's virtual memory
addresses equal the physical device's BAR, everything crashes spectacularly.

But I'm glad you don't have hardware as broken as me. :)

> My domU on XP 64 was locked up (frozen) when game was starting. I had to
> change my (OR mask 1) value for soft straps so this issue went away.
> Whatever driver used it works like a charm.

Hang on - you mean to say that you managed to get VGA output on an
external monitor with VGA passthrough WITHOUT quadrifying the card?
Before I quadrified mine I couldn't get anything at all - VNC console
only, and device manager was saying it couldn't start the device.

It makes me wonder if Nvidia are now tweaking the GeForce drivers to
work better to discourage people from looking at modifying cards from
GeForce to Quadro (since VGA passthrough is _the_ main benefit). Maybe
they are concerned about what else we might figure out. ;)

> I set up a new VM for Win7 64 with RAM=8GB (no patch for Xen!). I was
> able to play 'Remember me' :)
>
> Here is a screenshot
>
> http://img15.hostingpics.net/pics/654044ScreenshotXenSoftmodedQuadro6000Win764.png

Good, good. Did you make sure you changed the PCI device ID in BIOS at
around 0x18E ? This should be consistent with the PCI device ID.

> I am working on testing games on Wine with (Xen PVONHVM+NVIDIA).
>
>
> I have great esteem  for the work you did/are currently doing. Won't be
> back to Xen/NVIDIA world without you :)

I'm afraid I cannot take that much credit - to paraphrase the old quote,
I have only succeeded at this by "standing on the shoulders of giants"
that reverse engineered bits of this before me.

> "GTX 500 series + soldering iron" are for professional guys like you :).

Ironically, GTX580 is somewhat pointless to modify. You can soft-mod it
to a Quadro 7000, but that isn't MultiOS, so VGA passthrough doesn't
work (having said that - Quadro K5000 isn't MultiOS either but VGA
passthrough works great). There is no SPEC boost from modding the 580,
and the 580 has no bidirectional DMA engine to enable. So the only
narrow use-case for modding it is for some professional applications (I
seem to recall some Adobe apps were mentioned ages ago for refusing to
even acknowledge the presence of a GeForce card for GPU processing
offload, but worked fine with Quadros, so in that instance there may be
  benefit (then again, I seem to recall the same could be achieved with
an .inf mod without modifying the BIOS at all - sadly that doesn't seem
to work for VGA passthrough).

> Got a GTX 680 at home. I will wait for your next article on your web
> site before

OK. That can be soft-modded to a Tesla K10, but requires a hard-mod for
K5000/K2 conversion. So you'll have to get your soldering iron out for
it, unfortunately. The process is well documented on the eevblog forum.
What I can bring to the table is BIOS modding to get a full K5000 BIOS
onto a 4GB GTX680 (will probably work just the same on a GTX770 since
they are virtually identical). What I might work on next is stripping
out all the UEFI wrappers so the real BIOS fits in under the 64KB limit
for primary gfx passthrough. :)

> Please keep us posted about your investigations for e820_host for HVMs

You can keep track of it on the xen-devel list, but I haven't had a
chance to do anything over and above the proof of concept patches yet.

Gordan

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.