Bug 10549 - savage driver displays pink banner when viewing HD videos
Summary: savage driver displays pink banner when viewing HD videos
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/savage (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Tormod Volden
QA Contact: Xorg Project Team
URL:
Whiteboard: 2011BRB_Reviewed
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 12:27 UTC by Eugenia Loli-Queru
Modified: 2014-12-11 01:25 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
photo of issue (105.08 KB, image/jpeg)
2011-10-09 18:01 UTC, Jeremy Huddleston Sequoia
no flags Details

Description Eugenia Loli-Queru 2007-04-06 12:27:16 UTC
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).
Comment 1 Eugenia Loli-Queru 2007-04-06 13:28:04 UTC
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.
Comment 2 Alex Deucher 2007-07-11 18:31:51 UTC
the overlay hardware is limited to 1024x1024.
Comment 3 Eugenia Loli-Queru 2007-07-11 19:24:35 UTC
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.
Comment 4 Marco Leise 2010-02-28 05:35:51 UTC
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 ;)
Comment 5 Marco Leise 2010-02-28 05:45:31 UTC
(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.
Comment 6 Jeremy Huddleston Sequoia 2011-10-09 18:01:13 UTC
Created attachment 52160 [details]
photo of issue
Comment 7 Jeremy Huddleston Sequoia 2011-10-09 18:04:47 UTC
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"?


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.