I've encoutered issues with XVideo extension in modesetting version of the
driver, in particular, textured video. Sometimes it displays
I have i915GM chipset.
I've noticed, that displaying another video fixes the issue.
This is info about wrongly played movie:
VO: [xv] 320x240 => 320x240 Planar YV12
And this video fixes the issue:
VO: [xv] 720x576 => 720x576 Planar YV12
If you see this happen with the current modesetting driver, please attach a
config and log. However, my guess (tiling issues) didn't bear out when I
convinced X to tile the front buffer, so I don't know what's going on. I
suppose having a copy of the video (and it looks like you're using mplayer?)
could help in reproducing it, if possible.
Created attachment 8858 [details]
Created attachment 8859 [details]
Current modesetting did not help. However, maybe important thing, I'm using XAA for acceleration. If I use EXA, XV seems to be OK.
Btw, legacy XV video overlay does not work either. Only color key is shown.
Using XAA, it has started to occur regularly at X server startup, any first video I try to play results in garbage. If I then play another video of larger size than the second one is OK.
Fixed in xserver. That was no fun to debug.
Similar display corruption is again present in the current Xserver & intel driver.
It seems to be related to pageflip option. If pageflipping is not enabled, textured video is OK.
Created attachment 9270 [details] [review]
This fixes it with Option "LinearAlloc" here, but not without. It does look tiling related, my guess would be the tiling interferes with the YUV data in offscreen memory somehow.
At any rate, something that only happens with an option that defaults to off shouldn't block the release.
I can also see video window corruption with PageFlip and last release candidates.
With EXA video window isn't corrupted, but creating new regular window is causing
whole screen corruption.
"Partial fix" and Option "LinearAlloc" "8160" seems to remove corruption.
Option "LinearAlloc" "8160" is causing incomplete video image.
Option "LinearAlloc" "16384" is better.
Bug also exists in xf86-video-intel 2.0.0.
Option "LinearAlloc" doesn't exist.
Partial fix is unusable:
patching file src/i830_driver.c
Hunk #1 FAILED at 2532.
1 out of 1 hunk FAILED -- saving rejects to file src/i830_driver.c.rej
Bug persists in current git as of 04-20-2007. All video is corrupted.
*** Bug 11182 has been marked as a duplicate of this bug. ***
The problem seems to be pageflip related, after Eric's fix in comment#6.
The intel.man says pageflip is unstable so not recommending to use at this point.
Should be fixed in today's git.
*** Bug 9845 has been marked as a duplicate of this bug. ***