mouse bug in 2.5?

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

Moderators: Nexuiz Moderators, Moderators

mouse bug in 2.5?

Postby RoKenn » Sat Apr 04, 2009 3:48 pm

First: Congratulations and thanks for this great release of Nexuiz! :D

Now to the problem:

Mouse movements are ignored randomly. It can show up as stuttery movement, or even every mouse movement being ignored for up to 10 seconds. Mouse keys are not affected and always work fine.

I already noticed the problem in recent SVN versions, but then it only appeared quite rarely (and I nearly bought a new mouse...).

I analyzed the problem and found that it is caused by following line in autoexec.cfg or config.cfg:


Code: Select all
set "cl_maxfps" "125"


The problem shows up with both GLX and SDL binaries.
And without this line it works flawlessly in both binaries.

(running on the current Debian Stable)

How does limiting the FPS break my mouse support?
:?
[Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
Image
RoKenn
Alien
 
Posts: 141
Joined: Wed Apr 25, 2007 10:25 pm

Postby divVerent » Sat Apr 04, 2009 4:04 pm

Likely to be caused by evdev...
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby liolak » Sat Apr 04, 2009 4:45 pm

same thing happening to me, when i turn on cl_maxfps to any values that actually does something, a lot of inputs from movements of the mouse gets ignored. its not a problem for me because i dont use maxfps

gentoo linux, no special mouse driver, just the one that get on by default.
mouse is logitech gaming one's

as soon as i set maxfps to 0, everything gets back to normal perfection
liolak
Alien
 
Posts: 114
Joined: Fri Jan 25, 2008 12:16 am
Location: Montréal, Canada

Postby RoKenn » Sat Apr 04, 2009 7:19 pm

Hmmm... am I using evdev at all?

my xorg logfile says:

Code: Select all
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"         
(**) Option "AutoAddDevices" "False"
(**) Not automatically adding devices
(==) Automatically enabling devices       
...
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/psaux"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/psaux"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Mouse0: Sensitivity: 1
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(--) Mouse0: PnP-detected protocol: "ExplorerPS/2"


Where Mouse0 is defined as:

Code: Select all
Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection


Although the evdev kernel module is loaded (and supposed to be used by 9 customers).

But shouldn't that be an evdev-free Xorg?

PS: it seems to help to switch on the vertical sync, that also reduces the fps to 60 and doesn't conflict with the mouse.
[Tue Aug 5 2008] [00:15:01] <Ronan`> RoKenn, you're an evil person :P
Image
RoKenn
Alien
 
Posts: 141
Joined: Wed Apr 25, 2007 10:25 pm

Mouse Ignored completly

Postby krazygood » Wed Apr 08, 2009 10:51 pm

Hello,

I am brand new to this game and not all that technically skilled, so plz dont just give me some technical advice. I start up my game, after downloading it and extracting it, and my mouse starts in the middle of the screen. Then as soon as i make any movement with my mouse it gets sent up into the top left hand of the game screen. I can do everything with the tab button but i can't play without using my mouse. I'm using Windows Vista 64-bit, on a HP brand new HP running a NVIDIA GeForce 7300, i really want to be able to play, and the mouse works fine in every other situation i have ever used it in.

If you require any new information just reply here, i would be so thankful to anyone that could fix it.

Thanks, Krazygood
krazygood
Newbie
 
Posts: 5
Joined: Wed Apr 08, 2009 10:37 pm
Location: Canada

Postby divVerent » Thu Apr 09, 2009 5:14 am

Try:

Shift-escape
gl_finish 1
Enter
Escape

Does the mouse work then?

If not: try

vid_fullscreen 0
vid_restart

in the same console. Does that make the mouse work?

Do you have a dual screen setup?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby krazygood » Thu Apr 09, 2009 10:45 am

No, i get a white normal mouse that i can move around in the console, but then as soon as i hit escape again the mouse dissapears, and im stuck with the one in the top left hand corner. Im not sure what you mean am i running a dual screen setup, my PC is connected to my computer and thats all.

Any other suggestions?
krazygood
Newbie
 
Posts: 5
Joined: Wed Apr 08, 2009 10:37 pm
Location: Canada

Postby divVerent » Thu Apr 09, 2009 10:52 am

Yes. Try the "other version" included in the archive.

If you were using nexuiz.exe, try using nexuiz-sdl.exe, and vice versa.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Postby krazygood » Thu Apr 09, 2009 11:02 am

I've tried them both, and when i use the sdl version all i get is a really magnified screen in which i can only really see the centre of the menu screen, and nothing changes. Im running a Vista Premium 64-bit, Intel Core(2) Quad CPU at 2.40GHz , with 4gb of ram. Any ideas??
krazygood
Newbie
 
Posts: 5
Joined: Wed Apr 08, 2009 10:37 pm
Location: Canada

Postby divVerent » Thu Apr 09, 2009 11:15 am

Are you using the current drivers from http://www.nvidia.com - or some other drivers (e.g. the ones from Windows, or ones from a driver CD)?
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again

You can vary the number of "MS", so you can clearly see it's MS which is causing it.
divVerent
Site admin and keyboard killer
 
Posts: 3809
Joined: Thu Mar 02, 2006 4:46 pm
Location: BRLOGENSHFEGLE

Next

Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron