All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mats Petersson <mats.petersson@citrix.com>
To: xen-devel@lists.xen.org
Subject: Re: VGA passthrough and AMD drivers
Date: Fri, 7 Dec 2012 15:00:19 +0000	[thread overview]
Message-ID: <50C20483.4020200@citrix.com> (raw)
In-Reply-To: <36774CA35642C143BCDE93BA0C68DC5702C539CC@dulac>

On 07/12/12 14:12, Aurélien MILLIAT wrote:
>
> Hi all,
>
> I have made some tests to find a good driver for FirePro V8800 on 
> windows 7 64bit HVM.
>
> I have been focused on ‘advanced features’: quad buffer and active 
> stereoscopy, synchronization …
>
> The results, for all FirePro drivers (of this year); I can’t get the 
> quad buffer/active stereoscopy feature.
>
> But they work on a native installation.
>
Can you describe the setup a little more?
How many graphic cards per guest?
How many guests? On how many hosts?
>
> The only driver that allows this feature is a Radeon HD driver 
> (Catalyst 12.10 WHQL).
>
> But this driver becomes unstable when an application using active 
> stereo and synchronization is closed:
>
> -The synchronization between two computers is lost.
>
> -The CCC can crash when the synchronization is made again.
>
> Someone have any clues about this?
>
I don't know exactly how this works on AMD/ATI graphics cards, but I 
have worked with synchronisation on other graphics cards about 7 years 
ago, so I have some idea of how you solve the various problems.

What I don't quite understand is why it would be different between a 
virtual environment and the bare-metal ("native") install. My immediate 
guess is that there is a timing difference, for one of two reasons:
1. IOMMU is adding extra delays to the graphics card reading system memory.
2. Interrupt delays due to hypervisor.
3. Dom0 or other guest domains "stealing" CPU from the guest.
I don't think those are easy to work around (as they all have to 
"happen" in a virtual system), but I also don't REALLY understand why 
this should cause problems in the first place, as there isn't any 
guarantee as to the timings of either memory reads, interrupt 
latency/responsiveness or CPU availability in Windows, so the same 
problem would appear in native systems as well, given "the right" 
circumstances.

What exactly is the crash in CCC?

(CCC stands for "Catalyst Control Center" - which I think is a Windows 
"service" to handle certain requests from the driver that can't be done 
in kernel mode [or shouldn't be done in the driver in general]).

--
Mats
>
> Thanks,
>
> Aurelien
>

  reply	other threads:[~2012-12-07 15:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 14:12 VGA passthrough and AMD drivers Aurélien MILLIAT
2012-12-07 15:00 ` Mats Petersson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-07 16:51 Aurélien MILLIAT
2012-12-07 17:04 ` Mats Petersson
2012-12-10 14:11 Aurélien MILLIAT
2012-12-10 14:29 ` Mats Petersson
2012-12-10 16:49 Aurélien MILLIAT
2012-12-11 10:47 ` Sander Eikelenboom
2012-12-11 17:07   ` Aurélien MILLIAT

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=50C20483.4020200@citrix.com \
    --to=mats.petersson@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /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.