From: David TECHER Subject: Re: Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA) Date: Wed, 6 Feb 2013 01:25:33 +0000 (GMT) Message-ID: <1360113933.8439.YahooMailNeo@web172001.mail.ir2.yahoo.com> References: <1359504363.78244.YahooMailNeo@web172006.mail.ir2.yahoo.com> <2ab76ab077c4c04288741310b5481028@grim-is-a-geek.fr> Reply-To: David TECHER Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1557169787811622400==" Return-path: In-Reply-To: <2ab76ab077c4c04288741310b5481028@grim-is-a-geek.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "youenn.gestin@grim-is-a-geek.fr" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org --===============1557169787811622400== Content-Type: multipart/alternative; boundary="1242719849-662016653-1360113933=:8439" --1242719849-662016653-1360113933=:8439 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello,=0A=0AThanks for sharing your own experience. I will have a try for t= his driver next week.=0A=0ASince last Monday I am working on Xen 4.3 unstab= le=A0 and ATI Cards (HD 6870=A0 + HD 7970).=0A=0AThis is my first tests for= ATI.=0A=0ACurrent changeset 26520 seems to work even if I had to check whi= ch are the real patches to apply (except Makefile and rombios.c) without ex= tracted the vga bios rom from card.=0A=0ALast Catalyst drivers 13.2 beta co= uld be installed (by avoiding to install CCC)=0A=0AI was very happy to be a= ble to play Darksiders 2 on a windows 7 64-bit :)=0A=0AHD 6870 seems to be = interesting (domU can reboot without rebooting dom0 + msitranslate =3D 0). = =0A=0A=0A=0A=0A________________________________=0A De=A0: "youenn.gestin@gr= im-is-a-geek.fr" =0A=C0=A0: xen-devel@list= s.xen.org =0AEnvoy=E9 le : Mardi 5 f=E9vrier 2013 18h20=0AObjet=A0: Re: [Xe= n-devel] Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)= =0A =0A=0AHello,=0AI'm running a 64bit Win 7 vm with nvidia 310.90 on xen 4= .2 with your patches and a 560 TI.=0A=A0=0AConfiguration :=0APrimary graphi= c card : MSI 560TI 1GB=0ASecondary graphic card : IGFX=0ACore =A0i7-3770=0A= Xen dom0 : Gentoo Kernel 3.6.6=0A=A0=0AWhen you first boot to win7 after po= wering up your dom0, install 275.xx driver.=0AReboot, your VM should have a= full vga passtrhough.=0AThen you could install any of the nvidia 3xx.xx an= d use it.=0AIf you reboot the VM there will be no acceleration, so reinstal= l the 275.xx, reboot and reinstall the 3xx.xx=0A=A0=0AThe only thing is tha= t i still can't use more than 3096Mb without encountering a BSOD at boot.= =0A=A0=0AMy grub config :=0A=A0=0Amenuentry 'Gentoo GNU/Linux, with Xen hyp= ervisor' --class gentoo --class gnu-linux --class gnu --class os --class xe= n $menuentry_id_option 'xen-gnulinux-simple-7262b140-e026-4b53-bc6b-2ac1c1c= c4538' {=0A=A0=A0=A0=A0=A0=A0=A0 insmod part_gpt=0A=A0=A0=A0=A0=A0=A0=A0 in= smod ext2=0A=A0=A0=A0=A0=A0=A0=A0 set root=3D'hd0,gpt1'=0A=A0=A0=A0=A0=A0= =A0=A0 echo=A0=A0=A0 'Loading Xen xen ...'=0A=A0=A0=A0=A0=A0=A0=A0 multiboo= t /xen.gz iommu=3D1 intel_iommu=3D1 iommu_inclusive_mapping=3D1 dom0_mem=3D= 4G,max:4G dom0_max_vcpus=3D2 dom0_vcpus_pin=0A=A0=A0=A0=A0=A0=A0=A0 module = /vmlinuz-3.6.6-gentoo placeholder root=3D/dev/sda2 nomodeset xen-pciback.pa= ssthrough=3D1 i915.modeset=3D1 'pci=3Dresource_aligment=3D01:00.0;01:00.1;0= 0:14.0;00:1a.a' softlevel=3Dxen xen-pciback.hide(01:00.0)(01:00.1)(00:1a.0)= (00:14.0)=0A}=0A=0A=0AMy VM config :=0A=A0name=3D'midgard'=0A=A0vcpus=3D"6"= =0A=A0maxvcpus=3D6=0A=A0cpus=3D"all"=0A=A0builder=3D'hvm'=0A=A0memory=3D309= 6=0A=A0on_poweroff=3D'destroy'=0A=A0on_reboot=3D'restart'=0A=A0on_crash=3D'= destroy'=0A=A0vif=3D['bridge=3Dbr0,mac=3D00:16:3e:0b:f9:db']=0A=A0boot=3D'c= '=0A=A0acpi=3D1=0A=A0apic=3D1=0A=A0viridian=3D1=0A=A0stdvga=3D0=0A=A0vnc=3D= 1=0A=A0vnclisten=3D'0.0.0.0'=0A=A0vncdisplay=3D0=0A=A0vncunused=3D1=0A=A0vn= cpasswd=3D""=0A=A0sdl=3D0=0A=A0gfx_passthru=3D1=0A=A0usb=3D0=0A=A0#usbdevic= e=3D"tablet"=0A=A0pci=3D['01:00.0','01:00.1','00:14.0','00:1a.0'] #passtrou= gh of gfx card, hdmi sound from gfx card and 2 usb controler=0A=0Adisk =3D = [ 'phy:/dev/sdb,hda,w']=0A=0Axen_extended_power_mgmt=3D1=0Apae=3D1=0Ahap = =3D 1=0Akeymap=3D'fr'=0Axen_platform_pci=3D 1=0Apci_msitranslate =3D 0=0Apc= i_power_mgmt =3D 1=0Aacpi_s3 =3D 1=0Aacpi_s4 =3D 1=0Ahpet =3D 1=0A=A0=0AHop= e it could help !=0A=A0=0ARegards.=0AYouenn.=0A=A0=0A=A0=0ALe 30.01.2013 01= :06, David TECHER a =E9crit=A0:=0AHi,=0A>=0A>You can find all historical de= tails and download links of these patches=A0 both Xen 4.3 and Xen 4.2 using= the following url=0A>=0A>http://www.davidgis.fr/documentation/Xen_VGA_Pass= Through/doc.html=0A>=0A>Technical details to install those patches could be= found on the mailing lists or google....=0A>=0A>It takes me a lot of time = to maintain those patches: test several changesets and so on=0A>=0A>Using t= hese patches depends on your hardwares. There may be several issues dependi= ng on your own hardware.=0A>=0A>Thanks.=0A>=0A>David.=0A>=0A>=0A>=0A>=0A>= =0A>=A0=0A>=0A>_______________________________________________=0AXen-devel = mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel =0A=A0= =0A=A0=0A_______________________________________________=0AXen-devel mailin= g list=0AXen-devel@lists.xen.org=0Ahttp://lists.xen.org/xen-devel --1242719849-662016653-1360113933=:8439 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

Thanks = for sharing your own experience. I will have a try for this driver next wee= k.

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 extracte= d 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 abl= e to play Darksiders 2 on a windows 7 64-bit :)

HD 6870 seems to be = interesting (domU can reboot without rebooting dom0 + msitranslate =3D 0). =



De&nb= sp;: "youenn.gestin@grim-is-a-geek.fr" <youenn.gestin@grim-is= -a-geek.fr>
=C0 :<= /b> xen-devel@lists.xen.org
Envo= y=E9 le : Mardi 5 f=E9vrier 2013 18h20
Objet : Re: [Xen-devel] Xen 4.3 unstables = and Xen 4.2 patches for VGA PassThrough (NVIDIA)

=0A
=0A
Hello,
=0A
I'm running a 64= bit Win 7 vm with nvidia 310.90 on xen 4.2 with your patches and a 560 TI.<= /div>=0A
 
=0A
Configuration :
=0A
Primary graph= ic card : MSI 560TI 1GB
=0A
Secondary graphic card : IGFX
=0A=
Core  i7-3770
=0A
Xen dom0 : Gentoo Kernel 3.6.6
= =0A
 
=0A
When you first boot to win7 after powering up y= our dom0, install 275.xx driver.
=0A
Reboot, your VM should have a= full vga passtrhough.
=0A
Then you could install any of the nvidi= a 3xx.xx and use it.
=0A
If you reboot the VM there will be no acc= eleration, so reinstall the 275.xx, reboot and reinstall the 3xx.xx
= =0A
 
=0A
The only thing is that i still can't use more t= han 3096Mb without encountering a BSOD at boot.
=0A
 
= =0A
My grub config :
=0A
 
=0A
menuentry 'Gentoo= GNU/Linux, with Xen hypervisor' --class gentoo --class gnu-linux --class g= nu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-7262b14= 0-e026-4b53-bc6b-2ac1c1cc4538' {
      &nb= sp; insmod part_gpt
        insmod ex= t2
        set root=3D'hd0,gpt1'
&= nbsp;       echo    'Loading X= en xen ...'
        multiboot /xen.gz= iommu=3D1 intel_iommu=3D1 iommu_inclusive_mapping=3D1 dom0_mem=3D4G,max:4G= dom0_max_vcpus=3D2 dom0_vcpus_pin
      &= nbsp; module /vmlinuz-3.6.6-gentoo placeholder root=3D/dev/sda2 nomodeset x= en-pciback.passthrough=3D1 i915.modeset=3D1 'pci=3Dresource_aligment=3D01:0= 0.0;01:00.1;00:14.0;00:1a.a' softlevel=3Dxen xen-pciback.hide(01:00.0)(01:0= 0.1)(00:1a.0)(00:14.0)
=0A
}

=0A
My VM config :=0A
 name=3D'midgard'
 vcpus=3D"6"
 maxvcpus= =3D6
 cpus=3D"all"
 builder=3D'hvm'
 memory=3D3096<= br> on_poweroff=3D'destroy'
 on_reboot=3D'restart'
 on= _crash=3D'destroy'
 vif=3D['bridge=3Dbr0,mac=3D00:16:3e:0b:f9:db']<= br> boot=3D'c'
 acpi=3D1
 apic=3D1
 viridian= =3D1
 stdvga=3D0
 vnc=3D1
 vnclisten=3D'0.0.0.0' vncdisplay=3D0
 vncunused=3D1
 vncpasswd=3D""
&nb= sp;sdl=3D0
 gfx_passthru=3D1
 usb=3D0
 #usbdevice= =3D"tablet"
 pci=3D['01:00.0','01:00.1','00:14.0','00:1a.0'] #passt= rough of gfx card, hdmi sound from gfx card and 2 usb controler

disk= =3D [ 'phy:/dev/sdb,hda,w']

xen_extended_power_mgmt=3D1
pae=3D1<= br>hap =3D 1
keymap=3D'fr'
xen_platform_pci=3D 1
pci_msitranslate = =3D 0
pci_power_mgmt =3D 1
acpi_s3 =3D 1
acpi_s4 =3D 1
hpet =3D= 1
=0A
 
=0A
Hope it could help !
=0A
 = ;
=0A
Regards.
=0A
Youenn.
=0A
 
=0A 
=0A
Le 30.01.2013 01:06, David TECHER a =E9crit :=0A
=0A
Hi,

You can find all historical details and download lin= ks of these patches  both Xen 4.3 and Xen 4.2 using the following url<= br>
http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html
Technical details to install those patches could be found on the maili= ng lists or google....

It takes me a lot of time to maintain those p= atches: test several changesets and so on

Using these patches depend= s on your hardwares. There may be several issues depending on your own hard= ware.

Thanks.

David.




=0A
 
= =0A
=0A
=0A
_______________________________________________=0AX=
en-devel mailing list=0AXen-d=
evel@lists.xen.org=0Ahttp://lists.xen.org/xen-devel=0A
=0A<= /blockquote>=0A
 
=0A
 
=0A
=0A

_= ______________________________________________
Xen-devel mailing listXen-devel@lists.xen.org
http://lists.xen.org/xen-devel


=
--1242719849-662016653-1360113933=:8439-- --===============1557169787811622400== 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 --===============1557169787811622400==--