Mouse problem

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

Mouse problem

Postby joc » Fri Feb 09, 2007 10:50 pm

hi,

I'm trying to play nexuiz on a gentoo x86_64, and I have a strange mouse behaviour :
when using nexuiz-glx, the mouse "jump" when I move it so I can't aim the enemies. And with nexuiz-sdl, it slowly moves up, so I get stuck watching the ceiling.
in both case, I can't get fun with nexuiz :cry:

I try gl_finish 1, but it has not effect at all.

I have a microsoft intellimouse, and a Athlon X2 3800+

thanks in advance
joc
Newbie
 
Posts: 5
Joined: Fri Feb 09, 2007 10:38 pm

Postby tZork » Sat Feb 10, 2007 12:14 am

Do you have a joystick attached? i have to use" joy_enable 0" in linux or i get messed up mouse input.
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby joc » Sat Feb 10, 2007 4:32 pm

tZork wrote:Do you have a joystick attached? i have to use" joy_enable 0" in linux or i get messed up mouse input.


yes this was my joystick that get me stuck to the ceiling in the sdl version.

But I have still the "jump" problem in both sdl and glx.
it's something like a bad conversion between signed and unsigned integer, when I move the mouse, it jumps from one point to another sometime.
and I play with ut2004, quake4, doom3, and quake3 without problem.

the first time I start the game, my mouse works normally in the menu, ingame and when I come back to the menu, my mouse jumps, and it's not controllable.

I have the bug with both 2.2.2 and 2.2.3 version
joc
Newbie
 
Posts: 5
Joined: Fri Feb 09, 2007 10:38 pm

Postby esteel » Sun Feb 11, 2007 9:02 pm

Hmm thats interesting, i have no problems with both versions and i also can't think of a change in the input handling. (in case older versions DO run fine..)
I read in other games forums about problems with dga, or non-dga so maybe you can search google for more information about that.
You could also post your xorg.conf here so we can take a look at it.
esteel
Site admin and forum addon
 
Posts: 3924
Joined: Wed Mar 01, 2006 8:27 am

Postby LordHavoc » Sun Feb 11, 2007 9:24 pm

joc wrote:But I have still the "jump" problem in both sdl and glx.
it's something like a bad conversion between signed and unsigned integer, when I move the mouse, it jumps from one point to another sometime.
and I play with ut2004, quake4, doom3, and quake3 without problem.

the first time I start the game, my mouse works normally in the menu, ingame and when I come back to the menu, my mouse jumps, and it's not controllable.


I've never heard of such a problem before, and do not have a solution.

Entering/leaving the menu doesn't reset any mouse code.

You could try turning on vid_dga in the console, but that only works with nexuiz-glx, not nexuiz-sdl, and dga should not be necessary.
LordHavoc
Site Admin
 
Posts: 191
Joined: Wed Mar 29, 2006 7:39 am
Location: western Oregon, USA

Postby Ionflux » Mon Feb 12, 2007 6:29 pm

Hi,

I can confirm the problem. :(

It looks like this: I slowly move the mouse in any direction. Everything goes well until I hit a certain angle. Then, it abruptly jumps to somewhere else. Of course, it also happens when I move the mouse fast.

I thought at first this might be related to the wacom tablet I have connected, but other games (sauerbraten, warsow) don't show this problem.

I am also using x86_64 on a Core 2 Duo machine (Gentoo).
Ionflux
Newbie
 
Posts: 2
Joined: Mon Feb 12, 2007 5:49 pm

Postby torus » Mon Feb 12, 2007 8:06 pm

Wacom tablet eh? Lucky bastard. :evil: :D
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby joc » Mon Feb 12, 2007 8:32 pm

LordHavoc wrote:
I've never heard of such a problem before, and do not have a solution.

Entering/leaving the menu doesn't reset any mouse code.

You could try turning on vid_dga in the console, but that only works with nexuiz-glx, not nexuiz-sdl, and dga should not be necessary.


I tried with vid_dga 1 in the console :
the mouse only move to my feet, even if I move my mouse up/down/left/right

here is my Xorg.conf for the mouse :
(yes I have a M$ intellimouse :p )

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# The mouse protocol and device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "6 7"
Option "Buttons" "7"

EndSection

the module section :
# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"

# This loads the DBE extension module.

Load "dbe"
Load "glx"

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.

SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection

# This loads the Type1 and FreeType font modules

Load "type1"
Load "freetype"

EndSection

Section "Extensions"
Option "Composite" "enable"
EndSection


The 5 buttons are working with Q3/Q4 and ut2k4

I will try without the Option "omit xfree86-dga" and with vid_dga.

I'm wondering if it's not a dual-core or a 64 bits issue, cause on my old PC it works like a charm with the same mouse and the same configuration.
joc
Newbie
 
Posts: 5
Joined: Fri Feb 09, 2007 10:38 pm

Postby joc » Tue Feb 13, 2007 9:45 pm

ok,

I have found that it is a dual core problem.
I have recompiled my kernel without SMP, and my mouse is working perfectly.

It's not an option for me to use only one core, because with gentoo, I need to compile package often, and it's really faster with two core.

I don't know if there is a command to tell to the kernel that a program must be run on only one CPU. (I do this on winXP with some games).
since nexuiz is mono-threaded, it probably won't affect performances.

thanks in advance ;)
joc
Newbie
 
Posts: 5
Joined: Fri Feb 09, 2007 10:38 pm

Postby KadaverJack » Tue Feb 13, 2007 10:02 pm

joc wrote:I have found that it is a dual core problem.
I have recompiled my kernel without SMP, and my mouse is working perfectly.

That's pretty strange, since Nexuiz works fine on my Core Duo notebook (32bit) and on Pentium 4 D dual core machines (64 bit)...
KadaverJack
Site admin and forum addon
 
Posts: 1102
Joined: Tue Feb 28, 2006 9:42 pm

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron