Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xterm 3% cpu usage, urxvt 40%, WHY????
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Wed Jan 02, 2013 5:43 pm    Post subject: xterm 3% cpu usage, urxvt 40%, WHY???? Reply with quote

hi,

urxvt seems to have a problem with its rendering engine. Something as simple as playing a song with mplayer that displays this on the terminal:

Code:
A:   0.6 V:   0.6 A-V:  0.005 ct:  0.029   0/  0 12%  0%  2.2% 0 0


with urxvt xorg process X goes up to 40%, when I do this with xterm xorg X process stays at 3%.

How can this be??

my current rxvt-unicode USE flags are:

Code:
256-color alt-font-width fading-colors focused-urgency font-styles iso14755 mousewheel perl
unicode3 xft -afterimage -blink -buffer-on-clear -pixbuf -secondary-wheel -startup-notification -vanilla -wcwidth


I want to fix this once and for all. Whatever urxvt is doing sometimes causes to crash the shell even.

If anyone know where I can start looking at this matter I'd appreciate it much.

thnks
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9677
Location: almost Mile High in the USA

PostPosted: Wed Jan 02, 2013 9:38 pm    Post subject: Reply with quote

I have no idea but perhaps have some ideas... Are you using transparent background?

What about if you did something "find /" in a window, which uses more CPU - urxvt or xterm?

What video card are you using? And driver? Is it accelerated?

Do vte-derived terminals (like gnome-terminal) behave badly too?
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
_______0
Guru
Guru


Joined: 15 Oct 2012
Posts: 521

PostPosted: Thu Jan 03, 2013 9:22 pm    Post subject: Reply with quote

anybody?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21602

PostPosted: Fri Jan 04, 2013 2:56 am    Post subject: Reply with quote

_______0 wrote:
anybody?

eccerr0r asked some good questions. Can you answer them?
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Fri Jan 04, 2013 3:20 am    Post subject: Reply with quote

Xterm have 4 differents USE flags and rxvt-unicode have 18. That's make rxvt-unicode surely less light then xterm. Try to compile rxvt (4 USE flags) to see if it use less resources than rxvt-unicode. Try to disable selectively rxvt-unicode USE flags to find out which one consume most resources.
_________________
Paul
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum