You are not logged in.

#1 2011-09-15 21:15:53

hexadecagram
Member
Registered: 2011-05-20
Posts: 61

Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

The issue described in this thread is still outstanding for a number of users.

It seems to boil down to this: when using rxvt-unicode with xcompmgr and an Xft font (Liberation Mono, DejaVu Sans Mono, and Terminus were among those tested), the terminal cursor will disappear.  Typing some text and pressing backspace will cause it to reappear.

Furthermore, the entire window sometimes disappears when switching workspaces in Openbox.  Repeated workspace switches or minimizing / restoring the window (via a panel, such as tint2) can make it reappear.

A workaround is to set URxvt*cursorUnderline in ~/.Xdefaults, but some users prefer a block cursor.

Offline

#2 2011-09-15 22:00:01

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

Are there others who still experience this fault?
I run rxvt-unicode 9.12-1 with xcompmgr-dana 20091025-4 (and of course without compositing) and these font settings without any such problems in Openbox since more than a year:

URxvt*font: xft:DejaVu Sans Mono:antialias=true:pixelsize=11
URxvt*boldFont: xft:DejaVu Sans Mono:style=bold:antialias=true:pixelsize=11
URxvt*italicFont: xft:DejaVu Sans Mono:style=italic:antialias=true:pixelsize=11
URxvt*boldItalicFont: xft:DejaVu Sans Mono:style=bolditalic:antialias=true:pixelsize=11

To know or not to know ...
... the questions remain forever.

Offline

#3 2011-09-16 03:10:49

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

The problem is with the Intel video drivers only if I remember correctly.  I know on my desktop (nvidia) my setup works just fine, but on my netbook (intel) the cursor disappears.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#4 2011-10-09 06:12:38

hexadecagram
Member
Registered: 2011-05-20
Posts: 61

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

The suggestion of installing libxft-lcd was made.  I did so, commented-out the URxvt*cursorUnderline line in ~/.Xdefaults, logged out of X, and restarted slim from tty1.

% ldd /usr/bin/urxvt | grep Xft          
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00007fd35f179000)
% pacman -Qo /usr/lib/libXft.so.2
/usr/lib/libXft.so.2 is owned by libxft-lcd 2.2.0-1

After restarting slim, the problem persists.  After rebooting, the problem still persists.

xterm does not exhibit this problem, nor does emacs.  I use both programs with libxft and blinking block cursors, and they both work as expected.  This seems to be an issue with running rxvt-unicode in combination with xcompmgr.  From my POV, it doesn't seem that intel drivers are to blame, but I suppose I wouldn't rule them out.

Last edited by hexadecagram (2011-10-09 21:23:43)

Offline

#5 2011-10-27 20:10:50

peterkosov
Member
From: Russia
Registered: 2010-07-30
Posts: 6

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

same here, cursor still disapear

Offline

#6 2011-10-27 20:14:45

peterkosov
Member
From: Russia
Registered: 2010-07-30
Posts: 6

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

I change xft to regular font

!URxvt.font: xft:Consolas:pixelsize=14:autohint=true:antialias=true
URxvt.font:-*-Terminus-medium-*-*-*-14-*-*-*-*-*-*-r

And it works like charm smile

Last edited by peterkosov (2011-10-27 20:15:17)

Offline

#7 2011-10-28 08:25:01

raphix
Member
Registered: 2008-09-27
Posts: 22
Website

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

The problem persists on my laptop (Intel video driver) with with urxvt+xcompmgr+xft font, as mentioned in the title.

Though, after playing a while with gcompmgr, I think the "-s" option ("Draw server-side shadows with sharp edges") may be involved with the cursor loss (when enabled, I get a cursor indication, seems more or less buggy, but indicates cursor position).


configs files on github  -- keep up the good work, arch devs

Offline

#8 2012-01-05 18:44:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

I just tried urxvt again and had this same problem with xft:Inconsolata both with antialias on or off while using xcompmgr-dana.

Back to xterm again.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#9 2012-01-10 18:42:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,447
Website

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

Oops, scratch that - the libxft-lcd fix worked for me.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#10 2012-01-10 23:25:04

hexadecagram
Member
Registered: 2011-05-20
Posts: 61

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

I asked on the rxvt-unicode mailing list about this issue, and this is the response I got:

Both xcompmgr and (especially) the intel driver have numerous bugs which are far more likely to cause these issues than rxvt-unicode. You should try to reproduce this problem with a non-intel driver and without xcompmgr (i.e. use another driver and another compositing manager).

I am unable to do this at this time, as (purely by coincidence) all of my machines currently have Intel graphics chipsets.  I have a few machines that I could test with a LiveCD, but don't expect I'll be able to do that very soon, as my plate is very full at the moment.

Figured it would be worth at least passing the message along.

Offline

#11 2012-03-16 16:49:22

gorky
Member
From: Kraków, Poland
Registered: 2010-07-05
Posts: 96

Re: Cursor / window disappears with rxvt-unicode + xcompmgr + Xft font

It has been repeated many times, you can fix it by rebuilding xorg-server with the following changes (commenting one line, that is):

--- 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);

Offline

Board footer

Powered by FluxBB