All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 206383] New: [drm] [amdgpu] [TTM] memory leak/out of memory
Date: Sat, 01 Feb 2020 15:51:59 +0000	[thread overview]
Message-ID: <bug-206383-2300@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=206383

            Bug ID: 206383
           Summary: [drm] [amdgpu] [TTM] memory leak/out of memory
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.5.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: drivers_video-dri@kernel-bugs.osdl.org
          Reporter: info@aloisnespor.info
        Regression: No

Created attachment 287053
  --> https://bugzilla.kernel.org/attachment.cgi?id=287053&action=edit
dmesg

Hi all,
i bought new computer with AMD Ryzen 5 3400G and try some 'older' (2015+) linux
native games via native Steam or GOG. But mostly in all cases ended all with
memory leak (out of memory) and freezing my computer.

I try for example Cities:Skylines, Metro 2033 Redux, Metro: Last Light, Witcher
2 EE, but all ended with :

[  399.837627] [TTM] Failed to find memory space for buffer 0x0000000057dc96d3
eviction
[  399.837630] [TTM]  No space for 0000000057dc96d3 (22457 pages, 89828K, 87M)
[  399.837631] [TTM]    placement[0]=0x00060002 (1)
[  399.837632] [TTM]      has_type: 1
[  399.837632] [TTM]      use_type: 1
[  399.837633] [TTM]      flags: 0x0000000A
[  399.837634] [TTM]      gpu_offset: 0x00000000
[  399.837634] [TTM]      size: 786432
[  399.837635] [TTM]      available_caching: 0x00070000
[  399.837640] [TTM]      default_caching: 0x00010000
[  399.837641] [TTM]  0x0000000000000400-0x0000000000000401: 1: used
[  399.837642] [TTM]  0x0000000000000401-0x0000000000000443: 66: used
[  399.837643] [TTM]  0x0000000000000443-0x0000000000000445: 2: used
[  399.837644] [TTM]  0x0000000000000445-0x0000000000000447: 2: used
[  399.837644] [TTM]  0x0000000000000447-0x0000000000000449: 2: used
[  399.837645] [TTM]  0x0000000000000449-0x000000000000044b: 2: used
[  399.837646] [TTM]  0x000000000000044b-0x000000000000044d: 2: used
[  399.837647] [TTM]  0x000000000000044d-0x000000000000044f: 2: used
[  399.837648] [TTM]  0x000000000000044f-0x0000000000000451: 2: used
[  399.837649] [TTM]  0x0000000000000451-0x0000000000000453: 2: used
[  399.837649] [TTM]  0x0000000000000453-0x0000000000000455: 2: used
[  399.837650] [TTM]  0x0000000000000455-0x0000000000000456: 1: used
[  399.837651] [TTM]  0x0000000000000456-0x0000000000000556: 256: used
[  399.837651] [TTM]  0x0000000000000556-0x0000000000000557: 1: used
[  399.837652] [TTM]  0x0000000000000557-0x0000000000000558: 1: used
[  399.837653] [TTM]  0x0000000000000558-0x0000000000000559: 1: used
[  399.837653] [TTM]  0x0000000000000559-0x000000000000055a: 1: used
[  399.837654] [TTM]  0x000000000000055a-0x000000000000055b: 1: used
[  399.837654] [TTM]  0x000000000000055b-0x000000000000055c: 1: used
[  399.837655] [TTM]  0x000000000000055c-0x000000000000055d: 1: used
[  399.837656] [TTM]  0x000000000000055d-0x000000000000055e: 1: used
[  399.837656] [TTM]  0x000000000000055e-0x0000000000000560: 2: used
[  399.837657] [TTM]  0x0000000000000560-0x0000000000000561: 1: used
[  399.837658] [TTM]  0x0000000000000561-0x0000000000000562: 1: used
[  399.837659] [TTM]  0x0000000000000562-0x0000000000000563: 1: used
[  399.837659] [TTM]  0x0000000000000563-0x0000000000000565: 2: used
[  399.837660] [TTM]  0x0000000000000565-0x0000000000000665: 256: used
[  399.837661] [TTM]  0x0000000000000665-0x0000000000000766: 257: used
[  399.837661] [TTM]  0x0000000000000766-0x0000000000000767: 1: used
[  399.837662] [TTM]  0x0000000000000767-0x0000000000000800: 153: free
[  399.837663] [TTM]  0x0000000000000800-0x0000000000000900: 256: used
[  399.837663] [TTM]  0x0000000000000900-0x0000000000000cca: 970: used
[  399.837664] [TTM]  0x0000000000000cca-0x0000000000040000: 258870: free
[  399.837665] [TTM]  total: 261120, used 2097 free 259023
[  399.837669] [TTM]  man size:786432 pages, gtt available:1900 pages,
usage:3064MB
[  399.837734] [drm:amdgpu_cs_ioctl [amdgpu]] *ERROR* Not enough memory for
command submission!

My configuration:
AMD Ryzen 3400G, 16GB RAM (tested by memtest86+, so should be no problem here),
HP m01-F000 series with newest BIOS AGESA 1.0.0.4.

Kernel linux-zen 5.5.zen1-1, linux-firmware-20200122.1eb2408,
mesa-19.3.3,libdrm-2.4.100

lspci, dmesg you can see in attachment


I see, i am not alone, who have this problem:
https://bbs.archlinux.org/viewtopic.php?pid=1885581

Maybe is that bug of mesa, i dont know...but i begin here. Thanks!

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

             reply	other threads:[~2020-02-01 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-01 15:51 bugzilla-daemon [this message]
2020-02-01 15:52 ` [Bug 206383] [drm] [amdgpu] [TTM] memory leak/out of memory bugzilla-daemon
2020-02-01 15:56 ` bugzilla-daemon
2020-02-03 14:06 ` bugzilla-daemon
2020-02-03 14:36 ` bugzilla-daemon
2020-02-03 15:56 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-206383-2300@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.