Bug 216727 - [amdgpu] Failure to wake up from suspend to RAM under memory pressure
Summary: [amdgpu] Failure to wake up from suspend to RAM under memory pressure
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Video(DRI - non Intel) (show other bugs)
Hardware: AMD Linux
: P1 normal
Assignee: drivers_video-dri
URL: https://gitlab.freedesktop.org/drm/am...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-22 09:53 UTC by Martin
Modified: 2022-11-28 06:19 UTC (History)
1 user (show)

See Also:
Kernel Version: 6.0.9
Subsystem:
Regression: No
Bisected commit-id:


Attachments
errors and tracess logged when the issue occured (32.85 KB, text/plain)
2022-11-22 09:53 UTC, Martin
Details

Description Martin 2022-11-22 09:53:35 UTC
Created attachment 303261 [details]
errors and tracess logged when the issue occured

I've had this issue at least twice so far. The previous time it was on kernel version 5.19.17.

When I tried waking up my computer from sleep I was greeted with corrupt graphics. Was able to login via ssh and reboot.

I'm on Slackware-current. CPU is AMD Phenom II X4 965 Black Edition. GPU is AMD Radeon RX 550 / 550 Series

Both time this happened I had a process running and using up all the memory and eventually being killed by "out of memory". Though first time I experienced this issue the out of memory happend the day beofre. The issue occured only on wake up the next day.

I'm attaching some logs (some minor comments in the attached log file), I hope it's not too much but I didn't want to miss any relevant information. Apologies in advance.
Comment 2 Martin 2022-11-22 14:57:26 UTC
(In reply to Alex Deucher from comment #1)
> Does this patch help?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> ?id=8d4de331f1b24a22d18e3c6116aa25228cf54854

Thanks, I'll try and let you know tomorrow.
Comment 3 Martin 2022-11-23 15:27:12 UTC
(In reply to Alex Deucher from comment #1)
> Does this patch help?
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/
> ?id=8d4de331f1b24a22d18e3c6116aa25228cf54854

I think it helped.

I booted yesterday, managed to trigger OOM killer twice and suspended and resumed three times.

I'm still getting those kind errors in the log:

kernfs: can not remove 'threshold_limit', no directory

but I think those can be something else.

Thank you.

Note You need to log in before you can comment on or make changes to this bug.