<html><head></head><body lang="de-DE" style="background-color: rgb(255, 255, 255); line-height: initial;">                                                                                      <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">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.‎ </div>                                                                                                                                     <div style="width: 100%; font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">I am starting the kernel with </div>                                                                                                                                                                                                   <div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.allow_unsafe_assigned_interrupts=1 kvm.ignore_msrs=1</div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">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</div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);">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.</div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><br></div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Regards</span></div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Karsten Mettke. </span></div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;"><br></span></div><div style="font-size: initial; font-family: Calibri, 'Slate Pro', sans-serif, sans-serif; color: rgb(31, 73, 125); text-align: initial; background-color: rgb(255, 255, 255);"><span style="font-size: initial; line-height: initial; text-align: initial;">Disclaimer: i am just a nerd :)</span></div>                                                                                                                                                                                  <table width="100%" style="background-color:white;border-spacing:0px;"> <tbody><tr><td colspan="2" style="font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);">                           <div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0in 0in; font-family: Tahoma, 'BB Alpha Sans', 'Slate Pro'; font-size: 10pt;">  <div><b>Von: </b>Muted Bytes</div><div><b>Gesendet: </b>Sonntag, 24. April 2016 09:27</div><div><b>An: </b>Karsten Mettke; vfio-users</div><div><b>Betreff: </b>Re: AW: [vfio-users] GPU HDMI audio passthrough weird behavior?</div></div></td></tr></tbody></table><div style="border-style: solid none none; border-top-color: rgb(186, 188, 209); border-top-width: 1pt; font-size: initial; text-align: initial; background-color: rgb(255, 255, 255);"></div><br><div id="_originalContent" style=""><p dir="ltr">Thanks for the suggestion, however if I try to separate out the function then I get a code 10 error and device cannot start. </p>
<p dir="ltr">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.</p>
<div class="gmail_quote">On Apr 23, 2016 6:54 PM, "Karsten Mettke" <<a href="mailto:k.mettke@d4net.de">k.mettke@d4net.de</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<div class="quoted-text"><br>
Gesendet von meinem BlackBerry 10-Smartphone.<br>
  Originalnachricht  <br>
Von: Muted Bytes<br>
Gesendet: Sonntag, 24. April 2016 04:47<br>
An: vfio-users<br>
Betreff: [vfio-users] GPU HDMI audio passthrough weird behavior?<br>
<br>
</div><div class="elided-text">Hi all,<br>
<br>
Has anyone experienced weird behavior when assigning HDMI function of<br>
GPU along with the GPU itself in Windows guest? In my case, I have:<br>
<br>
02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc.<br>
[AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition] [1002:6818]<br>
02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI]<br>
Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]<br>
[1002:aab0]<br>
<br>
and pass these through using<br>
-device vfio-pci,host=02:00.0,addr=00.0,multifunction=on \<br>
-device vfio-pci,host=02:00.1,addr=00.1 \<br>
<br>
however, in the guest the 1002:aab0 HDMI Audio shows up under system<br>
devices as a "High Definition Audio Bus" rather than an HDMI<br>
device/controller, and what shows up as the "AMD High Definition Audio<br>
Device" itself is something which is 1002:aa01. Where does this<br>
1002:aa01 come from? Is this correct that 1002:aab0 device at 02:00.1<br>
is the "bus"? As a result of this behavior, a completely different<br>
device as "Acer DynaVivid Graphics Dock" is showing up on my system as<br>
a result of the "High Definition Audio Bus" after installing AMD<br>
drivers. None of my devices are Acer, and certainly nothing should be<br>
a graphics dock?<br>
<br>
Regards,<br>
MB<br>
<br>
</div><div class="elided-text">_______________________________________________<br>
vfio-users mailing list<br>
<a href="mailto:vfio-users@redhat.com">vfio-users@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/vfio-users" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/vfio-users</a><br>
</div></blockquote></div>
<br><!--end of _originalContent --></div><br></body></html>