[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] vga passthrough with amd radeon r9 285



Dear Brian Paterni,

I am using qemu-xen-traditional and there is no problem with Xen VGA Passthrough with my AMD Radeon HD 6450 at all.

The following is my Windows 8.1 Enterprise HVM domU configuration file.

========================================================================================

builder='hvm'
memory = 8192
name = 'win81e'
vcpus=4
pae=1
acpi=1
apic=1
on_xend_stop='shutdown'
vif = [ 'mac=00:16:3e:68:e1:01,bridge=virbr0,model=e1000' ]
#vif=[ 'bridge=virbr0,type=ioemu,model=e1000' ]
#disk = [ '/etc/xen/win7.img,raw,hda,rw' , '/home/teo-en-ming/win7.iso,raw,hdc,devtype=cdrom' ] disk = [ '/etc/xen/win8.img,raw,hda,rw' , '/home/teo-en-ming/win81enterprise.iso,raw,hdc,devtype=cdrom' ]
device_model_version = 'qemu-xen-traditional'
boot='dc'
sdl=0
vnc=1
vncpasswd=''
vnclisten="192.168.1.39"
stdvga=0
serial='pty'
tsc_mode='default'
viridian=1
usb=1
usbdevice='tablet'
gfx_passthru=0
pci=[ '01:00.0', '01:00.1', '00:1b.0', '00:14.0', '00:1a.0', '00:1d.0' ]
localtime=1
pci_power_mgmt=1

==========================================================================================

Link: http://wiki.xen.org/mediawiki/images/6/6b/Xen_VGA_Passthrough_with_AMD_Display_Cards_-_Version_1.6.pdf

Note the pci=[] directive. I use it to pass through my USB 3.0 controllers so that my USB keyboard and USB mouse works in the Windows 8.1 Enterprise HVM domU.

You do not need to install any driver for "PCI Device". However, once you pass through the USB 3.0 controllers, drivers will be installed for the USB 3.0 controllers automatically by Windows. Drivers are needed for every piece of hardware so that the operating system kernel knows how to handle the hardware.

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore Citizen
Mobile Phone: +65 9117 5902



On 05/02/2015 09:22, Brian Paterni wrote:
On 02/04/2015 05:54 PM, Eric Houby wrote:
dom0 is debian unstable (linux 3.16, xen 4.4.1). Though with the
qemu- traditional device model removed in debian [1], gfx_passthru
is currently not possible with debian-provided packages (?)

Have you tried passing the video card to the VM without enabling
gfx_passthru?  I have found passing the video card as a secondary
video device works well and seems to be supported on more hardware.
Stephen and Eric, Thank You!

I think this is the key that I've been missing! I have tried disabling
gfx_passthru in the past, but I believe those few times I've been using
the qemu-xen-traditional device model instead of qemu-xen (upstream),
and nothing seemed to change. When I use qemu-xen, I finally have output
from the r9 285! So thanks for that!

Unfortunately though, I'm only able to get to the login screen since my
input devices do not function!!! The screen apparently is not frozen
since I'm able to see the cursor blinking.

Is there something else I could be missing wrt passing through a USB 3.0
controller via 'pci='?

If I vnc into the guest, device manager lists a 'PCI device' and a
'Universal Serial Bus Controller' with yellow flags under Other Devices.
Both claim Code 28 (drivers not installed). However, drivers are not
typically needed for usb controllers, are they?

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.