| Summary: | X.org crashes instantly when pushing a joystick button / direction | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | xorg | Reporter: | Mahendra Tallur <mahen> | ||||||||
| Component: | Input/joystick | Assignee: | Sascha Hlusiak <bugs> | ||||||||
| Status: | RESOLVED INVALID | QA Contact: | Xorg Project Team <xorg-team> | ||||||||
| Severity: | major | ||||||||||
| Priority: | medium | CC: | bugs, mahen, peter.hutterer, ykonotopov | ||||||||
| Version: | 7.5 (2009.10) | ||||||||||
| Hardware: | x86-64 (AMD64) | ||||||||||
| OS: | Linux (All) | ||||||||||
| Whiteboard: | 2011BRB_Reviewed | ||||||||||
| i915 platform: | i915 features: | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Mahendra Tallur
2010-03-05 01:12:29 UTC
Created attachment 33782 [details]
lshal output
Unfortunately, I cannot provide an evtest-capture output. Indeed : I need to unplug / replug the gamepad to get it initialized. If I switch to the TTY1 console, the gamepad needs to be initialized again. If I use evtest-capture in my X session, the crash is too sudden and the generated xml file is empty... I forgot an important piece of information : the crash doesn't depend on the GPU driver used. (occurs with both VESA and NVIDIA drivers) if it only crashes once you press the joystick, you can still get the evtest output from it this way: start a terminal, then start screen. inside screen, run evtest-capture. now crash the server, when it comes back reconnect to the screen session with "screen -r". This shouldn't kill the evtest-capture process and thus flush the xml file. Thank you Peter, that's really good to know ! So here's the evtest-capture.xml file. I just launched sdlmame and moved the horizontal axis of the first stick to the left, then it brought down the whole X server. Cheers ! Created attachment 34033 [details]
evtest-capture, with the fdi file, screen, sdlmame
reassigning to joystick driver, I can't reproduce this with evdev. Did you set input.x11_options.SendCoreEvents to 'false'? Does it crash when you set it to true? If you have it to false you could as well just deactivate the joystick driver completely to be sure it's the joystick module that triggers the crash. I will try to reproduce it.. Hello Sascha, thanks for your reply ! I eventually decided to install both Archlinux and Ubuntu at the same time. I can confirm that : - with Archlinux (current), the crash occurs with input.x11_options.SendCoreEvents set to false. BUT INDEED, it doesn't crash when it is set to true ! Your assumption was right ! - with Ubuntu (Lucid Beta 1), it doesn't crash (strangely, it doesn't seem to respect the aforementioned option, which it did in Karmic - with no crash either). The other issues exist in both cases (custom FDI required, axis problems, unplug / replug required). Cheers ! I can not reproduce this bug with quake3. Generally joystick clients fight over the data so unless you are really using the xorg joystick driver, it's a good idea to generalle disable it completely. Setting SendCoreEvents to false is a workaround but will still keep the joystick module working in the background, possibly causing it to fight over the device with the game so you need to unplug it and replug it to make it work. If you do not use the joystick as a mouse device, I recommend to remove the joystick module. What distribution installs and enables the joystick driver by default? Usually that's not what people want. The crash seems to happen only when the joystick is in "floating" mode (not generating core events). Can you reproduce the bug with recent versions of xorg-server? Mass closure: This bug has been untouched for more than six years, and is not obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases. |
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.