I''ve been doing some research and have seen the success by David Techer and Teo En Ming in getting a Windows guest to work with VGA passthrough under Xen but I''m wondering if anyone has been able to get it working with a Linux guest. Specifically, I''m trying to run a RHEL 6.4 guest with a Nvidia Quadro graphics card. At the moment, I''m running XCP 6.1 which is xen 4.1.3-1.6.10 under the covers. I''m not sure if this will work or not. I''ve got a hvm guest running and I''ve been able to assign the GPU to it. I''m at the point where the Nvidia driver loads and I can see a card in the guest with lspci, however the GPU isn''t functional and I get a black screen. I think the issue may be vgabios related because if I cat /proc/driver/nvidia/gpus/0/information I get this: Model: Quadro K5000 IRQ: 40 GPU UUID: GPU-????????-????-????-????-???????????? Video BIOS: ??.??.??.??.?? Bus Type: PCI-E DMA Size: 32 bits DMA Mask: 0xffffffff Bus Location: 0000:00.06.0 If there are patches I need to make this work, I''d appreciate a pointer. I tried following Teo En Ming''s document from here: http://wiki.xen.org/wiki/Xen_VGA_Passthrough#Status_of_VGA_graphics_passthru_in_Xen But unfortunately, at least over the last few days, I can''t get the patches referenced at http://www.davidgis.fr/download because the site is down. Does anyone have these patches and do you know if they can be applied to XCP 1.6? -- - Steven Seed Sr Systems Engineer Walt Disney Animation Studios 818-460-9453 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Aside from Windows 7 guests (which work great under XCP 1.6), I''ve only tried GPU passthrough with Ubuntu guests. Under XCP 1.6, GPU passthrough seems to work pretty will with Ubuntu 12.04 as a guest when using a Radeon HD 6670 as a secondary card combined with whatever version of Catalyst (not the updates) that is in found Ubuntu 12.04 repositories. (I haven''t had any luck with any other version of Catalyst.) But as for Ubuntu 12.10, 13.04 and 13.10 guest, I''ve had no such luck with GPU passthrough, no matter what version of Catalyst I try. Would enjoy learning if anyone else has had better luck with any of these newer versions of Ubuntu. Oh, since you mention XCP, you might want to consider posting in the Xen-API list (Xen-api@lists.xen.org). On Fri, May 10, 2013 at 2:19 PM, Steven Seed < steven.seed@disneyanimation.com> wrote:> I''ve been doing some research and have seen the success by David Techer > and Teo En Ming in getting a Windows guest to work with VGA passthrough > under Xen but I''m wondering if anyone has been able to get it working with > a Linux guest. Specifically, I''m trying to run a RHEL 6.4 guest with a > Nvidia Quadro graphics card. At the moment, I''m running XCP 6.1 which is > xen 4.1.3-1.6.10 under the covers. I''m not sure if this will work or not. > I''ve got a hvm guest running and I''ve been able to assign the GPU to it. > I''m at the point where the Nvidia driver loads and I can see a card in the > guest with lspci, however the GPU isn''t functional and I get a black > screen. I think the issue may be vgabios related because if I cat > /proc/driver/nvidia/gpus/0/information I get this: > > Model: Quadro K5000 > IRQ: 40 > GPU UUID: GPU-????????-????-????-????-???????????? > Video BIOS: ??.??.??.??.?? > Bus Type: PCI-E > DMA Size: 32 bits > DMA Mask: 0xffffffff > Bus Location: 0000:00.06.0 > > > If there are patches I need to make this work, I''d appreciate a pointer. I > tried following Teo En Ming''s document from here: > > > http://wiki.xen.org/wiki/Xen_VGA_Passthrough#Status_of_VGA_graphics_passthru_in_Xen > > But unfortunately, at least over the last few days, I can''t get the > patches referenced at http://www.davidgis.fr/download because the site is > down. > > Does anyone have these patches and do you know if they can be applied to > XCP 1.6? > > > -- > - > Steven Seed > Sr Systems Engineer > Walt Disney Animation Studios > 818-460-9453 > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Thanks for the info. It''s encouraging that you at least had it working at one point. I''ll post my question to Xen-API as well. On Fri, May 10, 2013 at 12:45 PM, Gizmo Chicken <gizmochicken@gmail.com>wrote:> Aside from Windows 7 guests (which work great under XCP 1.6), I''ve only > tried GPU passthrough with Ubuntu guests. Under XCP 1.6, GPU passthrough > seems to work pretty will with Ubuntu 12.04 as a guest when using a Radeon > HD 6670 as a secondary card combined with whatever version of Catalyst (not > the updates) that is in found Ubuntu 12.04 repositories. (I haven''t had > any luck with any other version of Catalyst.) > > But as for Ubuntu 12.10, 13.04 and 13.10 guest, I''ve had no such luck with > GPU passthrough, no matter what version of Catalyst I try. Would enjoy > learning if anyone else has had better luck with any of these newer > versions of Ubuntu. > > Oh, since you mention XCP, you might want to consider posting in the > Xen-API list (Xen-api@lists.xen.org). > > > On Fri, May 10, 2013 at 2:19 PM, Steven Seed < > steven.seed@disneyanimation.com> wrote: > >> I''ve been doing some research and have seen the success by David Techer >> and Teo En Ming in getting a Windows guest to work with VGA passthrough >> under Xen but I''m wondering if anyone has been able to get it working with >> a Linux guest. Specifically, I''m trying to run a RHEL 6.4 guest with a >> Nvidia Quadro graphics card. At the moment, I''m running XCP 6.1 which is >> xen 4.1.3-1.6.10 under the covers. I''m not sure if this will work or not. >> I''ve got a hvm guest running and I''ve been able to assign the GPU to it. >> I''m at the point where the Nvidia driver loads and I can see a card in the >> guest with lspci, however the GPU isn''t functional and I get a black >> screen. I think the issue may be vgabios related because if I cat >> /proc/driver/nvidia/gpus/0/information I get this: >> >> Model: Quadro K5000 >> IRQ: 40 >> GPU UUID: GPU-????????-????-????-????-???????????? >> Video BIOS: ??.??.??.??.?? >> Bus Type: PCI-E >> DMA Size: 32 bits >> DMA Mask: 0xffffffff >> Bus Location: 0000:00.06.0 >> >> >> If there are patches I need to make this work, I''d appreciate a pointer. >> I tried following Teo En Ming''s document from here: >> >> >> http://wiki.xen.org/wiki/Xen_VGA_Passthrough#Status_of_VGA_graphics_passthru_in_Xen >> >> But unfortunately, at least over the last few days, I can''t get the >> patches referenced at http://www.davidgis.fr/download because the site >> is down. >> >> Does anyone have these patches and do you know if they can be applied to >> XCP 1.6? >> >> >> -- >> - >> Steven Seed >> Sr Systems Engineer >> Walt Disney Animation Studios >> 818-460-9453 >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xen.org >> http://lists.xen.org/xen-users >> > >-- - Steven Seed Sr Systems Engineer Walt Disney Animation Studios 818-460-9453 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello Steven, On May 10, 2013, at 2:23 PM, Steven Seed <steven.seed@disneyanimation.com> wrote:> I''ve got a hvm guest running and I''ve been able to assign the GPU to it. I''m at the point where the Nvidia driver loads and I can see a card in the guest with lspci, however the GPU isn''t functional and I get a black screen. > <snip snip!>I had the exact same problem on my Dom0 under all of the Kernels I''ve tried except for 3.8.11 and 3.4.44. The 3.8 kernel had other issues, but 3.4.44 works great. I''m using an AMD card, and whether or not I had the proprietary driver installed didn''t seem to matter. Just my two cents, of course! Hope it helps :) Best Regards, Andrew Bobulsky
I have a radeon HD7950, and tried secondary GPU passthrough with ubuntu guest 12.10 and 13.04, and also with a ArchLinux guest, and it didn''t work (no OpenGL, fglrxinfo segfault ...). On 05/10/2013 09:45 PM, Gizmo Chicken wrote:> Aside from Windows 7 guests (which work great under XCP 1.6), I''ve > only tried GPU passthrough with Ubuntu guests. Under XCP 1.6, GPU > passthrough seems to work pretty will with Ubuntu 12.04 as a guest > when using a Radeon HD 6670 as a secondary card combined with whatever > version of Catalyst (not the updates) that is in found Ubuntu 12.04 > repositories. (I haven''t had any luck with any other version of > Catalyst.) > > But as for Ubuntu 12.10, 13.04 and 13.10 guest, I''ve had no such luck > with GPU passthrough, no matter what version of Catalyst I try. Would > enjoy learning if anyone else has had better luck with any of these > newer versions of Ubuntu.Thanks for the info, I will try with a 12.04 guest then. -- Jocelyn _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I''m using XCP 1.6 which is on an older 2.6.32 kernel, so I don''t think I can upgrade to 3.4.44.* *If you''ve had luck with 3.4.44, I may just scrap XCP and try installing a RHEL 6.4 hypervisor with xen. I have xen 4.2.2 packages I can install there with the 3.8.12 kernel. I tried this before, but I was having trouble getting the GPU passthrough to work at all there. On Fri, May 10, 2013 at 2:14 PM, Andrew Bobulsky <rulerof@gmail.com> wrote:> Hello Steven, > > On May 10, 2013, at 2:23 PM, Steven Seed > <steven.seed@disneyanimation.com> wrote: > > > I''ve got a hvm guest running and I''ve been able to assign the GPU to it. > I''m at the point where the Nvidia driver loads and I can see a card in the > guest with lspci, however the GPU isn''t functional and I get a black screen. > > <snip snip!> > > I had the exact same problem on my Dom0 under all of the Kernels I''ve > tried except for 3.8.11 and 3.4.44. The 3.8 kernel had other issues, > but 3.4.44 works great. > > I''m using an AMD card, and whether or not I had the proprietary driver > installed didn''t seem to matter. > > Just my two cents, of course! Hope it helps :) > > Best Regards, > Andrew Bobulsky >-- - Steven Seed Sr Systems Engineer Walt Disney Animation Studios 818-460-9453 _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users