Mouse problem

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

Moderators: Nexuiz Moderators, Moderators

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

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.
    User avatar
    tZork
    tZite Admin
     
    Posts: 1337
    Joined: Tue Feb 28, 2006 6:16 pm
    Location: Halfway to somwhere else

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

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.
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

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

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

Mon Feb 12, 2007 8:06 pm

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

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

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

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)...
    User avatar
    KadaverJack
    Site admin and forum addon
     
    Posts: 1102
    Joined: Tue Feb 28, 2006 9:42 pm

Wed Feb 14, 2007 7:28 am

  • For me too - I'd rather think it could be an X.org problem of the specific version you have.

    First, try setting "gl_finish 1".

    If that doesn't help, try to really force it to one specific CPU: "taskset -c 0 ./nexuiz-linux-glx.sh".

    IF that helps, try disabling your power management for the CPU ("cpufreq") and try again.
    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.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE

Wed Feb 14, 2007 6:37 pm

  • divVerent wrote:If that doesn't help, try to really force it to one specific CPU: "taskset -c 0 ./nexuiz-linux-glx.sh".
    IF that helps, try disabling your power management for the CPU ("cpufreq") and try again.

    IF that helps i welcome our new windows-bug overlord in linux land :)
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Wed Feb 14, 2007 7:47 pm

  • Thanks,
    It works perfectly with "taskset 1 nexuiz-sdl"

    so I can play nexuiz !!!

    see you later ingame ;)
    joc
    Newbie
     
    Posts: 5
    Joined: Fri Feb 09, 2007 10:38 pm

Wed Feb 14, 2007 9:34 pm

  • Just using nexuiz-sdl without the taskset part solved it for me as well. ;)
    Ionflux
    Newbie
     
    Posts: 2
    Joined: Mon Feb 12, 2007 5:49 pm

Thu Feb 15, 2007 2:39 am

Mon Feb 19, 2007 3:10 pm

  • I have similar mouse problem. When I move my HP-mouse up/down, nothing happens. Right/Left works well and Nexuiz does not lag. It's somehow like a cs aimbot :D But it sucks a bit.

    How can I fix that?

    OS: Ubuntu Edgy x86_64, NVidia GeForce 6600, happens with sdl and glx

    greetings

    edit:
    m_pitch said m_pitch IS 0.022 (but "off", whyever)
    after
    m_pitch 0.022
    everything worked well. But that's a silly bug :( I use the newest version
    kopfgeldjaeger
    Newbie
     
    Posts: 2
    Joined: Mon Feb 19, 2007 3:05 pm
    Location: #germany

Mon Feb 19, 2007 3:32 pm

  • I kinda doubt you use the latest version.. OLD versions had a bug that when you pressed the 'reset' buttons in the menu they did not set m_yaw back to the correct 0.022 but to off. That bug was fixed quite some time ago. Either you messed up when patching it or you still have some old files that interfere in a bad way. Hard to say without being able to look at your computer and i can't find my crystal ball right now :)
    User avatar
    esteel
    Site admin and forum addon
     
    Posts: 3924
    Joined: Wed Mar 01, 2006 8:27 am

Mon Feb 19, 2007 4:51 pm

  • The first time nexuiz was installed, the version was from the ubuntu repo.
    Then I downloaded alientrap.org (yesterday) and that bug appeared. But of course you might be right, because this old version of nexuiz was installed.
    Where does nexuiz save its configuration?

    kgj
    kopfgeldjaeger
    Newbie
     
    Posts: 2
    Joined: Mon Feb 19, 2007 3:05 pm
    Location: #germany

Mon Feb 19, 2007 6:49 pm

Wed Apr 18, 2007 10:09 pm

  • hi, i recently got the glx version working under ubuntu, but now i'm having the jumping mouse problem.

    unfortunately, gl_finish 1 only moved the places where the jumps took place, and the taskset -c 0 (or 1) didn't help at all. i also tried setting my cpu governor to "performance", resulting in no change.

    i'll try some of the dga stuff but i'm not expecting much.

    PS great game! keep up the good work :)
    airfall
    Newbie
     
    Posts: 9
    Joined: Tue Apr 17, 2007 1:40 am



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest