reopen 583604 thanks To get the 2D performances back (300FPS vs. 17FPS) I had to disable KMS. In this case, the display corruption still happens with the newer driver and kernel. One difference: it doesn't happen when I run iceweasel, but when I run emacs (cf. attachment). - Sylvain On Sat, May 29, 2010 at 01:50:35AM +0200, Sylvain Beucler wrote: > 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: > */
Attachment:
Capture-2.png
Description: PNG image