Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
konsole running very slow [solved - workaround]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Sun Aug 31, 2008 3:37 pm    Post subject: konsole running very slow [solved - workaround] Reply with quote

when i use Konsole on my kde 3.5.9, it scrolls lines very slow and the X process takes one of my CPUs to 100%. this happens when a lot of lines are moving on the screen, such as when i'm running an emerge. when it is no moving, the X process takes the right.

i'm not using compiz.
i have an ATI mobility radeon X1600: 3000 fps with glxgears.
i'm running the kernel 2.6.25-gentoo-r7.
if some other info's are necessary, i'll give them.

thank you for help


Last edited by ckx3009 on Tue Sep 02, 2008 1:03 pm; edited 2 times in total
Back to top
View user's profile Send private message
notHerbert
Advocate
Advocate


Joined: 11 Mar 2008
Posts: 2228
Location: 45N 73W

PostPosted: Sun Aug 31, 2008 4:21 pm    Post subject: Reply with quote

Give this a try
File: /etc/make.conf:
PORTAGE_NICENESS=15
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Sun Aug 31, 2008 4:52 pm    Post subject: Reply with quote

the problem is not only given by various emerge: when i have a long output, for example the output of
Code:
#eix
that is long but static, if i scroll the konsole up or down it is slowed a lot (X process = 100%)
the same with every scrolling output, like a "tail -f" on a log file or tar's verbose output

the refresh rate of konsole is extremely low, like a very heavy game...


anyway, i'm trying notHerbert's solution
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Sun Aug 31, 2008 5:22 pm    Post subject: Reply with quote

I doubt that niceness will help you, and I bet once I had this problem as well, just if I could remember what I did back then...

I think I had a problem with enabled transperancy, if you have it enabled, please disable it and see if it works better.
If not: grep ^konsole ~/.xsession-errors
egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Sun Aug 31, 2008 6:27 pm    Post subject: Reply with quote

also without transparency the "cpu consume" is the same and konsole is still slow

Code:
$ grep ^konsole ~/.xsession-errors
konsole: WARNING: Unable to use /usr/kde/3.5/share/apps/konsole/screen.desktop
konsole: WARNING: Unable to use /usr/kde/3.5/share/apps/konsole/screen.desktop
konsole: WARNING: Unable to use /usr/kde/3.5/share/apps/konsole/screen.desktop

$ egrep '^\((EE|WW)\)' /var/log/Xorg.0.log
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) fglrx(0): Dual head is configured, DesktopSetup setting "single" will not be used
(EE) fglrx(0): The new pair mode should not have size bigger than 1280x800. Please try new setting.
(EE) fglrx(1): Quitting secondary screen -- no monitor specified.
(EE) fglrx(1): PreInit failed
(WW) AIGLX: 3D driver claims to not support visual 0x23
(WW) AIGLX: 3D driver claims to not support visual 0x24
(WW) AIGLX: 3D driver claims to not support visual 0x25
(WW) AIGLX: 3D driver claims to not support visual 0x26
(WW) AIGLX: 3D driver claims to not support visual 0x27
(WW) AIGLX: 3D driver claims to not support visual 0x28
(WW) AIGLX: 3D driver claims to not support visual 0x29
(WW) AIGLX: 3D driver claims to not support visual 0x2a
(WW) AIGLX: 3D driver claims to not support visual 0x2b
(WW) AIGLX: 3D driver claims to not support visual 0x2c
(WW) AIGLX: 3D driver claims to not support visual 0x2d
(WW) AIGLX: 3D driver claims to not support visual 0x2e
(WW) AIGLX: 3D driver claims to not support visual 0x2f
(WW) AIGLX: 3D driver claims to not support visual 0x30
(WW) AIGLX: 3D driver claims to not support visual 0x31
(WW) AIGLX: 3D driver claims to not support visual 0x32
(WW) AIGLX: 3D driver claims to not support visual 0x33
(WW) AIGLX: 3D driver claims to not support visual 0x34
(WW) AIGLX: 3D driver claims to not support visual 0x35
(WW) AIGLX: 3D driver claims to not support visual 0x36
(WW) AIGLX: 3D driver claims to not support visual 0x37
(WW) AIGLX: 3D driver claims to not support visual 0x38
(WW) AIGLX: 3D driver claims to not support visual 0x39
(WW) AIGLX: 3D driver claims to not support visual 0x3a
(WW) AIGLX: 3D driver claims to not support visual 0x3b
(WW) AIGLX: 3D driver claims to not support visual 0x3c
(WW) AIGLX: 3D driver claims to not support visual 0x3d
(WW) AIGLX: 3D driver claims to not support visual 0x3e
(WW) AIGLX: 3D driver claims to not support visual 0x3f
(WW) AIGLX: 3D driver claims to not support visual 0x40
(WW) AIGLX: 3D driver claims to not support visual 0x41
(WW) AIGLX: 3D driver claims to not support visual 0x42
(WW) AIGLX: 3D driver claims to not support visual 0x43
(WW) AIGLX: 3D driver claims to not support visual 0x44
(WW) AIGLX: 3D driver claims to not support visual 0x45
(WW) AIGLX: 3D driver claims to not support visual 0x46
(WW) AIGLX: 3D driver claims to not support visual 0x47
(WW) AIGLX: 3D driver claims to not support visual 0x48
(WW) AIGLX: 3D driver claims to not support visual 0x49
(WW) AIGLX: 3D driver claims to not support visual 0x4a
(WW) AIGLX: 3D driver claims to not support visual 0x4b
(WW) AIGLX: 3D driver claims to not support visual 0x4c
(WW) AIGLX: 3D driver claims to not support visual 0x4d
(WW) AIGLX: 3D driver claims to not support visual 0x4e
(WW) AIGLX: 3D driver claims to not support visual 0x4f
(WW) AIGLX: 3D driver claims to not support visual 0x50
(WW) AIGLX: 3D driver claims to not support visual 0x51
(WW) AIGLX: 3D driver claims to not support visual 0x52
(WW) AIGLX: 3D driver claims to not support visual 0x53
(WW) AIGLX: 3D driver claims to not support visual 0x54
(WW) AIGLX: 3D driver claims to not support visual 0x55
(WW) AIGLX: 3D driver claims to not support visual 0x56
(WW) AIGLX: 3D driver claims to not support visual 0x57
(WW) AIGLX: 3D driver claims to not support visual 0x58
(WW) AIGLX: 3D driver claims to not support visual 0x59
(WW) AIGLX: 3D driver claims to not support visual 0x5a
(WW) AIGLX: 3D driver claims to not support visual 0x5b
(WW) AIGLX: 3D driver claims to not support visual 0x5c
(WW) AIGLX: 3D driver claims to not support visual 0x5d
(WW) AIGLX: 3D driver claims to not support visual 0x5e
(WW) AIGLX: 3D driver claims to not support visual 0x5f
(WW) AIGLX: 3D driver claims to not support visual 0x60
(WW) AIGLX: 3D driver claims to not support visual 0x61
(WW) AIGLX: 3D driver claims to not support visual 0x62
(WW) AIGLX: 3D driver claims to not support visual 0x63
(WW) AIGLX: 3D driver claims to not support visual 0x64
(WW) AIGLX: 3D driver claims to not support visual 0x65
(WW) AIGLX: 3D driver claims to not support visual 0x66
(WW) AIGLX: 3D driver claims to not support visual 0x67
(WW) AIGLX: 3D driver claims to not support visual 0x68
(WW) AIGLX: 3D driver claims to not support visual 0x69
(WW) AIGLX: 3D driver claims to not support visual 0x6a
(WW) AIGLX: 3D driver claims to not support visual 0x6b
(WW) AIGLX: 3D driver claims to not support visual 0x6c
(WW) AIGLX: 3D driver claims to not support visual 0x6d
(WW) AIGLX: 3D driver claims to not support visual 0x6e
(WW) AIGLX: 3D driver claims to not support visual 0x6f
(WW) AIGLX: 3D driver claims to not support visual 0x70
(WW) AIGLX: 3D driver claims to not support visual 0x71
(WW) AIGLX: 3D driver claims to not support visual 0x72
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
(EE) No input driver matching `evdev'
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)


for konsole warnings, i don't know; for X errors, i have them since months, but i think i never had troubles by them (i think).

this is my xorg.conf
Code:

Section "ServerLayout"
   Identifier     "aticonfig-Layout[all]"
   Screen      0  "aticonfig-Screen[0]" 0 0
   Screen         "aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
   InputDevice    "Generic Keyboard"
   InputDevice    "Touchpad" "CorePointer"
   InputDevice    "External Mouse"
   Option       "BlankTime" "5"
   Option       "StanbyTime" "10"
   Option       "OffTime" "30"
   Option       "AIGLS" "true"
#   Option      "AIGLX" "true"
EndSection

Section "Files"
   FontPath     "/usr/share/fonts/misc"
   FontPath     "/usr/share/fonts/Type1"
   FontPath     "/usr/share/fonts/100dpi"
   FontPath     "/usr/share/fonts/75dpi"
   FontPath     "/usr/local/share/fonts"
EndSection

Section "Module"
   Load  "i2c"
   Load  "bitmap"
   Load  "ddc"
   Load  "dri"
   Load  "type1"
   Load  "freetype"
   Load  "glx"
   Load  "int10"
   Load  "vbe"
   Load  "extmod"
   Load  "synaptics"
   Load  "xtrap"
   Load  "record"
   Load  "dbe"
EndSection

Section "InputDevice"
   Identifier  "Generic Keyboard"
   Driver      "keyboard"
   Option       "CoreKeyboard"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "pc105"
   Option       "XkbLayout" "it"
EndSection

Section "InputDevice"
   Identifier  "Touchpad"
   Driver      "synaptics"
   Option       "Protocol" "auto-dev"
   Option       "Device" "/dev/psaux"
   Option       "ZAxisMapping" "4 5"
   Option       "AccelFactor" "0.0010"
   Option       "UseShm" "true"
   Option       "SHMConfig" "on"
EndSection

Section "InputDevice"
   Identifier  "External Mouse"
   Driver      "mouse"
   Option       "SendCoreEvents" "true"
   Option       "Device" "/dev/input/mice"
   Option       "Protocol" "ImPS/2"
   Option       "Buttons" "3"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[0]"
   Option       "DPMS" "true"
EndSection

Section "Monitor"
   Identifier   "aticonfig-Monitor[1]"
   Option       "DPMS" "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[0]"
   Driver      "fglrx"
   Option       "UseInternalAGPGART" "yes"
   Option       "XAANoOffscreenPixmaps" "true"
   Option       "TexturedVideo" "On"
   Option       "UseFastTLS" "1"
   Option       "Textured2D" "on"
   Option       "BackingStore" "on"
   Option       "KernelModuleParm" "agpclock=0"
   Option       "VideoOverlay" "On"
   Option       "OpenGLOverlay" "Off"
   Option       "MaxGARTSize" "512"
   BusID       "PCI:1:0:0"
   Option      "DRI"      "true"
EndSection

Section "Device"
   Identifier  "aticonfig-Device[1]"
   Driver      "fglrx"
   BusID       "PCI:1:0:0"
   Screen      1
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[0]"
   Device     "aticonfig-Device[0]"
   Monitor    "aticonfig-Monitor[0]"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "Screen"
   Identifier "aticonfig-Screen[1]"
   Device     "aticonfig-Device[1]"
   Monitor    "aticonfig-Monitor[1]"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
EndSection

Section "DRI"
   Mode         0666
EndSection

Section "Extensions"
   Option       "RENDER" "On"
   Option       "Composite" "Enable"
   Option       "XVideo" "On"
EndSection
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Sun Aug 31, 2008 10:51 pm    Post subject: Reply with quote

Normaly when there are productivity issues you try to solve first all the problems that are on your system and then, if it didnt bring anything else, cross fingers and do black vodoo.
Unfortunalty I cannot help you, because I dont know how to solve any of those problems. While you are at it, see if you have any interesting stuff in dmesg.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Sep 01, 2008 7:35 am    Post subject: Reply with quote

The slow appearance of konsole is due to a change in the kernel from the .22 family to everything beyond. I am not sure what caused this, but it has been noted by numerous people. As far as I know, the only "fix" is to use another console, such as the terminal that comes with XFCE, which is what I use.

I'm not sure what changed, but I know that something changed as soon as 2.6.23 was released. If you search this forum for slow konsole, you'll find a few threads about the topic.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Mon Sep 01, 2008 9:02 am    Post subject: Reply with quote

defenderBG wrote:
Normaly when there are productivity issues you try to solve first all the problems that are on your system and then, if it didnt bring anything else, cross fingers and do black vodoo.
Unfortunalty I cannot help you, because I dont know how to solve any of those problems. While you are at it, see if you have any interesting stuff in dmesg.

I tried to ask for help using the forum some months ago, without success because it seems that none can help me.
and I also tried to search on google, but I found anything interesting.

pappy_mcfae wrote:
The slow appearance of konsole is due to a change in the kernel from the .22 family to everything beyond. I am not sure what caused this, but it has been noted by numerous people. As far as I know, the only "fix" is to use another console, such as the terminal that comes with XFCE, which is what I use.

I'm not sure what changed, but I know that something changed as soon as 2.6.23 was released. If you search this forum for slow konsole, you'll find a few threads about the topic.

Blessed be!
Pappy

it could be, in fact I remember that some time ago my konsole was running well, was not slow. I could try with some last kernels, to verify that thing.
now I'm going to emerge Xfce's terminal.
Thank you for help.

perhaps I could tag [solved] this thread, also if i use only a workaround and not a real solution.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Mon Sep 01, 2008 8:37 pm    Post subject: Reply with quote

You're welcome, and you could tag it as workaround. That lets folks know you can get things to work in spite of the error.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Mon Sep 01, 2008 9:52 pm    Post subject: Reply with quote

Have you started acpi?
Quote:
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)

Could you post:
Code:
# rc-status
# /etc/init.d/acpid status
# ls -l /var/run/acpid.socket

If you want to start acpid manually you have to start it before hald.
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Tue Sep 02, 2008 1:03 pm    Post subject: Reply with quote

no, acpi was not started...

now I stopped hald, started acpid, then hald and I'm now going to try with acpid started.
edit: nothing changed about performance, but now it loads acpi :D

@pappy_mcfae
there is a "little" problem using terminal perhaps given by compositing (it is similar to some "artifacts" made by compiz-fusion)...
with terminal started the screen becomes "difficult to describe": the terminal window is duplicated numerous times but is not shown as it should be...
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Sep 02, 2008 5:43 pm    Post subject: Reply with quote

I'm not an expert on compositing. I have used compiz, but I find it lacking in many ways. I don't believe anything in the kernel would cause a problem with compiz. Things that affect compiz are usually stored in /etc/X11/xorg.conf.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
ok
Guru
Guru


Joined: 11 Jul 2006
Posts: 390
Location: germany

PostPosted: Tue Sep 02, 2008 7:23 pm    Post subject: Reply with quote

Do you use 2 screens?
Quote:
(WW) fglrx(0): Dual head is configured, DesktopSetup setting "single" will not be used
...
EE) fglrx(1): Quitting secondary screen -- no monitor specified.

Quote:
(EE) fglrx(0): The new pair mode should not have size bigger than 1280x800. Please try new setting

I think this is your native resolution, but:
Quote:
SubSection "Display"
...
Modes "1280x1024" "1024x768" "800x600" "640x480"
.
Do you have a reason why you don't use evdev or is it an "accident"?
Quote:
(WW) Warning, couldn't open module evdev
(EE) Failed to load module "evdev" (module does not exist, 0)
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Tue Sep 02, 2008 10:33 pm    Post subject: Reply with quote

@pappy_mcfae
I never have been able to use compiz with a good performance, probably my xorg.conf is not well configured.

@ok
I'm on a laptop so I can use an external monitor or the laptop's lcd, or, at least, i tried to do that, but without satisfaction by the result (extended desktop is not so good as in windows).

my standard resolution is 1280x800: a friend told me to set those values, so I left them as he said.

about evdev, perhaps you means this package: x11-drivers/xf86-input-evdev.
if yes, I emerged it to try to solve a problem, but with it I had some troubles with the keyboard, so I unmerged it soon. perhaps some config files may create that error.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Thu Sep 04, 2008 4:41 am    Post subject: Reply with quote

Don't feel too bad. I had Compiz up and running. I lost patience with it because of it's incredible instability. Performance wasn't a problem, getting it to work right, consistently, and for more than an hour under the lash of a serious power user...that was a problem!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
ckx3009
Guru
Guru


Joined: 08 Apr 2008
Posts: 362
Location: Milano, Italy

PostPosted: Sat Sep 06, 2008 5:54 pm    Post subject: Reply with quote

an other workaround to solve this trouble is....

to use compiz-fusion 8O

using that, konsole scrolls normally!
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3286
Location: Canada

PostPosted: Thu Sep 18, 2008 6:46 pm    Post subject: Reply with quote

pappy_mcfae wrote:
The slow appearance of konsole is due to a change in the kernel from the .22 family to everything beyond. I am not sure what caused this, but it has been noted by numerous people. As far as I know, the only "fix" is to use another console, such as the terminal that comes with XFCE, which is what I use.

I'm not sure what changed, but I know that something changed as soon as 2.6.23 was released. If you search this forum for slow konsole, you'll find a few threads about the topic.

Blessed be!
Pappy


Have the same problem here. It appeared something like 6 month ago, before that konsole was running just fine.
And I am still on 2.6.22-gentoo-r5 kernel with nvidia-drivers-169.09-r1 !
But the rest of the packages were updated
Back to top
View user's profile Send private message
heedless
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 86

PostPosted: Sun Feb 08, 2009 9:07 pm    Post subject: Reply with quote

I have the same problem.

Kernel 2.6.22 solves it.

But i've also noted, that when i change fonts in konsole to something not true-type, performance is great again.
I'm now using Fixed [misc] as my font in konsole and it's at least 10 times faster.

Maybe it's an interaction between the new kernel and freetype?
Back to top
View user's profile Send private message
jackhole
n00b
n00b


Joined: 23 Feb 2009
Posts: 55

PostPosted: Mon Feb 23, 2009 1:47 pm    Post subject: Reply with quote

heedless wrote:
I have the same problem.

Kernel 2.6.22 solves it.

But i've also noted, that when i change fonts in konsole to something not true-type, performance is great again.
I'm now using Fixed [misc] as my font in konsole and it's at least 10 times faster.

Maybe it's an interaction between the new kernel and freetype?


Maybe. I'm on kernel 2.6.27 and KDE 3.5.10 and I get the font slowdown in Konsole too. I went through my mono fonts in the KControl Center Font menu and here's what I observed, printing and scrolling 'cat /var/log/Xorg.0.log':

Fast
Andale Mono (TTF)
Bitstream Vera Sans Mono (TTF)
Courier
Couriner New (TTF)
Fixed
Monospace

Slow
Batang (TTF)
Cheq
Gullim (TTF)

I did a search on /usr/share/fonts for *ttf and the ones marked (TTF) came up. So it appears not to be caused by a font being TrueType.

But when I looked in /usr/share/baekmuk-fonts, where Batang and Gullim are stored, I noted those TTF files are 13.3 MB and 9.9 MB respectively. The ones that are fast tend to be much smaller in size:

Batang: 13.3 MB
Gullim: 9.9 MB

vs.

Andale Mono: 103 KB
Bitstream Vera Sans Mono: 48 KB
Courier New: 296 KB

I don't know if the slowdown is normal for large TTF files or if there is something wrong with font serving, but a simpler workaround than moving to compiz is to pick a mono font with a small file size.
Back to top
View user's profile Send private message
heedless
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 86

PostPosted: Mon Feb 23, 2009 1:57 pm    Post subject: Reply with quote

Hmm.. Bitstream Vera Sans Mono is slow for me. Much much slower than Fixed [misc].
I don't think that the file size matters, as the required glyphs are cached in memory. The large file size probably means it contains many different languages, but only one is loaded and used.

This certainly needs further investigation... i wonder though if people with current hardware see the same problems?
The key for the comparison would be the kernel versions... ie. current hardware with the aforementioned kernels.
Back to top
View user's profile Send private message
jackhole
n00b
n00b


Joined: 23 Feb 2009
Posts: 55

PostPosted: Mon Feb 23, 2009 3:48 pm    Post subject: Reply with quote

heedless wrote:
This certainly needs further investigation... i wonder though if people with current hardware see the same problems?
The key for the comparison would be the kernel versions... ie. current hardware with the aforementioned kernels.


Well, I've got a Geforce 6600 GT on nvidia-drivers 177.82.
CPU: AMD Barton 2500+

Not current hardware, obviously. But good enough to run compiz.

As mentioned, kernel is 2.6.27 and nvidia-drivers are at 177.82
Freetype: 2.3.7
X Protocol Version 11, Revision 0, Release 1.3

I think the problem is somewhere in that mess. Anybody running into this problem on ATi or Intel graphics hardware, or on the free nv driver?
Back to top
View user's profile Send private message
dunix
n00b
n00b


Joined: 03 Mar 2009
Posts: 1
Location: Bochum, Germany

PostPosted: Tue Mar 03, 2009 12:38 am    Post subject: Reply with quote

I also noticed that konsole was slow with some fonts and normal with others. I have X configured with the following options in the device section:

Code:
Option      "UseEdidDpi" "false"
Option      "Dpi" "96 x 96"


After forcing 96 DPI for fonts in KDE (System Settings -> Appearance -> Fonts), the problem disappeared and konsole can now be used with any font without the slowdown.
Back to top
View user's profile Send private message
heedless
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2004
Posts: 86

PostPosted: Tue Mar 03, 2009 8:48 am    Post subject: Reply with quote

dunix wrote:
I also noticed that konsole was slow with some fonts and normal with others. I have X configured with the following options in the device section:

Code:
Option      "UseEdidDpi" "false"
Option      "Dpi" "96 x 96"


After forcing 96 DPI for fonts in KDE (System Settings -> Appearance -> Fonts), the problem disappeared and konsole can now be used with any font without the slowdown.


Just tried that and it didn't work for me.

Apparently i was already forcing the DPI to 96 x 96, though I didn't have the UseEdidDpi = false option. Didn't make a difference either way.

but thanks anyway.
Back to top
View user's profile Send private message
donmartio
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 261

PostPosted: Wed Mar 18, 2009 10:31 am    Post subject: Reply with quote

Hmm, i have the same Problem here and it's realy annoying.

It appears when i had to update xorg-server to 1.5.3.

I use kde-3.5.10. My kernel is 2.6.28-gentoo-r3 (since yesterday). Compiz was always disabeld (i enabled it this morning just to
test if this may solve the Problem).

Changing the font doesn't do it.

I have an ati card and the server is running with the fglrx module.

The Problem occurs in konsole only. Everything else works just fine.
I changed my term to urxvt since somebody told me he has no problems having nearly the same setup.

Is there anything else i can try.
_________________
Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live.
Back to top
View user's profile Send private message
donmartio
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 261

PostPosted: Wed Mar 18, 2009 10:52 am    Post subject: Reply with quote

Ok and here some funny stuff.
when i start konsole using nxclient/nxserver on the same machine everything seems to work fine.

There must be something i miss or have to add or whatever...

any suggestions???
_________________
Always code as if the person who ends up maintaining your code will be a violent psychopath who knows where you live.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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