David TECHER
2013-Jan-30  00:06 UTC
Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
Hi, You can find all historical details and download links of these patches both Xen 4.3 and Xen 4.2 using the following url http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html Technical details to install those patches could be found on the mailing lists or google.... It takes me a lot of time to maintain those patches: test several changesets and so on Using these patches depends on your hardwares. There may be several issues depending on your own hardware. Thanks. David. _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
David TECHER
2013-Jan-30  00:06 UTC
Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
Hi, You can find all historical details and download links of these patches both Xen 4.3 and Xen 4.2 using the following url http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html Technical details to install those patches could be found on the mailing lists or google.... It takes me a lot of time to maintain those patches: test several changesets and so on Using these patches depends on your hardwares. There may be several issues depending on your own hardware. Thanks. David. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Ian Campbell
2013-Jan-30  09:36 UTC
Re: [Xen-users] Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
On Wed, 2013-01-30 at 00:06 +0000, David TECHER wrote:> It takes me a lot of time to maintain those patches: test several > changesets and so onYou could avoid this work in the future by making the one-time effort to get these patches upstreamed. See http://wiki.xen.org/wiki/Submitting_Xen_Patches for hints on how to approach this. Ian.
Ian Campbell
2013-Jan-30  09:36 UTC
Re: Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
On Wed, 2013-01-30 at 00:06 +0000, David TECHER wrote:> It takes me a lot of time to maintain those patches: test several > changesets and so onYou could avoid this work in the future by making the one-time effort to get these patches upstreamed. See http://wiki.xen.org/wiki/Submitting_Xen_Patches for hints on how to approach this. Ian.
youenn.gestin@grim-is-a-geek.fr
2013-Feb-05  17:20 UTC
Re: Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
Hello, 
I''m running a 64bit Win 7 vm with nvidia 310.90 on xen 4.2
with your patches and a 560 TI. 
Configuration : 
Primary graphic card
: MSI 560TI 1GB 
Secondary graphic card : IGFX 
Core i7-3770 
Xen
dom0 : Gentoo Kernel 3.6.6 
When you first boot to win7 after powering
up your dom0, install 275.xx driver. 
Reboot, your VM should have a
full vga passtrhough. 
Then you could install any of the nvidia 3xx.xx
and use it. 
If you reboot the VM there will be no acceleration, so
reinstall the 275.xx, reboot and reinstall the 3xx.xx 
The only thing
is that i still can''t use more than 3096Mb without encountering a BSOD
at boot. 
My grub config : 
menuentry ''Gentoo GNU/Linux, with Xen
hypervisor'' --class gentoo --class gnu-linux --class gnu --class os
--class xen $menuentry_id_option
''xen-gnulinux-simple-7262b140-e026-4b53-bc6b-2ac1c1cc4538'' {
 insmod
part_gpt
 insmod ext2
 set root=''hd0,gpt1''
 echo ''Loading Xen xen ...''
multiboot /xen.gz iommu=1 intel_iommu=1 iommu_inclusive_mapping=1
dom0_mem=4G,max:4G dom0_max_vcpus=2 dom0_vcpus_pin
 module
/vmlinuz-3.6.6-gentoo placeholder root=/dev/sda2 nomodeset
xen-pciback.passthrough=1 i915.modeset=1
''pci=resource_aligment=01:00.0;01:00.1;00:14.0;00:1a.a''
softlevel=xen
xen-pciback.hide(01:00.0)(01:00.1)(00:1a.0)(00:14.0) 
}
My VM config :
 name=''midgard''
 vcpus="6"
 maxvcpus=6
 cpus="all"
 builder=''hvm''
memory=3096
 on_poweroff=''destroy''
 on_reboot=''restart''
on_crash=''destroy''
 vif=[''bridge=br0,mac=00:16:3e:0b:f9:db'']
 boot=''c''
acpi=1
 apic=1
 viridian=1
 stdvga=0
 vnc=1
 vnclisten=''0.0.0.0''
vncdisplay=0
 vncunused=1
 vncpasswd=""
 sdl=0
 gfx_passthru=1
 usb=0
#usbdevice="tablet"
 pci=[''01:00.0'',''01:00.1'',''00:14.0'',''00:1a.0'']
#passtrough of gfx card, hdmi sound from gfx card and 2 usb
controler
disk = [
''phy:/dev/sdb,hda,w'']
xen_extended_power_mgmt=1
pae=1
hap 1
keymap=''fr''
xen_platform_pci= 1
pci_msitranslate = 0
pci_power_mgmt 1
acpi_s3 = 1
acpi_s4 = 1
hpet = 1 
Hope it could help ! 
Regards.
Youenn. 
Le 30.01.2013 01:06, David TECHER a écrit : 
> Hi,
> 
> You
can find all historical details and download links of these patches both
Xen 4.3 and Xen 4.2 using the following url> 
>
http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html> 
>
Technical details to install those patches could be found on the mailing
lists or google....> 
> It takes me a lot of time to maintain those
patches: test several changesets and so on> 
> Using these patches
depends on your hardwares. There may be several issues depending on your
own hardware.> 
> Thanks.
> 
> David.
> 
>
_______________________________________________> Xen-devel mailing
list> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel [1]
Links:
------
[1] http://lists.xen.org/xen-devel
--=_a47bb415ed24ef7d2045009c200668fb
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hello,</p>
<p>I''m running a 64bit Win 7 vm with nvidia 310.90 on xen 4.2
with your patches and a 560 TI.</p>
<p> </p>
<p>Configuration :</p>
<p>Primary graphic card : MSI 560TI 1GB</p>
<p>Secondary graphic card : IGFX</p>
<p>Core  i7-3770</p>
<p>Xen dom0 : Gentoo Kernel 3.6.6</p>
<p> </p>
<p>When you first boot to win7 after powering up your dom0, install 275.xx
driver.</p>
<p>Reboot, your VM should have a full vga passtrhough.</p>
<p>Then you could install any of the nvidia 3xx.xx and use it.</p>
<p>If you reboot the VM there will be no acceleration, so reinstall the
275=2Exx, reboot and reinstall the 3xx.xx</p>
<p> </p>
<p>The only thing is that i still can''t use more than 3096Mb
without encountering a BSOD at boot.</p>
<p> </p>
<p>My grub config :</p>
<p> </p>
<p>menuentry ''Gentoo GNU/Linux, with Xen hypervisor''
--class gentoo --class gnu-linux --class gnu --class os --class xen
$menuentry_id_option
''xen-gnulinux-simple-7262b140-e026-4b53-bc6b-2ac1c1cc4538''
{<br
/>       
insmod part_gpt<br
/>       
insmod ext2<br
/>        set
root=3D''hd0,gpt1''<br
/>       
echo    ''Loading Xen xen ...''<br
/>       
multiboot /xen.gz iommu=3D1 intel_iommu=3D1 iommu_inclusive_mapping=3D1
dom0_mem=3D4G,max:4G dom0_max_vcpus=3D2 dom0_vcpus_pin<br
/>       
module /vmlinuz-3.6.6-gentoo placeholder root=3D/dev/sda2 nomodeset
xen-pciback.passthrough=3D1 i915.modeset=3D1
''pci=3Dresource_aligment=3D01:00.0;01:00.1;00:14.0;00:1a.a''
softlevel=3Dxen xen-pciback.hide(01:00.0)(01:00.1)(00:1a.0)(00:14.0)</p>
<p>}<br /><br /></p>
<p>My VM config :</p>
<p> name=3D''midgard''<br
/> vcpus=3D"6"<br /> maxvcpus=3D6<br
/> cpus=3D"all"<br
/> builder=3D''hvm''<br
/> memory=3D3096<br
/> on_poweroff=3D''destroy''<br
/> on_reboot=3D''restart''<br
/> on_crash=3D''destroy''<br
/> vif=3D[''bridge=3Dbr0,mac=3D00:16:3e:0b:f9:db'']<br
/> boot=3D''c''<br /> acpi=3D1<br
/> apic=3D1<br /> viridian=3D1<br
/> stdvga=3D0<br /> vnc=3D1<br
/> vnclisten=3D''0.0.0.0''<br
/> vncdisplay=3D0<br /> vncunused=3D1<br
/> vncpasswd=3D""<br /> sdl=3D0<br
/> gfx_passthru=3D1<br /> usb=3D0<br
/> #usbdevice=3D"tablet"<br
/> pci=3D[''01:00.0'',''01:00.1'',''00:14.0'',''00:1a.0'']
#passtrough of gfx card, hdmi sound from gfx card and 2 usb controler<br
/><br />disk =3D [ ''phy:/dev/sdb,hda,w'']<br
/><br />xen_extended_power_mgmt=3D1<br />pae=3D1<br />hap
=3D 1<br />keymap=3D''fr''<br />xen_platform_pci=3D
1<br />pci_msitranslate =3D 0<br />pci_power_mgmt =3D 1<br
/>acpi_s3 =3D 1<br />acpi_s4 =3D 1<br />hpet =3D 1</p>
<p> </p>
<p>Hope it could help !</p>
<p> </p>
<p>Regards.</p>
<p>Youenn.</p>
<p> </p>
<p> </p>
<p>Le 30.01.2013 01:06, David TECHER a
écrit :</p>
<blockquote type=3D"cite" style=3D"padding-left:5px;
border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html
ignored --><!-- head ignored --><!-- meta ignored -->
<div style=3D"color: #000; background-color: #fff; font-family: times
new roman, new york, times, serif; font-size: 12pt;">Hi,<br
/><br />You can find all historical details and download links of these
patches  both Xen 4.3 and Xen 4.2 using the following url<br
/><br
/>http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html<br
/><br />Technical details to install those patches could be found on
the mailing lists or google....<br /><br />It takes me a lot of time
to maintain those patches: test several changesets and so on<br /><br
/>Using these patches depends on your hardwares=2E There may be several
issues depending on your own hardware.<br /><br />Thanks.<br
/><br />David.<br /><br /><br /><br /><br
/>
<div> </div>
<!-- script not allowed --></div>
<!-- html ignored --><br />
<pre>_______________________________________________
Xen-devel mailing list
<a
href=3D"mailto:Xen-devel@lists.xen.org">Xen-devel@lists.xen.org</a>
<a
href=3D"http://lists.xen.org/xen-devel">http://lists.xen.org/xen-devel</a>
</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>
--=_a47bb415ed24ef7d2045009c200668fb--
--===============1129596019097226222=Content-Type: text/plain;
charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
--===============1129596019097226222==--
David TECHER
2013-Feb-06  01:25 UTC
Re: Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
Hello,
Thanks for sharing your own experience. I will have a try for this driver next
week.
Since last Monday I am working on Xen 4.3 unstable  and ATI Cards (HD 6870  + HD
7970).
This is my first tests for ATI.
Current changeset 26520 seems to work even if I had to check which are the real
patches to apply (except Makefile and rombios.c) without extracted the vga bios
rom from card.
Last Catalyst drivers 13.2 beta could be installed (by avoiding to install CCC)
I was very happy to be able to play Darksiders 2 on a windows 7 64-bit :)
HD 6870 seems to be interesting (domU can reboot without rebooting dom0 +
msitranslate = 0).
________________________________
 De : "youenn.gestin@grim-is-a-geek.fr"
<youenn.gestin@grim-is-a-geek.fr>
À : xen-devel@lists.xen.org 
Envoyé le : Mardi 5 février 2013 18h20
Objet : Re: [Xen-devel] Xen 4.3 unstables and Xen 4.2 patches for VGA
PassThrough (NVIDIA)
 
Hello,
I''m running a 64bit Win 7 vm with nvidia 310.90 on xen 4.2 with your
patches and a 560 TI.
 
Configuration :
Primary graphic card : MSI 560TI 1GB
Secondary graphic card : IGFX
Core  i7-3770
Xen dom0 : Gentoo Kernel 3.6.6
 
When you first boot to win7 after powering up your dom0, install 275.xx driver.
Reboot, your VM should have a full vga passtrhough.
Then you could install any of the nvidia 3xx.xx and use it.
If you reboot the VM there will be no acceleration, so reinstall the 275.xx,
reboot and reinstall the 3xx.xx
 
The only thing is that i still can''t use more than 3096Mb without
encountering a BSOD at boot.
 
My grub config :
 
menuentry ''Gentoo GNU/Linux, with Xen hypervisor'' --class
gentoo --class gnu-linux --class gnu --class os --class xen $menuentry_id_option
''xen-gnulinux-simple-7262b140-e026-4b53-bc6b-2ac1c1cc4538'' {
        insmod part_gpt
        insmod ext2
        set root=''hd0,gpt1''
        echo    ''Loading Xen xen ...''
        multiboot /xen.gz iommu=1 intel_iommu=1 iommu_inclusive_mapping=1
dom0_mem=4G,max:4G dom0_max_vcpus=2 dom0_vcpus_pin
        module /vmlinuz-3.6.6-gentoo placeholder root=/dev/sda2 nomodeset
xen-pciback.passthrough=1 i915.modeset=1
''pci=resource_aligment=01:00.0;01:00.1;00:14.0;00:1a.a''
softlevel=xen xen-pciback.hide(01:00.0)(01:00.1)(00:1a.0)(00:14.0)
}
My VM config :
 name=''midgard''
 vcpus="6"
 maxvcpus=6
 cpus="all"
 builder=''hvm''
 memory=3096
 on_poweroff=''destroy''
 on_reboot=''restart''
 on_crash=''destroy''
 vif=[''bridge=br0,mac=00:16:3e:0b:f9:db'']
 boot=''c''
 acpi=1
 apic=1
 viridian=1
 stdvga=0
 vnc=1
 vnclisten=''0.0.0.0''
 vncdisplay=0
 vncunused=1
 vncpasswd=""
 sdl=0
 gfx_passthru=1
 usb=0
 #usbdevice="tablet"
 pci=[''01:00.0'',''01:00.1'',''00:14.0'',''00:1a.0'']
#passtrough of gfx card, hdmi sound from gfx card and 2 usb controler
disk = [ ''phy:/dev/sdb,hda,w'']
xen_extended_power_mgmt=1
pae=1
hap = 1
keymap=''fr''
xen_platform_pci= 1
pci_msitranslate = 0
pci_power_mgmt = 1
acpi_s3 = 1
acpi_s4 = 1
hpet = 1
 
Hope it could help !
 
Regards.
Youenn.
 
 
Le 30.01.2013 01:06, David TECHER a écrit :
Hi,>
>You can find all historical details and download links of these patches 
both Xen 4.3 and Xen 4.2 using the following url
>
>http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html
>
>Technical details to install those patches could be found on the mailing
lists or google....
>
>It takes me a lot of time to maintain those patches: test several changesets
and so on
>
>Using these patches depends on your hardwares. There may be several issues
depending on your own hardware.
>
>Thanks.
>
>David.
>
>
>
>
>
> 
>
>_______________________________________________
Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel 
 
 
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel