We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 717

Summary: mouse is jerky/uncontrollable in SDL apps/games when using evdev
Product: SDL Reporter: Pacho Ramos <pacho>
Component: *don't know*Assignee: Ryan C. Gordon <icculus>
Status: RESOLVED DUPLICATE QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 1.2.13Keywords: target-1.2.14
Hardware: x86   
OS: Linux   

Description Pacho Ramos 2009-03-15 05:56:48 UTC
Maybe this is similar to:
http://bugzilla.libsdl.org/show_bug.cgi?id=609

but I am not sure if it's exactly the same.

In my case, I was suffering the problem with enemy-territory when using evdev driver. Mouse pointer moves right down all time. This can be "fixed" adding the following to xorg.conf:
   Section "Module"
       ...
       SubSection  "extmod"
         Option    "omit xfree86-dga"   # don't initialise the DGA extension
       EndSubSection
       ...
   EndSection

Searching in google I saw that this is a common problem:
http://wiki.archlinux.org/index.php/Xorg_input_hotplugging#My_mouse_is_jerky.2Funcontrollable_in_SDL_apps.2Fgames.21_WTF.3F
https://bugs.launchpad.net/ubuntu/+source/libsdl1.2/+bug/189958
http://www.gentoo-wiki.info/TIP_Activating_wheelmouse_support_in_Xorg#Uncontrollable_mouse_in_SDL_apps
Comment 1 Ryan C. Gordon 2009-09-13 16:33:28 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 2 Sam Lantinga 2009-09-27 23:54:47 UTC
More evdev fun for joo. :)
Comment 3 Ozkan Sezer 2009-09-28 00:28:44 UTC
One related (and baffling behaviour) I encounter is mouse wheel:  Under fedora9, using the mouse wheel screws the input by affecting further left/right keys or other mouse keys usage.  This I experience with uhexen2 (uhexen2.sf.net) and with hhexen and hheretic projects (hhexen.sf.net).  Exporting SDL_VIDEO_X11_DGAMOUSE=0 seems to "cure" it, although not the most lilkeable of workarounds.
Comment 4 Ryan C. Gordon 2009-09-28 23:47:36 UTC
Pretty sure this is the same issue as Bug #609.

--ryan.

*** This bug has been marked as a duplicate of bug 609 ***