All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Beng Heng, Ng" <bengheng@eecs.umich.edu>
To: djmagee@mageenet.net
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Experimental results for VGA passthrough
Date: Mon, 08 Jun 2009 17:08:19 -0400	[thread overview]
Message-ID: <4A2D7DC3.7000101@eecs.umich.edu> (raw)
In-Reply-To: <4A2D7BC1.2090200@eecs.umich.edu>

Perhaps I should clarify that the low resolution with Intel driver is
observed in Windows XP. It works fine in Vista. I was able to run 3DMark
on Vista.

- Beng Heng

Beng Heng, Ng wrote:
> I noticed that Xen does not boot if only the Intel IGD is present and
> selected, i.e. only one graphics device.
> 
> Also, I'm not able to get high resolution if I passthrough Intel IGD and
> install the Intel Graphics Media Accelerator driver. Ironically, I can
> get higher resolution and color if I remove the driver. Has anyone
> encountered similar observations before?
> 
> - Beng Heng
> 
> djmagee@mageenet.net wrote:
>> The DQ45CB does not have enough PCI Express lanes to drive the IGD and a
>> x16 graphics card at the same time.
>>  
>> -----Original Message-----
>> From: xen-devel-bounces@lists.xensource.com
>> [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Beng Heng,
>> Ng
>> Sent: Thursday, June 04, 2009 11:09 AM
>> To: xen-devel
>> Subject: [Xen-devel] Experimental results for VGA passthrough
>>
>> Hi,
>>
>> I tried patching Xen 3.4 Testing c/s 19628 with vga passthrough code
>> (less HID passthrough), and did some tests. I made some modifications in
>> pci_setup to skip loading the emulated VGA bios and pci_load_option_roms
>> to load the passthrough VGA bios. My setup uses Intel DQ45CB and ATI
>> HD2600XT.
>>
>> The BDFs for the relevant devices are:
>> Intel IGD  00:02.0
>> ATI gfx    01:00.0, 01:00.1
>> There's 2 BDFs for ATI because one of them is for the Audio. Both have
>> to be passed through simultaneously.
>>
>> In the first scenario, Intel IGD is set up as the primary for Dom0. The
>> ATI gfx is passed through to DomU. Interestingly, it is the screen that
>> is connected to Intel's output that displays DomU (albeit with few
>> colors and low resolution). However, in the Device Manager, ATI is
>> reported. I believe this is because Intel's address space is being
>> mapped, instead of ATI's. Shutting down DomU does not return the display
>> to Dom0. The display remains at the last screen showing DomU shutting
>> down. Except for the shutting down phase, I've recorded the observations
>> in the first attachment.
>>
>> In the second scenario, Intel IGD is passed through to DomU. The ATI gfx
>> is thus absent. However, when DomU is booted, there is an IOMMU page
>> fault. This is shown in the second attachment starting from Line 659.
>> The system subsequently hangs. Does anyone have an explanation to what's
>> going on in this case?
>>
>> So, VGA passthrough works, but seems extremely flaky. Any
>> comments/suggestions to correct the problems observed will be greatly
>> appreciated.
>>
>> Thanks.
>>
>> - Beng Heng
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2009-06-08 21:08 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 15:09 Experimental results for VGA passthrough Beng Heng, Ng
2009-06-07 18:21 ` djmagee
2009-06-08 20:59   ` Beng Heng, Ng
2009-06-08 21:08     ` Beng Heng, Ng [this message]
2009-06-09  1:39       ` Beng Heng, Ng
  -- strict thread matches above, loose matches on Subject: below --
2009-06-04 17:09 Beng Heng, Ng
2009-06-04 17:43 ` Jean Guyader
2009-06-04 18:27   ` Beng Heng, Ng
     [not found]     ` <f68b66460906041220w243c4982pe0b485347f13fa50@mail.gmail.com>
     [not found]       ` <4A2820D0.3010301@eecs.umich.edu>
     [not found]         ` <f68b66460906041241y4a5bbdaax99761a87d05ad5cb@mail.gmail.com>
2009-06-05  1:30           ` Beng Heng, Ng
2009-06-05  6:55             ` Jean Guyader
2009-06-05 23:00               ` Beng Heng, Ng
2009-06-05 23:01                 ` Beng Heng, Ng
2009-06-06  9:59                   ` Jean Guyader
2009-06-06 22:40                     ` Beng Heng, Ng
2009-06-07  3:07       ` Beng Heng, Ng
2009-06-07  3:42         ` Jun Koi
2009-06-08  5:36           ` Beng Heng, Ng
2009-06-08  8:29             ` Andrew Lyon
2009-06-08 13:51               ` Beng Heng, Ng
2009-06-08 14:09                 ` Beng Heng, Ng
2009-06-08 14:19                 ` Andrew Lyon
2009-06-08 14:25                   ` Beng Heng, Ng
2009-06-08 16:11                     ` Jean Guyader
2009-06-08 16:15                       ` Beng Heng, Ng
2009-06-08 16:19                         ` Beng Heng, Ng
2009-06-09 22:28                           ` Jean Guyader
2009-06-09 16:05                         ` Jean Guyader
2009-06-09 17:44                           ` Beng Heng, Ng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A2D7DC3.7000101@eecs.umich.edu \
    --to=bengheng@eecs.umich.edu \
    --cc=djmagee@mageenet.net \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.