[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] OSX 10.7/10.8 Regression



The doublebuf flag doesnt do anything for sw surfaces.

On Fri, Oct 19, 2012 at 11:19 PM, Jason M. Marshall <jmm0@xxxxxxxxx> wrote:
> Is there a significant difference in performance between using the DOUBLEBUF
> flag and not using the DOUBLEBUF flag?
>
> e.g. Using DOUBLEBUF:
> screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN |
> pygame.DOUBLEBUF)
> Not using DOUBLEBUF:
> screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
>
> ________________________________
> From: Ryan Hope <rmh3093@xxxxxxxxx>
> To: pygame-users@xxxxxxxx
> Sent: Sunday, October 14, 2012 9:32 PM
>
> Subject: Re: [pygame] OSX 10.7/10.8 Regression
>
> I've converted my app to do dirty rect animation and it still super
> slow on MacOS 10.7/10.8. When I profile my code, pygame.display.update
> take ~20ms per call on 10.7/10.8, on my 10.6 system which has slower
> CPU and GPU pygame.display.update takes 0.01ms per call. What gives?
>
> Am I the only one that is experiencing this?
>
> On Wed, Oct 10, 2012 at 1:01 PM, Ryan Hope <rmh3093@xxxxxxxxx> wrote:
>> I cleared out all the old pygame and sdl code and install the new
>> stuff. Im fairly confident I did this correctly as the game runs with
>> out errors and pygame is reporting the expected sdl version.
>>
>> On Wed, Oct 10, 2012 at 12:57 PM, Jason M. Marshall <jmm0@xxxxxxxxx>
>> wrote:
>>> Assuming that you installed the SDL 1.2.15 build correctly, I'm stumped.
>>> Sorry.
>>>
>>> ________________________________
>>> From: Ryan Hope <rmh3093@xxxxxxxxx>
>>> To: pygame-users@xxxxxxxx
>>> Sent: Wednesday, October 10, 2012 11:02 AM
>>>
>>> Subject: Re: [pygame] OSX 10.7/10.8 Regression
>>>
>>> I just got a build of pygame against SDL 1.2.15, its still terribly
>>> slow in fullscreen.
>>>
>>> On Wed, Oct 10, 2012 at 11:55 AM, Ryan Hope <rmh3093@xxxxxxxxx> wrote:
>>>> Apple 2.7, I was using this
>>>> http://www.pygame.org/ftp/pygame-1.9.2pre-py2.7-macosx10.7.mpkg.zip
>>>>
>>>> On Wed, Oct 10, 2012 at 11:52 AM, Jason M. Marshall <jmm0@xxxxxxxxx>
>>>> wrote:
>>>>> I think you should try a build of pygame that uses SDL 1.2.15. Which
>>>>> version
>>>>> of Python are you using?
>>>>>
>>>>> ________________________________
>>>>> From: Ryan Hope <rmh3093@xxxxxxxxx>
>>>>> To: pygame-users@xxxxxxxx
>>>>> Sent: Wednesday, October 10, 2012 9:06 AM
>>>>> Subject: Re: [pygame] OSX 10.7/10.8 Regression
>>>>>
>>>>> No, 1.2.14
>>>>>
>>>>> On Wed, Oct 10, 2012 at 9:58 AM, Jason M. Marshall <jmm0@xxxxxxxxx>
>>>>> wrote:
>>>>>> Ryan,
>>>>>>
>>>>>> Does your build of pygame use the new SDL 1.2.15? Enter this into an
>>>>>> interactive Python window:
>>>>>> import pygame
>>>>>> pygame.get_sdl_version()
>>>>>>
>>>>>> Jason
>>>>>>
>>>>>> ________________________________
>>>>>> From: Ryan Hope <rmh3093@xxxxxxxxx>
>>>>>> To: pygame-users@xxxxxxxx
>>>>>> Sent: Tuesday, October 9, 2012 7:49 PM
>>>>>> Subject: [pygame] OSX 10.7/10.8 Regression
>>>>>>
>>>>>> Has anyone noticed any issues running their pygame apps in fullscreen
>>>>>> on 10.7 or 10.8. I have an app that runs fine on 10.5 but on a faster
>>>>>> laptop with 10.8 and an even faster laptop with 10.7 the app runs like
>>>>>> shit in fullscreen.
>>>>>>
>>>>>> --
>>>>>> Ryan Hope, M.S.
>>>>>> CogWorks Lab
>>>>>> Cognitive Science Department
>>>>>> Rensselaer Polytechnic Institute
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Ryan Hope, M.S.
>>>>> CogWorks Lab
>>>>> Cognitive Science Department
>>>>> Rensselaer Polytechnic Institute
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Ryan Hope, M.S.
>>>> CogWorks Lab
>>>> Cognitive Science Department
>>>> Rensselaer Polytechnic Institute
>>>
>>>
>>>
>>> --
>>> Ryan Hope, M.S.
>>> CogWorks Lab
>>> Cognitive Science Department
>>> Rensselaer Polytechnic Institute
>>>
>>>
>>
>>
>>
>> --
>> Ryan Hope, M.S.
>> CogWorks Lab
>> Cognitive Science Department
>> Rensselaer Polytechnic Institute
>
>
>
> --
> Ryan Hope, M.S.
> CogWorks Lab
> Cognitive Science Department
> Rensselaer Polytechnic Institute
>
>



-- 
Ryan Hope, M.S.
CogWorks Lab
Cognitive Science Department
Rensselaer Polytechnic Institute