You are not logged in.

#1 2012-05-01 13:56:42

The Stranger
Member
Registered: 2012-05-01
Posts: 9

Urxvt text tearing / not refreshing properly

Hello,

I have recently been experiencing a very odd issue with urxvt, namely each time I enter text / scroll the application doesn't refresh properly and appears to duplicate text entries / output corrupted text when it's not supposed to. I found this thread
https://bbs.archlinux.org/viewtopic.php?id=117202&p=2
describing the exact same problem that I am facing. It seems that in the previous case a kernel update fixed the issue, is it possible that I'm facing some sort of regression?

For the record everything is up to date and using nvidia proprietary drivers, WM is compiz standalone.

My .Xresources:

URxvt.depth: 32
URxvt.background: rgba:0000/0000/0000/dddd
URxvt.foreground:       #ffffff
URxvt.scrollBar: off
Xft.antialias: 1
Xft.hinting:    1
Xft.hintstyle:  hintslight
Xft.rgba: rgb
URxvt.font: xft:terminus:pixelsize=24
URxvt.boldFont: xft:terminus:bold:pixelsize=24
URxvt.color4: RoyalBlue
URxvt.color12: RoyalBlue
URxvt.geometry: 85x25
URxvt*urlLauncher:         firefox  

Screenshot:

tiyMPl.jpg

Full size here:

http://i.imgur.com/tiyMP.jpg

Last edited by The Stranger (2012-05-01 15:33:30)

Offline

#2 2012-05-01 15:47:18

Bellum
Member
Registered: 2011-08-24
Posts: 230

Re: Urxvt text tearing / not refreshing properly

Probably. I've been having similar, but maybe unrelated, problems myself. You try killing your compositor/disabling transparency?

Offline

#3 2012-05-01 17:20:45

The Stranger
Member
Registered: 2012-05-01
Posts: 9

Re: Urxvt text tearing / not refreshing properly

Erm killing the compositor isn't really an option since I'm using compiz standalone. If you are asking if such artifacts occur in tty then no they don't. I tried turning off transparency but alas no dice.
Any ideas?

Offline

#4 2012-05-01 17:25:53

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Urxvt text tearing / not refreshing properly

Try running a very basic X session, like this (in your .xinitrc):

exec xterm -geometry 80x60+0+0 -name login

Of course, use this temporarily instead of compiz. This way you can check if a non-composite environment makes any difference for the way fonts are displayed in urxvt.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#5 2012-05-01 17:55:56

The Stranger
Member
Registered: 2012-05-01
Posts: 9

Re: Urxvt text tearing / not refreshing properly

Hmm so apparently your intuition was correct. I ran urxvt in the minimalist X environment and noticed none of the issues that I came to face with compiz (well at least for the time that I tested it).
So at least now I know that this is a compiz related issue. I will probably file a bug report when I have the time, but I'm not sure of the usefulness of such actions seeing compiz' development state. Anw thanks for the help, if anyone has any further insights on why or how this is happening they are welcome to comment.

Offline

#6 2012-05-01 18:09:31

bohoomil
Banned
Registered: 2010-09-04
Posts: 2,377
Website

Re: Urxvt text tearing / not refreshing properly

I'm no compiz expert -- last ran it 3 years ago or so -- but try to play with the advanced settings (sync to VBlank, etc.) as they allow to fine tune display settings (sometimes dramatically). Try also searching forum / the Web for existing 'compiz tearing rxvt' hints: some results may come in handy.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

Board footer

Powered by FluxBB