some memory issue
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: [email protected]
Reporter: [email protected]
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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #1 from udo <[email protected]> ---
Created attachment 139716
--> https://bugs.freedesktop.org/attachment.cgi?id=139716&action=edit
messages
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] flip queue failed: Cannot allocate memory
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
udo <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|some memory issue |flip queue failed: Cannot
| |allocate memorySignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
udo <[email protected]> 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 modesetSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] flip queue failed in amdgpu_scanout_flip: Cannot allocate memory, TearFree inactive until next modeset
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #2 from udo <[email protected]> ---
Created attachment 139717
--> https://bugs.freedesktop.org/attachment.cgi?id=139717&action=edit
xorg log
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
Michel Dänzer <[email protected]> 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 <[email protected]> ---
Please also attach the dmesg output from before the problem occurs, containing at least all the amdgpu and TTM initialization messages.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #4 from Michel Dänzer <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #5 from udo <[email protected]> ---
There is no dmesg from before the problem occurs.
I will try the patch!
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #6 from udo <[email protected]> ---
Created attachment 139719
--> https://bugs.freedesktop.org/attachment.cgi?id=139719&action=edit
journal
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
--- Comment #7 from Michel Dänzer <[email protected]> --- 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).
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
[Bug 106634] Failed to find memory space for buffer [...] eviction
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=106634
Martin Peres <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #8 from Martin Peres <[email protected]> --- -- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel