Skip to contentSkip to conversation

New: AMD DC crashes when computing clocks/detecting freesync

Bug 198713 [email protected] 1 participant 10 messages Feb 7, 2018 – Jun 13, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]
        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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #1 from Jon ([email protected]) ---
Created attachment 274055
--> https://bugzilla.kernel.org/attachment.cgi?id=274055&action=edit
kernel config from /boot

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

Mike Lothian ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Mike Lothian ([email protected]) ---
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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #3 from Jon ([email protected]) ---
(In reply to Mike Lothian from comment #2)

Quoted 1 line

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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

Nicholas Johnson ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
                   |                            |m.au

--- Comment #4 from Nicholas Johnson ([email protected]) --- 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!

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

Andrey Grodzovsky ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Andrey Grodzovsky ([email protected]) --- 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/dc/dm_services.h#L132

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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #6 from Nicholas Johnson ([email protected]) --- 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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#7 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #7 from Andrey Grodzovsky ([email protected]) --- 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.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#8 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #8 from Jon ([email protected]) ---
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

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#9 lore raw

[Bug 198713] AMD DC crashes when computing clocks/detecting freesync

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=198713

--- Comment #9 from Jon ([email protected]) ---
Created attachment 276531
--> https://bugzilla.kernel.org/attachment.cgi?id=276531&action=edit
dmesg for kernel 4.17 showing warnings with traces

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel