Bug 20770 - evdev causes uncontrollable mouse in some SDL apps
Summary: evdev causes uncontrollable mouse in some SDL apps
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/evdev (show other bugs)
Version: 7.4 (2008.09)
Hardware: Other Linux (All)
: medium normal
Assignee: Peter Hutterer
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-20 09:27 UTC by Pacho Ramos
Modified: 2016-11-28 04:39 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Pacho Ramos 2009-03-20 09:27:10 UTC
This is a known issue:
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

At least in my case,I was suffering this with enemy-territory and editting
xorg.conf for adding omit xfree86-dga "solved" the issue for me


What exact info do you need exactly? Thanks!
Comment 1 Rémi Cardona 2009-03-20 13:20:23 UTC
Peter, just a quick question : what kind of interactions are there between evdev and DGA?

Even with newer versions of the server, mouse+DGA seems to work, while evdev+DGA goes completely haywires.

Any clues? Should I just tell users to disable DGA in SDL and/or in their xorg.conf?

Cheers
Comment 2 Pacho Ramos 2009-03-20 13:29:03 UTC
(In reply to comment #1)
> Peter, just a quick question : what kind of interactions are there between
> evdev and DGA?
> 
> Even with newer versions of the server, mouse+DGA seems to work, while
> evdev+DGA goes completely haywires.
> 
> Any clues? Should I just tell users to disable DGA in SDL and/or in their
> xorg.conf?
> 
> Cheers
> 

At least for me, only disabling it in xorg.conf "solves" the problem :-/
Comment 3 Peter Hutterer 2009-03-21 00:26:52 UTC
On Fri, Mar 20, 2009 at 01:20:24PM -0700, bugzilla-daemon@freedesktop.org wrote:
> --- Comment #1 from Rémi Cardona <remi@gentoo.org>  2009-03-20 13:20:23 PST ---
> Peter, just a quick question : what kind of interactions are there between
> evdev and DGA?

weird. evdev and mouse have the same entry points into the server, so when DGA
kicks in they should have exactly the same data.

Put a couple of xf86Msg(X_ERROR, "..."); into xf86PostMotionEventP
(hw/xfree86/common/xf86Xinput.c) to check if the data is the same. Do you see
any differences there?
Comment 4 Peter Hutterer 2016-11-28 04:39:49 UTC
This is a mass change of bugs. Bugs assigned to me that haven't been updated in the last 3 years are closed as WONTFIX, because, well, let's at least be honest about it.

Please do not re-open unless you have a really good reason to do so (e.g. you're fixing it yourself). If it hasn't been fixed in the last 3 years, it probably won't be fixed anytime soon either. Sorry.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.