Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
Our infrastructure migration is complete. Please remember to update your SSH remote to point to ssh.gitlab.freedesktop.org; SSH to the old hostname will time out. You should not see any problems apart from that. Please let us know if you do have any other issues.
The system randomly freezes and doesn't react to anything afterwards. Not even the magic keys can reboot the system.
Processor model is Intel Core-i7 5500U with the integrated GPU.
Kernel version is 4.0.0-rc1, which is required to even get X / gdm working with the system.
I've attached the kernel log messages which shows an instance of this problem.
Please request any information needed and I'll happily provide it.
Short version
---
adding 'intel_iommu=igfx_off' helped
Long version
---
I've tried many things to resolve this issue, from kernel reconfiguration to installing mesa, libdrm, intel drivers from latest repository masters, which all didn't help. I reverted back to the most recent releases of the packages.
From an older forum entry somewhere on the webs I found that this could be related to virtualization techologies and memory remapping, so I added the following arguments to my kernel commandline: 'intel_iommu=igfx_off'
Ever since (about 10-15 hours of very active usage) I haven't had a single freeze.
I still think this is not normal behavior, since turning off iommu for the GPU can't be the right or necessary thing to do.
some additional info - my BIOS (3rd gen x1 carbon) apparently marks x2apic as broken. I booted a number of times with intremap=no_x2apic_optout on the kernel command line, and saw what steveej mentioned: a hard freeze.
The system did have the foresight to save the dmesg into the EFI pstore. I have those logs if they are useful.
After removing no_x2apic_optout, the kernel "Enabled IRQ remapping in xapic mode", and under xapic some of the time the kernel was able to recover/reset the chip to an ok-enough state that I could save dmesg and grap the GPU dump from /sys/class/drm/card0/error.
I found the same problem as in comment 4. If I disable VT-d in the BIOS the crashes disappear. But then I get random segmentation faults from GCC if I try to compile QtWebKit (N.b: I have gentoo and compile all packages by myself.) Hence, I have two options
(1) Disable VT-d for daily work such that i915 does not crash
(2) Enable VT-d and only boot into text console mode if I need to compile QtWebKit
In my case this issue (googling for the opcode hanging the GPU lead me to this bug) was solved by disabling the EFI Framebuffer on the kernel configuration.
If the devs want I can open a second bug to request the Intel GFX drivers taking over from early framebuffers (for example EFI or VGA) to prevent my particular issues.