New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Re-)enable IOMMU for Intel GPU #2841

Open
marmarek opened this Issue Jun 2, 2017 · 7 comments

Comments

Projects
None yet
6 participants
@marmarek
Member

marmarek commented Jun 2, 2017

Drop iommu=no-igfx option.
See #2836 (comment)

@rustybird

This comment has been minimized.

Show comment
Hide comment
@rustybird

rustybird Jul 26, 2017

Weird: Booting the 20170718 R4.0 prerelease on a T420 (latest proprietary BIOS) with iommu=no-igfx results in a Xen panic - I see "BIOS did not enable IGD for VT properly, crash Xen for security purpose" after adding console=vga. But iommu=force appears to works fine!

Weird: Booting the 20170718 R4.0 prerelease on a T420 (latest proprietary BIOS) with iommu=no-igfx results in a Xen panic - I see "BIOS did not enable IGD for VT properly, crash Xen for security purpose" after adding console=vga. But iommu=force appears to works fine!

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 26, 2017

Member
Member

marmarek commented Jul 26, 2017

@rustybird

This comment has been minimized.

Show comment
Hide comment
@rustybird

rustybird Jul 26, 2017

Seems to be this:

  • force_iommu can be enabled not only by iommu=force, but also automatically by x2apic_bsp_setup() in some cases (such as the T420, apparently)

  • iommu_enable_translation() generates a warning when force_iommu is off, or a panic when force_iommu is on, if is_igd_vt_enabled_quirk() returns 0. Even if the reason it returns 0 is just iommu=no-igfx.

I'll submit a patch to xen-devel.

Seems to be this:

  • force_iommu can be enabled not only by iommu=force, but also automatically by x2apic_bsp_setup() in some cases (such as the T420, apparently)

  • iommu_enable_translation() generates a warning when force_iommu is off, or a panic when force_iommu is on, if is_igd_vt_enabled_quirk() returns 0. Even if the reason it returns 0 is just iommu=no-igfx.

I'll submit a patch to xen-devel.

rustybird added a commit to rustybird/qubes-vmm-xen that referenced this issue Jul 30, 2017

rustybird added a commit to rustybird/qubes-vmm-xen that referenced this issue Jul 31, 2017

rustybird added a commit to rustybird/qubes-vmm-xen that referenced this issue Aug 2, 2017

@qubesos-bot qubesos-bot referenced this issue in QubesOS/updates-status Aug 15, 2017

Closed

vmm-xen v4.8.1-5 (r4.0) #191

@mex20

This comment has been minimized.

Show comment
Hide comment
@mex20

mex20 Oct 11, 2017

This issue also occurs on Microsoft UEFI devices. I had a heck of a time figuring out why 4.0 RC1 would get stuck in a boot loop after displaying the loading Xen 4.8.1 text on the Surface boot screen. Changing “iommu=no-igfx” to “iommu=on” fixed the boot loop.

mex20 commented Oct 11, 2017

This issue also occurs on Microsoft UEFI devices. I had a heck of a time figuring out why 4.0 RC1 would get stuck in a boot loop after displaying the loading Xen 4.8.1 text on the Surface boot screen. Changing “iommu=no-igfx” to “iommu=on” fixed the boot loop.

@josephcsible

This comment has been minimized.

Show comment
Hide comment
@josephcsible

josephcsible Feb 2, 2018

With Qubes OS 4.0RC4 in UEFI mode on Intel HD Graphics 4000, I needed to add iommu=no-igfx to not just get a black screen. This wasn't a problem until I upgraded from RC3.

With Qubes OS 4.0RC4 in UEFI mode on Intel HD Graphics 4000, I needed to add iommu=no-igfx to not just get a black screen. This wasn't a problem until I upgraded from RC3.

@RooneyMcNibNug

This comment has been minimized.

Show comment
Hide comment
@RooneyMcNibNug

RooneyMcNibNug Mar 29, 2018

I'm possibly having the same issue since 4.0 on a T420 with regular graphics. Installation went fine (tested with multiple installation mediums, including two different USBs and a CD), but bootup shows "squashed" text and then gets stuck at a blank screen where I should be seeing the LVM password field.

The "squashed" bootup I'm seeing is almost exactly the same as the one shown in this post: https://www.reddit.com/r/Qubes/comments/7wheqk/does_anyone_else_get_this_weird_screen_glitch/

I'm possibly having the same issue since 4.0 on a T420 with regular graphics. Installation went fine (tested with multiple installation mediums, including two different USBs and a CD), but bootup shows "squashed" text and then gets stuck at a blank screen where I should be seeing the LVM password field.

The "squashed" bootup I'm seeing is almost exactly the same as the one shown in this post: https://www.reddit.com/r/Qubes/comments/7wheqk/does_anyone_else_get_this_weird_screen_glitch/

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket May 24, 2018

I had to remove iommu=no-igfx from Xen options after configuring anti-evil-maid. Otherwise the AEM bootup resulted in unusable garbage screen and i915 "GPU hang" errors. This is on an Ivy Bridge laptop with integrated graphics.

tasket commented May 24, 2018

I had to remove iommu=no-igfx from Xen options after configuring anti-evil-maid. Otherwise the AEM bootup resulted in unusable garbage screen and i915 "GPU hang" errors. This is on an Ivy Bridge laptop with integrated graphics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment