https://bugzilla.kernel.org/show_bug.cgi?id=198713
Bug ID: 198713 Summary: AMD DC crashes when computing clocks/detecting freesync Product: Drivers Version: 2.5 Kernel Version: 4.15.1-7 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: jon@moozaad.co.uk Regression: No
Created attachment 274053 --> https://bugzilla.kernel.org/attachment.cgi?id=274053&action=edit dmesg output
Fury X w/ BenQ XL2730Z connected with DisplayPort
amdgpu.dc=1 is NOT set.
See attached dmesg for 12 traces related to DC.
It looks to be crashing whilst detecting/computing clocks when freesync is detected. I've not set it to be enabled.
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #1 from Jon (jon@moozaad.co.uk) --- Created attachment 274055 --> https://bugzilla.kernel.org/attachment.cgi?id=274055&action=edit kernel config from /boot
https://bugzilla.kernel.org/show_bug.cgi?id=198713
Mike Lothian (mike@fireburn.co.uk) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@fireburn.co.uk
--- Comment #2 from Mike Lothian (mike@fireburn.co.uk) --- You don't need amdgpu.dc=1 set, it's already enabled in the .config that you provided:
CONFIG_DRM_AMD_DC = y CONFIG_DRM_AMD_DC_PRE_VEGA = y
As a workaround try amdgpu.dc=0
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #3 from Jon (jon@moozaad.co.uk) --- (In reply to Mike Lothian from comment #2)
As a workaround try amdgpu.dc=0
Well spotted. Workaround has stopped the traces as you'd expect. It's also stopped the weird blue flicker I was getting in KDE with OGL3 compositor (different DC bug).
I hope the above is useful for getting PRE_VEGA out of experimental!
Missing from original report, it's 3x BenQ XL2730Z, all display port.
https://bugzilla.kernel.org/show_bug.cgi?id=198713
Nicholas Johnson (nicholas.johnson@outlook.com.au) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nicholas.johnson@outlook.co | |m.au
--- Comment #4 from Nicholas Johnson (nicholas.johnson@outlook.com.au) --- I did not find this when posting my bug. This might be the same thing. Except mine is two whole kernel versions newer, and it is still doing it. AMD do not seem to be taking Linux seriously....
https://bugzilla.kernel.org/show_bug.cgi?id=199917
Could somebody who knows the ropes around here poke the AMD driver team for us? Thank you!
https://bugzilla.kernel.org/show_bug.cgi?id=198713
Andrey Grodzovsky (andrey.grodzovsky@amd.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.grodzovsky@amd.com
--- Comment #5 from Andrey Grodzovsky (andrey.grodzovsky@amd.com) --- It's not a crash but a warning over invalid reg fields access - here https://elixir.bootlin.com/linux/v4.15.1/source/drivers/gpu/drm/amd/display/...
I see you are working with 4.15 kernel, can you take the latest stable from here - https://www.kernel.org/ and see if problem goes away ?
For quicker response time you can try submitting tickets to Free Desktop Bugzilla - https://bugs.freedesktop.org/
Andrey
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #6 from Nicholas Johnson (nicholas.johnson@outlook.com.au) --- If you are referring to my comment, mine was with 4.17 kernel (latest stable release). I was just commenting on this one (4.15) because it looks like the same bug, and I am highlighting that they still have not fixed it in 4.17.
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #7 from Andrey Grodzovsky (andrey.grodzovsky@amd.com) --- Well, the dmesg attached is also from 4.15 kernel so I assumed it's all 4.15. Anyway, I will Harry from our Display team to take a look at this.
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #8 from Jon (jon@moozaad.co.uk) --- Updated to 4.17 as per (indirect) request :)
Linux mudkip.farm 4.17.1-6-default #1 SMP PREEMPT Tue Jun 12 09:55:31 UTC 2018 (e721478) x86_64 x86_64 x86_64 GNU/Linux
https://bugzilla.kernel.org/show_bug.cgi?id=198713
--- Comment #9 from Jon (jon@moozaad.co.uk) --- Created attachment 276531 --> https://bugzilla.kernel.org/attachment.cgi?id=276531&action=edit dmesg for kernel 4.17 showing warnings with traces
dri-devel@lists.freedesktop.org