Created attachment 30664 [details]
corruptions with XviD codec
For several months now I experience various corruptions using XV. Now I finally got the time to file a bug here against that because I didn't see a similar record yet.
Those corruptions seem to happen if I scale a movie double or more. When using the software scaler all things are fine and on another system (nVidia card with the nouveau driver) the same movies are scaled correctly and no corruption appears.
The corruption itself is different from movie to movie. Although the amount and type of corruption seem to depend on the video codec it may just be some kind of race condition.
The system setup:
- ATI Radeon X1950XTX (R580)
- Kubuntu 9.04 (kernel 2.6.28)
- radeon driver from xorg-edgers PPA
The corruption can be seen best with kmplayer. Smplayer is the one that seems to be mostly resistant to those corruptions but at least with Sorenson 3 or MPEG 4 codec it also shows those corruptions. Also with a lot of codecs fullscreen in mplayer works fine but when just maximizing the window the corruptions appear. In the end all video players using XV can be made to reproduce the corruption.
As my display setup is 2x 1280x1024 CRT's I cannot reproduce those corruptions with Full-HD content as it cannot be scaled that large and therefore seem to work fine. Also DVD-playback in one of the displays is fine (again, the frame is scaled less than 2x the original size).
I am not using KMS.
I've added some screenshots from some of the corruptions.
Created attachment 30665 [details]
corruptions with DivX3 codec
Created attachment 30666 [details]
corruptions with MPEG4 AVC codec
Created attachment 30667 [details]
good picture (scaled 1 pixel less than double)
Created attachment 30668 [details]
bad picture (scaled exactly double the original video resolution)
What might also be worth noting is the fact that if I drag another window into the video display area the corruptions change a lot. And in some cases the corruptions only appear when dragging a window inside the playback area and disappear again if I drag it out.
Please attach your xorg log and config.
Does disabling bicubic filtering help?
xvattr -a XV_BICUBIC -v 0
(In reply to comment #7)
> Does disabling bicubic filtering help?
> xvattr -a XV_BICUBIC -v 0
No, actually setting it to '0' results in complete crap being displayed at whatever scale. When set to '1' the problem is reverted (corruptions in every scale below 2x - good when double scale or above).
Created attachment 30680 [details]
Created attachment 30681 [details]
Is this still an issue with a newer driver?
(In reply to comment #11)
> Is this still an issue with a newer driver?
I can't say exactly as the card has burned itself. I think it already was a sign of overheating. Therefore I really appreciate that since kernel 2.6.36 the GPU temp is in sensors.
Next thing would be fan speeds... :)
This issue can be closed.