<div dir="ltr"><div>Ubuntu 20.04:</div><div>dmesg | grep -e DMAR -e IOMMU<br>[ 0.007620] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001)<br>[ 0.007633] ACPI: Reserving DMAR table memory at [mem 0xd8ffeae8-0xd8ffeb9f]<br>[ 0.097851] DMAR: Host address width 39<br>[ 0.097852] DMAR: DRHD base: 0x000000fed90000 flags: 0x0<br>[ 0.097855] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a<br>[ 0.097856] DMAR: DRHD base: 0x000000fed91000 flags: 0x1<br>[ 0.097858] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da<br>[ 0.097858] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff<br>[ 0.097859] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff<br>[ 0.097861] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1<br>[ 0.097861] DMAR-IR: HPET id 0 under DRHD base 0xfed91000<br>[ 0.097862] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.<br>[ 0.098256] DMAR-IR: Enabled IRQ remapping in x2apic mode<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 3 Jul 2021 at 17:28, Bryan Cebuliak <<a href="mailto:bryan.cebuliak@gmail.com">bryan.cebuliak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>bullseye with intel_iommu=on,igfx_off:</div><div>sudo dmesg | grep -e DMAR -e IOMMU</div>[ 0.007516] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001)<br>[ 0.007531] ACPI: Reserving DMAR table memory at [mem 0xd8ffeae8-0xd8ffeb9f]<br>[ 0.019109] DMAR: Disable GFX device mapping<br>[ 0.047926] DMAR: Host address width 39<br>[ 0.047926] DMAR: DRHD base: 0x000000fed90000 flags: 0x0<br>[ 0.047930] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a<br>[ 0.047930] DMAR: DRHD base: 0x000000fed91000 flags: 0x1<br>[ 0.047932] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da<br>[ 0.047933] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff<br>[ 0.047934] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff<br>[ 0.047936] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1<br>[ 0.047937] DMAR-IR: HPET id 0 under DRHD base 0xfed91000<br>[ 0.047937] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.<br>[ 0.048327] DMAR-IR: Enabled IRQ remapping in x2apic mode<br>[ 0.793666] DMAR: No ATSR found<br>[ 0.793696] DMAR: dmar1: Using Queued invalidation<br>[ 0.795240] DMAR: Intel(R) Virtualization Technology for Directed I/O<br>[ 0.799207] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <<a href="mailto:jroedel@suse.de" target="_blank">jroedel@suse.de</a>><br><div>[ 0.799207] AMD-Vi: AMD IOMMUv2 functionality not available on this system</div><div><br></div><div><br></div><div>bullseye with no intel_iommu command line setting:</div><div>dmesg | grep -e DMAR -e IOMMU<br>[ 0.007532] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001)<br>[ 0.007546] ACPI: Reserving DMAR table memory at [mem 0xd8ffeae8-0xd8ffeb9f]<br>[ 0.048030] DMAR: Host address width 39<br>[ 0.048031] DMAR: DRHD base: 0x000000fed90000 flags: 0x0<br>[ 0.048034] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a<br>[ 0.048035] DMAR: DRHD base: 0x000000fed91000 flags: 0x1<br>[ 0.048037] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da<br>[ 0.048037] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff<br>[ 0.048038] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff<br>[ 0.048040] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1<br>[ 0.048040] DMAR-IR: HPET id 0 under DRHD base 0xfed91000<br>[ 0.048041] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.<br>[ 0.048426] DMAR-IR: Enabled IRQ remapping in x2apic mode<br>[ 0.794120] DMAR: No ATSR found<br>[ 0.794149] DMAR: dmar0: Using Queued invalidation<br>[ 0.794154] DMAR: dmar1: Using Queued invalidation<br>[ 0.863652] DMAR: Intel(R) Virtualization Technology for Directed I/O<br>[ 0.867732] AMD-Vi: AMD IOMMUv2 driver by Joerg Roedel <<a href="mailto:jroedel@suse.de" target="_blank">jroedel@suse.de</a>> <br>[ 0.867733] AMD-Vi: AMD IOMMUv2 functionality not available on this system<br>[ 1.250394] i915 0000:00:02.0: [drm] DMAR active, disabling use of stolen memory</div><div><br></div><div>buster no intel_iommu setting:<br></div><div>dmesg | grep -e DMAR -e IOMMU<br>[ 0.009193] ACPI: DMAR 0x00000000D8FFEAE8 0000B8 (v01 INTEL HSW 00000001 INTL 00000001)<br>[ 0.192242] DMAR: Host address width 39<br>[ 0.192243] DMAR: DRHD base: 0x000000fed90000 flags: 0x0<br>[ 0.192246] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap c0000020660462 ecap f0101a<br>[ 0.192246] DMAR: DRHD base: 0x000000fed91000 flags: 0x1<br>[ 0.192248] DMAR: dmar1: reg_base_addr fed91000 ver 1:0 cap d2008020660462 ecap f010da<br>[ 0.192249] DMAR: RMRR base: 0x000000dbcf6000 end: 0x000000dbd03fff<br>[ 0.192249] DMAR: RMRR base: 0x000000dd000000 end: 0x000000df1fffff<br>[ 0.192251] DMAR-IR: IOAPIC id 8 under DRHD base 0xfed91000 IOMMU 1<br>[ 0.192251] DMAR-IR: HPET id 0 under DRHD base 0xfed91000<br>[ 0.192252] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.<br>[ 0.192637] DMAR-IR: Enabled IRQ remapping in x2apic mode<br>[ 0.846867] AMD IOMMUv2 driver by Joerg Roedel <<a href="mailto:jroedel@suse.de" target="_blank">jroedel@suse.de</a>><br>[ 0.846867] AMD IOMMUv2 functionality not available on this system</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 3 Jul 2021 at 02:22, Bryan Cebuliak <<a href="mailto:bryan.cebuliak@gmail.com" target="_blank">bryan.cebuliak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>If igfx_off is default, how / why is it on?<br></div><div>from<br></div><div><a href="https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html" target="_blank">https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html</a></div><div>"...<br></div><div><pre>intel_iommu= [DMAR] Intel IOMMU driver (DMAR) option
on
Enable intel iommu driver.
off
Disable intel iommu driver.
igfx_off [Default Off]
By default, gfx is mapped as normal device. If a gfx
device has a dedicated DMAR unit, the DMAR unit is
bypassed by not enabling DMAR with this option. In
this case, gfx device will use physical address for
DMA.<br>...<br></pre></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 3 Jul 2021 at 01:25, Bryan Cebuliak <<a href="mailto:bryan.cebuliak@gmail.com" target="_blank">bryan.cebuliak@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>more possibly relevant IOMMU video audio and passthrough issue links:<br></div><div>Easy ACS kernel patch guide for Ubuntu 20.04</div><div><a href="https://www.youtube.com/watch?v=JBEzshbGPhQ" target="_blank">https://www.youtube.com/watch?v=JBEzshbGPhQ</a></div><div><br></div><div><a href="https://forum.level1techs.com/t/intel-graphics-hdmi-audio-fails-after-enabling-intel-iommu-on/168827" target="_blank">https://forum.level1techs.com/t/intel-graphics-hdmi-audio-fails-after-enabling-intel-iommu-on/168827</a></div><div><br></div>kvm-gpu-passthrough-on-debian-buster.md<div><a href="https://gist.github.com/davesilva/445276f9157e7cb3a4f6ed2fe852b340" target="_blank">https://gist.github.com/davesilva/445276f9157e7cb3a4f6ed2fe852b340</a></div><div><br></div><h2 id="gmail-m_1501638503899694004gmail-m_-1843376349394261618gmail-m_2129140902636648391m_-1961845597171510168gmail-:1ds"></h2></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>