Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2018-02-23 Thread Laurent Bonnaud
Not a bug according to upstream.  Closing...

-- 
Laurent.



Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2018-02-23 Thread Laurent Bonnaud
> I confirm that on another test system with an AMD GPU I do not observe the 
> deleted mappings.

With the more recent Xorg/mesa version now in sid the deleted objects have a 
different name:

# grep i915 /proc/$(pidof Xorg)/maps
7f4c2793-7f4c27935000 rw-s  00:16 1011645/i915 
(deleted)
7f4c27935000-7f4c2793a000 rw-s  00:16 1003904/i915 
(deleted)
7f4c2793a000-7f4c2793e000 rw-s  00:16 1018009/i915 
(deleted)
7f4c2793e000-7f4c2794e000 rw-s  00:16 1003894/i915 
(deleted)
7f4c2794e000-7f4c27953000 rw-s  00:16 1003372/i915 
(deleted)
7f4c27953000-7f4c27958000 rw-s  00:16 1016242/i915 
(deleted)
7f4c27958000-7f4c2795c000 rw-s  00:16 1017939/i915 
(deleted)
7f4c2795c000-7f4c2796c000 rw-s  00:16 1003866/i915 
(deleted)
7f4c2796c000-7f4c27971000 rw-s  00:16 1016240/i915 
(deleted)
7f4c27b86000-7f4c27b8a000 rw-s  00:16 1017996/i915 
(deleted)
7f4c27b8a000-7f4c27b8f000 rw-s  00:16 1016238/i915 
(deleted)
7f4c27b8f000-7f4c27b93000 rw-s  00:16 1017505/i915 
(deleted)
7f4c27b93000-7f4c27c13000 rw-s  00:16 972018 /i915 
(deleted)
7f4c2d468000-7f4c2d46c000 rw-s  00:16 1016411/i915 
(deleted)
7f4c2d46c000-7f4c2d471000 rw-s  00:16 972003 /i915 
(deleted)
7f4c2d59f000-7f4c2d5a7000 rw-s  00:16 972019 /i915 
(deleted)
7f4c2d5e9000-7f4c2d5ed000 rw-s  00:16 1018025/i915 
(deleted)

It makes it obvious that the problem is specific to Intel GPUs.

-- 
Laurent.



Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2017-02-14 Thread Laurent Bonnaud
On 14/02/2017 09:59, Michel Dänzer wrote:

> I'm not seeing any such mappings with an AMD GPU. I suspect they might
> be from the Mesa i965 driver.

Thanks for checking!  I confirm that on another test system with an AMD GPU I 
do not observe the deleted mappings.

> P.S. Please file bugs either upstream or downstream, not both at the
> same time.

Sorry.

-- 
Laurent.



Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2017-02-14 Thread Michel Dänzer
On 14/02/17 05:40 PM, Laurent Bonnaud wrote:
> Package: xserver-xorg-core
> Version: 2:1.19.1-4
> Severity: normal
> 
> 
> Dear Maintainer,
> 
> here is the problem:
> 
> # grep /drm /proc/$(pidof Xorg)/maps
> 7f4afc942000-7f4afc94a000 rw-s  00:05 293242 /drm 
> mm object (deleted)
> 7f4afc9a4000-7f4afc9ac000 rw-s  00:05 292174 /drm 
> mm object (deleted)
> 7f4b009d8000-7f4b009e rw-s  00:05 292169 /drm 
> mm object (deleted)
> 7f4b00b4c000-7f4b00b5 rw-s  00:05 292165 /drm 
> mm object (deleted)
> 7f4b00b52000-7f4b00b53000 rw-s  00:05 292159 /drm 
> mm object (deleted)
> 
> This is just after the Xorg server has been started by lightdm.
> Those deleted mappings should probably not be there and waste memory.

I'm not seeing any such mappings with an AMD GPU. I suspect they might
be from the Mesa i965 driver.


P.S. Please file bugs either upstream or downstream, not both at the
same time.

-- 
Earthling Michel Dänzer   |   http://www.amd.com
Libre software enthusiast | Mesa and X developer



Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2017-02-14 Thread Laurent Bonnaud
Hi,

I also reported this upstream:

  https://bugs.freedesktop.org/show_bug.cgi?id=99807

-- 
Laurent.



Bug#855105: xserver-xorg-core: numerous deleted DRM mmaped objects in Xorg server memory mappings

2017-02-14 Thread Laurent Bonnaud
Package: xserver-xorg-core
Version: 2:1.19.1-4
Severity: normal


Dear Maintainer,

here is the problem:

# grep /drm /proc/$(pidof Xorg)/maps
7f4afc942000-7f4afc94a000 rw-s  00:05 293242 /drm 
mm object (deleted)
7f4afc9a4000-7f4afc9ac000 rw-s  00:05 292174 /drm 
mm object (deleted)
7f4b009d8000-7f4b009e rw-s  00:05 292169 /drm 
mm object (deleted)
7f4b00b4c000-7f4b00b5 rw-s  00:05 292165 /drm 
mm object (deleted)
7f4b00b52000-7f4b00b53000 rw-s  00:05 292159 /drm 
mm object (deleted)

This is just after the Xorg server has been started by lightdm.
Those deleted mappings should probably not be there and waste memory.


-- Package-specific info:
/etc/X11/X does not exist.
/etc/X11/X is not a symlink.
/etc/X11/X is not executable.

Diversions concerning libGL are in place

diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by 
glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/libGLESv2.so.2 to /usr/lib/mesa-diverted/libGLESv2.so.2 
by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1.2 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv1_CM.so by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv1_CM.so.1.1.0 by 
glx-diversions
diversion of /usr/lib/libGL.so.1.2.0 to /usr/lib/mesa-diverted/libGL.so.1.2.0 
by glx-diversions
diversion of /usr/lib/libGLESv2.so to /usr/lib/mesa-diverted/libGLESv2.so by 
glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by 
glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1.1.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv1_CM.so.1.1.0 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by 
glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGLESv2.so.2 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGLESv2.so.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so to /usr/lib/mesa-diverted/libGLESv1_CM.so 
by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2.0 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/arm-linux-gnueabihf/libGL.so.1 to 
/usr/lib/mesa-diverted/arm-linux-gnueabihf/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/i386-linux-gnu/libGLESv2.so.2.0.0 by glx-diversions
diversion of /usr/lib/libGLESv1_CM.so.1 to 
/usr/lib/mesa-diverted/libGLESv1_CM.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.0.0 to 
/usr/lib/mesa-diverted/x86_64-linux-gnu/libGLESv2.so.2.0.0