Bug 100408 - Missing lines in xterms
Summary: Missing lines in xterms
Status: RESOLVED DUPLICATE of bug 97914
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Chris Wilson
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 04:41 UTC by Kamil Iskra
Modified: 2017-03-27 08:41 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Corruption visible in the bottom-left corner (3.66 MB, image/png)
2017-03-27 04:41 UTC, Kamil Iskra
no flags Details
Xorg log (25.36 KB, text/x-log)
2017-03-27 04:42 UTC, Kamil Iskra
no flags Details
Kernel log (35.13 KB, text/plain)
2017-03-27 04:43 UTC, Kamil Iskra
no flags Details

Description Kamil Iskra 2017-03-27 04:41:43 UTC
Created attachment 130475 [details]
Corruption visible in the bottom-left corner

I'm seeing serious drawing issues in xterms (the good old fashioned ones, "xterm" binary). Screen doesn't get refreshed or lines are missing (empty). Switching to a different window fixes them.

Reproducible: I don't have a foolproof testcase, but just a few minutes in a terminal window tends to be enough to notice problems. Seems to be especially common with tall (full screen height) terminal windows and when multiple lines need to drawn quickly in succession. Simply repeating 'ls -l' a dozen times or so tends to be enough, or a "cat" of a short text file.

Workaround: switching to UXA or the modesetting driver.

Environment: Sony Vaio Pro 11 laptop with i5-4200U CPU (HD Graphics 4400).  4.10.6 kernel, KDE plasma 5.8.5 (compositing enabled).  Xorg server 1.18.4 (1.19.2 acts the same).

The critical component seems to be the Intel driver.  It works fine with what Gentoo calls version "2.99.917_p20160621" (based on git commit c28e62f94f15c9f5c4fb0744588f08ae18e4a9b5).  The next Gentoo version is "2.99.917_p20161206" (based on git commit 169c74fa6c2cd9c28dd7bfacd9639cd245b8c8a8) and that one is already broken.  I tried every subsequent Gentoo version as well as your git HEAD (cb6ba2da056f3298a765b4da5cd626343c00a533) and they all exhibit this bug.

I'll attach a screenshot showing the corruption as well as my Xorg log and a dmesg output.  I could try bisecting it if needed but considering a nearly six-month window, I would appreciate a list of possible culprits.
Comment 1 Kamil Iskra 2017-03-27 04:42:39 UTC
Created attachment 130476 [details]
Xorg log
Comment 2 Kamil Iskra 2017-03-27 04:43:14 UTC
Created attachment 130477 [details]
Kernel log
Comment 3 Chris Wilson 2017-03-27 08:41:12 UTC
Still mesa not refreshing its external texture-from-pixmap prior to rendering.

*** This bug has been marked as a duplicate of bug 97914 ***


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.