LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Mouse problem in 3D games (https://www.linuxquestions.org/questions/linux-general-1/mouse-problem-in-3d-games-644507/)

rpgraca 05-24-2008 12:20 PM

Mouse problem in 3D games
 
Hi! When I'm playing some 3d games, such as world of padman or openarena, mouse cursor keeps moving itself to other places. This doesn't happen with windows games in wine. I'm using Ubuntu 8.04 with NVidia restricted drivers, but i had the very same problem with Debian Sid. Can someone help me finding the problem and fix it somehow?

Thanks for your help

Mega Man X 05-24-2008 01:22 PM

Quote:

Originally Posted by rpgraca (Post 3163451)
Hi! When I'm playing some 3d games, such as world of padman or openarena, mouse cursor keeps moving itself to other places. This doesn't happen with windows games in wine. I'm using Ubuntu 8.04 with NVidia restricted drivers, but i had the very same problem with Debian Sid. Can someone help me finding the problem and fix it somehow?

Thanks for your help

Do you have a joypad connected? Because I remember having the exactly same problem with all Quake3-based engines on Linux. When you run the game, you should bring the "game console", usually with "~" and disable the joypad (can't remember the command for the Quake3 engine). That or disconnect the joystick/unload the modules :)

rpgraca 05-25-2008 12:15 PM

Quote:

Originally Posted by Mega Man X (Post 3163506)
Do you have a joypad connected? Because I remember having the exactly same problem with all Quake3-based engines on Linux. When you run the game, you should bring the "game console", usually with "~" and disable the joypad (can't remember the command for the Quake3 engine). That or disconnect the joystick/unload the modules :)

I have no joypad connected and this happen not just with quake-based games, it happen in Widelands if I use fullscreen, yet, it works perfect in a window, maybe it is some different problem...
Thanks for helping

rolis 06-07-2008 12:45 PM

Quote:

Originally Posted by rpgraca (Post 3163451)
Hi! When I'm playing some 3d games, such as world of padman or openarena, mouse cursor keeps moving itself to other places. This doesn't happen with windows games in wine. I'm using Ubuntu 8.04 with NVidia restricted drivers, but i had the very same problem with Debian Sid. Can someone help me finding the problem and fix it somehow?

Thanks for your help

rpgraca,

i seem to experience the same problems.

in Nexuiz i was able to fix it by setting vid_dgamouse variable to 0. default is 1. documentation for this cvar says "make use of DGA mouse input", whatever that means.

for Aliena Arena setting in_dgamouse to 0 worked.

one interesting observation is that Nexuiz SDL does not experience mouse problems, but Nexuiz GLX does. i'm using nvidia bin drivers as well.
so it might be related to OpenGL rendering.

hope this helps,
rolis

ggerri 01-15-2010 12:35 AM

usb -> ps2 -> solved 4 me
 
just wanted to leave a note that connecting my usb mouse to the regular ps/2 connector (with adapter) solved the problem for me. mouse works now fine in all shooters I had problems before.

G

Ubuntu 9.10 - Acer M5800

H_TeXMeX_H 01-15-2010 03:20 AM

It could be this issue:
http://www.linuxquestions.org/questi...ighlight=evdev

markus_lenger 03-15-2016 05:26 AM

Unclutter
 
In my case it was unclutter. Killing the process removed the problem. You can tell unclutter which windows to ignore by name or regex too. See unlcutter --help

dugan 03-15-2016 05:24 PM

One thing to be aware of is that Microsoft's keyboards get seen by the Linux kernel as being part joystick. That tends to cause problems.

See here:
https://github.com/denilsonsa/udev-joystick-blacklist


All times are GMT -5. The time now is 04:21 AM.