Bug 11993 - Native YV12 overlay bandwidth problems
Summary: Native YV12 overlay bandwidth problems
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: low minor
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-14 06:07 UTC by Arthur Huillet
Modified: 2011-03-31 03:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Arthur Huillet 2007-08-14 06:07:13 UTC
The native YV12 overlay as I implemented it in nouveau has bandwidth problems when playing ED 1920 "unscaled" (larger than the screen).

Card is NV18.
Comment 1 Arthur Huillet 2007-08-17 17:19:39 UTC
I worked around problems by uploading only the part of the image that is actually displayed, so that the source point actually is always 0,0, and the source image is no larger than the user's screen.
This fixed problems on my computer but I am waiting for more testing reports befor e closing this bug as fixed.
Comment 2 Arthur Huillet 2007-10-05 07:04:59 UTC
Update : many bw problems have been fixed by my integration of #4686 (?) nv patch in nouveau, and extending of it to all cards from NV10 to NV30.
There still are some issues that nvidia does not seem to be willing to fix in nv. They're difficult to trigger, so not very important.
Comment 3 Pekka Paalanen 2009-11-19 13:15:25 UTC
status update via irc:

< curro__> heh, nv1x bandwidth problems, that code is a bit broken
< curro__> it seems it did the calculations as if there was always just a single CRTC scanning out
< curro__> i workarounded it on 5603fe7f92d6b06c87f48007989ec1d66d3258bc by making it assume a worst case scenario
< curro__> it probably fixed that bug too
< pq> heh, ahuillet, can you re-test? :-)
< ahuillet> pq : I cannot test any longer
< ahuillet> I don't have a working NV1x setup
< curro__> pq: he would have to backport the fix to UMS
< curro__> pq: anyways i don't think my fix is the right thing to do
< curro__> but i haven't found the time to rework that bandwidth code

Reassigning to bug defaults.
Comment 4 Francisco Jerez 2009-11-28 08:02:50 UTC
This bug will probably go away if the overlay is ported to KMS, forcing from userspace the CRTC arbitration parameters the kernel sets after 2d809ca83bb makes the corruption on the right end of the screen disappear when playing a 1920x1080 YV12 video (at least on my nv11).
Comment 5 Lucas Stach 2011-02-09 02:53:27 UTC
UMS is removed and anything should be ported to KMS. Is this still an issue or could we close this bug?
Comment 6 Lucas Stach 2011-03-31 03:29:45 UTC
Closing this bug since it references a no longer existent part of nouveau and we got no new info about this.


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.