LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-24-2008, 12:20 PM   #1
rpgraca
LQ Newbie
 
Registered: Feb 2008
Location: Portugal
Distribution: Debian
Posts: 26

Rep: Reputation: 0
Question 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

Last edited by rpgraca; 05-24-2008 at 12:28 PM.
 
Old 05-24-2008, 01:22 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally Posted by rpgraca View Post
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
 
Old 05-25-2008, 12:15 PM   #3
rpgraca
LQ Newbie
 
Registered: Feb 2008
Location: Portugal
Distribution: Debian
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Mega Man X View Post
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
 
Old 06-07-2008, 12:45 PM   #4
rolis
LQ Newbie
 
Registered: Jun 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by rpgraca View Post
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
 
Old 01-15-2010, 12:35 AM   #5
ggerri
LQ Newbie
 
Registered: Apr 2009
Location: Switzerland
Distribution: Ubuntu 10.04/9.10
Posts: 15

Rep: Reputation: 0
Lightbulb 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
 
Old 01-15-2010, 03:20 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
It could be this issue:
http://www.linuxquestions.org/questi...ighlight=evdev
 
Old 03-15-2016, 05:26 AM   #7
markus_lenger
LQ Newbie
 
Registered: Mar 2016
Posts: 1

Rep: Reputation: Disabled
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
 
Old 03-15-2016, 05:24 PM   #8
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse problems under games Dosnerd90 Linux - Hardware 7 03-14-2008 09:24 PM
Mouse disappears in native linux games camh Linux - Games 1 04-02-2006 08:00 PM
Logitech Optical USB mouse wheel not working in games Xandor Linux - Hardware 2 11-27-2005 09:37 PM
Mouse lags in OpenGL games Fear58 Linux - Hardware 9 12-12-2004 09:12 PM
what mouse do you use and does it perform well in games zaphod111 Linux - Games 14 02-16-2004 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration