Skip to contentSkip to conversation

Q77 IGD instantly crashes on xen-pciback bind.

DISCUSSION Dr. Greg Wettstein 1 participant 1 message Dec 2, 2014

lore
Share & tools
lore
#0 lore raw

On Nov 29, 1:09pm, Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= wrote:
} Subject: Re: [Xen-devel] Q77 IGD instantly crashes on xen-pciback bind.

Good morning Pasi, thanks for taking the time to follow up.

Quoted 37 lines
Quoted 37 lines
Quoted 11 lines
Quoted 5 lines

So we are obviously working with qemu-dm-traditional and with the IGD/LVDS BIOS configuration issue fixed the adapater passthrough is working and Windows7 is coming up and detecting the IGD as a standard VGA display adapter. Additional invocations of the VM after the first one result in failed passthrough with a garbled display.

This is probably due to the current lack of slot/bus reset in xen-pciback, Konrad has a preliminary kernel patch for xen-pciback that does this. I have attached the patch, though it has some rough edges in the design :-)

Quoted 6 lines

I'm currently running with his 3.19 xen-pciback patches series + the preliminary patch for slot/bus reset and rebooting a guest with vga/pci passthrough now works. (i'm running with a radeon card, passed through as a secondary card to the emulated qemu one, in a linux guest using qemu-xen, so i can't help you with your other questions and problems).

Thanks for taking the time for respond and forward along the patch.

I back ported the do_flr patch into the 3.14.x kernel and spent some time working with it. I thought it might be useful to others to document what we ran into.

First of all the issue with the unsuccessful boot of Windows after the first invocation doesn't appear to have anything to do with resetting the card. This was fixed by installing the most recent version of the Intel HD drivers in the Windows guest.

If IGD passthrough is done without the HD drivers Windows 7 appears to use its standard VGA driver which seems to be able to initialize and run the IGD device but does not appear to shutdown the device in a manner in which it can be re-started. After the first invocation of the guest is shutdown the screen goes to a solid color. Subsequent invocations result in the flashing multi-color screens which others have documented.

Quoted 8 lines
Quoted 4 lines

With the HD drivers installed IGD passthrough works fine through multiple invocations of a guest with the stock xen-pciback in 3.14.x. We ran 40-50 repetitive Windows guest invocations and every one was completely deterministic.

It would be nice if you could let us know the exact Intel IGD Windows driver version that worked well for you? It might be a good reference for others aswell.

I just fired up a pass-through session to check on this. The driver version and date are as follows:

	Driver Date:		09/26/2014
	Driver Version:		10.18.10.29458

They were the most current version of the driver available on Intel's website as of a week ago.

As soon as we sort out the details on whether or not we can get the IGD device re-started we will put a patch up on our FTP server with the changes needed to implement both ATI and IGD passthrough on 4.4.1 as a resource to the community.

Quoted 3 lines

Thanks,

-- Pasi

Have a good day.

Greg

}-- End of excerpt from Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?=

As always,

Dr. G.W. Wettstein, Ph.D.   Enjellic Systems Development, LLC.
4206 N. 19th Ave.           Specializing in information infra-structure
Fargo, ND  58102            development.

PH: 701-281-1686
FAX: 701-281-3949 EMAIL: [email protected]
------------------------------------------------------------------------------
"In the future, company names will be a 32-character hex string."
-- Bruce Schneier