WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support

To: "Huang2, Wei" <Wei.Huang2@xxxxxxx>, "Kay, Allen M" <allen.m.kay@xxxxxxxxx>, "Ian Jackson" <ian.jackson@xxxxxxxxxxxxx>
Subject: RE: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support
From: <djmagee@xxxxxxxxxxxx>
Date: Fri, 8 Oct 2010 11:52:34 -0400
Cc: "Wang2, Wei" <Wei.Wang2@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 08 Oct 2010 09:22:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <EE335F95F28A664DB4A21289D2AA053B8E1EA4C8@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <EE335F95F28A664DB4A21289D2AA053B8E1E9B35@xxxxxxxxxxxxxxxxxxx><987664A83D2D224EAE907B061CE93D530163EA96FD@xxxxxxxxxxxxxxxxxxxxxxxxxxxx><EE335F95F28A664DB4A21289D2AA053B8E1EA1CF@xxxxxxxxxxxxxxxxxxx><987664A83D2D224EAE907B061CE93D530163EA986C@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <EE335F95F28A664DB4A21289D2AA053B8E1EA326@xxxxxxxxxxxxxxxxxxx> <EECC125FCE18E740AF561189E1260285052799@xxxxxxxxxxxxxxxxxxxxxxx> <EE335F95F28A664DB4A21289D2AA053B8E1EA4C8@xxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: ActmP7cJfT/ottzES7Wm6TPsvkyUYwANyR9wAAkft/AAB017EAANsgCQAACNcEAAAt7l0AAAoobg
Thread-topic: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support

Wei,

                These were guests that had never seen the catalyst driver before.  I booted each three with the graphics device and usb devices assigned, they worked fine using the basic VGA driver, then installed fresh Catalyst 10.9, rebooted, and each one crashed.

 

                Let me know if there’s any other info I can provide that will help you debug.  The motherboard is a DQ45CB, running xen-unstable c/s 22155 using ‘dom0_mem=768M iommu=1’ on the grub line, and using pvops Dom0 from stable-2.6.32.x commit 179eca50.

 

Doug Magee

 

From: Huang2, Wei [mailto:Wei.Huang2@xxxxxxx]
Sent: Friday, October 08, 2010 11:41 AM
To: djmagee@xxxxxxxxxxxx; Kay, Allen M; Ian Jackson
Cc: Xen-devel; Wang2, Wei
Subject: RE: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Doug,

 

Regarding Catalyst driver, we never saw guest crashing. Was it a fresh Catalyst installation or an existing guest image? We felt this VBIOS patch might not provide all necessary resources to driver, which got upset. Currently we are debugging it with our driver team and will let you know the update.

 

Thanks,

-Wei

 

From: djmagee@xxxxxxxxxxxx [mailto:djmagee@xxxxxxxxxxxx]
Sent: Friday, October 08, 2010 9:41 AM
To: Huang2, Wei; Kay, Allen M; Ian Jackson
Cc: Xen-devel
Subject: RE: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Wei,

                I’ve tested with a Radeon 4770 and it the VBIOS works without a problem, through many guest (re)boots, so it seems pretty solid.  I tested a linux guest (fairly standard Fedora 12), Windows XP, and Windows 7 (without accelerated drivers).  The open radeon linux driver works fine.

 

The Catalyst driver fails in Windows XP (STOP 0x000000EA, thread stuck in device driver), windows 7 (STOP 0x00000116, driver fails to properly reset?), and linux (total system freeze).  This seems to be different than the ‘Blank Screen’ problem you report, as the driver is clearly not functioning properly.

 

Doug Magee

 

From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Huang2, Wei
Sent: Friday, October 08, 2010 9:57 AM
To: Kay, Allen M; Ian Jackson
Cc: Xen-devel
Subject: [Xen-devel] RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Allen,

 

Yes, Catalyst driver is the one from public website. The driver still has a  minor issue with this VBIOS patch. The purpose of submitting VBIOS patch is to get community feedbacks. After we figure out the root cause of black screen, I will formally submit a patch for inclusion.

 

Thanks,

-Wei

 

From: Kay, Allen M [mailto:allen.m.kay@xxxxxxxxx]
Sent: Friday, October 08, 2010 2:21 AM
To: Huang2, Wei; Ian Jackson
Cc: Xen-devel
Subject: RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Wei,

 

Is Catalyst driver the one on AMD website?  I think that’s what I have in my win7 guest and it matches the symptom you are describing.  “lspci” reports my ATI card is a V5700 – although it says v3750 on the box.  Where can I get a working driver?

 

The patch looks reasonable to me in general.

 

Allen

 

From: Huang2, Wei [mailto:Wei.Huang2@xxxxxxx]
Sent: Thursday, October 07, 2010 9:06 PM
To: Kay, Allen M; Ian Jackson
Cc: Xen-devel
Subject: RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Allen,

 

Thanks for testing it out. We have tested this patch with Radeon 4850, 4870, FirePro V5700 and FirePro M5800. Unfortunately we don’t have V3750 at hand. It is very possible this patch isn’t compatible with V3750. We will try to get hold of one for debugging. For graphics which work with this path, users should be able to get rid of emulated gfx (such as Cirrus). I have successfully installed a Windows guest VM using this patch.

 

I also want to point out that there is still an issue. Users will see a black screen after installing Catalyst driver. Even though the screen appears to be black, the driver is actually functioning correctly (3DMark can be run with external monitor). Our driver team is currently debugging it and they believe this is easy to fix.

 

What is your opinion on this patch (and the solution) in general?

 

-Wei

 

From: Kay, Allen M [mailto:allen.m.kay@xxxxxxxxx]
Sent: Thursday, October 07, 2010 6:58 PM
To: Huang2, Wei; Ian Jackson
Cc: Xen-devel
Subject: RE: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Wei,

 

This patch did not cause any problems with Intel IGD passthrough for me.  However, the monitor remained blank if I pass through ATI Firepro V3750 either as the primary display device or the secondary device (gfx_passthru=1/0).  Passing it through as the secondary device used to work.

 

Have you tested the patch with this graphics card?

 

Allen

 

From: Huang2, Wei [mailto:Wei.Huang2@xxxxxxx]
Sent: Thursday, October 07, 2010 9:57 AM
To: Ian Jackson
Cc: Xen-devel; Kay, Allen M
Subject: [RFC][QEMU] ATI graphics VBIOS passthru support

 

Hi Ian,

 

There have been a lot of interest on gfx passthru recently. This patch enables ATI VBIOS in passthru mode. The guest VM system BIOS (including Windows boot logo) can now show in passthru screen. We have tested with various Windows and Linux guest VMs. Please help review it. We are also looking forward to comments and suggestions from Xen community users.

 

Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>

Signed-off-by: Wei Wang <wei.wang2@xxxxxxx>

 

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel