https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #58 from Alex Deucher (alexdeuc...@gmail.com) ---
Nevermind, sorry, wrong bug.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #57 from Alex Deucher (alexdeuc...@gmail.com) ---
Does this patch help?
https://gitlab.freedesktop.org/drm/amd/uploads/64dc2a05039b583e89da17309969fa50/0001-client-register-fix-plus-fbdev-debug-noise-2.patch
It's pretty noisy. The me
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #56 from Harald Judt (h.j...@gmx.at) ---
I think that the issue with VT-switching is not fixed by the commit, but by
another measure, that is switching to a text console before hibernating (the
script I use has an option to do this). T
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #55 from Harald Judt (h.j...@gmx.at) ---
Unfortunately with the patch applied to 6.3.4 it causes the old problem. The
screen stays dark, USB keyboard offline when trying to resume. So special
treatment is still required it seems.
--
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #54 from Alex Deucher (alexdeuc...@gmail.com) ---
Does the patch in https://bugzilla.kernel.org/attachment.cgi?id=303064 make a
difference? It would be nice to remove the special treatment for hawaii if it
is not required.
--
You ma
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Mario Limonciello (AMD) (mario.limoncie...@amd.com) changed:
What|Removed |Added
Status|REOPENED|RESO
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #52 from Harald Judt (h.j...@gmx.at) ---
I believe my last issue regarding hibernation after this rewrite has been fixed
somewhere in linux-stable 6.2.13: The desktop no longer freezes when
VT-switching after resuming from hibernation.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #51 from Harald Judt (h.j...@gmx.at) ---
Ok. After some tests with 6.1.8 and later, things seem to be a bit more stable,
though I do not know whether the reason is actually the newer kernel or more
exact tests on my part.
It now seems
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #50 from Harald Judt (h.j...@gmx.at) ---
On the other hand, I have not experienced any problems with vt-switching so far
_before_ hibernate/resume.
--
You may reply to this email to add a comment.
You are receiving this mail because
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #49 from Harald Judt (h.j...@gmx.at) ---
I meant "I am not quite sure about this."
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #48 from Harald Judt (h.j...@gmx.at) ---
Ok. I am quite sure about this, but I have new observations which could mean
that the hibernation issue could be fixed but there is another issue.
First, I have tried 6.1.0. Hibernation/resume
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #47 from Harald Judt (h.j...@gmx.at) ---
I have tried attachment 303055 and
https://patchwork.kernel.org/project/dri-devel/patch/20221020103755.24058-2-tzimmerm...@suse.de/
together with attachment 303064, but unfortunately it made no
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #46 from Alex Deucher (alexdeuc...@gmail.com) ---
Please try with the prefer_shadow patch. It sounds like we may be on the right
track.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are w
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #45 from Harald Judt (h.j...@gmx.at) ---
Thanks for the new patches.
Applying attachment 303055 and
https://patchwork.kernel.org/project/dri-devel/patch/20221020103755.24058-2-tzimmerm...@suse.de/
on linux-5.19.16 did seem to have an
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #44 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 303064
--> https://bugzilla.kernel.org/attachment.cgi?id=303064&action=edit
another fix
You'll probably want this patch too.
--
You may reply to this email to ad
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #43 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 303055
--> https://bugzilla.kernel.org/attachment.cgi?id=303055&action=edit
possible fix
Can you try this patch? You might also try adding:
https://patchwork.kern
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #42 from Harald Judt (h.j...@gmx.at) ---
Created attachment 303004
--> https://bugzilla.kernel.org/attachment.cgi?id=303004&action=edit
dmesg.out
Here is a new dmesg with linux-stable-5.19.11 and amdgpu.dc=0.
There are a couple mor
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #41 from Alex Deucher (alexdeuc...@gmail.com) ---
Does setting amdgpu.dc=0 make any difference?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #40 from Harald Judt (h.j...@gmx.at) ---
Any updates on this? Hibernate/resume is still borked after a few cycles
(rather sooner than later) and it gets harder and harder to revert these fb
patches on newer kernels. The prefer_shadow p
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #39 from Harald Judt (h.j...@gmx.at) ---
Switching back to the original amdgpu_fb implementation (I've reverted this and
all relevant patches on stable-5.18.19), all remaining issues vanish. After two
hibernate/resume cycles, I can sti
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #38 from Alex Deucher (alexdeuc...@gmail.com) ---
(In reply to Harald Judt from comment #36)
> Maybe these are also relevant, they occur right after resuming, before all
> those other messages:
> [drm] Fence fallback timer expired on r
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #37 from Mario Limonciello (AMD) (mario.limoncie...@amd.com) ---
Hmm. I get the impression that those are /probably/ collateral damage from the
underlying issue of something not initializing properly during resume from S4.
--
You ma
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #36 from Harald Judt (h.j...@gmx.at) ---
Maybe these are also relevant, they occur right after resuming, before all
those other messages:
[drm] Fence fallback timer expired on ring sdma0
[drm] Fence fallback timer expired on ring sdma0
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #35 from Harald Judt (h.j...@gmx.at) ---
I have not had time yet to try any patches, but here are more detailed dmesg
messages when things get awry after resuming from hibernation and vt-switching
(see symptoms described above). Maybe
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Mario Limonciello (AMD) (mario.limoncie...@amd.com) changed:
What|Removed |Added
CC||mari
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #33 from Harald Judt (h.j...@gmx.at) ---
With "if I reboot the machine" I mean, if I shutdown/reboot it later after
resume, then the shutdown messages get printed that strange way.
--
You may reply to this email to add a comment.
Yo
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #32 from Harald Judt (h.j...@gmx.at) ---
There still seem to be issues with the shared fb implementation and
hibernation. After resume, chvt to another vt causes the following errors in
dmesg:
[ 975.920944] [drm:amdgpu_job_timedout]
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #31 from Harald Judt (h.j...@gmx.at) ---
Created attachment 301306
--> https://bugzilla.kernel.org/attachment.cgi?id=301306&action=edit
dmesg.out
amdgpu.dc=0 doesn't seem to make any practical difference.
BTW: With the new patchset
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #30 from Harald Judt (h.j...@gmx.at) ---
I will have to test this. I have not known this option exists and what it does
nor what will happen if I disable it and if that is good or bad, so I have
never used it before.
--
You may reply
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #29 from Alex Deucher (alexdeuc...@gmail.com) ---
Do they also work when you set amdgpu.dc=0 or has that always had problems for
you?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watc
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #28 from Harald Judt (h.j...@gmx.at) ---
Created attachment 301304
--> https://bugzilla.kernel.org/attachment.cgi?id=301304&action=edit
dmesg.out
The new 2 patches alone work fine _without_ setting amdgpu.dc=0.
--
You may reply to
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #27 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301300
--> https://bugzilla.kernel.org/attachment.cgi?id=301300&action=edit
patch 2/2
--
You may reply to this email to add a comment.
You are receiving this mai
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #26 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301299
--> https://bugzilla.kernel.org/attachment.cgi?id=301299&action=edit
patch 1/2
Can you try the attached 2 patches (without any previous patches) both with a
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #25 from Harald Judt (h.j...@gmx.at) ---
Created attachment 301298
--> https://bugzilla.kernel.org/attachment.cgi?id=301298&action=edit
dmesg.out
I report success, partly.
Setting amdgpu.dc=0 on the kernel command line also exhibit
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #24 from Alex Deucher (alexdeuc...@gmail.com) ---
Does setting amdgpu.dc=0 on the kernel command line also exhibit the behavior?
If so, does patch 4/4 alone fix that?
--
You may reply to this email to add a comment.
You are receivi
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #23 from Harald Judt (h.j...@gmx.at) ---
Created attachment 301291
--> https://bugzilla.kernel.org/attachment.cgi?id=301291&action=edit
mailing-list-patch-adapted-for-5.18.7.patch
I had to adapt the patch for 5.18.7. I hope this is
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #22 from Alex Deucher (alexdeuc...@gmail.com) ---
Does this patch help?
https://patchwork.kernel.org/project/dri-devel/patch/20220621104617.8817-1-tzimmerm...@suse.de/
--
You may reply to this email to add a comment.
You are receivi
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Daniel Vetter (dan...@ffwll.ch) changed:
What|Removed |Added
CC||dan...@ffwll.ch
--- Com
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #20 from Harald Judt (h.j...@gmx.at) ---
One thing that I have noticed: Since these changes, the kernel seems to switch
to text mode when hibernating. Before that I think it remained (frozen) on the
X screen.
Here are the results:
- 1
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #19 from Harald Judt (h.j...@gmx.at) ---
Yes, I definitely removed the patch from comment 11 before testing the new
patch set. I will try the other combinations later this week, I am a bit short
on time at the moment.
--
You may repl
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #18 from Alex Deucher (alexdeuc...@gmail.com) ---
Just to verify, you removed the patch from comment 11 before testing the new
patches? Also, can you try the just patch 1/4 and then again with just patches
2/4 and 3/4? Do either of t
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #17 from Harald Judt (h.j...@gmx.at) ---
Yes, this patch set seems to work fine. Reporting two successful
hibernate/resume cycles with them applied to 5.18.5.
--
You may reply to this email to add a comment.
You are receiving this m
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #16 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301246
--> https://bugzilla.kernel.org/attachment.cgi?id=301246&action=edit
patch 4/4
--
You may reply to this email to add a comment.
You are receiving this mai
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #15 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301245
--> https://bugzilla.kernel.org/attachment.cgi?id=301245&action=edit
patch 3/4
--
You may reply to this email to add a comment.
You are receiving this mai
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #14 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301244
--> https://bugzilla.kernel.org/attachment.cgi?id=301244&action=edit
patch 2/4
--
You may reply to this email to add a comment.
You are receiving this mai
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #13 from Alex Deucher (alexdeuc...@gmail.com) ---
Created attachment 301243
--> https://bugzilla.kernel.org/attachment.cgi?id=301243&action=edit
patch 1/4
Can you try this patch set instead?
--
You may reply to this email to add a
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #12 from Harald Judt (h.j...@gmx.at) ---
Yes, changing this single line indeed solves the issue! Thanks.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #11 from Alex Deucher (alexdeuc...@gmail.com) ---
Does changing the the prefer_shadow hint help? E.g., something like:
diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #10 from Harald Judt (h.j...@gmx.at) ---
Again, the same applies to 5.18.4: Reverting the fb helper patch gets me a
working resume from hibernation.
--
You may reply to this email to add a comment.
You are receiving this mail becaus
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #9 from Harald Judt (h.j...@gmx.at) ---
Created attachment 301189
--> https://bugzilla.kernel.org/attachment.cgi?id=301189&action=edit
dmesg.out
Here is the dmesg out from my linux-5.18.3 right after boot (that version is
with the r
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #8 from Alex Deucher (alexdeuc...@gmail.com) ---
Can you attach your full dmesg output?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #7 from Harald Judt (h.j...@gmx.at) ---
Unfortunately, no it did not help (tested with 5.18.4).
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #6 from Alex Deucher (alexdeuc...@gmail.com) ---
On the kernel command line in grub.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
--- Comment #5 from Alex Deucher (alexdeuc...@gmail.com) ---
Does setting amdgpu.runpm=0 help?
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Harald Judt (h.j...@gmx.at) changed:
What|Removed |Added
Status|RESOLVED|REOPENED
Resolution
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Alex Deucher (alexdeuc...@gmail.com) changed:
What|Removed |Added
CC||alexdeuc...@gmail.c
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Artem S. Tashkinov (a...@gmx.com) changed:
What|Removed |Added
Status|NEW |RESOLVED
https://bugzilla.kernel.org/show_bug.cgi?id=216119
Harald Judt (h.j...@gmx.at) changed:
What|Removed |Added
CC||h.j...@gmx.at
--- Comment #
58 matches
Mail list logo