Summary: | x11-drivers/nvidia-drivers-384.90 xorg module cpu utilization is high | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | brho |
Component: | Current packages | Assignee: | XFCE Team <xfce> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | bob.mt.wya, jer, mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
brho
2017-10-03 01:09:35 UTC
I still have this bug with the latest nvidia-drivers (387.22), and I'd like to help fix it. What's the usual way to solve these sorts of bugs? Is there a common point of contact with nvidia that I can talk to or something? I created a thread on nvidia's board and will update here if/when it gets resolved: https://devtalk.nvidia.com/default/topic/1026154/linux/xorg-nvidia-module-cpu-utilization-is-high/ Turns out the culprit is xfce4-panel. Looks like it's polling something or other. Hi - The culprit applet is Window Buttons. I removed it and the CPU utilization problems went away. That makes sense, somewhat, in that the problem temporarily goes away when I alt-tab (switching the active program). Possibly a red herring, but when I add the Window Buttons applet, I get this error (running xfce4-panel from a terminal): (xfce4-panel:30986): Gtk-WARNING **: Allocating size to panel-tasklist-arrow 0xcd3960 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate? When the applet is running, xfce4-panel appears to communicate a lot more with the X server. Specifically, if I strace xfce4-panel, it is usually idle. If I mouse-over the panel, I'll get small number of these: poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}]) writev(3, [{iov_base="5 \4\0\2:\33\1\0:\33\1\306\0\26\0\212\4\6\0\3:\33\1\2:\33\1(\1\0\0"..., iov_len=16360}, {iov_base=NULL, iov_len=0}, {iov_base="", iov_len=0}], 3) = 16360 recvmsg(3, {msg_namelen=0}, 0) = -1 EAGAIN (Resource temporarily unavailable) FD 3 is a socket, connecting to /tmp/.X11-unix/X0 (confirmed via strace). When I run the Window Buttons applet, I get a constant spew of those connections to the X server. I tried toggling a few options for Window Buttons, but for now I just have to remove the applet. I played with this a little, and if I "Lock Panel" (right click on the lower panel which has the Windows Buttons applet), then the utilization problem goes away. For some reason, Lock Panel is only an option when I right click on the lower panel, but not if I get to the Panel options from the upper bar. Anyway, I can live with this, though I think there's still a bug somewhere. What GTK+3 theme are you using? If it's one of xfce themes, please try a different one. They have known bugs like this. |