Summary: | Crashes when using MDEV passthrough on i915 | ||||||
---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | Christian Ehrhardt <christian.ehrhardt> | ||||
Component: | DRM/iGVT-g | Assignee: | Terrence Xu <terrence.xu> | ||||
Status: | RESOLVED FIXED | QA Contact: | Terrence Xu <terrence.xu> | ||||
Severity: | normal | ||||||
Priority: | medium | CC: | intel-gfx-bugs | ||||
Version: | XOrg git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Christian Ehrhardt
2019-03-25 14:53:02 UTC
The GPU crash was faking size zero, it is actually readable. Attaching it as a file ... Created attachment 143775 [details]
GPU Crash dump as triggered by the bug
Can you try to use "intel_iommu=igfx_off" in grub for a try, now there some DMAR issue in the latest kernel. Hi, thanks for your feedback. I was experimenting more on the case actually and I found that sometimes it just doesn not show up even after quite some time. But there was a way to "force" the issue (which is on the host) from the guest. To do so install opencl bits and try to use it, that would be: $ sudo apt install ocl-icd-libopencl1 $ sudo apt install opencl-headers $ sudo apt install clinfo $ sudo apt install beignet And then run clinfo $ clinfo So far this triggered the bug immediately in all my tests. With that set up to ensure I can actively trigger it I tried the suggested intel_iommu=igfx_off. That works like a charm in my setup - thanks! With intel_iommu=igfx_off I can even run accelerated opencl load in the guest on the mdev. But since [1] states about that "If this fixes anything, please ensure you file a bug reporting the problem." I think I might need to file a bug in a different place - maybe for iommu itself then. Thanks - we can close this bug and I'll look for a place to file that iommu bug. [1]: https://www.kernel.org/doc/Documentation/Intel-IOMMU.txt |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.