Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275549 - kernel-2.6.29 - Font corruption on intel video with KMS / UXA acceleration.
Summary: kernel-2.6.29 - Font corruption on intel video with KMS / UXA acceleration.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-06-26 21:33 UTC by Patrick Williams
Modified: 2009-07-12 20:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Williams 2009-06-26 21:33:00 UTC
I'm currently running gentoo-sources-2.6.29-r5 with x11-base/xorg-server-1.6.1.901-r3 and x11-drivers/xf86-video-intel-2.7.1 to utilize KMS and UXA acceleration.  System is a Lenovo T61 laptop with the Intel GM965 chip.

After switching to KMS / UXA, I noticed that after about 1 hr of running some fonts in some applications would be corrupted.  For instance, all of the "W" pixmaps would show up as garbage in firefox and I would have to close and reopen the application to get the fonts back.

Searching around this was a bug found in the intel code and appears to be in 2.6.30.  git commit is 07f4f3e8a24138ca2f3650723d670df25687cd05, title is "    i915: Set object to gtt domain when faulting it back in".  Once I applied this patch, early this morning, I have not experienced any font corruption.

I don't know what the life of 2.6.29 will be relative to the stabilization of the xorg-1.6 series, but you might consider pulling in this patch.

Reproducible: Always
Comment 1 Patrick Williams 2009-06-26 21:37:05 UTC
BTW, this is reported upstream in freedesktop.org:

http://bugs.freedesktop.org/show_bug.cgi?id=21790
Comment 2 Wormo (RETIRED) gentoo-dev 2009-06-30 07:17:49 UTC
Thanks for reporting the solution! Assigning to kernel team who can decide whether to include the patch or recommend affected users upgrade to 2.6.30.
Comment 3 Mike Pagano gentoo-dev 2009-07-02 23:17:48 UTC
You were able to apply the 2.6.30 patch to your 2.6.29 kernel?

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff_plain;h=07f4f3e8a24138ca2f3650723d670df25687cd05
Comment 4 Patrick Williams 2009-07-02 23:26:27 UTC
Yes.  There is a minor collision in that the list_add was changed to a list_add_back in 2.6.30.  I assume this was done for some minor performance benefit and either way would work.  The code change itself is to add a few line, but git has a collision because the surrounding line changed.
Comment 5 Mike Pagano gentoo-dev 2009-07-12 20:10:39 UTC
Fixed in gentoo-sources-2.6.29-r6