random Xorg hangs, after which it doesen't like being killed: root 13794 3.1 0.0 0 0 ? Ds 18:41 3:44 [X] In dmesg: [20636.941321] nouveau E[ PFIFO][0000:01:00.0] still angry after 101 spins, halt In Xorg.0.log (spam spam and even more spam of): (EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed. (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x48) [0x582d28] (EE) 1: /usr/bin/X (mieqEnqueue+0x22b) [0x564ecb] (EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x44ca12] (EE) 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f9fc5502000+0x5e27) [0x7f9fc5507e27] (EE) 4: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f9fc5502000+0x6515) [0x7f9fc5508515] (EE) 5: /usr/bin/X (0x400000+0x72588) [0x472588] (EE) 6: /usr/bin/X (0x400000+0x9b180) [0x49b180] (EE) 7: /lib64/libc.so.6 (0x7f9fca231000+0x388c0) [0x7f9fca2698c0] (EE) 8: /lib64/libc.so.6 (ioctl+0x7) [0x7f9fca317257] (EE) 9: /usr/lib64/libdrm.so.2 (drmIoctl+0x34) [0x7f9fcb3c6984] (EE) 10: /usr/lib64/libdrm.so.2 (drmCommandWrite+0x1e) [0x7f9fcb3c8b6e] (EE) 11: /usr/lib64/libdrm_nouveau.so.2 (nouveau_bo_wait+0x89) [0x7f9fc69db6c9] (EE) 12: /usr/lib64/libdrm_nouveau.so.2 (nouveau_pushbuf_space+0xc6) [0x7f9fc69dc906] (EE) 13: /usr/lib64/xorg/modules/drivers/nouveau_drv.so (0x7f9fc6be0000+0x1deb9) [0x7f9fc6bfdeb9] (EE) 14: /usr/lib64/xorg/modules/libexa.so (0x7f9fc639a000+0xdef4) [0x7f9fc63a7ef4] (EE) 15: /usr/lib64/xorg/modules/libexa.so (0x7f9fc639a000+0xe9f2) [0x7f9fc63a89f2] (EE) 16: /usr/bin/X (0x400000+0x10e2b4) [0x50e2b4] (EE) 17: /usr/lib64/xorg/modules/libexa.so (0x7f9fc639a000+0xc0e7) [0x7f9fc63a60e7] (EE) 18: /usr/bin/X (0x400000+0x10e506) [0x50e506] (EE) 19: /usr/bin/X (0x400000+0x10481e) [0x50481e] (EE) 20: /usr/bin/X (0x400000+0x35eee) [0x435eee] (EE) 21: /usr/bin/X (0x400000+0x39c8a) [0x439c8a] (EE) 22: /lib64/libc.so.6 (__libc_start_main+0xf5) [0x7f9fca255e65] (EE) 23: /usr/bin/X (0x400000+0x25541) [0x425541] (EE) (EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack. (EE) [mi] mieq is *NOT* the cause. It is a victim. Linked in #nouveau to: http://cgit.freedesktop.org/~darktama/nouveau/commit/?id=c869d99187a356b886bdecc757caa0038d142844 which doesen't apply nicely to 3.18.7. modified patch that does attached, no issues afterwards Reproducible: Always
Created attachment 398996 [details, diff] fix
Created attachment 399000 [details, diff] /etc/portage/patches/sys-kernel/gentoo-sources-3.18.7/nouveau_still_angry.patch note to self: don't copy-paste patches.
I had the same problem, at this patch fixes it.
Fixed upstream.