This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-users] VGA passthrough secondary 9600GT to win7 successful but code

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] VGA passthrough secondary 9600GT to win7 successful but code 12
From: david myers <dw.myers@xxxxxxxx>
Date: Sun, 21 Nov 2010 11:45:59 -0500
Delivery-date: Sun, 21 Nov 2010 10:02:48 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
This is my first time posting,  sorry if i don't use the proper etiquette.

I've successfully passed through my secondary GPU to a windows 7 hvm.

Secondary GPU is 9600 GT
dom0 is jeremy's pvops
xen source xen-4.0.2-rc1-pre
Patches from applied http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00441.html
MSI.9600.GT.bin as /tools/firmware/vgabios/vgabios-pt.bin

I get into windows 7 on the passed GPU's monitor no problem,  but windows device manager reports
(Code 12)  the device can not find enough available resources

How / where would I allocate more resources to this device ?

I thought it may have something to do with the vBAR pBAR patch,  I had tried mapping my devices memory according to lspci -v output,  but I'm not entirely sure I did it right,  because it wouldnt work afterwards,  and i reverted to the patch AS-IS after that to get it working again.

for my 9600 GT lspci -v
    Memory at fa000000 (32-bit, non-prefetchable) [disabled] [size=16M]
    Memory at c0000000 (64-bit, prefetchable) [disabled] [size=512M]
    Memory at f8000000 (64-bit, non-prefetchable) [disabled] [size=32M]

+                    /* reserve MMIO BARs of gfx for 1:1 mapping */
+                    DWordMemory(
+                        ResourceProducer, PosDecode, MinFixed, MaxFixed,
+                        Cacheable, ReadWrite,
+                        0x00000000,
+                        0xC0000000,      <- I only replaced this value in the 3 DWordMemory sections
+                        0xEFFFFFFF,
+                        0x00000000,
+                        0x10000000)

I'm guessing some of the other values are relating to the range,  I'm not sure.

Not entirely sure this is my issue either,  as it does seem to be passing through without changing the patches values at all,  but I appreciate any pointers anybody could provide me with to solve the Code 12.

DaveWM ##xen / freenode

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>