You are not logged in.

#1 2010-04-30 14:48:27

Avenger
Member
Registered: 2005-11-11
Posts: 65

Chromium makes X use 100% cpu while scrolling

I'm having issues running chromium on my computer, when ever I scroll a webpage X rushes to 100% cpu usage and everything lags.
This makes the scrolling very jerky and very annoying. I do not see this behavior in any other browsers, but I have seen high X cpu usage in other scenarios
like large terminal outputs  in urxvt.

I'm running testing with the OSS radeon driver with KMS on a Radeon 9800 PRO (R350) AGP, on a AMD A64 3000+. I'm leaning towards this being a radeon driver
as I've had issues with it before. I tried to pull build the DDX from git but it didn't change anything.

Any suggestions?

Offline

#2 2010-04-30 15:19:18

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,053

Re: Chromium makes X use 100% cpu while scrolling

what happens if you disable KMS?  It also sounds to me like this is most likely a graphics driver problem, and from what I understand KMS+Radeon can have some issues (however I haven't used KMS in a long time, so I'm not sure if the situation has improved at all)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#3 2010-04-30 15:54:22

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Chromium makes X use 100% cpu while scrolling

https://bugs.launchpad.net/ubuntu/+sour … bug/567271
http://bugs.archlinux.org/task/19224

The above are just pointers: it can be some extension, a bug in xorg or a memory leak in chromium or ...

Last edited by karol (2010-04-30 15:57:36)

Offline

#4 2010-04-30 16:51:48

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,397

Re: Chromium makes X use 100% cpu while scrolling

Also, changing WindowManager or disabling compositing could help.


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2010-04-30 18:39:50

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: Chromium makes X use 100% cpu while scrolling

I'll try with UMS, but I've had corruption issues with KMS off for quite some time now. The current window manager i use is KDE and I don't use compositing, but I'll try some different variations.

Edit:
Trying UMS seems to fix the slowdown issue, however I now how some corruption on the taskbar/icons in kde and tabing back and forth between windows gives corruption to the contents inside.
Oh, and trying to turn on compositing with UMS gives me a segfault in X:

[   668.275] 0: /usr/bin/X (xorg_backtrace+0x3b) [0x80deeab]
[   668.275] 1: /usr/bin/X (0x8048000+0x63c25) [0x80abc25]
[   668.275] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb775140c]
[   668.275] 3: /usr/lib/xorg/modules/extensions/libglx.so (0xb7353000+0x38b2c) [0xb738bb2c]
[   668.275] 4: /usr/lib/xorg/modules/extensions/libglx.so (0xb7353000+0x41728) [0xb7394728]
[   668.275] 5: /usr/lib/xorg/modules/extensions/libglx.so (0xb7353000+0x37818) [0xb738a818]
[   668.276] 6: /usr/bin/X (FreeResource+0xed) [0x806dbad]
[   668.276] 7: /usr/lib/xorg/modules/extensions/libglx.so (0xb7353000+0x32bf0) [0xb7385bf0]
[   668.276] 8: /usr/lib/xorg/modules/extensions/libglx.so (0xb7353000+0x375cf) [0xb738a5cf]
[   668.276] 9: /usr/bin/X (0x8048000+0x216df) [0x80696df]
[   668.276] 10: /usr/bin/X (0x8048000+0x1a485) [0x8062485]
[   668.276] 11: /lib/libc.so.6 (__libc_start_main+0xe6) [0xb747fb96]
[   668.276] 12: /usr/bin/X (0x8048000+0x1a071) [0x8062071]
[   668.276] Segmentation fault at address 0x87

Edit 2:
Looks like the chromium problem it self isn't entirely gone, when dragging the scrollbar fast with the mouse X still reaches 100% cpu usage compared to other browers who would peak at ~20-40%. I just wasn't able to get it to 100 with the mouse wheel. The slowdown is still pretty noticeable in chromium when dragging.

Last edited by Avenger (2010-04-30 19:14:55)

Offline

#6 2010-05-01 09:19:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Chromium makes X use 100% cpu while scrolling

Do you experience those problems even when running only bare chromium (no other apps, no chromium extensions)?

Offline

#7 2010-05-01 10:26:35

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: Chromium makes X use 100% cpu while scrolling

It's is less noticeable with only chromium running, but the base problem is still there. X CPU usage skyrockets and the whole application feels 'jerky'.

Offline

#8 2010-05-01 10:35:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Chromium makes X use 100% cpu while scrolling

Your gear is not top of the line and KDE is quite demanding. Some people use -ck kernel as a cure for jerkyness - try it out and report back here.

Offline

#9 2010-05-01 10:36:43

Avenger
Member
Registered: 2005-11-11
Posts: 65

Re: Chromium makes X use 100% cpu while scrolling

If that is what is going to take, I'll just drop chromium tongue
I'm running opera now with no performance hits and I'm actually quite happy with it. I really just wanted to see what the chromium fuzz was about.

Offline

Board footer

Powered by FluxBB