Bug 205137
Summary: | Memory leak while using opencl (F@H) with amdgpu in Kernel space | ||
---|---|---|---|
Product: | Drivers | Reporter: | Ville Aakko (ville.aakko) |
Component: | Video(Other) | Assignee: | drivers_video-other |
Status: | RESOLVED UNREPRODUCIBLE | ||
Severity: | normal | CC: | ville.aakko |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.3.1 - 5.3.5 | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: | journalctl --since '2 months ago' | sed -n -e '/cut\ here/,/end\ trace/ p' |
Description
Ville Aakko
2019-10-09 13:44:18 UTC
Created attachment 285421 [details]
journalctl --since '2 months ago' | sed -n -e '/cut\ here/,/end\ trace/ p'
Also, forgot to mention: I've had a few near-hangs, where the computer will not respond to any keyboard nor mouse input. I can ssh into the computer and restart it, but it will take a very long time to restart, after journal has stopped (15 minutes or more). As the GPU can not output anything (and journal has stopped) I have no idea what it is going on during this time. These have happened only ~3-5 times and I can not reproduce them. I'm mentioning since I didn't get them before 5.3.1..
Also, there are some Kernel errors, often but not always with "kernel: Missing get_user_page_done". These errors seem to point into amdgpu. Also, I didn't get these before 5.3.1..
But more often than not, despite these kernel errors, there is not a hang (I just noticed there have been quite a few of these I haven't noticed), and moreover these errors do *not* co-inside with the memory leak, apparently (I've looked at my memory usage when these errors happen).
But *all* symptoms started after upgrading to 5.3.1 (and subsequently to 5.3.5).
Attaching some (actually, all) of said errors.
(Please not although some entries are from while running -zen branch, I can reproduce with plain ARCH kernel, and -custom is with the Kernel I made just to enable KMEMLEAK)
Hi, This problem has fixed itself after upgrading to 5.3.8 (possibly somewhere in the interim, haven't been folding extensively because of being afraid of leaks in the meantime). ~48 hours of folding now and not a single leak (this wasn't possibly on a previous version. What I mean to say is this bug report can be closed (I will mark this as UNREPRODUCIBLE, as it seems most appropriate to me. However please feel free to edit if you think some other reason is more appropriate, as I'm not sure which one to use). |