ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #63466
[Bug 565981] [NEW] [KMS] gem objects not deallocated
Public bug reported:
Binary package hint: xorg
There has been some buzz the last days about excessive swapping and OOM
conditions. It can seem like the kernel memory use is increasing since
the user processes seem not to grow unusually.
/sys/kernel/debug/dri/0/gem_objects shows that the GEM object bytes
number is increasing. One way to reproduce, is this:
$ for t in `seq 1 10`; do eog /usr/share/backgrounds ; echo `grep "object bytes" /sys/kernel/debug/dri/0/gem_objects` `ps ocomm,vsz,rss 1020|grep X`; done
142376960 object bytes Xorg 25812 15372
145907712 object bytes Xorg 25812 15372
150458368 object bytes Xorg 25812 15372
154816512 object bytes Xorg 25812 15372
159244288 object bytes Xorg 25812 15372
163721216 object bytes Xorg 25812 15372
168148992 object bytes Xorg 25812 15372
172699648 object bytes Xorg 25812 15372
177152000 object bytes Xorg 25812 15372
181530624 object bytes Xorg 25812 15372
It shows that the Xorg process is not growing, but gem objects are. Similarly counting and summing objects show there are gem objects adding up (with refcount 2) but not disappearing again when the application closes:
awk '/name/{ i++; s+= $4 } END{print i " " s}' /sys/kernel/debug/dri/0/gem_names
These issues have been seen on intel and ati, with the lucid kernel as
well as the mainline 2.6.34 snapshot.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: xorg 1:7.5+5ubuntu1
Uname: Linux 2.6.34-999-generic i686
Architecture: i386
Date: Sun Apr 18 15:59:21 2010
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: xorg
system:
distro: Ubuntu
codename: lucid
architecture: i686
kernel: 2.6.34-999-generic
** Affects: linux (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 lucid
--
[KMS] gem objects not deallocated
https://bugs.launchpad.net/bugs/565981
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in ubuntu.
Follow ups
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: madbiologist, 2011-02-06
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Matt, 2011-02-05
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: FAJALOU, 2011-02-05
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: FAJALOU, 2010-12-08
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Matt, 2010-09-17
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: David Tombs, 2010-07-13
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: rafael.pino, 2010-07-11
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Roberto Gordo Saez, 2010-05-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: LocutusOfBorg, 2010-05-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Roberto Gordo Saez, 2010-05-19
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Haggai Eran, 2010-05-02
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Rakosi Alpar, 2010-05-01
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: David Hardstone, 2010-05-01
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Sami, 2010-05-01
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: eMcE, 2010-04-29
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Cat, 2010-04-28
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Alan Nordman, 2010-04-27
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: madbiologist, 2010-04-26
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: James King, 2010-04-26
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Diego F . Rodríguez, 2010-04-25
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: yoda2031, 2010-04-25
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Philip Muškovac, 2010-04-25
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: VasiaUVI, 2010-04-25
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-24
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: fgh, 2010-04-24
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-24
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Alexander Bürger, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Linuxexperte, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Ken Weill P. Lumacad, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: alex, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: fgh, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Berend De Schouwer, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: gapon, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Bilal Akhtar, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-23
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Tormod Volden, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Michał Gołębiowski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Michał Gołębiowski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Fabio Albieri, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: amano, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Bryce Harrington, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Linuxexperte, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Sebastian Martinez, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Jcink, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Thorsten Reinbold, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Loïc Minier, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Loïc Minier, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Loïc Minier, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Timo Jyrinki, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Conn O Griofa, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: discord, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: discord, 2010-04-22
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Kees Cook, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Bryce Harrington, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Bryce Harrington, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Bryce Harrington, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: W00ster, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Andy, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Erick Brunzell, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Luka, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Vish, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Erick Brunzell, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Erick Brunzell, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Timo Jyrinki, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Alessandro Ghersi, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Martin Pitt, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Martin Pitt, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Petar Velkovski, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: MagicMyth, 2010-04-21
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Vish, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Robert Hooker, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Tormod Volden, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Tournier Mathieu, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Sebastian Martinez, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: Vish, 2010-04-20
-
[Bug 565981] Re: [KMS] gem objects not deallocated
From: William Grant, 2010-04-20
-
[Bug 565981] [NEW] [KMS] gem objects not deallocated
From: Launchpad Bug Tracker, 2010-04-20
-
[Bug 565981] Re: gem objects not deallocated
From: Tormod Volden, 2010-04-18
-
[Bug 565981] [NEW] [KMS] gem objects not deallocated
From: Tormod Volden, 2010-04-18
References