All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 104340] New: Memory leak with GEM objects
@ 2017-12-19 18:53 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 18:53 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1539 bytes --]

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

            Bug ID: 104340
           Summary: Memory leak with GEM objects
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

Created attachment 136291
  --> https://bugs.freedesktop.org/attachment.cgi?id=136291&action=edit
dmesg (up to last nouveau messages)

I have a gk106, current versions of libdrm, mesa, kernel (observed both with
-mainline and https://github.com/skeggsb/linux branch linux-4.15 as of a few
minutes ago), and there appears to be a memory leak with nouveau that eats up
about .5 GB every day. Killing X does nothing.

Attached is output of dmesg from the most recent boot of this machine. I've
also attached (in case it matters) dumps of /proc/meminfo and output of slabtop
after I ran X for about two weeks, then exited and killed all major daemons. 
More importantly, I've attached a few hundred lines of
/sys/kernel/debug/kmemleak (from the most recent boot). After the first few
entries, they all start looking the same (except for the address and age).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 104340] Memory leak with GEM objects
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2017-12-19 18:54   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 18:54 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 365 bytes --]

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

--- Comment #1 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org> ---
Created attachment 136292
  --> https://bugs.freedesktop.org/attachment.cgi?id=136292&action=edit
first few lines of /sys/kernel/debug/kmemleak

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1259 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 104340] Memory leak with GEM objects
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2017-12-19 18:54   ` [Bug 104340] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 18:55 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 394 bytes --]

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

--- Comment #2 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org> ---
Created attachment 136294
  --> https://bugs.freedesktop.org/attachment.cgi?id=136294&action=edit
contents of /proc/meminfo after running X for a few weeks, then killing it

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1346 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 104340] Memory leak with GEM objects
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2017-12-19 18:54   ` [Bug 104340] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 22:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 23:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 18:55 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 369 bytes --]

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

--- Comment #3 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org> ---
Created attachment 136295
  --> https://bugs.freedesktop.org/attachment.cgi?id=136295&action=edit
output of slabtop after running X for a few weeks

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1271 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 104340] Memory leak with GEM objects
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-19 22:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2017-12-19 23:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 22:47 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --]

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

--- Comment #4 from Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> ---
I've pushed a fix for a rather stupid memory leak bug that's likely the cause
of what you're seeing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1029 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 104340] Memory leak with GEM objects
       [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2017-12-19 22:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2017-12-19 23:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2017-12-19 23:29 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 693 bytes --]

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

S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from S. Gilles <sgilles-8yXg+M/94Z32fBVCVOL8/A@public.gmane.org> ---
This appears to fix it. I've been testing the fix for about 30 minutes, and
kmemleak is no longer complaining about X.  Thanks for looking into this!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 154 bytes --]

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-19 23:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19 18:53 [Bug 104340] New: Memory leak with GEM objects bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-104340-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2017-12-19 18:54   ` [Bug 104340] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-19 18:55   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-19 22:47   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2017-12-19 23:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.