Did you set the target address to a different Slot? Code 10 happened when I was trying to set the hdmi card to the same Slot the GPU was,but to function x01.‎ 
I am starting the kernel with
vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.allow_unsafe_assigned_interrupts=1 kvm.ignore_msrs=1
It was required for the GPU already so i dontknow if that would help with hdmi. Ommitting those would cause the vm not to start with either code 10 or a Lot of dmesg entries about blocked/invalid msrs

I guess it is grouping it because the device ID is messed up, and windows thinks it is a different device, in your case the Acer dock.

Regards
Karsten Mettke.

Disclaimer: i am just a nerd :)
Von: Muted Bytes
Gesendet: Sonntag, 24. April 2016 09:27
An: Karsten Mettke; vfio-users
Betreff: Re: AW: [vfio-users] GPU HDMI audio passthrough weird behavior?

Thanks for the suggestion, however if I try to separate out the function then I get a code 10 error and device cannot start.

Ultimately, I'm wondering why Windows is grouping the gpu hdmi audio bus and controller as an external Acer "graphics dock" when no such thing exists in the system.

On Apr 23, 2016 6:54 PM, "Karsten Mettke" <k.met...@d4net.de> wrote:
Maybe i should clarify. I meant passing them seperate into own Slots in the guest. This way you can ommit multifunction=on. Which Made it working for me.

Gesendet von meinem BlackBerry 10-Smartphone.
  Originalnachricht  
Von: Muted Bytes
Gesendet: Sonntag, 24. April 2016 04:47
An: vfio-users
Betreff: [vfio-users] GPU HDMI audio passthrough weird behavior?

Hi all,

Has anyone experienced weird behavior when assigning HDMI function of
GPU along with the GPU itself in Windows guest? In my case, I have:

02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.
[AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] [1002:6818]
02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]
Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
[1002:aab0]

and pass these through using
-device vfio-pci,host=02:00.0,addr=00.0,multifunction=on \
-device vfio-pci,host=02:00.1,addr=00.1 \

however, in the guest the 1002:aab0 HDMI Audio shows up under system
devices as a "High Definition Audio Bus" rather than an HDMI
device/controller, and what shows up as the "AMD High Definition Audio
Device" itself is something which is 1002:aa01. Where does this
1002:aa01 come from? Is this correct that 1002:aab0 device at 02:00.1
is the "bus"? As a result of this behavior, a completely different
device as "Acer DynaVivid Graphics Dock" is showing up on my system as
a result of the "High Definition Audio Bus" after installing AMD
drivers. None of my devices are Acer, and certainly nothing should be
a graphics dock?

Regards,
MB

_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users


_______________________________________________
vfio-users mailing list
vfio-users@redhat.com
https://www.redhat.com/mailman/listinfo/vfio-users

Reply via email to