I have a quad head radeon FireMV card, that has two M9 chips that both
have two outputs. I managed to configure everything that Xorg works,
with Xinerama as one big screen. Now I am writing an application with
SDL that has to display two videos, one on screen 1 and one on screen 2,
I managed to do that, and in general it works. The video on screen 4 is
perfect, full screen mpeg using SDL_DisplayYUVOverlay no problem at all.
The video on screen also works but it seems that every call to
SDL_DisplayYUVOverlay causes the blue background to be drawn first and
than the actual picture, so it is blinking like crazy.
To test things i stripped down my application to be one windows with one
mpeg, and i can move the windows from screen 1 to 2 to 3 to 4, and on
screen 1 and 2 there is this blue-blinking and one screen 3 and 4 it
works fine. Before you think this is a hardware problem, i tried
mplayer, ffplay and vlc (all in Xv mode) and they play fine on all 4
screens. ffplay is interesting because that actually uses SDL.
I might have been working way to long on this but i can’t find any
differences in how ffplay opens and writes to the overlay and my code.
Also the SDL FAQ didn’t really help much, i tried about every option,
the effect stays the same.
Has anybody an idea what the problem could be, it sounds clearly like an
programming error from my side, since ffplay works, but i really am
stuck at the moment.