Kernel panic with agd5's drm-next-4.17-wip & GFX8/Polaris10/Ellesmere/Rx-480-8GiB
https://bugs.freedesktop.org/show_bug.cgi?id=104736
Bug ID: 104736
Summary: Kernel panic with agd5's drm-next-4.17-wip &
GFX8/Polaris10/Ellesmere/Rx-480-8GiB
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 136904
--> https://bugs.freedesktop.org/attachment.cgi?id=136904&action=edit
Serial kernel console for Panic/BUG/OOPS bug on Kaveri+GFX8
Hi-
I'm having issues with bringing up a kennel on an AMD Kaveri (A10-7850K w/
R7 iGPU disabled) using a Radeon Rx 480 8GiB. I'm using (at the time of this writing) the latest commit from agd5f's drm-next-4.17-wip branch (commit 006a62b26fbb0b7dcd8061f83889e0514ea42d17 ('drm/ttm: Don't unreserve swapped BOs that were previously reserved')).
When bringing up the kernel, it acts like it's initializing the
(DisplayPort-connected) display, but then the screen blacks out and the display finally goes to sleep. I've attached a kernel log (grabbed from a serial connection (the kernel panics too soon to bring up the various network devices, and thus the network console)), which hopefully has enough verbosity to be useful. It's also available at
https://gist.github.com/Haifen/f783d5f6b2ab3d30805d9f5315b7c675
Please let me know if there's any more information you require.
-Robin K.
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=104736
--- Comment #1 from Robin Kauffman <[email protected]> --- Oops, s/kennel/kernel/
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=104736
--- Comment #2 from Alex Deucher <[email protected]> --- does manually loading gpu_sched before amdgpu fix the issue?
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=104736
--- Comment #3 from Robin Kauffman <[email protected]> --- (In reply to Alex Deucher from comment #2)
Quoted 1 line
does manually loading
gpu_schedbefore amdgpu fix the issue?
Can try to do so, but unsure as to how given that pretty much the entire graphics stack is compiled into the kernel image.
Reverting commit 4983e48c8539282be15f660bdd2c4260467b1190 ('drm/sched: move fence slab handling to module init/exit') fixes the issue, and thus this bug may be a duplicate of bug #104756. If so, this bug can be closed as a duplicate, or I can experiment with trying to force gpu_sched up first.
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=104736
--- Comment #4 from Michel Dänzer <[email protected]> --- Please attach the CONFIG_DRM entries of the kernel build configuration file.
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=104736
Christian König <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #5 from Christian König <[email protected]> --- *** Bug 104756 has been marked as a duplicate of this bug. ***
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=104736
--- Comment #6 from Christian König <[email protected]> --- Created attachment 136937
--> https://bugs.freedesktop.org/attachment.cgi?id=136937&action=edit
Possible fix
I was able to reproduce the problem and the attached patch should fix it.
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=104736
--- Comment #7 from Mike Lothian <[email protected]> --- I can confirm is does fix the issues I was seeing
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=104736
Christian König <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXEDSignature · 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=104736
Christian König <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
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