Symptom is this: 1. xfdesktop has near 100% CPU usage and Xorg has ~30% CPU usage 2. "tail -f ~/.xsession-errors" keeps looping these lines (when xfdesktop is run with --enable-debug): [..] DBG[xfdesktop-icon-view.c:2103] xfdesktop_icon_view_style_updated(): cell text width proportion is 1.900000 DBG[xfdesktop-icon-view.c:2104] xfdesktop_icon_view_style_updated(): ellipsize icon label is true DBG[xfdesktop-icon-view.c:2105] xfdesktop_icon_view_style_updated(): tooltip size is -1 DBG[xfdesktop-icon-view.c:2106] xfdesktop_icon_view_style_updated(): label radius is 4.000000 DBG[xfdesktop-icon-view.c:2101] xfdesktop_icon_view_style_updated(): cell spacing is 2 DBG[xfdesktop-icon-view.c:2102] xfdesktop_icon_view_style_updated(): cell padding is 6 [..] 3. "strace -f -p $(pgrep xfdesktop)" shows that xfdesktop is mostly reading ("recvmsg") from file descriptor 4 which is targeting Unix socket /tmp/.X11-unix/X0 4. Killing and re-lauching fxdesktop makes both xfdesktop and Xorg run at <1% CPU again. Related packages: - xfce-base/xfdesktop-4.18.0 - x11-base/xorg-server-21.1.4-r1 - x11-drivers/xf86-video-intel-2.99.917_p20201215 Thanks in advance for your help!
I'm afraid I've never noticed anything similar. Do you have any "uncommon" icons on desktop?
I would not call them "uncommon" myself, would you?: # file --brief --mime-type ~/Desktop/* | sort -u application/msword application/pdf application/vnd.oasis.opendocument.text-template application/zip inode/directory text/plain text/x-diff video/mp4
Well, I don't have non-PDF documents or video on Desktop. Are you using tumbler, and does it generate thumbnails for them? Just guessing what could be relevant.
I have xfce-base/tumbler-4.18.0 installed (with USE="jpeg pdf -curl -epub -ffmpeg -gstreamer -odf -raw") since xfce-base/xfce4-meta offers no way around it but I do not see any tumblerd process running and no related init script. Any ideas who is supposed to start tumblerd? A file /usr/lib64/tumbler-1/plugins/tumbler-desktop-thumbnailer.so exists btw.
I'm afraid this is above my paygrade. Maybe someone from x11@ has any clue how to debug this.
It's unlikely to be Gentoo specific (a packaging fault), so I'd try reporting upstream, but random suggestion is to try downgrading libX11? There's been a bunch of problems with recent libX11 versions...
Are you referring to bug #887593 ? I'll add that bug to "see also" and try downgrading to "<x11-libs/libX11-1.8.2-r1" locally. Please feel free to adjust as needed.