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
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to