From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:35617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ1r4-0007HZ-5C for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:42:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ1r3-0004mo-1W for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:42:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:56429) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ1r2-0004mg-Ox for qemu-devel@nongnu.org; Wed, 10 Apr 2013 16:42:52 -0400 Message-ID: <1365626570.2918.96.camel@bling.home> From: Alex Williamson Date: Wed, 10 Apr 2013 14:42:50 -0600 In-Reply-To: <58613.166.70.207.2.1365625927.squirrel@lavabit.com> References: <29682.93.184.66.138.1365510165.squirrel@lavabit.com> <1365527892.16420.153.camel@bling.home> <32071.216.218.134.12.1365546804.squirrel@lavabit.com> <1365548028.16420.180.camel@bling.home> <37001.31.172.30.1.1365552128.squirrel@lavabit.com> <1365608236.2918.15.camel@bling.home> <64475.85.24.190.247.1365613919.squirrel@lavabit.com> <1365618651.2918.88.camel@bling.home> <58613.166.70.207.2.1365625927.squirrel@lavabit.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] VFIO-VGA Issue List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: deniv@lavabit.com Cc: qemu-devel@nongnu.org On Wed, 2013-04-10 at 16:32 -0400, deniv@lavabit.com wrote: > >> However, turning gfx_passthru off did > >> the trick. Win7 started loading with cirrus and switched to HD7750 > >> halfway > >> through boot proccess. I didn't do any testing just let Windows > >> calculate > >> its score. The result was 7.4 and Aero was working. > > > > You should be able to do this with vfio too, use -vga cirrus and don't > > use the x-vga option on pci-assign. The x-vga enables legacy VGA > > support for boot and primary console, as a secondary head normal PCI > > device assignment should be sufficient. > > > Oh, how I wish it was true! Trying to load with cirrus and vfio-pci > results in BSOD: > Attemp to reset the display driver and recover from timeout failed. Is this a fresh windows install? Windows doesn't like change and will BSOD pretty easily when attaching graphics to an existing image. > Trying the old pci-assign with kvm results in non-working GFX. Windows > shows code 10 and sometimes code 43 for the card. What happens if you don't use a q35 machine? Windows is very particular about the PCIe type of a device and will often show Code 10 if it doesn't have a type compatible with a root complex. Alternatively you can use the q35 config in the docs directory with the -readconfig option and the bus= option on the pci-assign device to place the graphics behind a root port. > P.S. I'm starting to go nuts because VGA assignment doesn't work. The > system was built with this sole intention. So, now I'm considering buying > another graphic card. Can you suggest any consumer card that is easy to > pass and can leave through vm resets? This HD7750 just hung the host when > I tried destroying Xen's VM and running it again. Nope, VGA assignment is pretty bleeding edge here, but we've gotta start somewhere. Thanks, Alex