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

Re : Re : Re : Re : Re : [Xen-devel] Re: Patches for VGA-Passthrough XEN 4.2 unstable


  • To: Zoltan Hubai <hubaiz@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: David TECHER <davidtecher@xxxxxxxx>
  • Date: Wed, 26 Oct 2011 14:35:30 +0100 (BST)
  • Cc:
  • Delivery-date: Wed, 26 Oct 2011 06:36:43 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.fr; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=WDPi0yYk33k6GFm2i3QJMSY7po1uyXo9YEAYVp5yfjxd0YMF4XdxjRCpcX8vVQungABWMPdrfepLG8Tjys53KSom0dJxx9DL+CO27bS+KrxT7KN4vFEmeDA4BGcybhMTKqf2yssP3uFlZcQg1EKHFDMlnLUCLPan2m65GaQUUUo=;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi

Thanks for sharing your experiment, this is very usefull/interesting ! ! !

Happy to see that it work for you on Win7.

Let me know for your next experiment with Win7.

My last experiment with EVGA GTX 460 SE 1024MB

http://www.davidgis.fr/blog/index.php?2011/10/17/837-xen-intel-vt-d-sur-core-5-2400-vga-passthrough-sur-carte-nvidia-evga-gtx-460-se-1024

I can play Crysis2 on XP 64 bits (Resolution:  1920x1080) with directX9.




De : Zoltan Hubai <hubaiz@xxxxxxxxx>
À : xen-devel@xxxxxxxxxxxxxxxxxxx
Envoyé le : Mercredi 26 Octobre 2011 13h54
Objet : Re: Re : Re : Re : Re : [Xen-devel] Re: Patches for VGA-Passthrough XEN 4.2 unstable

Hi

First of all thx for David and the xen team.

My configuration is
MB: asrock Z68 extreme 4 gen 3
CPU: intel i7 2600
Memory: 8 gb
GFX1: nvidia 285 gtx (connected to monitor 1)
GFX2: built in intel 2000 on cpu (connected to monitor 2)

First I installed Ubuntu 11.10 x64, after that installed kernel 3.1.0 with
the ubuntu configuration as start and making the needed changes for xen.
Then I installed xen-unstable the way David has explained (extracting the
gfx firmware, patching, modifying dsdt.asl).
I also added the xen-pciback.hide=(01:00.0) kernel param.

Here is the dmesg part related to vga:
[    0.000000] Command line: root=UUID=51cc6b5d-8f21-43c4-83ca-cb25324d3212
ro xen-pciback.hide=(01:00.0)
[    1.974554] Kernel command line:
root=UUID=51cc6b5d-8f21-43c4-83ca-cb25324d3212 ro xen-pciback.hide=(01:00.0)
[    2.159340] pci 0000:01:00.0: [10de:05e3] type 0 class 0x000300
[    2.159356] pci 0000:01:00.0: reg 10: [mem 0xfa000000-0xfaffffff]
[    2.159374] pci 0000:01:00.0: reg 14: [mem 0xc0000000-0xcfffffff 64bit
pref]
[    2.159392] pci 0000:01:00.0: reg 1c: [mem 0xf8000000-0xf9ffffff 64bit]
[    2.159404] pci 0000:01:00.0: reg 24: [io  0xe000-0xe07f]
[    2.159415] pci 0000:01:00.0: reg 30: [mem 0xfb000000-0xfb07ffff pref]
[    2.191560] vgaarb: device added:
PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
[    2.191694] vgaarb: bridge control possible 0000:01:00.0
[    2.216347] pciback 0000:01:00.0: seizing device
[    2.456885] pciback 0000:01:00.0: Boot video device
[    2.513904] pciback 0000:01:00.0: Signaling PME through PCIe PME
interrupt
[    2.518151] pciback 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[    2.518216] pciback 0000:01:00.0: PCI INT A disabled
[  87.312028] xen-pciback: vpci: 0000:01:00.0: assign to virtual slot 0
[  322.481774] xen-pciback: vpci: 0000:01:00.0: assign to virtual slot 0
[  322.482524] pciback 0000:01:00.0: device has been assigned to another
domain! Over-writting the ownership, but beware.

and here is the dmesg for the intel gfx

[    2.156757] pci 0000:00:02.0: [8086:0102] type 0 class 0x000380
[    2.156782] pci 0000:00:02.0: reg 10: [mem 0xfb400000-0xfb7fffff 64bit]
[    2.156796] pci 0000:00:02.0: reg 18: [mem 0xb0000000-0xbfffffff 64bit
pref]
[    2.156806] pci 0000:00:02.0: reg 20: [io  0xf000-0xf03f]
[    7.867449] i915 0000:00:02.0: enabling device (0006 -> 0007)
[    7.867467] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    7.867472] i915 0000:00:02.0: setting latency timer to 64
[    8.833292] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on
minor 0

In bios i setup pci express as startup device, so when ubuntu begins to load
first I see the loading on the monitor 1 connected to nvidia and when the
card is assigned to pciback then it automaticaly switches to the intel 2000
built in gfx on monitor 2.

First I had problem with executin /etc/init.d/xencomons start was getting
the following error
usr/lib64/xen/bin/qemu-dm: error while loading shared libraries:
libxenctrl.so.4.2: cannot open shared object file: No such file or directory
I solved it by adding /usr/lib64 to /etc/ld.so.conf and executing ldconfig
Then I had problem with executing /etc/init.d/xend start, was getting the
following error
RTNETLINK answers: File exists
xend would start but without networking, solved this by defining the xenbr0
interface in /etc/network/interfaces

So finally everything was working:

root@anubisxen:/usr/src# xm pci-list-assignable-devices
0000:01:00.0

First I tryed to install windows 7 x64 professional, that worked but after I
installed the latest nvidia 285.62 driver I got a BSOD.
Then I tryed to install windows xp (sp3) x86, installed the same driver and
also didn't work.
So after read David blog, I downloaded the 275.33 driver for xp and for my
suprise it was working.
I did the same for win7, and win7 also worked with the 275.33 driver.
I need to do some more testing, unfortunatly I created to small disk for
win7 so I run out of space, but will try it with a bigger disk and with some
benchmarks.
I tryed 3dmark 6 on winxp and it was running fine.

Will post more when I reinstall win7 with a bigger virtual disk, will
compare benchmarks from a virt machine and a real machine.

sorry for my poor english

--
View this message in context: http://xen.1045712.n5.nabble.com/Patches-for-VGA-Passthrough-XEN-4-2-unstable-tp4406265p4939528.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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