Hi,
Looks like SDL_HasSSE is indeed buggy on SDL 64bit systems.
Seems redhat has a patch for it:
https://bugzilla.redhat.com/show_bug.cgi?id=487720
A patch is here:
http://cvs.fedoraproject.org/viewvc/rpms/SDL/devel/SDL-1.2.13-rh487720.patch?revision=1.1view=markup
Also there is a patch in SDL
Hi,
unfortunately Lenards patch didn't help. pygame would still crash.
But on the upside the RedHat patch did the trick. With the patched libsdl the
unpatched pygame trunk
it installs and imports without problems! Open source for the win :)
I also reported this bug to the gentoo bugtracker:
Hi,
I believe __x86_64__ is correct, but it is not only SDL_HasSSE but also
SDL_HasMMX that is causing trouble
because both (amongst others) internally call the SDL function
CPU_getCPUIDFeatures which is the culprit.
//Lorenz
Lenard Lindstrom wrote:
Didn't work? Then what C macro should be
Hi Lorenz,
I see. I think for now I will add a macro declaration to the transform
line in Setup.in. When present Pygame will build with MMX disabled for
64 bit intels (the default). To enable MMX/SSE remove the declaration.
I have included a patch that makes the proposed changes to Pygame
Hey,
your patch seems to work as advertised. This is also far less intrusive than
the last patch which
IMHO is a good thing since this is just some patch work to fix somebody else's
bug.
//Lorenz
Lenard Lindstrom wrote:
Hi Lorenz,
I see. I think for now I will add a macro declaration to
On Thu, Jul 2, 2009 at 6:51 AM, Lorenz Quackd...@amberfisharts.com wrote:
Hey,
your patch seems to work as advertised. This is also far less intrusive than
the last patch which
IMHO is a good thing since this is just some patch work to fix somebody
else's bug.
//Lorenz
Cool...
Oops, forgot to attach the patch.
Lenard
Lenard Lindstrom wrote:
Hi Lorenz,
Yes, it is supposed to be summer where I am too, and actually was hot
for awhile, but not now. Anyway, to make sure I am clear on this, Rev.
1658 crashes when the transform module is imported, but earlier
Hi Lorenz,
Yes, it is supposed to be summer where I am too, and actually was hot
for awhile, but not now. Anyway, to make sure I am clear on this, Rev.
1658 crashes when the transform module is imported, but earlier
revisions work. I assume this means pygame.transform.smoothscale also
works.
Hey Lenard,
sorry for the long delays but I'm quite busy these days plus the good
weather... not many PC hours left.
Lenard Lindstrom wrote:
Hi Lorenz,
Could you try dropping in SVN rev 1912 of transform.c instead. This
predates the Python 3 updates. This is kind of reaching, but it will
Hi again,
you figured this out yet?
not 100% but at least now I get it to compile by following your advice:
Easiest way to work around it...
Comment out import transform lines in the file:
site-packages/pygame/__init__.py
[...]
Perhaps try commenting out the sse/mmx parts?
Hi Lorenz,
Could you try dropping in SVN rev 1912 of transform.c instead. This
predates the Python 3 updates. This is kind of reaching, but it will
narrow down the search.
Thanks,
Lenard
Lorenz Quack wrote:
Hi again,
you figured this out yet?
not 100% but at least now I get it to
Hi,
René Dudfield wrote:
hrmm,
you figured this out yet?
unfortunately not.
Easiest way to work around it...
Comment out import transform lines in the file:
site-packages/pygame/__init__.py
I'll do that for now.
What gcc version are you using? Also what cpu do you have?
hrmm,
you figured this out yet?
Easiest way to work around it...
Comment out import transform lines in the file:
site-packages/pygame/__init__.py
What gcc version are you using? Also what cpu do you have?
gcc --version
cat /proc/cpuinfo
What is the gcc line you are using to compile
René Dudfield wrote:
On Sat, May 30, 2009 at 9:07 AM, Lorenz Quack d...@amberfisharts.com wrote:
Hi,
I have a problem running pygame from the current svn sources. building and
installing works fine but when I import pygame it crashes:
import pygame
Fatal Python error: (pygame parachute)
Hi,
I have a problem running pygame from the current svn sources.
building and installing works fine but when I import pygame it crashes:
import pygame
Fatal Python error: (pygame parachute) Segmentation Fault
Aborted
If I run it through pdb I get the following result:
pdb.run(import
On Sat, May 30, 2009 at 9:07 AM, Lorenz Quack d...@amberfisharts.com wrote:
Hi,
I have a problem running pygame from the current svn sources.
building and installing works fine but when I import pygame it crashes:
import pygame
Fatal Python error: (pygame parachute) Segmentation Fault
16 matches
Mail list logo