You are not logged in.

#1 2017-06-17 18:40:14

alexanders916
Member
Registered: 2017-05-30
Posts: 42

[SOLVED] Mouse clicks aren't registered sometimes

Hello guys,
I'm playing Counter-Strike: Global Offensive on Linux through the native steam launcher and got some odd issues. When I'm shooting and click fast (pistols are only semi-automatic) some clicks remain unregistered. I also experienced this with World of Tanks through wine 2.10. When I click, sometimes it does nothing. I checked both games on KDE (x-session) and there aren't unregistered clicks, it does what it's supposed to do. Currently I use cinnamon as desktop enviroment with muffin as window manager (x-session).

Thank you for helping me!

Last edited by alexanders916 (2017-06-19 12:50:41)

Offline

#2 2017-06-17 19:25:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Mouse clicks aren't registered sometimes

More information needed: video card and driver, Xorg log for a faulty session, Xorg config if it exists, etc...



Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-18 20:17:10

alexanders916
Member
Registered: 2017-05-30
Posts: 42

Re: [SOLVED] Mouse clicks aren't registered sometimes

I'm using a NVIDIA GTX 1070 with the newest priopritary drivers (from package 'nvidia'). The log of the cinnamon session: https://ptpb.pw/s1hA. Also I didn't config anything in xorg. There's nothing fishy or faulty, maybe it's a bug, but maybe someone experienced that too? It only appears in cinnamon, I tested xfce, plasma, and gnome, there's everything fine.

Last edited by alexanders916 (2017-06-18 20:19:09)

Offline

#4 2017-06-19 06:37:30

seth
Member
Registered: 2012-09-03
Posts: 50,049

Re: [SOLVED] Mouse clicks aren't registered sometimes

Does the game  grab input?
Otherwise something else (related to the DE) could (on top of that it could grab the server, but that's less likely) - and drop them from the event queue

Install xdotool, run

sleep 30;  xdotool key "XF86LogGrabInfo"

and be sure to be in the game within 30 seconds (otherwise just increase the sleep)
After exiting the game inspect the tail of the xorg log - it will tell you whether something is grabbing the mouse (and whether it'S the game)

Offline

#5 2017-06-19 12:49:58

alexanders916
Member
Registered: 2017-05-30
Posts: 42

Re: [SOLVED] Mouse clicks aren't registered sometimes

There wasn't something special, only firefox, spotify and  steam (with opened CS:GO).

I found this bug report, which describes a problem, where linux mint registers mouse clicks with a delay. He said that turning off the middle mouse click emulation solved the problem for him. I tested it out for my case and now all mouse clicks are registered again.

Offline

Board footer

Powered by FluxBB