Skip to content

Instantly share code, notes, and snippets.

@ge0ffrey
Created September 30, 2015 11:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ge0ffrey/c07366a5cbfb1679a082 to your computer and use it in GitHub Desktop.
Save ge0ffrey/c07366a5cbfb1679a082 to your computer and use it in GitHub Desktop.
$ sudo cat /sys/kernel/debug/dri/0/i915_gem_objects
2183 objects, 1072099328 bytes
1892 [402] objects, 848515072 [117035008] bytes in gtt
60 [34] active objects, 163995648 [41496576] bytes
1832 [368] inactive objects, 684519424 [75538432] bytes
132 unbound objects, 147517440 bytes
250 purgeable objects, 148520960 bytes
6 pinned mappable objects, 22261760 bytes
46 fault mappable objects, 19288064 bytes
2147483648 [268435456] gtt total
batch pool: 72 objects, 5144576 bytes (65536 active, 5079040 inactive, 5144576 global, 0 shared, 0 unbound)
systemd-logind: 82 objects, 71114752 bytes (0 active, 778240 inactive, 778240 global, 14680064 shared, 70250496 unbound)
Xwayland: 22 objects, 7684096 bytes (0 active, 172032 inactive, 172032 global, 0 shared, 7434240 unbound)
Xwayland: 0 objects, 0 bytes (0 active, 0 inactive, 0 global, 0 shared, 0 unbound)
systemd-logind: 760 objects, 357613568 bytes (113111040 active, 164265984 inactive, 277377024 global, 195768320 shared, 37732352 unbound)
Xorg: 879 objects, 494460928 bytes (163930112 active, 260292608 inactive, 424222720 global, 168693760 shared, 26746880 unbound)
Xorg: 0 objects, 0 bytes (0 active, 0 inactive, 0 global, 0 shared, 0 unbound)
Xorg: 126 objects, 83349504 bytes (0 active, 63217664 inactive, 63217664 global, 4096 shared, 20021248 unbound)
Xorg: 200 objects, 70725632 bytes (0 active, 62898176 inactive, 62898176 global, 8392704 shared, 12288 unbound)
Xorg: 45 objects, 168849408 bytes (0 active, 168771584 inactive, 168771584 global, 8192000 shared, 0 unbound)
now restart the gnome 3 shell with alt-F2, then "r"
$ sudo cat /sys/kernel/debug/dri/0/i915_gem_objects
1621 objects, 821686272 bytes
1309 [121] objects, 642686976 [125116416] bytes in gtt
0 [0] active objects, 0 [0] bytes
1309 [121] inactive objects, 642686976 [125116416] bytes
157 unbound objects, 104218624 bytes
366 purgeable objects, 184303616 bytes
6 pinned mappable objects, 22261760 bytes
28 fault mappable objects, 6610944 bytes
2147483648 [268435456] gtt total
batch pool: 72 objects, 5144576 bytes (0 active, 5144576 inactive, 5144576 global, 0 shared, 0 unbound)
systemd-logind: 82 objects, 71114752 bytes (0 active, 442368 inactive, 442368 global, 14680064 shared, 70586368 unbound)
Xwayland: 22 objects, 7684096 bytes (0 active, 0 inactive, 0 global, 0 shared, 7606272 unbound)
Xwayland: 0 objects, 0 bytes (0 active, 0 inactive, 0 global, 0 shared, 0 unbound)
systemd-logind: 946 objects, 463257600 bytes (0 active, 398520320 inactive, 398520320 global, 171274240 shared, 15994880 unbound)
Xorg: 0 objects, 0 bytes (0 active, 0 inactive, 0 global, 0 shared, 0 unbound)
Xorg: 126 objects, 83349504 bytes (0 active, 58753024 inactive, 58753024 global, 4096 shared, 24485888 unbound)
Xorg: 214 objects, 73027584 bytes (0 active, 69812224 inactive, 69812224 global, 8392704 shared, 86016 unbound)
Xorg: 158 objects, 280596480 bytes (0 active, 241643520 inactive, 241643520 global, 148197376 shared, 0 unbound)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment