Closing per upstream comment.

** Changed in: xorg-server (Ubuntu)
       Status: New => Invalid

You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.

  Numerous deleted DRM mmaped objects in Xorg server memory mappings

Status in X.Org X server:
Status in xorg-server package in Ubuntu:
Status in xorg-server package in Debian:

Bug description:

  the Xorg server keeps in its memory mappings a lot of deleted DRM

  # grep /drm /proc/$(pidof Xorg)/maps
  7fc03d0bb000-7fc03d8bb000 rw-s 00000000 00:05 29858                      /drm 
mm object (deleted)
  7fc03f340000-7fc03f3c0000 rw-s 00000000 00:05 269000                     /drm 
mm object (deleted)
  7fc0404c0000-7fc0404e0000 rw-s 00000000 00:05 239479                     /drm 
mm object (deleted)
  7fc040558000-7fc040568000 rw-s 00000000 00:05 269836                     /drm 
mm object (deleted)
  [many similar lines]

  # grep /drm /proc/$(pidof Xorg)/maps | wc
      159    1431   15582

  This is a waste of memory and according to the analysis below (made
  with ksysguard) it amounts to 22MB.

  Process 2082 - Xorg


  The process Xorg (with pid 2082) is using approximately 73.3 MB of memory.
  It is using 62.3 MB privately, and a further 32.6 MB that is, or could be, 
shared with other programs.
  Dividing up the shared memory between all the processes sharing that memory 
we get a reduced shared memory usage of 11.1 MB. Adding that to the private 
usage, we get the above mentioned total memory footprint of 73.3 MB.
  3.1 MB is swapped out to disk, probably due to a low amount of available 
memory left.
  Library Usage

  The memory usage of a process is found by adding up the memory usage
  of each of its libraries, plus the process's own heap, stack and any
  other mappings.


  37176 KB      [heap]
  22324 KB      /drm mm object (deleted)
  2152 KB       /usr/lib/xorg/Xorg
  372 KB        /usr/lib/x86_64-linux-gnu/
  212 KB        /usr/lib/xorg/modules/


  19996 KB      /SYSV00000000 (deleted)
  4784 KB       /usr/lib/x86_64-linux-gnu/dri/
  1544 KB       /lib/x86_64-linux-gnu/
  1160 KB       /usr/lib/x86_64-linux-gnu/
  560 KB        /usr/lib/x86_64-linux-gnu/

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: xserver-xorg-core 2:1.18.4-1ubuntu6.1
  Uname: Linux 4.9.8-040908-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8.2
  Architecture: amd64
  BootLog: /dev/sda1: clean, 1129716/15376384 files, 41270535/61491456 blocks
  CompositorRunning: None
  CurrentDesktop: KDE
  Date: Sun Feb  5 09:26:54 2017
  DistUpgraded: Fresh install
  DistroCodename: yakkety
  DistroVariant: kubuntu
  EcryptfsInUse: Yes
  ExtraDebuggingInterest: Yes
       active_plugins = 
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
     Subsystem: Dell 2nd Generation Core Processor Family Integrated Graphics 
Controller [1028:0494]
  MachineType: Dell Inc. Latitude E6520
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.9.8-040908-generic 
root=UUID=749a9901-bdd3-4b5f-b80e-69414667e058 ro enable_mtrr_cleanup 
mtrr_spare_reg_nr=1 mtrr_gran_size=32M mtrr_chunk_size=128M quiet splash 
  SourcePackage: xorg-server
  UpgradeStatus: No upgrade log present (probably fresh install) 11/14/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A19 0NVF5K
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 9
  dmi.chassis.vendor: Dell Inc.
dmi:bvnDellInc.:bvrA19:bd11/14/2013:svnDellInc.:pnLatitudeE6520:pvr01:rvnDellInc.:rn0NVF5K:rvrA01:cvnDellInc.:ct9:cvr: Latitude E6520
  dmi.product.version: 01
  dmi.sys.vendor: Dell Inc.
  version.compiz: compiz 1:
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.70-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 12.0.6-0ubuntu0.16.10.1
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 12.0.6-0ubuntu0.16.10.1
  version.xserver-xorg-core: xserver-xorg-core 2:1.18.4-1ubuntu6.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.7.1-1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.12-2

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to