Are we shipping SDL compiled with DEBUG on?
miriam at debian.org
Sun Jul 1 10:57:27 UTC 2012
2012/6/30 Dominique Dumont <dod at debian.org>:
> Le Saturday 30 June 2012 10:39:40, Miriam Ruiz a écrit :
>> By running some tests with joysticks in pygame , I found out that
>> I'm getting a lot of debug messages coming from SDL when I read input
>> from joysticks.
Sorry, I couldn't reply earlier.
> What hardware are you running on ?
Just a conventional cheap gamepad connected to a netbook (amd64).
inniyah at inanna:~$ uname -a
Linux inanna 3.2.0-2-amd64 #1 SMP Mon Jun 11 17:24:18 UTC 2012 x86_64 GNU/Linux
inniyah at inanna:~$ dpkg -l | grep pygame
ii python-pygame 1.9.1release+dfsg-6
SDL bindings for games development in Python
inniyah at inanna:~$ dpkg -l | grep libsdl
ii libsdl-image1.2:amd64 1.2.12-2
Image loading library for Simple DirectMedia Layer 1.2,
ii libsdl-mixer1.2:amd64 1.2.12-2
Mixer library for Simple DirectMedia Layer 1.2, libraries
ii libsdl-pango1:amd64 0.1.2-6
text rendering with Pango in SDL applications (shared library)
ii libsdl-ttf2.0-0:amd64 2.0.11-2
TrueType Font library for Simple DirectMedia Layer 1.2,
ii libsdl1.2debian:amd64 1.2.15-5
Simple DirectMedia Layer
> If this debug message means that there's too much joystick activity, this may
> be similar to this bug:
No, that's not the case for me. There isn't that much joystick
activity so that the game is frozen or anything like that. It's just
that the overload of unwanted debug messages in the console makes it
hard to follow the rest of debugging messages I want so send there.
I didn't have time to give it a proper look yet, but it seems that
Manuel might be right about it being a problem in pygame and not in
Apparently pygame is not compiled with DEBUG either (well, at least on
i386, I'm using an amd64 and there doesn't seem to be build logs about
it, so the binary was probably uploaded directly by the developers,
but those  are the exact kind of messages I'm having problem with.
Greetings and lots of thanks,
More information about the Pkg-sdl-maintainers