Hi again,

On Fri, May 28, 2010 at 10:40:00PM +0200, Brice Goglin wrote:
> Version: 1:6.13.0-2
> 
> Le 28/05/2010 22:36, Sylvain Beucler a écrit :
> >
> >>You should try with 6.13.0 and KMS since that's what will be in Squeeze. So:
> >>* upgrade your kernel to linux-image-2.6.32-5-686
> >>* install xserver-xorg-video-radeon 6.13.0
> >I can't reproduce the screen corruption anymore, so I guess it's ok :)
> 
> Good to know, closing.

You'll probably also want to know, although that's less good, that 2D
performances decreased quite a lot.  I can only get < 10FPS in 2D
games now (used to be > 60FPS).

This following simple SDL app runs at 17FPS while, from memory, it ran
at least at 100FPS previously.

Shall I open another bug?


#include <stdio.h>
#include "SDL.h"

int main(void)
{
  SDL_Init(SDL_INIT_EVERYTHING);
  SDL_Surface* screen = SDL_SetVideoMode(640,480, 0, SDL_DOUBLEBUF);

  Uint32 start = SDL_GetTicks();
  int nb_frames = 200;
  int i = 0;
  for (; i < nb_frames; i++)
    {
      SDL_Rect r = {10,10,40,60};
      SDL_FillRect(screen, &r, SDL_MapRGB(screen->format, 0,0,255));
      SDL_Flip(screen);
    }
  printf("%g\n", 1000.0 * nb_frames / (SDL_GetTicks() - start));
  SDL_Quit();
}

/**
 * Local Variables:
 * compile-command: "gcc -ggdb $(sdl-config --cflags --libs) test.c -o test"
 * End:
 */

-- 
Sylvain



--
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100528235035.ga3...@perso.beuc.net

Reply via email to