Created attachment 107241 [details] GPU hang crash dump after X startup from /sys/class/drm/card0/error When I start X, dmesg throws an GPU ring hang / reset message, similar to #76368. But it isn't fixed for me and setting i915.enable_ppgtt=0 changes nothing. When starting, Awesome WM draws its menus with a little delay and not correctly, a quick restart solves this. Starting gnome 3, there's a longer delay (~5-8 sec), showing only a black screen but after that it starts (or restarts?) normally. Used kernels: Arch Linux default 3.16 and mainline 3.17-rc6.
Created attachment 107242 [details] last dmesg lines after GPU hang
Can you try disabling systemd-logind and starting X (or gdm) by hand from the vt?
It seems starting X without logind became quite hard in arch. I've already been using startx from vt, but even after disabling and stopping systemd-logind and reducing .xinitrc to "exec awesome", it's still executed. I think I had to replace systemd completely. But, I've tested several live images to verify the problem and get more kernel/systemd combinations. Fedora 21 alpha (3.16.something, systemd): GPU HANG: ecode 0:0x85fffffc, in Xorg.bin [1238] Ubuntu 14.10 daily image (3.16.0-17, kind of beta systemd?): GPU HANG: ecode 0:0x85fffff8, in Xorg [2438] Ubuntu 14.04 (3.13.something, upstart): NO gpu hang Fedora 20 (3.11.10, systemd): NO gpu hang What's missing is a current 3.16+ kernel without systemd, if you know a distro or easy method of configuring that combination, I'm willing to test. But from my point of view it seems the problem starts somewhere between kernel 3.13 and 3.16. Should I compile older mainline kernels for my arch linux installation? Crash dumps from fedora 21 and Ubuntu 14.10 available, if interested.
Trying an older kernel or two would be useful indeed. And please do attach a couple more error states. The first implies some GPU state was left stale, I think, but it is not clear, maybe another state would have something more obviously amiss.
The problem starts in 3.15. In 3.14.6-1 (downgraded Arch default kernel) no hang occurs.
Created attachment 107283 [details] dmesg | grep drm: kernel 3.14 (working) vs. 3.15 (hang)
Created attachment 107284 [details] crash dump in Arch with 3.15.8 kernel
Created attachment 107285 [details] crash dump in fedora 21
Created attachment 107286 [details] crash dump in Ubuntu 14.10
mauorrizze, could you please try with: https://bugs.freedesktop.org/attachment.cgi?id=108894
Lots of thanks Mika, the patch works for me (tested with mainline 3.17.3). Awesome WM doesn't need a restart after X's first startup and there is no "GPU HANG" in dmesg. This bug then might be a duplicate of 79996 and seems to be fixed.
commit 2208d655a91f9879bd9a39ff9df05dd668b3512c Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Nov 14 09:25:29 2014 +0100 drm/i915: drop WaSetupGtModeTdRowDispatch:snb
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.