Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371443 - x11-drivers/xf86-video-intel > 2.13.0 screen refresh issue
Summary: x11-drivers/xf86-video-intel > 2.13.0 screen refresh issue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 17:58 UTC by Felix Wagner
Modified: 2012-11-28 20:48 UTC (History)
4 users (show)

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 Felix Wagner 2011-06-13 17:58:59 UTC
I own a Lenovo X61t Laptop and have gentoo running there. Recently xorg server and the xorg drivers were updated.

Since then I have had problems while using rxvt-unicode or any other type of terminal (at least that's when the bug is most visible). 

Whenever I for instance extract an archive or sync my portage or do anything that puts a lot of lines for only a short amount of time on my screen those lines won't be updated (Sorry cant really express myself). If I use my mouse to mark those spots the actual text will show.

Reproducible: Sometimes

Steps to Reproduce:
1. Emerge any version of x11-drivers/xf86-video-intel above 2.13.0
2. Start a terminal and do something (extraction, sync works well)
3. Can only reproduce in my laptop because that's my only Intel Video Card
Actual Results:  
Text that should be outputted isn't outputted

Expected Results:  
Real Time text should show up on screen

Using:

I tried using new drivers and new xorg-server.
Tried xorg-server-1.10.2, xf86-video-intel-2.15.0-r1. Didn't help
I read somewhere that I sould disable composite so I did that in my xorg.conf, didn't either.

Downgrading to xf86-video-intel-2.13 worked for me!
Comment 1 Felix Wagner 2011-06-14 13:37:37 UTC
Actually I apparently also have this problem with  xf86-video-intel-2.13.0.
Comment 2 gunadai 2011-06-14 13:45:10 UTC
I have the same issue on a Dell Optiplex 380 using xf86-video-intel-2.14.0. In particular, when scrolling in xfce's Terminal or on certain webpages (slashdot comes to mind) there will be garbage overlaying some text. The "garbage" appears to be every other scanline from another section of text on the page overlayed on top of the text. Only text is corrupted, I have not seen any images or window decorations corrupted, and like the OP, selecting the text with the mouse draws the text correctly. The text in Terminal can be fixed by scrolling, but will sometimes show identical garbage when scrolling back to the same position.

Downgrading to 2.13.0 fixed my problem as well.

My emerge --info:

Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E7500_@_2.93GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 14 Jun 2011 09:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-b"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ http://gentoo.arcticnetwork.ca/source/ http://gentoo.mirrors.easynews.com/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/dell-o330"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/dustin /opt/portage"
SYNC="rsync://cpl/gentoo-portage"
USE="X acl acpi alsa amd64 apng bash-completion berkdb bzip2 cairo cleartype cli consolekit cracklib crypt cups cxx dbus device-mapper dri exif firefox gdbm gdu gif glitz gtk iconv imagemagick java java6 jbig jpeg ldap libnotify lightning logrotate mmx modules mudflap multilib ncurses nfs nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png policykit pppd python readline samba session sqlite sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd threads thunar tiff truetype type1 udev unicode usb xml xmlwriter xorg xpm xulrunner xv zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Relevant section of lspci -vv:

00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 0a) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0294
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 43
	Region 0: Memory at dfe00000 (32-bit, non-prefetchable) [size=512K]
	Region 1: I/O ports at ecd8 [size=8]
	Region 2: Memory at c0000000 (32-bit, prefetchable) [size=256M]
	Region 3: Memory at dff00000 (32-bit, non-prefetchable) [size=1M]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
		Address: fee0300c  Data: 4189
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
	Kernel driver in use: i915
	Kernel modules: i915

00:02.1 Display controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 0a)
	Subsystem: Dell Device 0294
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Region 0: Memory at dfe80000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [d0] Power Management version 2
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Comment 3 Felix Wagner 2011-06-14 16:11:40 UTC
Hmm, I tred a lot of things: different xorg.conf settings, newer and older xorg-server and xf86-video-intel versions, newer kernel's but the problem was resolved thanks to downgrading my kernel to 2.6.37 (at least it seems to me that way for now, will write more if the situation changes) however that is not a proper solution. But the problem has been isolated, it's in newer kernels.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-06-16 00:06:01 UTC
Another thing you could try is to install the live xf86-video-intel ebuild from the x11 overlay, with the new "sna" acceleration architecture. You will need at least kernel 2.6.39.
Comment 5 Rémi Cardona (RETIRED) gentoo-dev 2011-06-16 05:38:19 UTC
Before moving on to the live git ebuild in the overlay, please make sure you've tried 2.15.0 with gentoo-sources 2.6.39.

Thanks
Comment 6 Felix Wagner 2011-06-16 18:12:30 UTC
I have tried 2.15.0 with gentoo-sources 2.6.39. Will try the x11 overlay now.
Comment 7 Felix Wagner 2011-06-16 18:40:46 UTC
Well I used layman -a x11 and then emerged x11-video-intel only with use flag sna and now everything is soooooooo slooooooowwwwwwwww. Can't work that way. Should I have updated x-server as well?
Comment 8 Henrik Grubbström 2011-09-23 08:34:26 UTC
Sounds like the same problem I have, but I trigger it mostly with emacs/xemacs, where the main symptom is that the redrawing of buffers stops after a few seconds (the cursor stops blinking, no reaction on input, etc). Moving focus to a different X-window or forcing a refresh with C-L gets the emacs-window to redraw.

It looks like the issue has been reported on the Intel-gfx mailing list, but I haven't seen any resolution there:

  http://lists.freedesktop.org/archives/intel-gfx/2011-March/009547.html

In my case: Zepto Notebook, Linux 2.6.39-gentoo-r3, xf86-video-intel-2.15.0-r1/2.16.0, Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Comment 9 Michal Hájek 2011-09-23 11:25:03 UTC
(In reply to comment #8)
> Sounds like the same problem I have, but I trigger it mostly with emacs/xemacs,
> where the main symptom is that the redrawing of buffers stops after a few
> seconds (the cursor stops blinking, no reaction on input, etc). Moving focus to
> a different X-window or forcing a refresh with C-L gets the emacs-window to
> redraw.

I experience this kind of behavior with pure xterm (version 274). 

Linux 2.6.39-gentoo,xf86-video-intel-2.16.0, hw Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Comment 10 Felix Wagner 2011-09-26 08:51:01 UTC
I just now upgraded to kernel: 2.6.39-gentoo-r3. As far as I can see there appears to be no problem now. So it may just be a sys-kernel/gentoo-sources-2.6.38-r4 specific problem!

Regards
Comment 11 Felix Wagner 2011-09-26 11:43:09 UTC
Let me retract my above comment. still doesn't work in 2.6.39-gentoo-r3. Sorry!
Comment 12 Alex Nikiforov 2011-09-28 07:52:59 UTC
x11-drivers/xf86-video-intel-2.16.0
Linux thinkpad 2.6.39.3 #4 SMP Mon Sep 19 23:25:22 MSD 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

the same problem on IBM x61

00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Comment 13 Felix Wagner 2011-09-28 08:27:35 UTC
NO PROBLEMS using:

IBM/Lenovo x61t,

Linux icesword 3.0.4-gentoo #3 SMP PREEMPT Tue Sep 27 14:26:24 CEST 2011 x86_64 Intel(R) Core(TM)2 Duo CPU L7500 @ 1.60GHz GenuineIntel GNU/Linux,

X.Org X Server 1.10.4
Release Date: 2011-08-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.37-gentoo-r4 x86_64 Gentoo
Current Operating System: Linux icesword 3.0.4-gentoo #3 SMP PREEMPT Tue Sep 27 14:26:24 CEST 2011 x86_64
Kernel command line: root=/dev/sda2 thinkpad_acpi.experimental=1 vga=0x305 video=uvesafb:mtrr:3,ywrap,1024x768-32@50
Build Date: 26 September 2011  06:05:24AM,

x11-drivers/xf86-video-intel-2.15.0-r1  USE="dri",
Comment 14 Alex Nikiforov 2011-10-02 20:22:50 UTC
Not working in xterm. gvim, etc

thinkpad nika # uname -a
Linux thinkpad 2.6.39.3 #4 SMP Mon Sep 19 23:25:22 MSD 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux
thinkpad nika # 

thinkpad nika # equery u xf86-video-intel
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/xf86-video-intel-2.13.0:
 U I
 + + dri : Enable direct rendering: used for accelerated 3D and some 2D, like DM
thinkpad nika # 

thinkpad nika # head -n 40 /var/log/Xorg.0.log
[   270.950] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[   270.956] X Protocol Version 11, Revision 0
[   270.958] Build Operating System: Linux 2.6.39.3 x86_64 Gentoo
[   270.960] Current Operating System: Linux thinkpad 2.6.39.3 #4 SMP Mon Sep 19 23:25:22 MSD 2011 x86_64
[   270.963] Kernel command line: root=/dev/sda5 i915.modeset=1
[   270.965] Build Date: 09 September 2011  09:52:54PM
Comment 15 Alex Nikiforov 2011-10-03 19:18:23 UTC
Seems that update to 3 kernel  solve (or workaround???) this problem

Linux thinkpad 3.0.4 #1 SMP Mon Oct 3 01:38:28 MSD 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz GenuineIntel GNU/Linux

thinkpad scripts # equery u xf86-video-intel
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-drivers/xf86-video-intel-2.13.0:
 U I
 + + dri : Enable direct rendering: used for accelerated 3D and some 2D, like DMA
Comment 16 Henrik Grubbström 2011-10-08 15:51:17 UTC
I just upgraded my kernel to 3.0.6-gentoo, and I can confirm that my issues seem to have been solved.
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2012-11-28 20:48:23 UTC
Closing as per comment #16.

Thanks