After acquiring a Broadwell generation Core i3 NUC (the NUC5i3RYK to be exact) and installing Linux, KDE/X.Org would lockup and crash frequently. Checking dmesg, the following messages appeared:
[drm] stuck on render ring
[drm] GPU HANG:…
From the dmesg report, it is clear the crashes were caused by the GPU hanging. After further inspection of the dmesg logs, it appears this is due to a bug between Intel’s graphics and IOMMU drivers. The easiest way to work around this is to disable Intel IOMMU support.
Since I had compiled IOMMU support into my kernel, removing IOMMU support involved a kernel recompile. When configuring your kernel using menuconfig, make sure that “Support for Intel IOMMU using DMA Remapping Devices” under “Device Drivers > IOMMU Hardware Support” is unchecked. This is equivalent to ensuring that INTEL_MMU = n
in your .config file. For the NUC, that was all that was required to keep the GPU driver from crashing and taking X.Org and KDE down with it.
-John Havlik
[end of transmission, stay tuned]
Hi,
was this problem with linux kernel 4.4
and INTEL_MMU = n solved it also for linux kernel 4.4?
Thanks for the information
Yes, this problem exists in the 4.4 branch of the Linux kernel, and the provided solution seems to have resolved the issue. At least it has for me.
-John Havlik