Xen 4.3 unstables and Xen 4.2 patches for VGA PassThrough (NVIDIA)
Quoted 2 lines · David TECHER
It takes me a lot of time to maintain those patches: test several changesets and so on
You 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.
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' {
insmodpart_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= 1pci_msitranslate = 0pci_power_mgmt =
1acpi_s3 = 1acpi_s4 = 1
hpet = 1
Hope it could help !
Regards.
Youenn.
Quoted 3 lines · David TECHER
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
Quoted 2 lines
http://www.davidgis.fr/documentation/Xen_VGA_PassThrough/doc.html
Quoted 2 lines
Technical details to install those patches could be found on the mailing lists or google....
Quoted 2 lines
It takes me a lot of time to maintain those
patches: test several changesets and so on
Quoted 2 lines
Using these patches
depends on your hardwares. There may be several issues depending on your own hardware.
Quoted 6 lines
Thanks.
David.
_______________________________________________
Quoted 1 line
Xen-devel mailing
list
Quoted 2 lines
Links:
------
[1] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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 : "[email protected]" <[email protected]>
À : [email protected]
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= 1pci_msitranslate = 0pci_power_mgmt = 1acpi_s3 = 1acpi_s4 = 1
hpet = 1
Hope it could help !
Regards.
Youenn.
Le 30.01.2013 01:06, David TECHER a écrit :
Hi,
Quoted 19 lines
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.
Quoted 3 lines
_______________________________________________
Xen-devel mailing list [email protected] http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel