Bug 5812 - Screen corruption in xterms with i810 and XAA
Summary: Screen corruption in xterms with i810 and XAA
Status: RESOLVED DUPLICATE of bug 5443
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: 6.9.0
Hardware: x86 (IA32) OpenBSD
: high normal
Assignee: Alan Hourihane
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-05 01:17 UTC by David Krause
Modified: 2006-02-11 11:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (4.19 KB, text/plain)
2006-02-05 01:19 UTC, David Krause
no flags Details
Xorg.0.log (45.94 KB, text/plain)
2006-02-05 01:19 UTC, David Krause
no flags Details
xorg.conf (3.56 KB, text/plain)
2006-02-05 01:21 UTC, David Krause
no flags Details
xterm screenshot showing the problem (84.67 KB, image/jpeg)
2006-02-05 01:22 UTC, David Krause
no flags Details
Xorg.0.log with the patches from bug 5443 (44.40 KB, text/plain)
2006-02-07 07:38 UTC, David Krause
no flags Details

Description David Krause 2006-02-05 01:17:04 UTC
I upgraded from 6.8.2 to 6.9.0 on OpenBSD/i386 and now I am seeing what appears
to be screen corruption or something in xterms when using the i810 driver. It
doesn't seem to happen in Firefox which is the other main X app I use.  If I
press Ctrl-L to refresh the screen then it redraws sometimes fixing the
corrupted text, sometimes just moving the corruption to another part of the
xterm and sometimes changing the corruption all together.

Setting either XaaNoScanlineCPUToScreenColorExpandFill or XaaNoSolidFillRect
makes the problem disappear.
Comment 1 David Krause 2006-02-05 01:19:24 UTC
Created attachment 4551 [details]
dmesg
Comment 2 David Krause 2006-02-05 01:19:54 UTC
Created attachment 4552 [details]
Xorg.0.log
Comment 3 David Krause 2006-02-05 01:21:23 UTC
Created attachment 4553 [details]
xorg.conf
Comment 4 David Krause 2006-02-05 01:22:53 UTC
Created attachment 4554 [details]
xterm screenshot showing the problem
Comment 5 Alan Hourihane 2006-02-05 02:28:51 UTC
I wonder if there's some kind of compiler optimization bug here as the XAA code
hasn't changed much and the i810's XAA driver code hasn't changed at all between
the two releases.

What compiler did you use to compile 6.8.2 and 6.9.0 ??

As another test, could you take the XAA module from 6.8.2 and see if it corrects
the problem in 6.9.0 ?
Comment 6 Alan Hourihane 2006-02-05 03:01:20 UTC
Actually, looking at your log. I think this is pretty close to bug #5443.

Can you try the patches in this bug noted in comment #49 ?
Comment 7 David Krause 2006-02-07 07:37:24 UTC
I tried those patches and I don't see the corruption with them.  I will attach a
new log file also.
Comment 8 David Krause 2006-02-07 07:38:58 UTC
Created attachment 4570 [details]
Xorg.0.log with the patches from bug 5443
Comment 9 Alan Hourihane 2006-02-10 03:29:46 UTC

*** This bug has been marked as a duplicate of 5443 ***
Comment 10 Matthieu Herrb 2006-02-12 06:24:25 UTC
(In reply to comment #7)
> I tried those patches and I don't see the corruption with them.  I will attach a
> new log file also.

David, can you send me a cvs diff against the OpenBSD XF4 tree with the patches
you applied ?

If this includes commenting out xf86ValidatePci(), I'm a bit worried, because
this is a fairly intrusive change. I don't think it can be applied as is. 


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.