[IVB] [bisected] Freeze when booting with kernel 4.9 and later
Reopening bugzilla bug https://bugs.freedesktop.org/show_bug.cgi?id=101049 since the issue still exists.
Quoting some relevant comments:
hisele 2017-05-15 16:05:30 UTC:
With kernels after 4.9 my system completely freezes after some seconds while starting X. With gdm it happens after after clicking on the user to login, but in most cases only the mouse is drawn. I'm using a Radeon R9 390 together with the HD Graphics 4000 in the i7 3700k and found this bug when trying to use the integraded graphics. The bug appears only on kernel 4.9 and later and the integrated graphics has to be choosen as primary graphics in the BIOS. I'm surprised nobody reported this bug so far since it's quite a long time in the stable kernel now, maybe it only occurs with this specific setup, I didn't try it without the AMD card so far.
The bug is reproducible with the drm-tip branch and after bisecting I found commit 29ecd78d3b79746fc837b820accb062f6433d5fb to be the problem, with this one reverted the problem was gone.
Chris Wilson 2017-08-29 13:39:33 UTC:
The value provided by the bios is unusable on that machine, check for a bios update; otherwise we can either quirk the platform, the manufacturer or the bios.
Chris Wilson 2018-02-20 20:56:29 UTC:
Have you checked for a bios update? The essence of the problem is that the bios provides a value that seems to cause a lockup. To prevent us using that value, we can do "cat /sys/class/drm/card0/gt_max_freq_mhz > /sys/class/drm/card0/gt_boost_freq_mhz".
Given that the issue appears to be happening on two different CPUs (i5 3570k and i7 3770k) and two different Mainboards (MSI Z77A-G43 and Biostar H77MU3), I wonder if the best course of action would be adding a quirk for those two Mainboards?