Summary: | XV broken if pageflip enabled | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Lukas Hejtmanek <xhejtman> | ||||||||
Component: | Driver/intel | Assignee: | Eric Anholt <eric> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||||
Severity: | minor | ||||||||||
Priority: | medium | CC: | barry.scott, jim.duchek, michel, wbrana, yan.z.zhang | ||||||||
Version: | git | ||||||||||
Hardware: | Other | ||||||||||
OS: | All | ||||||||||
Whiteboard: | |||||||||||
i915 platform: | i915 features: | ||||||||||
Attachments: |
|
Description
Lukas Hejtmanek
2007-02-09 11:47:10 UTC
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]
my xorg.conf
Created attachment 8859 [details]
Xorg log
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] Partial fix 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. *** Bug 11182 has been marked as a duplicate of this bug. *** Should be fixed in today's git. *** Bug 9845 has been marked as a duplicate of this bug. *** |
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.