Seems like bug is related with 
return value of X_XResQueryClientPixmapBytes query

the package obtains xserver usage value for gnome-system-monitor is
libxres

changing line 224 of XRes.c
from 
*bytes = (rep.bytes_overflow * 4294967295) + rep.bytes;
to 
*bytes = rep.bytes_overflow ? ( -1 * rep.bytes ) : rep.bytes;

seem to give more reasonable results

-- 
gnome-system-monitor showing impossible amounts of memory
https://bugs.launchpad.net/bugs/174611
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a bug assignee.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to