Originally Posted by Chetyre
I've been trying to get vga passtrough working for a while now and I found this excelent topic, so I was wondering if anyone could help me.
First, my hardware is the following:
- Asrock Z77 Extreme4
- Intel I7 3770
- 2gb ram (temporary, more is on the way)
- Nvidia GTS250 (which is a rebranded 9800, which I know some people managed to get working
- Corsair force GT 90gb
- two other conventional HDs that I will also try to passthrough (can I even passthrough HDs? I could never find an answer to this)
I am running CentOS 6.3 without a graphical environment.
My problem is: whenever I try to activate gfx passthru, I just get no signal whatsoever on the monitor. Not even from a bios, and the windows VM doesn't seem to start either as I'm unable to ping it or anything. If I disable the option I'm able to work with it just fine.
I don't have my config with me right now, but I basically copied it from the config on the first post.
I'd really appreciate if any of you could help me with this.
Looks like your VGA passthrough is kinda working. When you activate gfx passthrough the graphics card is literally disconnected from Linux/dom0 and attached to pciback, that means you should see nothing on that display. If you are passing a secondary GPU, your primary should still be available. Else you need to connect to your PC via ssh -X, VNC or similar from another PC.
Run xm create ... and afterwards virt-manager, click on your Windows VM and open the console. Since you have Windows installed, it might display some messages relating to your new graphics card, or just boot into Windows and ask for driver installation. Until you install the Windows driver for your graphics card and reboot, you most likely won't be able to see any output on the screen attached to that graphics card. virt-manager has a built-in VNC client that makes it easy to connect to the VM.
P.S.: Make sure your /etc/xen/xend-config.sxp file contains:
Regarding HD passthrough, you cannot pass through individual drives, but the controller(s). Most motherboards have several SATA controllers; mine has 3: the Intel X79 SATA controller, an ASMedia SATA controller for two external eSATA ports, and a useless Marvell SATA controller that doesn't work under Xen. I added another ASMedia controller card to get more SATA ports for internal drives (currently 1 SSD, 5 HDD drives + 1 DVD R/W).
BUT, in my case there is a catch with the two ASMedia controllers: If I pass through one of them, I cannot access/use the other.
Actually, I don't see a reason to pass through a SATA controller, except perhaps for external eSATA media (e.g. removable backup disks). For good disk I/O performance, get the GPLPV drivers for Windows here: http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers
. They work wonders, especially for disk drives! They also provide a 10Gb bridge to the dom0, so Samba file transfers between Windows and Linux (dom0) are running nicely and the limit seems to be the read write speed of the drives. I take it for granted that you use LVM drives?
Hope it helps.Edited by powerhouse - 1/9/13 at 10:52am