Kernel Bug Tracker – Bug 11016
i945: mplayer -vo gl messes up screen
Last modified: 2008-07-03 08:53:08 UTC
Latest working kernel version: v2.6.25
Earliest failing kernel version: v2.6.25-5100-g7b832b5, 2.6.26-rc1
Hardware Environment: HP Compaq nx7300, i945
Software Environment: xorg-video-intel 2.3.1, MPlayer dev-SVN-r27057-4.2.4
It looks like this: http://tomi.nomi.cz/tmp/broken_mplayer_gl_2.6.26.mov
You can see the screen gets corrupted at the top around the mplayer window,
but it's the same rectange that gets corrupted in which the video works and
I had intel driver 2.1.1 a few weeks ago and it looked a bit different there -- didn't corrupt the top of the screen but was corrupted in the whole mplayer window.
I bisected it to 7b832b56bd971348329c3f4c753ca0abfdf3a3d1. i945 seems not to support these tiled XY blits, or at least not this way. Reverting this at HEAD serves as a workaround.
adding the commit signoffs to cc
A post-2.6.25 regression.
The simplest fix would be to revert Keith's change. But the changelog
for that patch has insufficient information to permit to know what the
effect of that revert would be. Did the patch fix a bug? If so, what
Created attachment 16679 [details]
don't use tile bits on non-965
Yeah, we don't want to revert the change, however we shouldn't set those bits on pre-965 chips either. Does this patch help?
Looks like the 945 doesn't need these register settings -- it uses the fence registers for detiling instead of explicit configuration. Jbarnes has a patch, and liskni_s is testing it now.
This entry is being used for tracking a regression from 2.6.25. Please don't
close it until the problem is fixed in the mainline.
Just sent the fix to Linus & Dave. Should be applied soon.
Handled-By : Jesse Barnes <firstname.lastname@example.org>
Patch : http://bugzilla.kernel.org/attachment.cgi?id=16679
Fixed by 3d25802e3ba7c82457b5c12bbfeefe391d8a333e.