Hello, Like many trying and posting here, I''m new to VGA passthrough. Computer was bought, checking compatibility from http://wiki.xen.org/wiki/VTd_HowTo The hardware is mostly not exactly on the list, but mainly new versions of the same series (I think). IOMMU "seems" to be working (not 100% sure what to check). I used debian/wheezy kernel and xen, dom0 and HVM domu. Managed to get to "see" audio and video from the DomU, but couldn''t get it to "work". => screen wouldn''t show anything => mplayer can''t find an audio card. If I don''t hide the pci devices, i can get some sound working on dom0, and have console working all right on it. If I try to pass the devices, I effectively have no screen left giving an output for dom0, but the domU still doesn''t show anything (tryed with gfx_passthru). I''ll be working on it until I figure there is a hardware problem, or get it to work, but it might get easier if I could get some hints of what i''m doing wrong, if it''s something obvious for one of you. If anyone is willing to help, but need more input, just tell me what kind of input you would need. Processor: Version: AMD FX(tm)-8120 Eight-Core Processor Motherboard: Manufacturer: Gigabyte Technology Co., Ltd. Product Name: GA-990FXA-UD3 # lspci 00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx0 port B) (rev 02) 00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory Management Unit (IOMMU) 00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port H) 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx1 port A) 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (NB-SB link) 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40) 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42) 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40) 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40) 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40) 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller 00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 0) 00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 PCI to PCI bridge (PCIE port 1) 00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 2) 00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI bridge (PCIE port 3) 00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller 00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 0 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 1 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 2 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 3 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 4 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor Function 5 01:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01) 02:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02) 02:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 02) 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) 03:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1) 04:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 OHCI Controller (rev c0) 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 06:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller (rev 01) # I passed : 0000:03:00.0 0000:03:00.1 0000:00:14.2 -- Adrien URBAN, Expert Systèmes - Réseaux - Sécurité - Responsable SN3 --- www.nbs-system.com, 140 Bd Haussmann, 75008 Paris Std: +33 158 566 080 / S.Tech: +33 158 566 088 / Fax: +33 158 566 081 Bargento 2012, le 29 mai 2012 au CNIT : www.bargento.com
Hello Adrien, I''ve been tinkering with GA-990FX-GD70 the past few days, and its lspci is remarkably similar to yours! Considering that the logical layout (from a PCI standpoint) should be identical, you should be able to get PCI passthrough to work. Without special patches, the gfx_passthru option won''t work right, so leave it = 0, or undefined. This will pass the PCIe video card as a secondary graphics adapter, and will work after your DomU OS boots up. I can confirm that it works with my AMD gfx card on Windows 7, but haven''t gotten it to work in Ubuntu DomU yet. That may be a kernel thing. Additionally, the sound device, which for me also shows up as 00:14.2, works equally as well. I might suggest you start by making sure you hide all the devices, boot your Dom0, then SSH into the box, start your VM, VNC into the VM, and try adding the devices one at a time with "xl pci-attach" (or "xm pci-attach"). I found this was easiest with a USB controller or the sound card. Once you get one thing working, try adding more, and see what you get! :) Cheers, Andrew Bobulsky On Tue, May 15, 2012 at 5:33 AM, Adrien Urban <adrien.urban@nbs-system.com> wrote:> Hello, > > Like many trying and posting here, I''m new to VGA passthrough. > > Computer was bought, checking compatibility from > http://wiki.xen.org/wiki/VTd_HowTo > The hardware is mostly not exactly on the list, but mainly new versions of > the same series (I think). > > > IOMMU "seems" to be working (not 100% sure what to check). > > I used debian/wheezy kernel and xen, dom0 and HVM domu. Managed to get to > "see" audio and video from the DomU, but couldn''t get it to "work". > > => screen wouldn''t show anything > => mplayer can''t find an audio card. > > If I don''t hide the pci devices, i can get some sound working on dom0, and > have console working all right on it. > > If I try to pass the devices, I effectively have no screen left giving an > output for dom0, but the domU still doesn''t show anything (tryed with > gfx_passthru). > > I''ll be working on it until I figure there is a hardware problem, or get it > to work, but it might get easier if I could get some hints of what i''m doing > wrong, if it''s something obvious for one of you. > > If anyone is willing to help, but need more input, just tell me what kind of > input you would need. > > > > Processor: > Version: AMD FX(tm)-8120 Eight-Core Processor > Motherboard: > Manufacturer: Gigabyte Technology Co., Ltd. > Product Name: GA-990FXA-UD3 > > # lspci > 00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI > bridge (external gfx0 port B) (rev 02) > 00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory > Management Unit (IOMMU) > 00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI > bridge (PCI express gpp port H) > 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI > bridge (external gfx1 port A) > 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI > bridge (NB-SB link) > 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40) > 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB OHCI0 Controller > 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB EHCI Controller > 00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB OHCI0 Controller > 00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB EHCI Controller > 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller > (rev 42) > 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) > 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia > (Intel HDA) (rev 40) > 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 > LPC host controller (rev 40) > 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI > Bridge (rev 40) > 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB OHCI2 Controller > 00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 > PCI to PCI bridge (PCIE port 0) > 00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 > PCI to PCI bridge (PCIE port 1) > 00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI > bridge (PCIE port 2) > 00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI > bridge (PCIE port 3) > 00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB OHCI0 Controller > 00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI > SB7x0/SB8x0/SB9x0 USB EHCI Controller > 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 0 > 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 1 > 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 2 > 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 3 > 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 4 > 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor > Function 5 > 01:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller > (rev 01) > 02:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller > (rev 02) > 02:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller > (rev 02) > 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] > (rev a2) > 03:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller > (rev a1) > 04:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] > IEEE 1394 OHCI Controller (rev c0) > 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B > PCI Express Gigabit Ethernet controller (rev 06) > 06:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller > (rev 01) > # > > I passed : > 0000:03:00.0 > 0000:03:00.1 > 0000:00:14.2 > > > -- > Adrien URBAN, Expert Systèmes - Réseaux - Sécurité - Responsable SN3 > --- > www.nbs-system.com, 140 Bd Haussmann, 75008 Paris > Std: +33 158 566 080 / S.Tech: +33 158 566 088 / Fax: +33 158 566 081 > Bargento 2012, le 29 mai 2012 au CNIT : www.bargento.com > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users
I mistyped that; it''s a GA-990FX-UD7. Carry on! :) On Tue, May 15, 2012 at 7:39 AM, Andrew Bobulsky <rulerof@gmail.com> wrote:> Hello Adrien, > > I''ve been tinkering with GA-990FX-GD70 the past few days, and its > lspci is remarkably similar to yours! Considering that the logical > layout (from a PCI standpoint) should be identical, you should be able > to get PCI passthrough to work. > > Without special patches, the gfx_passthru option won''t work right, so > leave it = 0, or undefined. This will pass the PCIe video card as a > secondary graphics adapter, and will work after your DomU OS boots up. > I can confirm that it works with my AMD gfx card on Windows 7, but > haven''t gotten it to work in Ubuntu DomU yet. That may be a kernel > thing. Additionally, the sound device, which for me also shows up as > 00:14.2, works equally as well. > > I might suggest you start by making sure you hide all the devices, > boot your Dom0, then SSH into the box, start your VM, VNC into the VM, > and try adding the devices one at a time with "xl pci-attach" (or "xm > pci-attach"). I found this was easiest with a USB controller or the > sound card. Once you get one thing working, try adding more, and see > what you get! :) > > Cheers, > Andrew Bobulsky > > On Tue, May 15, 2012 at 5:33 AM, Adrien Urban > <adrien.urban@nbs-system.com> wrote: >> Hello, >> >> Like many trying and posting here, I''m new to VGA passthrough. >> >> Computer was bought, checking compatibility from >> http://wiki.xen.org/wiki/VTd_HowTo >> The hardware is mostly not exactly on the list, but mainly new versions of >> the same series (I think). >> >> >> IOMMU "seems" to be working (not 100% sure what to check). >> >> I used debian/wheezy kernel and xen, dom0 and HVM domu. Managed to get to >> "see" audio and video from the DomU, but couldn''t get it to "work". >> >> => screen wouldn''t show anything >> => mplayer can''t find an audio card. >> >> If I don''t hide the pci devices, i can get some sound working on dom0, and >> have console working all right on it. >> >> If I try to pass the devices, I effectively have no screen left giving an >> output for dom0, but the domU still doesn''t show anything (tryed with >> gfx_passthru). >> >> I''ll be working on it until I figure there is a hardware problem, or get it >> to work, but it might get easier if I could get some hints of what i''m doing >> wrong, if it''s something obvious for one of you. >> >> If anyone is willing to help, but need more input, just tell me what kind of >> input you would need. >> >> >> >> Processor: >> Version: AMD FX(tm)-8120 Eight-Core Processor >> Motherboard: >> Manufacturer: Gigabyte Technology Co., Ltd. >> Product Name: GA-990FXA-UD3 >> >> # lspci >> 00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI >> bridge (external gfx0 port B) (rev 02) >> 00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory >> Management Unit (IOMMU) >> 00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI >> bridge (PCI express gpp port H) >> 00:0a.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI >> bridge (external gfx1 port A) >> 00:0b.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI >> bridge (NB-SB link) >> 00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] (rev 40) >> 00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller >> 00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB EHCI Controller >> 00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller >> 00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB EHCI Controller >> 00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller >> (rev 42) >> 00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) >> 00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia >> (Intel HDA) (rev 40) >> 00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 >> LPC host controller (rev 40) >> 00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI >> Bridge (rev 40) >> 00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB OHCI2 Controller >> 00:15.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 >> PCI to PCI bridge (PCIE port 0) >> 00:15.1 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB700/SB800/SB900 >> PCI to PCI bridge (PCIE port 1) >> 00:15.2 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI >> bridge (PCIE port 2) >> 00:15.3 PCI bridge: Advanced Micro Devices [AMD] nee ATI SB900 PCI to PCI >> bridge (PCIE port 3) >> 00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB OHCI0 Controller >> 00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI >> SB7x0/SB8x0/SB9x0 USB EHCI Controller >> 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 0 >> 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 1 >> 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 2 >> 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 3 >> 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 4 >> 00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 15h Processor >> Function 5 >> 01:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller >> (rev 01) >> 02:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller >> (rev 02) >> 02:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller >> (rev 02) >> 03:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] >> (rev a2) >> 03:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller >> (rev a1) >> 04:0e.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] >> IEEE 1394 OHCI Controller (rev c0) >> 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B >> PCI Express Gigabit Ethernet controller (rev 06) >> 06:00.0 USB controller: Etron Technology, Inc. EJ168 USB 3.0 Host Controller >> (rev 01) >> # >> >> I passed : >> 0000:03:00.0 >> 0000:03:00.1 >> 0000:00:14.2 >> >> >> -- >> Adrien URBAN, Expert Systèmes - Réseaux - Sécurité - Responsable SN3 >> --- >> www.nbs-system.com, 140 Bd Haussmann, 75008 Paris >> Std: +33 158 566 080 / S.Tech: +33 158 566 088 / Fax: +33 158 566 081 >> Bargento 2012, le 29 mai 2012 au CNIT : www.bargento.com >> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users
Hello, On 05/15/12 13:39, Andrew Bobulsky wrote:> Hello Adrien, > > I''ve been tinkering with GA-990FX-UD7 the past few days, and its > lspci is remarkably similar to yours! Considering that the logical > layout (from a PCI standpoint) should be identical, you should be able > to get PCI passthrough to work.Thanks for confirming it should work. That helps motivate the researches :)> Without special patches, the gfx_passthru option won''t work right, so > leave it = 0, or undefined. This will pass the PCIe video card as a > secondary graphics adapter, and will work after your DomU OS boots up. > I can confirm that it works with my AMD gfx card on Windows 7, but > haven''t gotten it to work in Ubuntu DomU yet. That may be a kernel > thing.Why shouldn''t it wolk with gfx_passthru ? what patches would be required ? If it''s possible, i''ll work on it until I get them to boot directly on it.> Additionally, the sound device, which for me also shows up as > 00:14.2, works equally as well.Yeah, thanks. After trying a few more times, I managed to find that my tests were having trouble, and passing it at a later time, I managed to get some sound in the domU.> I might suggest you start by making sure you hide all the devices, > boot your Dom0, then SSH into the box, start your VM, VNC into the VM, > and try adding the devices one at a time with "xl pci-attach" (or "xm > pci-attach"). I found this was easiest with a USB controller or the > sound card. Once you get one thing working, try adding more, and see > what you get! :)Yes, I did that, and got sound. The sound card moved properly without any trouble. I added a second graphic card in the system, so i can send one, and keep one for the dom0 (just makes my life easier). The two VGA cards look like this : 01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400 GS] (rev a1) 04:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) As they are both nvidia, it''s really easy to change my X configuration to get from one to the other... but it also means I face the same bugs when something goes wrong. After sending the card to the domU, it starts loading the nouveau module, but ends with a divide error. (dmesg attached. 3 of them: with GT210, specifying an other pci slot, and with 8400). Trying to start a X in the domU fails. It seems to start correctly, but just doesn''t show anything on the screen, and trying to change vt (chvt 1) doesn''t do anything... (Xorg.0.log attached) Regards, Adrien _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users