ports/183435: x11/xorg: 100% CPU use of xorg using firefox when showing large images (say 20 Mpixel)
Callum Gibson
callumgibson at optusnet.com.au
Mon Dec 2 03:20:02 UTC 2013
The following reply was made to PR ports/183435; it has been noted by GNATS.
From: Callum Gibson <callumgibson at optusnet.com.au>
To: bug-followup at FreeBSD.org, w-info2 at xs4all.nl
Cc:
Subject: Re: ports/183435: x11/xorg: 100% CPU use of xorg using firefox when
showing large images (say 20 Mpixel)
Date: Mon, 2 Dec 2013 14:17:42 +1100
You might find this is related to pixmap caching. I don't think it's
video driver specific. Ironically the variable to disable this is called:
MOZ_DISABLE_IMAGE_OPTIMIZE
https://wiki.mozilla.org/Mobile/MemoryReduction#Disable_X_image_caching_on_Unix.2FLinux
Maybe at some time in the past with smaller images and slower networks
it hurt performace, but now displaying large, modern images in firefox causes
it to stuff an enormous pixmap into the X server which is used once, and
eats all the CPU whilst firefox is just hanging there waiting for it to finish.
Setting this variable fixes it for me.
C
--
Callum Gibson @ home
More information about the freebsd-x11
mailing list