xf86-video-ati randr-1.2 branch on PowerBook5,4 with RV350
Paul Collins
paul at briny.ondioline.org
Sat Aug 25 00:10:34 PDT 2007
"Alex Deucher" <alexdeucher at gmail.com> writes:
> On 8/24/07, Paul Collins <paul at briny.ondioline.org> wrote:
>> Xv doesn't seem to work on the second head, though. Is this expected?
>> (Doesn't work as in when I drag the video window over from the internal
>> display, all I see is what I assume is the overlay key colour.)
>
> It should work, but for some reason it doesn't. The server seems to
> clip the video to the size of the primary crtc before we even get down
> to the driver level. I'm not sure what exactly is going on.
With the following hack, I get Xv across the whole of the second head.
I guess I need to work out what's going on with crtc_region now.
diff --git a/src/radeon_video.c b/src/radeon_video.c
index 5cbe9fc..8fa6406 100644
--- a/src/radeon_video.c
+++ b/src/radeon_video.c
@@ -219,6 +219,9 @@ radeon_clip_video_helper(ScrnInfoPtr pScrn,
*crtc_ret = crtc;
}
+ crtc_region->extents.x2 = 1680;
+ crtc_region->extents.y2 = 1050;
+
ret = xf86XVClipVideoHelper(dst, xa, xb, ya, yb,
crtc_region, width, height);
--
Paul Collins
Wellington, New Zealand
Dag vijandelijk luchtschip de huismeester is dood
More information about the xorg
mailing list