Red Hat Bugzilla – Bug 481338
Xorg goes to 100% cpu usage when displaying certain sites
Last modified: 2018-04-15 15:10:40 EDT
Description of problem:
When running certain applications or displaying some sites with Firefox the Xorg cpu usage will hit the sky and machine starts responding slowly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start Firefox and open the url:
2. Click on "Click to enlarge" under the image to enlarge it.
Increased CPU usage, system is responding slowly
No significant change in CPU usage.
I believe this is most likely related to the ati driver but not quite sure. The CPU usage increases when viewing images with fading colors (mostly). It also happens when scrolling down quickly in bugzilla.
lspci on lenovo t60 lists my graphics card as:
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400
# Xorg configuration created by pyxf86config
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
Viewport 0 0
Created attachment 330184 [details]
screenshot of non-reproduction
You can see on the top bar, that CPU (the most left bar indicator in blue) doesn't make any meaningful spike when watching the image enlarged.
Do you have any plugins installed (try to run firefox -safe-mode to check out behavior without them)?
I don't have any firefox plugins installed and it's reproducible even in safe mode.
what's your X configuration and graphics driver? I've observed a terminal executing top and FF clicking on the same url which you attached as non-reproducer. top clearly shows that Xorg is eating the CPU.
(In reply to comment #2)
> what's your X configuration and graphics driver? I've observed a terminal
> executing top and FF clicking on the same url which you attached as
> non-reproducer. top clearly shows that Xorg is eating the CPU.
Anyway, just to answer you:
[matej@viklef ~]$ lspci |grep -i graph
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
I also get the same spike in CPU load when scrolling quickly through bugzilla.redhat.com and when you have open several bugs and switch between them, yes the machine is quite unusable then.
I've clearly stated in comment #0 that I suspect X or the X driver and will appreciate some help trying to narrow down the problem. You claim that you have no problem at all but neither your hardware nor your X configuration is the same as mine so how you know there isn't a problem?
Created attachment 330228 [details]
Comment on attachment 330184 [details]
screenshot of non-reproduction
Nonsense, this is RHEL
Is there any new information on this?
Not sure if it's the same situation, but I've noticed on a couple of machines with no heavy load, top will show that the Xorg process will hit 1.1G of RES.
In fact on one machine Xorg will slowly increase it's memory footprint over time to > 1G of memory.
(In reply to comment #8)
> Is there any new information on this?
> Not sure if it's the same situation, but I've noticed on a couple of machines
> with no heavy load, top will show that the Xorg process will hit 1.1G of RES.
On my machine top doesn't report changes in memory usage even when Xorg uses the cpu at 100%. Probably a different issue.
> In fact on one machine Xorg will slowly increase it's memory footprint over
> time to > 1G of memory.
I'm setting this to high/high because I'm seeing this quite often with Bugzilla/Firefox now. To reproduce:
Just open any bug in Bugzilla and scroll down quickly using the mouse wheel. The image on screen becomes blurred and CPU usage goes to 100%. Bugzilla scrolls down very slowly. This mostly happens when I scroll down the header section where all flags and stuff is set.
As QA engineer I work with bugzilla constantly and having those CPU spikes slows down my work quite a lot. Please fix this or give me any guidance how to test and idetify the problem.
Changing my Xorg.conf to read Driver "vesa" istead of "r500" caused the CPU spikes to dissapear. Bugzilla and the site referenced in comment #0 are working without significant CPU load.
I'm changing the component to xorg-x11-drv-ati (version 6.6.3-3.27.el5).
Update: when using vesa driver top reports Xorg CPU usage between 10-30-50% which drops almost instantly to 0% when I stop scrolling the page. However system response is much better than before.
Created attachment 441715 [details]
Created attachment 441717 [details]
Created attachment 441718 [details]
Created attachment 441719 [details]
I have the same problem with Fedora 13 on a Thinkpad T41 with a RV250
The browser is Opera 10.6
I added some attachments
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux 5.6 and Red Hat does not plan to fix this issue the currently developed update.
Contact your manager or support representative in case you need to escalate this bug.
Product Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
bah; is there an upstream bug that discusses this?
I have been having the same annoyance,
happens when viewing Dell's support page!
100% reproducible. If i view my support ticket (in Firefox), 100% spinning on Xorg; if i close that tab, CPU drops to 0-1%