Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339716 - Cursor disappears in x11-terms/rxvt-unicode-9.07-r1 on x11-drivers/xf86-video-intel-2.12.0 with compositing enabled / xorg-server-1.9
Summary: Cursor disappears in x11-terms/rxvt-unicode-9.07-r1 on x11-drivers/xf86-video...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal with 3 votes (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 15:06 UTC by Paweł Rumian
Modified: 2012-06-26 16:08 UTC (History)
5 users (show)

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


Attachments
revert the changes from a previous commit as suggested above (xorg-server-1.9-revert-damageext.patch,401 bytes, patch)
2011-03-16 00:36 UTC, shiny666
Details | Diff
Patch for bug #339716 (xf86-video-intel-2.18-remove-composite-rectangles-hook.patch,6.05 KB, patch)
2012-03-24 00:00 UTC, Paweł Rumian
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paweł Rumian 2010-10-04 15:06:52 UTC
After one of the recent updates the cursor in urxvt randomly disappears. It happens only with 3D compositing acceleration enabled. In my case the manager is x11-misc/xcompmgr-1.1.5, but there are also reports with cairo-compmgr (link below). It happens only in rxvt-unicode, and only with rectangular cursor - after changing it to underline everything is OK. 
I use x11-base/xorg-server-1.9.0-r2, x11-drivers/xf86-video-intel-2.12.0, x11-libs/libdrm-2.4.22, stable mesa.
Link to discussion on gentoo-forums:
http://forums.gentoo.org/viewtopic-t-846125.html

Reproducible: Always

Steps to Reproduce:
1. Run urxvt.
2. 
3.

Actual Results:  
Cursor randomly disappears.

Expected Results:  
Cursor should be constantly visible.

Portage 2.2_rc88 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r0, 2.6.36-rc6 i686)
=================================================================
System uname: Linux-2.6.36-rc6-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 03 Oct 2010 21:40:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/sunrise /var/lib/layman/science"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa bash-completion branding bzip2 bzlib cairo cddb cdr cli cracklib crypt cxx dbus dga dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gif gnuplot gnutls gpm gtk hdaps iconv imagemagick imap imlib ipv6 jabber java jpeg lame laptop latex lcms libnotify loop-aes mad mikmod mmx mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png pppd python qt3support quicktime readline reflection rss sdl session spell sse sse2 ssl startup-notification svg sysfs syslog tcpd tiff truetype unicode usb vorbis webkit win32codecs x264 x86 xcb xine xml xorg xv xvid 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" 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Enne Eziarc 2010-10-04 18:16:46 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=30513

Possibly related? It seems like xorg 1.9 has a few known glitches...
Comment 2 Paweł Rumian 2010-10-04 18:54:06 UTC
(In reply to comment #1)
> https://bugs.freedesktop.org/show_bug.cgi?id=30513
> 
> Possibly related? It seems like xorg 1.9 has a few known glitches...

yes, very possible to me (albeit I'm not an expert) - one guy on Arch forums mentioned that upgrading xorg-server resolved the problem:
https://bbs.archlinux.org/viewtopic.php?pid=835749#p835749
Comment 3 Alex Alexander (RETIRED) gentoo-dev 2010-11-24 22:07:51 UTC
is this still happening with latest rxvt-unicode and xorg-server?
Comment 4 kjrg9l802 2010-12-24 12:05:35 UTC
Broken as of today's xorg update for "stable".
Comment 5 kjrg9l802 2010-12-24 12:34:39 UTC
Quick fix, as suggested by the Internet, is to revert this: http://cgit.freedesktop.org/xorg/xserver/commit/?id=8d7b7a0d71e0b89321b3341b781bc8845386def6
Comment 6 Andreas Fink 2011-01-23 08:03:37 UTC
Still a bug for me with the xorg-server-1.9.3-901-r1 which includes the suggested patch in comment #5
Comment 7 Andreas Fink 2011-01-23 08:46:59 UTC
sorry for the noise... I first thought that I should apply the patch, and not revert it. Reverting it, solves the problem.
Comment 8 shiny666 2011-03-16 00:36:00 UTC
Created attachment 266061 [details, diff]
revert the changes from a previous commit as suggested above

revert http://cgit.freedesktop.org/xorg/xserver/commit/?id=8d7b7a0d71e0b89321b3341b781bc8845386def6
linked above

worked from my local overlay
Comment 9 shiny666 2011-03-16 00:38:08 UTC
also, i am running xorg-server 1.9.4, to be clear.
Comment 10 shiny666 2011-03-16 00:40:13 UTC
<code>
--- b/damageext/damageext.c.bak
+++ b/damageext/damageext.c

@@ -217,6 +217,6 @@ ProcDamageCreate (ClientPtr, client)
     if (!AddResource (stuff->damage, DamageExtType, (pointer) pDamageExt))
         return BadAlloc;

-    DamageSetReportAfterOp (pDamageExt->pDamage, TRUE);
+//  DamageSetReportAfterOp (pDamageExt->pDamage, TRUE);
     DamageRegister (pDamageExt->pDrawable, pDamageExt->pDamage);
</code>

i'm not sure how that resulted in a file not specified in diff. also, it would be useful if the bugtrack had a comment preview feature.
Comment 11 Hans-Peter Deifel 2011-09-06 13:32:12 UTC
The bug still persists with x11-base/xorg-server-1.11.0, x11-drivers/xf86-video-intel-2.16.0 and x11-terms/rxvt-unicode-9.12-r1.

Applying the patch from comment #10 fixes the problem.
Comment 12 Bryan Bickford 2012-02-27 02:07:32 UTC
I am having the same issue, however, it only occurs when using xft fonts.
relevant software:

xorg-server 1.11.4
rxvt-unicode 9.15
xcompmgr 1.1.5
xf86-video-intel 2.17.0-r3

The same issues have been discussed on several arch linux forums
https://bbs.archlinux.org/viewtopic.php?id=106017

However, a definitive solution was not found.

=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7-2640M_CPU_@_2.80GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 21 Feb 2012 12:00:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5 -l5"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xft acl afterimage alsa amd64 audiofile berkdb bzip2 cairo cleartype cli consolekit corefonts cracklib crypt cups curl cxx dbus dri flac fortran gdbm gpm gudev haskell iconv icu imlib imlib2 ipv6 jpeg lame libXft mmx modules mudflap multilib ncurses nls nptl nptlonly openmp pam pcre png policykit ppp pppd python readline session sqlite sse sse2 ssl sysfs tcpd truetype twolame typel unicode vorbis xft xmonad xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan stage tables krita karbon braindump" 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Bryan Bickford 2012-02-27 03:03:50 UTC
(In reply to comment #12)

I too applied the patch per comment #10 and it fixed the issue.
Comment 14 Paweł Rumian 2012-03-22 12:42:43 UTC
I have poked upstream about this bug, you may also want to take a look:
https://bugs.freedesktop.org/show_bug.cgi?id=32547
Comment 15 Paweł Rumian 2012-03-24 00:00:18 UTC
Created attachment 306475 [details, diff]
Patch for bug #339716

Upstream responded and the bug was fixed:
https://bugs.freedesktop.org/show_bug.cgi?id=32547

I have prepared a patch for our x11-drivers/xf86-video-intel-2.18.0 - attached - and I can confirm that it fixes this bug for me.
Comment 16 Paweł Rumian 2012-05-02 13:42:51 UTC
The patch is included in x11-drivers/xf86-video-intel-2.19.0 and so the issue is fixed after upgrading to the latest driver.
Comment 17 Paweł Rumian 2012-06-26 16:08:01 UTC
x11-drivers/xf86-video-intel-2.19.0 is stable, I am closing.