You are not logged in.

#1 2012-03-09 20:54:15

Painless
Member
Registered: 2006-02-06
Posts: 233

recent libx* upgrade issues

Hi all!

I upgraded a number of packages today on my laptop today.  I upgrade often so this wasn't a huge upgrade.  After rebooting, I noticed that xmessage and xclock were using lots of CPU (about 60% of a core each), and that rxvt-unicode (Monaco font) was much wider than it used to be.  I tried downgrading the kernel and nvidia driver, no change, so I reverted to the latest versions again.  Then I downgraded the recent libx* upgrades, specifically:

libxext (1.3.1-1 -> 1.3.0-2)
libxxf86vm (1.1.2-1 -> 1.1.1-2)
libxxf86dga (1.1.3-1 -> 1.1.2-2)
libxv (1.0.7-1 -> 1.0.6-2)
libxvmc (1.0.7-1 -> 1.0.6-2)
libxtst (1.2.1-1 -> 1.2.0-2)
libxt (1.1.2-1 -> 1.1.1-2)
libxss (1.2.2-1 -> 1.2.1-2)
libxres (1.0.6-1 -> 1.0.5-2)
libxrender (0.9.7-1 -> 0.9.6-2)
libxpm (3.5.10-1 -> 3.5.9-2)
libxmu (1.1.1-1 -> 1.1.0-2)
libxkbfile (1.0.8-1 -> 1.0.7-2)
libxinerama (1.1.2-1 -> 1.1.1-2)
libxft (2.3.0-1 -> 2.2.0-2)
libxdmcp (1.1.1-1 -> 1.1.0-2)
libxcursor (1.1.13-1 -> 1.1.12-1)

Which fixed both the high CPU for xclock and xmessage and the "wide font" issue.  xclock and xmessage are used by the xdm-arch-theme package from AUR.

I'm using i686 and my (Dell) laptop has an NVidia 8600M GT.

Has anyone else experienced this?

Rob

Offline

#2 2012-03-10 10:02:25

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: recent libx* upgrade issues

I use xclock in Openbox on my x86_64 system, and I don't notice any higher cpu usage with it after updating to the last versions of these libx* packages.
I don't use xdm.
Have you tried without the xdm-arch-theme package?

Offline

#3 2012-03-10 10:21:45

ReinisFMF
Member
Registered: 2012-03-10
Posts: 3

Re: recent libx* upgrade issues

Hi!

I can confirm the font issue. (rxvt-unicode, DejaVuSansMono font) Downgrading libxft solved it.

I made some screenshots to compare the situation after and before upgrade:
FluxBB bbcode test

Found this:
http://cgit.freedesktop.org/xorg/lib/libXft/tree/NEWS

Version 2.3.0

Subpixel LCD text rendering improvements

I think the subpixel rendering improvements are guilty here (you can zoom in the image to see the effect).

Cheers!

Offline

#4 2012-03-10 10:56:32

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: recent libx* upgrade issues

The new version of libxt also breaks xscreensaver.  It outputs corrupted graphics and the CPU hits 100%.  Rebuilding screensaver does not wok but downgrading libxt fixes it.  These a bug report regarding another problem too - FS#28844.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#5 2012-03-10 11:27:42

J.
Member
Registered: 2011-01-31
Posts: 57

Re: recent libx* upgrade issues

Offline

#6 2012-03-10 11:47:54

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,641

Re: recent libx* upgrade issues

Are you all running old Xorg from extra? I don't see anything broken on my testing systems with recent Xorg.

Offline

#7 2012-03-10 12:08:49

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: recent libx* upgrade issues

I'm running with a fully up-to-date testing.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#8 2012-03-10 13:31:44

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

Re: recent libx* upgrade issues

I can confirm the urxvt issues with libxft 2.3.0-1. Downgrading to libxft 2.2.0-2 helped.


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

Offline

#9 2012-03-10 16:05:32

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: recent libx* upgrade issues

loafer wrote:

The new version of libxt also breaks xscreensaver.  It outputs corrupted graphics and the CPU hits 100%.

I do not see that here: xscreensaver works the same as before the upgrade to libxft 2.3.0-1 and libxt 1.1.2-1.

Offline

#10 2012-03-10 19:57:39

HoZ
Member
Registered: 2008-03-30
Posts: 45

Re: recent libx* upgrade issues

The problem I now have with xscreensaver after these upgrades, only involves specific screensavers that must load images from a user-defined location (GLSlideshow, photopile, etc..)  Xscreensaver returns:

Warning: Select failed; error code 5

Offline

#11 2012-03-10 21:44:57

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: recent libx* upgrade issues

Hi all,

Thanks for the input - libxft downgrade has certainly sorted out the urxvt font width problem.  Alas, xclock and xmessage still use high CPU, though I've managed to narrow it down to one (or maybe all) of these three:

libxmu
libxext
libxt

Reverting to earlier versions of these stops xclock and xmessage high CPU usage.

Rob

Last edited by Painless (2012-03-10 21:45:19)

Offline

#12 2012-03-10 21:49:00

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: recent libx* upgrade issues

Ignore this post, I misread the previous post.

Last edited by loafer (2012-03-10 21:51:45)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#13 2012-03-11 15:38:42

darkfeline
Member
Registered: 2012-02-14
Posts: 94

Re: recent libx* upgrade issues

I am experiencing the same problem as HoZ

Offline

#14 2012-03-11 16:19:09

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: recent libx* upgrade issues

darkfeline wrote:

I am experiencing the same problem as HoZ

https://bugs.freedesktop.org/show_bug.cgi?id=47203


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#15 2012-03-12 08:50:41

eworm
Package Maintainer (PM)
From: Oberhausen, Germany
Registered: 2010-01-30
Posts: 105
Website

Re: recent libx* upgrade issues

Just opened a bug in Arch bug tracker: https://bugs.archlinux.org/task/28875


ArchLinux - make it simple & lightweight

Offline

#16 2012-03-12 13:02:53

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: recent libx* upgrade issues

Had to downgrade and freeze libxft, too. The fonts on urxvt were unbearable - unfortunately terminus doesn't do a good job in rendering some accented characters, otherwise that's what I'd be using. Terminus rendering didn't break with the upgrade, it only happened with some fonts - Bitstream Vera Sans mono in my case.

Offline

#17 2012-03-12 21:07:08

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: recent libx* upgrade issues

libxt 1.1.2-2 fixes the problem with xscreensaver.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#18 2012-03-12 22:14:36

Painless
Member
Registered: 2006-02-06
Posts: 233

Re: recent libx* upgrade issues

libxt 1.1.2-2 has fixed the xclock and xmessage problems for me as per https://bugs.archlinux.org/task/28844

However, libxft 2.3.0-2 does not fix the wide fonts issue.

Offline

#19 2012-03-15 17:40:47

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: recent libx* upgrade issues

I’d also like to confirm the same here. My ~/.Xresources has

URxvt*font:             xft:Bitstream Vera Sans Mono:pixelsize=13:antialias=true

and urxvt gets wider with libxft-2.3.0-2 than with libxft-2.2.0-2. Downgrade helped.

Offline

#20 2012-03-15 19:15:59

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: recent libx* upgrade issues

jakob wrote:

I’d also like to confirm the same here. My ~/.Xresources has

URxvt*font:             xft:Bitstream Vera Sans Mono:pixelsize=13:antialias=true

and urxvt gets wider with libxft-2.3.0-2 than with libxft-2.2.0-2.

ditto.

urxvt.font:   xft:Inconsolata:size=15:antialias=true:hinting=true

Offline

#21 2012-03-15 19:55:28

jjacky
Member
Registered: 2011-11-09
Posts: 347
Website

Re: recent libx* upgrade issues

I don't have this problem and one thing I notice is that I have antialias off myself, everybody else with the issue seems to have it on. So I guess it's probably not linked to the font/size, but antialiasing...

Offline

#22 2012-03-15 20:01:55

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: recent libx* upgrade issues

Yup, I confirm. Only antialiased fonts are wider.

Last edited by Onyros (2012-03-15 20:08:17)

Offline

#23 2012-03-16 12:59:40

pskept
Member
From: pineal gland
Registered: 2011-03-18
Posts: 32

Re: recent libx* upgrade issues

pskept wrote:

ditto.

urxvt.font:   xft:Inconsolata:size=15:antialias=true:hinting=true

today's update to ttf-inconsolata fixed my problem.

Offline

#24 2012-03-16 16:35:49

jakob
Member
From: Berlin
Registered: 2005-10-27
Posts: 419

Re: recent libx* upgrade issues

Onyros wrote:

Yup, I confirm. Only antialiased fonts are wider.

jjacky & Onyros, you are right, if I turn off antialiasing, I don’t have the width problem, however fonts become unbearably ugly…

Offline

#25 2012-03-16 16:40:42

Onyros
Member
From: Lisbon, Portugal
Registered: 2007-10-11
Posts: 307

Re: recent libx* upgrade issues

Subpixel rendering improvements are the most probable culprit. If an update to inconsolata solved the issue, it'll be a matter of time until other fonts having problems catch up.

Offline

Board footer

Powered by FluxBB