All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106634] some memory issue
@ 2018-05-23 15:49 bugzilla-daemon
  2018-05-23 15:49 ` bugzilla-daemon
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106634
           Summary: some memory issue
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: udovdh@xs4all.nl

Created attachment 139715
  --> https://bugs.freedesktop.org/attachment.cgi?id=139715&action=edit
dmesg

Gigabyte X470-AORUS-ULTRA-GAMING board with AMD Ryzen 5 2400g APU, Fedora 28,
git MESA, git AMDGPU; box was migrated today from AMD A10-5800 based solution.

I found these in xorg.log:

[  1894.583] (WW) AMDGPU(0): flip queue failed: Cannot allocate memory
[  1894.583] (WW) AMDGPU(0): Page flip failed: Cannot allocate memory
[  1894.583] (EE) AMDGPU(0): present flip failed
[  1894.594] (WW) AMDGPU(0): flip queue failed in amdgpu_scanout_flip: Cannot
allocate memory, TearFree inactive until next modeset

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] some memory issue
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
@ 2018-05-23 15:49 ` bugzilla-daemon
  2018-05-23 15:52 ` [Bug 106634] flip queue failed: Cannot allocate memory bugzilla-daemon
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 15:49 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from udo <udovdh@xs4all.nl> ---
Created attachment 139716
  --> https://bugs.freedesktop.org/attachment.cgi?id=139716&action=edit
messages

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] flip queue failed: Cannot allocate memory
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
  2018-05-23 15:49 ` bugzilla-daemon
@ 2018-05-23 15:52 ` bugzilla-daemon
  2018-05-23 15:53 ` [Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset bugzilla-daemon
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 15:52 UTC (permalink / raw)
  To: dri-devel


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

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

udo <udovdh@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|some memory issue           |flip queue failed: Cannot
                   |                            |allocate memory

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
  2018-05-23 15:49 ` bugzilla-daemon
  2018-05-23 15:52 ` [Bug 106634] flip queue failed: Cannot allocate memory bugzilla-daemon
@ 2018-05-23 15:53 ` bugzilla-daemon
  2018-05-23 15:58 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 15:53 UTC (permalink / raw)
  To: dri-devel


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

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

udo <udovdh@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|flip queue failed: Cannot   |flip queue failed in
                   |allocate memory             |amdgpu_scanout_flip: Cannot
                   |                            |allocate memory, TearFree
                   |                            |inactive until next modeset

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-23 15:53 ` [Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset bugzilla-daemon
@ 2018-05-23 15:58 ` bugzilla-daemon
  2018-05-23 16:06 ` [Bug 106634] Failed to find memory space for buffer [...] eviction bugzilla-daemon
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 15:58 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from udo <udovdh@xs4all.nl> ---
Created attachment 139717
  --> https://bugs.freedesktop.org/attachment.cgi?id=139717&action=edit
xorg log

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (3 preceding siblings ...)
  2018-05-23 15:58 ` bugzilla-daemon
@ 2018-05-23 16:06 ` bugzilla-daemon
  2018-05-23 16:16 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 16:06 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|flip queue failed in        |Failed to find memory space
                   |amdgpu_scanout_flip: Cannot |for buffer [...] eviction
                   |allocate memory, TearFree   |
                   |inactive until next modeset |

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Please also attach the dmesg output from before the problem occurs, containing
at least all the amdgpu and TTM initialization messages.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (4 preceding siblings ...)
  2018-05-23 16:06 ` [Bug 106634] Failed to find memory space for buffer [...] eviction bugzilla-daemon
@ 2018-05-23 16:16 ` bugzilla-daemon
  2018-05-23 16:22 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 16:16 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #4 from Michel Dänzer <michel@daenzer.net> ---
Created attachment 139718
  --> https://bugs.freedesktop.org/attachment.cgi?id=139718&action=edit
Print fpfn/lpfn values in ttm_bo_mem_space_debug

Can you rebuild the ttm.ko module with this patch applied, and attach the
resulting dmesg output when the problem occurs again? It might shed some more
light on why we fail to evict a BO to GTT, even though there seems to be enough
space there.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (5 preceding siblings ...)
  2018-05-23 16:16 ` bugzilla-daemon
@ 2018-05-23 16:22 ` bugzilla-daemon
  2018-05-23 16:32 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 16:22 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from udo <udovdh@xs4all.nl> ---
There is no dmesg from before the problem occurs.
I will try the patch!

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (6 preceding siblings ...)
  2018-05-23 16:22 ` bugzilla-daemon
@ 2018-05-23 16:32 ` bugzilla-daemon
  2018-05-23 16:46 ` bugzilla-daemon
  2019-11-19  8:39 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 16:32 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from udo <udovdh@xs4all.nl> ---
Created attachment 139719
  --> https://bugs.freedesktop.org/attachment.cgi?id=139719&action=edit
journal

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (7 preceding siblings ...)
  2018-05-23 16:32 ` bugzilla-daemon
@ 2018-05-23 16:46 ` bugzilla-daemon
  2019-11-19  8:39 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2018-05-23 16:46 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Michel Dänzer <michel@daenzer.net> ---
Actually, it seems clear that this happens because 1 GB of VRAM and 3 GB of GTT
are full with buffer objects. Unless this keeps happening even immediately
after closing applications / logging out and back in / restarting X, this looks
like a userspace issue (could be a leak somewhere).

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 106634] Failed to find memory space for buffer [...] eviction
  2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
                   ` (8 preceding siblings ...)
  2018-05-23 16:46 ` bugzilla-daemon
@ 2019-11-19  8:39 ` bugzilla-daemon
  9 siblings, 0 replies; 11+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:39 UTC (permalink / raw)
  To: dri-devel


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

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

Martin Peres <martin.peres@free.fr> changed:

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

--- Comment #8 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/394.

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

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

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

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-11-19  8:39 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-23 15:49 [Bug 106634] some memory issue bugzilla-daemon
2018-05-23 15:49 ` bugzilla-daemon
2018-05-23 15:52 ` [Bug 106634] flip queue failed: Cannot allocate memory bugzilla-daemon
2018-05-23 15:53 ` [Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset bugzilla-daemon
2018-05-23 15:58 ` bugzilla-daemon
2018-05-23 16:06 ` [Bug 106634] Failed to find memory space for buffer [...] eviction bugzilla-daemon
2018-05-23 16:16 ` bugzilla-daemon
2018-05-23 16:22 ` bugzilla-daemon
2018-05-23 16:32 ` bugzilla-daemon
2018-05-23 16:46 ` bugzilla-daemon
2019-11-19  8:39 ` bugzilla-daemon

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.