You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 1.2.11 Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2007-06-14 07:47:49 +0000, ralphmerridew wrote:
I recently did a big upgrade (Ubuntu Dapper -> Edgy -> Feisty), and the mouse no longer works in certain programs (those that have special handling, like lbreakout2 or engima), and has similar problems in full screen programs (though
those programs ran with messed-up graphics previous to the upgrade, so I can't say whether the mouse worked in those before the upgrade). Any idea how to fix this?
Button presses are registered, but mouse movement is not. All affected programs appear to use SDL.
On 2007-07-04 15:09:20 +0000, Ryan C. Gordon wrote:
Can you try exporting an environment variable before running these games?
export SDL_VIDEOTARGET=x11
...then launch the game...
./NameOfGameToRun
It might be using the DGA driver by default or something.
--ryan.
On 2007-07-04 15:21:47 +0000, ralphmerridew wrote:
Tried that. No change in result.
Clarification to prior comments:
Some programs appear to detect mouse motion. For example, Enigma will launch the ball in to the SSE whenever I move the mouse; lbreakout2 does not appear to notice mouse motion.
On 2007-07-06 14:06:55 +0000, Michael Kirkland wrote:
I'm seeing this bug in Windows XP as well, with the 1.2.11 runtimes.
On 2007-07-07 23:22:25 +0000, Sam Lantinga wrote:
Ralph, what if you set this environment variable:
export SDL_VIDEO_X11_DGAMOUSE=0
Michael, can you put together a minimal test case for Windows XP? I just tried this myself and it worked fine. Can you also grab the latest SVN snapshot and see if that fixes it? http://www.libsdl.org/tmp/SDL-1.2.zip
On 2007-07-08 06:19:37 +0000, ralphmerridew wrote:
(In reply to comment # 4)
Ralph, what if you set this environment variable:
export SDL_VIDEO_X11_DGAMOUSE=0
Michael, can you put together a minimal test case for Windows XP? I just tried
this myself and it worked fine. Can you also grab the latest SVN snapshot and
see if that fixes it? http://www.libsdl.org/tmp/SDL-1.2.zip
Excellent! That works, though I have to start the program from an xterm.
I'll look into ways to get that command run before menu items. Thank you!
On 2007-07-08 08:18:44 +0000, Sam Lantinga wrote:
I can reproduce this, so I'll take a look. Thanks!
On 2007-07-08 11:49:31 +0000, Sam Lantinga wrote:
Michael, please enter a separate bug with test case for the issue you're seeing on Windows XP.
On 2007-07-08 12:02:07 +0000, Sam Lantinga wrote:
So it appears that in the latest X servers DGA1 isn't just deprecated, it's actually gone. If you use the old API functions, they advertise no direct access, and if you try to set them, on some servers they work but still don't advertise that they work, and on others they don't work.
I think it's time to finally retire the X11 DGA1 code. sigh
For now I'm going to disable the DGA mouse code by default.
On 2007-07-08 13:02:16 +0000, Sam Lantinga wrote:
Created attachment 223
DGA detection test program
Can you build and run this test program and paste the output?
gcc -o testdga testdga.c -lX11 -lXxf86dga
On 2007-07-08 13:20:13 +0000, ralphmerridew wrote:
(In reply to comment # 9)
Created an attachment (id=223) [details]
DGA detection test program
Can you build and run this test program and paste the output?
gcc -o testdga testdga.c -lX11 -lXxf86dga
Not sure whether that was for me or Michael, but if it was for me:
Version = 2.00
Direct Video = 0 NO-DirectGraphics NO-DirectMouse NO-DirectKeyb
On 2007-07-08 13:41:21 +0000, Sam Lantinga wrote:
Thanks! This is fixed in revision 3177.
Some X servers advertise the DGA extension but don't support DGA1 anymore. :)
The text was updated successfully, but these errors were encountered:
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 1.2.11
Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2007-06-14 07:47:49 +0000, ralphmerridew wrote:
On 2007-07-04 15:09:20 +0000, Ryan C. Gordon wrote:
On 2007-07-04 15:21:47 +0000, ralphmerridew wrote:
On 2007-07-06 14:06:55 +0000, Michael Kirkland wrote:
On 2007-07-07 23:22:25 +0000, Sam Lantinga wrote:
On 2007-07-08 06:19:37 +0000, ralphmerridew wrote:
On 2007-07-08 08:18:44 +0000, Sam Lantinga wrote:
On 2007-07-08 11:49:31 +0000, Sam Lantinga wrote:
On 2007-07-08 12:02:07 +0000, Sam Lantinga wrote:
On 2007-07-08 13:02:16 +0000, Sam Lantinga wrote:
On 2007-07-08 13:20:13 +0000, ralphmerridew wrote:
On 2007-07-08 13:41:21 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: