It seems that the S3 savage driver for Xorg has a hardcoded limitation regarding its Xv functionality. If a video is wider than 800 pixels wide, then the rest of the screen has a pink color. For example, my 480p video that is 853x480, has 53 pixels rendered as pink color on the right side of the screen, resulting in a vertical pink banner. Same happens no matter what media player I use, as it's an Xv driver bug, not a media player one. Some facts: 1. It only happens when Xv is used. Other transports work without this bug, but without Xv you don't want to watch HD video anyway because it is too slow without acceleration. 2. DRI driver is loaded. Section "Device" Identifier "S3 Inc. SuperSavage IX/C SDR" Driver "savage" Option "VBERestore" "true" Option "hwcursor" "1" Option "DPMS" "on" Option "backingstore" Option "BusType" "AGP" Option "DmaType" "AGP" Option "DmaMode" "None" Option "AGPMode" "4" Option "AGPSize" "16" EndSection Picture of the problem, see the pink banner here: http://www.osnews.com/img/17627/ibm-t23-1.jpg The video is over 800 pixels wide (480p is 853x480).
BTW, a sane default would be to increase the hardcoded overlay width to 1280x720, which is used in 720p HD video. Of course, videos can be bigger than the 720p resolution (e.g. 576p and 1080p), but the point is, I don't think that anyone with a Savage-based computer will try to playback anything bigger than 720p videos, because usually Savage is used on older machines and these older machines don't have the CPU power to render such big videos. So I think that a sane limit could be 1280x720 (currently it seems to be 800x600), unless VIA surprises us and comes out with a really fast chipset that gets used in newer computers too. But as it stands now, the upper limit can safely be up'ed to 1280 pixels wide.
the overlay hardware is limited to 1024x1024.
The overlay is actually limited to 800x600. The point is to offer support for 720p, in which case the source code of the driver must be made to support 1280x720.
Have you been able to playback videos >800px width without pink banner, Alex? I see there is some of the video showing through under the banner so I agree that the gfx card is capable of a 1024x1024 overlay. (I set mplayer to crop any video above 1024: -vf crop=1024.) But there is always this banner showing up which is some kind of more or less condensed 'fade to pink'. I'm on a T23 as well. They are real die-hards ;)
(In reply to comment #3) > [...] the source code of the driver must be made to support 1280x720. Type xvinfo in the console and you will see the current overlay size limit. While that is what the driver says I believe the developer that the hardware is at its limits there. Ten years ago NTSC/PAL videos where the maximum video size you would see in real life I guess. BTW: I added myself to CC and now all private email adresses show up as 'excluded'. I should really have read the documentation on bugzilla.
Created attachment 52160 [details] photo of issue
Please attach files if possible. I'm glad that your image wasn't 404ing after 4 years, so I was able to upload it to the bug. While the hardware is limited to 1Kx1K, is there something we can do to make this fail more elegantly than with the "pink banner"?
As per https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-savage/+bug/99255/comments/27 .
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.