Mouse button bound to scroll lock causes EQ to overflow
Submitted by John5788
Assigned to Peter Hutterer
Created attachment 127533 Relevant parts from Xorg.0.log
I am using a Logitech G502 mouse and from within Windows 10 and Logitech's Gaming Software, I bound the sniper/DPI shift button to Scroll Lock for PTT functionality in games/VOIP applications. This bind is saved to the mouse hardware so I can use this within Linux.
A problem occurs if I am using my WASD keys, moving the mouse, and pressing the sniper button (which is now sending Scroll Lock) simultaneously. The entire interface lags and Xorg.0.log shows the following:
(EE) [mi] EQ overflowing. Additional events will be discarded until existing events are processed. (EE) (EE) Backtrace: (EE) 0: /usr/bin/X (xorg_backtrace+0x56) [0x589af6] (EE) 1: /usr/bin/X (mieqEnqueue+0x24b) [0x56bb6b] (EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x44dd22] (EE) 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f52d8fc0000+0x623f) [0x7f52d8fc623f] (EE) 4: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f52d8fc0000+0x6acd) [0x7f52d8fc6acd] (EE) 5: /usr/bin/X (0x400000+0x750c8) [0x4750c8] (EE) 6: /usr/bin/X (0x400000+0x9a056) [0x49a056] (EE) 7: /lib64/libc.so.6 (0x7f52df4ce000+0x33290) [0x7f52df501290] (EE) 8: /lib64/libc.so.6 (__libc_fork+0xc4) [0x7f52df587254] (EE) 9: /usr/bin/X (Popen+0x90) [0x5906c0] (EE) 10: /usr/bin/X (0x400000+0x12af5b) [0x52af5b] (EE) 11: /usr/bin/X (XkbDDXLoadKeymapByNames+0x85) [0x52b165] (EE) 12: /usr/bin/X (0x400000+0x135135) [0x535135] (EE) 13: /usr/bin/X (0x400000+0x355bf) [0x4355bf] (EE) 14: /usr/bin/X (0x400000+0x39643) [0x439643] (EE) 15: /lib64/libc.so.6 (__libc_start_main+0xf0) [0x7f52df4ee630] (EE) 16: /usr/bin/X (_start+0x29) [0x423939] (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. (EE) [mi] EQ overflow continuing. 100 events have been dropped.
I do not need to be in a game to reproduce. If I focus on a terminal window and repeat the same actions (typing WASD randomly, moving mouse, and clicking sniper button repeatedly), I can halt the terminal from refreshing and the same error messages repeat in Xorg.0.log.
Attachment 127533, "Relevant parts from Xorg.0.log":