All of lore.kernel.org
 help / color / mirror / Atom feed
* Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
@ 2019-04-05 16:24 Pinky
  2019-04-05 17:07 ` Deucher, Alexander
  0 siblings, 1 reply; 15+ messages in thread
From: Pinky @ 2019-04-05 16:24 UTC (permalink / raw)
  To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Hello,

I have today compiled the drm-next kernel from (1) and find out the screen is
flickering and shows various artifacts. By bissecting I found the cause
is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
problem went out.

I does not have idea about what to do next. Sorry if this should be posted to
some bugzilla instead, I have got a bit lost. If so, would You please
point my out what to do?

With best regards,
    Pinkava J.


lspci (partial)

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller




(1) git://people.freedesktop.org/~agd5f/linux
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-05 16:24 Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series" Pinky
@ 2019-04-05 17:07 ` Deucher, Alexander
       [not found]   ` <BN6PR12MB1809F0A406BDD769D980D0A5F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Deucher, Alexander @ 2019-04-05 17:07 UTC (permalink / raw)
  To: Pinky, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 1744 bytes --]

This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?

Alex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
Sent: Friday, April 5, 2019 12:24 PM
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

Hello,

I have today compiled the drm-next kernel from (1) and find out the screen is
flickering and shows various artifacts. By bissecting I found the cause
is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
problem went out.

I does not have idea about what to do next. Sorry if this should be posted to
some bugzilla instead, I have got a bit lost. If so, would You please
point my out what to do?

With best regards,
    Pinkava J.


lspci (partial)

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller




(1) git://people.freedesktop.org/~agd5f/linux
_______________________________________________
amd-gfx mailing list
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[-- Attachment #1.2: Type: text/html, Size: 2902 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]   ` <BN6PR12MB1809F0A406BDD769D980D0A5F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2019-04-05 17:11     ` Deucher, Alexander
  2019-04-05 17:53     ` Pinky
  1 sibling, 0 replies; 15+ messages in thread
From: Deucher, Alexander @ 2019-04-05 17:11 UTC (permalink / raw)
  To: Pinky, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2171 bytes --]

Kernel command line in grub.
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Deucher, Alexander <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org>
Sent: Friday, April 5, 2019 1:07 PM
To: Pinky; amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?

Alex
________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
Sent: Friday, April 5, 2019 12:24 PM
To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

Hello,

I have today compiled the drm-next kernel from (1) and find out the screen is
flickering and shows various artifacts. By bissecting I found the cause
is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
problem went out.

I does not have idea about what to do next. Sorry if this should be posted to
some bugzilla instead, I have got a bit lost. If so, would You please
point my out what to do?

With best regards,
    Pinkava J.


lspci (partial)

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller




(1) git://people.freedesktop.org/~agd5f/linux
_______________________________________________
amd-gfx mailing list
amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[-- Attachment #1.2: Type: text/html, Size: 3814 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]   ` <BN6PR12MB1809F0A406BDD769D980D0A5F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  2019-04-05 17:11     ` Deucher, Alexander
@ 2019-04-05 17:53     ` Pinky
  2019-04-05 18:33       ` Deucher, Alexander
  1 sibling, 1 reply; 15+ messages in thread
From: Pinky @ 2019-04-05 17:53 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

No, this does no do anything, the bug is still present.


* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 17:07:21 +0000]:

>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>
>Alex
>________________________________
>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Pinky <j-pi@seznam.cz>
>Sent: Friday, April 5, 2019 12:24 PM
>To: amd-gfx@lists.freedesktop.org
>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>
>Hello,
>
>I have today compiled the drm-next kernel from (1) and find out the screen is
>flickering and shows various artifacts. By bissecting I found the cause
>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>problem went out.
>
>I does not have idea about what to do next. Sorry if this should be posted to
>some bugzilla instead, I have got a bit lost. If so, would You please
>point my out what to do?
>
>With best regards,
>    Pinkava J.
>
>
>lspci (partial)
>
>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>
>
>
>
>(1) git://people.freedesktop.org/~agd5f/linux
>_______________________________________________
>amd-gfx mailing list
>amd-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx

>_______________________________________________
>amd-gfx mailing list
>amd-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-05 17:53     ` Pinky
@ 2019-04-05 18:33       ` Deucher, Alexander
       [not found]         ` <BN6PR12MB1809FBE905B4348595FBC9F7F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Deucher, Alexander @ 2019-04-05 18:33 UTC (permalink / raw)
  To: Pinky, Huang, Ray; +Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 2596 bytes --]

+ Ray

Ray, any ideas?

Pinkava,

can you provide the output of:
sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info

Thanks,

Alex
________________________________
From: Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
Sent: Friday, April 5, 2019 1:53 PM
To: Deucher, Alexander
Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"

No, this does no do anything, the bug is still present.


* Deucher, Alexander <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org> [2019-04-05 17:07:21 +0000]:

>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>
>Alex
>________________________________
>From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
>Sent: Friday, April 5, 2019 12:24 PM
>To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>
>Hello,
>
>I have today compiled the drm-next kernel from (1) and find out the screen is
>flickering and shows various artifacts. By bissecting I found the cause
>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>problem went out.
>
>I does not have idea about what to do next. Sorry if this should be posted to
>some bugzilla instead, I have got a bit lost. If so, would You please
>point my out what to do?
>
>With best regards,
>    Pinkava J.
>
>
>lspci (partial)
>
>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>
>
>
>
>(1) git://people.freedesktop.org/~agd5f/linux
>_______________________________________________
>amd-gfx mailing list
>amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx

>_______________________________________________
>amd-gfx mailing list
>amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx


[-- Attachment #1.2: Type: text/html, Size: 5072 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]         ` <BN6PR12MB1809FBE905B4348595FBC9F7F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2019-04-05 18:38           ` Pinky
  2019-04-05 18:44             ` Deucher, Alexander
  0 siblings, 1 reply; 15+ messages in thread
From: Pinky @ 2019-04-05 18:38 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
VCE feature version: 0, firmware version: 0x00000000
UVD feature version: 0, firmware version: 0x00000000
MC feature version: 0, firmware version: 0x00000000
ME feature version: 40, firmware version: 0x00000099
PFP feature version: 40, firmware version: 0x000000ae
CE feature version: 40, firmware version: 0x0000004d
RLC feature version: 1, firmware version: 0x0000d237
RLC SRLC feature version: 1, firmware version: 0x00000001
RLC SRLG feature version: 1, firmware version: 0x00000001
RLC SRLS feature version: 1, firmware version: 0x00000001
MEC feature version: 40, firmware version: 0x0000018b
MEC2 feature version: 40, firmware version: 0x0000018b
SOS feature version: 0, firmware version: 0x00000000
ASD feature version: 0, firmware version: 0x0017ba78
TA XGMI feature version: 0, firmware version: 0x00000000
TA RAS feature version: 0, firmware version: 0x00000000
SMC feature version: 0, firmware version: 0x00001e44
SDMA0 feature version: 41, firmware version: 0x000000a9
VCN feature version: 0, firmware version: 0x01004912
DMCU feature version: 0, firmware version: 0x00000001
VBIOS version: 113-RAVEN-110



* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:33:23 +0000]:

>+ Ray
>
>Ray, any ideas?
>
>Pinkava,
>
>can you provide the output of:
>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>
>Thanks,
>
>Alex
>________________________________
>From: Pinky <j-pi@seznam.cz>
>Sent: Friday, April 5, 2019 1:53 PM
>To: Deucher, Alexander
>Cc: amd-gfx@lists.freedesktop.org
>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>
>No, this does no do anything, the bug is still present.
>
>
>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 17:07:21 +0000]:
>
>>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>>
>>Alex
>>________________________________
>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Pinky <j-pi@seznam.cz>
>>Sent: Friday, April 5, 2019 12:24 PM
>>To: amd-gfx@lists.freedesktop.org
>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>>
>>Hello,
>>
>>I have today compiled the drm-next kernel from (1) and find out the screen is
>>flickering and shows various artifacts. By bissecting I found the cause
>>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>>problem went out.
>>
>>I does not have idea about what to do next. Sorry if this should be posted to
>>some bugzilla instead, I have got a bit lost. If so, would You please
>>point my out what to do?
>>
>>With best regards,
>>    Pinkava J.
>>
>>
>>lspci (partial)
>>
>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>>
>>
>>
>>
>>(1) git://people.freedesktop.org/~agd5f/linux
>>_______________________________________________
>>amd-gfx mailing list
>>amd-gfx@lists.freedesktop.org
>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
>>_______________________________________________
>>amd-gfx mailing list
>>amd-gfx@lists.freedesktop.org
>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-05 18:38           ` Pinky
@ 2019-04-05 18:44             ` Deucher, Alexander
       [not found]               ` <BN6PR12MB1809F35D7E08B17EE0362C15F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Deucher, Alexander @ 2019-04-05 18:44 UTC (permalink / raw)
  To: Pinky; +Cc: Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


[-- Attachment #1.1: Type: text/plain, Size: 4448 bytes --]

Make sure you have this patch as well:
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd

Alex
________________________________
From: Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
Sent: Friday, April 5, 2019 2:38 PM
To: Deucher, Alexander
Cc: Huang, Ray; amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"


cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
VCE feature version: 0, firmware version: 0x00000000
UVD feature version: 0, firmware version: 0x00000000
MC feature version: 0, firmware version: 0x00000000
ME feature version: 40, firmware version: 0x00000099
PFP feature version: 40, firmware version: 0x000000ae
CE feature version: 40, firmware version: 0x0000004d
RLC feature version: 1, firmware version: 0x0000d237
RLC SRLC feature version: 1, firmware version: 0x00000001
RLC SRLG feature version: 1, firmware version: 0x00000001
RLC SRLS feature version: 1, firmware version: 0x00000001
MEC feature version: 40, firmware version: 0x0000018b
MEC2 feature version: 40, firmware version: 0x0000018b
SOS feature version: 0, firmware version: 0x00000000
ASD feature version: 0, firmware version: 0x0017ba78
TA XGMI feature version: 0, firmware version: 0x00000000
TA RAS feature version: 0, firmware version: 0x00000000
SMC feature version: 0, firmware version: 0x00001e44
SDMA0 feature version: 41, firmware version: 0x000000a9
VCN feature version: 0, firmware version: 0x01004912
DMCU feature version: 0, firmware version: 0x00000001
VBIOS version: 113-RAVEN-110



* Deucher, Alexander <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org> [2019-04-05 18:33:23 +0000]:

>+ Ray
>
>Ray, any ideas?
>
>Pinkava,
>
>can you provide the output of:
>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>
>Thanks,
>
>Alex
>________________________________
>From: Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
>Sent: Friday, April 5, 2019 1:53 PM
>To: Deucher, Alexander
>Cc: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>
>No, this does no do anything, the bug is still present.
>
>
>* Deucher, Alexander <Alexander.Deucher-5C7GfCeVMHo@public.gmane.org> [2019-04-05 17:07:21 +0000]:
>
>>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>>
>>Alex
>>________________________________
>>From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Pinky <j-pi-9Vj9tDbzfuSlVyrhU4qvOw@public.gmane.org>
>>Sent: Friday, April 5, 2019 12:24 PM
>>To: amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>>
>>Hello,
>>
>>I have today compiled the drm-next kernel from (1) and find out the screen is
>>flickering and shows various artifacts. By bissecting I found the cause
>>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>>problem went out.
>>
>>I does not have idea about what to do next. Sorry if this should be posted to
>>some bugzilla instead, I have got a bit lost. If so, would You please
>>point my out what to do?
>>
>>With best regards,
>>    Pinkava J.
>>
>>
>>lspci (partial)
>>
>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>>
>>
>>
>>
>>(1) git://people.freedesktop.org/~agd5f/linux
>>_______________________________________________
>>amd-gfx mailing list
>>amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>
>>_______________________________________________
>>amd-gfx mailing list
>>amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>

[-- Attachment #1.2: Type: text/html, Size: 6585 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]               ` <BN6PR12MB1809F35D7E08B17EE0362C15F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2019-04-05 20:00                 ` Pinky
  2019-04-05 20:26                   ` Alex Deucher
  2019-04-08  8:05                   ` Michel Dänzer
  0 siblings, 2 replies; 15+ messages in thread
From: Pinky @ 2019-04-05 20:00 UTC (permalink / raw)
  To: Deucher, Alexander; +Cc: Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Yes, this one seems to be already in the drm-next branch (HEAD is
now 7cdd4dc58d28).

Just for completenes, there seems to be few more (probably unrelated) bugs.
One with mouse (1), some artifact sometimes appear and terminal in X
sometimes display black instead of text when scrooling. I did not intend
to discuss this here, just mentioning it.

P



(1) https://bugs.freedesktop.org/show_bug.cgi?id=110339

* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:44:52 +0000]:

>Make sure you have this patch as well:
>https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
>
>Alex
>________________________________
>From: Pinky <j-pi@seznam.cz>
>Sent: Friday, April 5, 2019 2:38 PM
>To: Deucher, Alexander
>Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>
>
>cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>VCE feature version: 0, firmware version: 0x00000000
>UVD feature version: 0, firmware version: 0x00000000
>MC feature version: 0, firmware version: 0x00000000
>ME feature version: 40, firmware version: 0x00000099
>PFP feature version: 40, firmware version: 0x000000ae
>CE feature version: 40, firmware version: 0x0000004d
>RLC feature version: 1, firmware version: 0x0000d237
>RLC SRLC feature version: 1, firmware version: 0x00000001
>RLC SRLG feature version: 1, firmware version: 0x00000001
>RLC SRLS feature version: 1, firmware version: 0x00000001
>MEC feature version: 40, firmware version: 0x0000018b
>MEC2 feature version: 40, firmware version: 0x0000018b
>SOS feature version: 0, firmware version: 0x00000000
>ASD feature version: 0, firmware version: 0x0017ba78
>TA XGMI feature version: 0, firmware version: 0x00000000
>TA RAS feature version: 0, firmware version: 0x00000000
>SMC feature version: 0, firmware version: 0x00001e44
>SDMA0 feature version: 41, firmware version: 0x000000a9
>VCN feature version: 0, firmware version: 0x01004912
>DMCU feature version: 0, firmware version: 0x00000001
>VBIOS version: 113-RAVEN-110
>
>
>
>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:33:23 +0000]:
>
>>+ Ray
>>
>>Ray, any ideas?
>>
>>Pinkava,
>>
>>can you provide the output of:
>>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>>
>>Thanks,
>>
>>Alex
>>________________________________
>>From: Pinky <j-pi@seznam.cz>
>>Sent: Friday, April 5, 2019 1:53 PM
>>To: Deucher, Alexander
>>Cc: amd-gfx@lists.freedesktop.org
>>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>>
>>No, this does no do anything, the bug is still present.
>>
>>
>>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 17:07:21 +0000]:
>>
>>>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>>>
>>>Alex
>>>________________________________
>>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Pinky <j-pi@seznam.cz>
>>>Sent: Friday, April 5, 2019 12:24 PM
>>>To: amd-gfx@lists.freedesktop.org
>>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>>>
>>>Hello,
>>>
>>>I have today compiled the drm-next kernel from (1) and find out the screen is
>>>flickering and shows various artifacts. By bissecting I found the cause
>>>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>>>problem went out.
>>>
>>>I does not have idea about what to do next. Sorry if this should be posted to
>>>some bugzilla instead, I have got a bit lost. If so, would You please
>>>point my out what to do?
>>>
>>>With best regards,
>>>    Pinkava J.
>>>
>>>
>>>lspci (partial)
>>>
>>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>>>
>>>
>>>
>>>
>>>(1) git://people.freedesktop.org/~agd5f/linux
>>>_______________________________________________
>>>amd-gfx mailing list
>>>amd-gfx@lists.freedesktop.org
>>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
>>>_______________________________________________
>>>amd-gfx mailing list
>>>amd-gfx@lists.freedesktop.org
>>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-05 20:00                 ` Pinky
@ 2019-04-05 20:26                   ` Alex Deucher
       [not found]                     ` <CADnq5_PnJ-4ezG4S3MpEi+0ahbM=AvAH=sNuWcDiBZyadVfSdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2019-04-08  8:05                   ` Michel Dänzer
  1 sibling, 1 reply; 15+ messages in thread
From: Alex Deucher @ 2019-04-05 20:26 UTC (permalink / raw)
  To: Pinky
  Cc: Deucher, Alexander, Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi@seznam.cz> wrote:
>
> Yes, this one seems to be already in the drm-next branch (HEAD is
> now 7cdd4dc58d28).
>

I'm not sure what is going on them.  You have RLC firmware version
53815 (0x0000d237) so gfx power gating is being disabled as of
083d022913f2f8c3bc1183a13874ad777b9f5bdd.

Does setting amdgpu.ppfeaturemask=0xfffd3fff fix the issue?

Alex

> Just for completenes, there seems to be few more (probably unrelated) bugs.
> One with mouse (1), some artifact sometimes appear and terminal in X
> sometimes display black instead of text when scrooling. I did not intend
> to discuss this here, just mentioning it.
>
> P
>
>
>
> (1) https://bugs.freedesktop.org/show_bug.cgi?id=110339
>
> * Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:44:52 +0000]:
>
> >Make sure you have this patch as well:
> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
> >
> >Alex
> >________________________________
> >From: Pinky <j-pi@seznam.cz>
> >Sent: Friday, April 5, 2019 2:38 PM
> >To: Deucher, Alexander
> >Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
> >Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
> >
> >
> >cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >VCE feature version: 0, firmware version: 0x00000000
> >UVD feature version: 0, firmware version: 0x00000000
> >MC feature version: 0, firmware version: 0x00000000
> >ME feature version: 40, firmware version: 0x00000099
> >PFP feature version: 40, firmware version: 0x000000ae
> >CE feature version: 40, firmware version: 0x0000004d
> >RLC feature version: 1, firmware version: 0x0000d237
> >RLC SRLC feature version: 1, firmware version: 0x00000001
> >RLC SRLG feature version: 1, firmware version: 0x00000001
> >RLC SRLS feature version: 1, firmware version: 0x00000001
> >MEC feature version: 40, firmware version: 0x0000018b
> >MEC2 feature version: 40, firmware version: 0x0000018b
> >SOS feature version: 0, firmware version: 0x00000000
> >ASD feature version: 0, firmware version: 0x0017ba78
> >TA XGMI feature version: 0, firmware version: 0x00000000
> >TA RAS feature version: 0, firmware version: 0x00000000
> >SMC feature version: 0, firmware version: 0x00001e44
> >SDMA0 feature version: 41, firmware version: 0x000000a9
> >VCN feature version: 0, firmware version: 0x01004912
> >DMCU feature version: 0, firmware version: 0x00000001
> >VBIOS version: 113-RAVEN-110
> >
> >
> >
> >* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:33:23 +0000]:
> >
> >>+ Ray
> >>
> >>Ray, any ideas?
> >>
> >>Pinkava,
> >>
> >>can you provide the output of:
> >>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >>
> >>Thanks,
> >>
> >>Alex
> >>________________________________
> >>From: Pinky <j-pi@seznam.cz>
> >>Sent: Friday, April 5, 2019 1:53 PM
> >>To: Deucher, Alexander
> >>Cc: amd-gfx@lists.freedesktop.org
> >>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
> >>
> >>No, this does no do anything, the bug is still present.
> >>
> >>
> >>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 17:07:21 +0000]:
> >>
> >>>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
> >>>
> >>>Alex
> >>>________________________________
> >>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Pinky <j-pi@seznam.cz>
> >>>Sent: Friday, April 5, 2019 12:24 PM
> >>>To: amd-gfx@lists.freedesktop.org
> >>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
> >>>
> >>>Hello,
> >>>
> >>>I have today compiled the drm-next kernel from (1) and find out the screen is
> >>>flickering and shows various artifacts. By bissecting I found the cause
> >>>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
> >>>problem went out.
> >>>
> >>>I does not have idea about what to do next. Sorry if this should be posted to
> >>>some bugzilla instead, I have got a bit lost. If so, would You please
> >>>point my out what to do?
> >>>
> >>>With best regards,
> >>>    Pinkava J.
> >>>
> >>>
> >>>lspci (partial)
> >>>
> >>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
> >>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
> >>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
> >>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
> >>>
> >>>
> >>>
> >>>
> >>>(1) git://people.freedesktop.org/~agd5f/linux
> >>>_______________________________________________
> >>>amd-gfx mailing list
> >>>amd-gfx@lists.freedesktop.org
> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >>
> >>>_______________________________________________
> >>>amd-gfx mailing list
> >>>amd-gfx@lists.freedesktop.org
> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]                     ` <CADnq5_PnJ-4ezG4S3MpEi+0ahbM=AvAH=sNuWcDiBZyadVfSdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2019-04-06  7:09                       ` Pinky
  2019-04-08 10:36                         ` Huang, Ray
  0 siblings, 1 reply; 15+ messages in thread
From: Pinky @ 2019-04-06  7:09 UTC (permalink / raw)
  To: Alex Deucher
  Cc: Deucher, Alexander, Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Yes this seems to solve the issue, even amdgpu.ppfeaturemask=0xffff7fff
provides the same efect.


* Alex Deucher <alexdeucher@gmail.com> [2019-04-05 16:26:15 -0400]:

>On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi@seznam.cz> wrote:
>>
>> Yes, this one seems to be already in the drm-next branch (HEAD is
>> now 7cdd4dc58d28).
>>
>
>I'm not sure what is going on them.  You have RLC firmware version
>53815 (0x0000d237) so gfx power gating is being disabled as of
>083d022913f2f8c3bc1183a13874ad777b9f5bdd.
>
>Does setting amdgpu.ppfeaturemask=0xfffd3fff fix the issue?
>
>Alex
>
>> Just for completenes, there seems to be few more (probably unrelated) bugs.
>> One with mouse (1), some artifact sometimes appear and terminal in X
>> sometimes display black instead of text when scrooling. I did not intend
>> to discuss this here, just mentioning it.
>>
>> P
>>
>>
>>
>> (1) https://bugs.freedesktop.org/show_bug.cgi?id=110339
>>
>> * Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:44:52 +0000]:
>>
>> >Make sure you have this patch as well:
>> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
>> >
>> >Alex
>> >________________________________
>> >From: Pinky <j-pi@seznam.cz>
>> >Sent: Friday, April 5, 2019 2:38 PM
>> >To: Deucher, Alexander
>> >Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
>> >Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>> >
>> >
>> >cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>> >VCE feature version: 0, firmware version: 0x00000000
>> >UVD feature version: 0, firmware version: 0x00000000
>> >MC feature version: 0, firmware version: 0x00000000
>> >ME feature version: 40, firmware version: 0x00000099
>> >PFP feature version: 40, firmware version: 0x000000ae
>> >CE feature version: 40, firmware version: 0x0000004d
>> >RLC feature version: 1, firmware version: 0x0000d237
>> >RLC SRLC feature version: 1, firmware version: 0x00000001
>> >RLC SRLG feature version: 1, firmware version: 0x00000001
>> >RLC SRLS feature version: 1, firmware version: 0x00000001
>> >MEC feature version: 40, firmware version: 0x0000018b
>> >MEC2 feature version: 40, firmware version: 0x0000018b
>> >SOS feature version: 0, firmware version: 0x00000000
>> >ASD feature version: 0, firmware version: 0x0017ba78
>> >TA XGMI feature version: 0, firmware version: 0x00000000
>> >TA RAS feature version: 0, firmware version: 0x00000000
>> >SMC feature version: 0, firmware version: 0x00001e44
>> >SDMA0 feature version: 41, firmware version: 0x000000a9
>> >VCN feature version: 0, firmware version: 0x01004912
>> >DMCU feature version: 0, firmware version: 0x00000001
>> >VBIOS version: 113-RAVEN-110
>> >
>> >
>> >
>> >* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 18:33:23 +0000]:
>> >
>> >>+ Ray
>> >>
>> >>Ray, any ideas?
>> >>
>> >>Pinkava,
>> >>
>> >>can you provide the output of:
>> >>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>> >>
>> >>Thanks,
>> >>
>> >>Alex
>> >>________________________________
>> >>From: Pinky <j-pi@seznam.cz>
>> >>Sent: Friday, April 5, 2019 1:53 PM
>> >>To: Deucher, Alexander
>> >>Cc: amd-gfx@lists.freedesktop.org
>> >>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>> >>
>> >>No, this does no do anything, the bug is still present.
>> >>
>> >>
>> >>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05 17:07:21 +0000]:
>> >>
>> >>>This may be related to stutter mode rather than gfxoff.  If so, there is a fix in the pipeline for that.  Does setting appending amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>> >>>
>> >>>Alex
>> >>>________________________________
>> >>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Pinky <j-pi@seznam.cz>
>> >>>Sent: Friday, April 5, 2019 12:24 PM
>> >>>To: amd-gfx@lists.freedesktop.org
>> >>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
>> >>>
>> >>>Hello,
>> >>>
>> >>>I have today compiled the drm-next kernel from (1) and find out the screen is
>> >>>flickering and shows various artifacts. By bissecting I found the cause
>> >>>is commit 005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>> >>>problem went out.
>> >>>
>> >>>I does not have idea about what to do next. Sorry if this should be posted to
>> >>>some bugzilla instead, I have got a bit lost. If so, would You please
>> >>>point my out what to do?
>> >>>
>> >>>With best regards,
>> >>>    Pinkava J.
>> >>>
>> >>>
>> >>>lspci (partial)
>> >>>
>> >>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2 IOMMU
>> >>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
>> >>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d1)
>> >>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>(1) git://people.freedesktop.org/~agd5f/linux
>> >>>_______________________________________________
>> >>>amd-gfx mailing list
>> >>>amd-gfx@lists.freedesktop.org
>> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >>
>> >>>_______________________________________________
>> >>>amd-gfx mailing list
>> >>>amd-gfx@lists.freedesktop.org
>> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx@lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-05 20:00                 ` Pinky
  2019-04-05 20:26                   ` Alex Deucher
@ 2019-04-08  8:05                   ` Michel Dänzer
       [not found]                     ` <57fd5da5-82ff-0cad-f1e8-ae7976afea7f-otUistvHUpPR7s880joybQ@public.gmane.org>
  1 sibling, 1 reply; 15+ messages in thread
From: Michel Dänzer @ 2019-04-08  8:05 UTC (permalink / raw)
  To: Pinky, Deucher, Alexander
  Cc: Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

On 2019-04-05 10:00 p.m., Pinky wrote:
> [...] terminal in X sometimes display black instead of text when
> scrooling.

Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=110214 ?


-- 
Earthling Michel Dänzer               |              https://www.amd.com
Libre software enthusiast             |             Mesa and X developer
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]                     ` <57fd5da5-82ff-0cad-f1e8-ae7976afea7f-otUistvHUpPR7s880joybQ@public.gmane.org>
@ 2019-04-08  9:02                       ` Pinky
  0 siblings, 0 replies; 15+ messages in thread
From: Pinky @ 2019-04-08  9:02 UTC (permalink / raw)
  To: Michel Dänzer
  Cc: Deucher, Alexander, Huang, Ray, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

Yes, this is it!

* Michel Dänzer <michel@daenzer.net> [2019-04-08 10:05:40 +0200]:

>On 2019-04-05 10:00 p.m., Pinky wrote:
>> [...] terminal in X sometimes display black instead of text when
>> scrooling.
>
>Sounds like https://bugs.freedesktop.org/show_bug.cgi?id=110214 ?
>
>
>-- 
>Earthling Michel Dänzer               |              https://www.amd.com
>Libre software enthusiast             |             Mesa and X developer
>_______________________________________________
>amd-gfx mailing list
>amd-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-06  7:09                       ` Pinky
@ 2019-04-08 10:36                         ` Huang, Ray
       [not found]                           ` <MN2PR12MB330960F8A679DA3580E3696EEC2C0-rweVpJHSKTpWdvXm18W95QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
  0 siblings, 1 reply; 15+ messages in thread
From: Huang, Ray @ 2019-04-08 10:36 UTC (permalink / raw)
  To: Pinky, Alex Deucher
  Cc: Deucher, Alexander, amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

> -----Original Message-----
> From: Pinky [mailto:j-pi@seznam.cz]
> Sent: Saturday, April 06, 2019 3:09 PM
> To: Alex Deucher <alexdeucher@gmail.com>
> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray
> <Ray.Huang@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on
> raven series"
> 
> Yes this seems to solve the issue, even amdgpu.ppfeaturemask=0xffff7fff
> provides the same efect.
> 
> 
> * Alex Deucher <alexdeucher@gmail.com> [2019-04-05 16:26:15 -0400]:
> 
> >On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi@seznam.cz> wrote:
> >>
> >> Yes, this one seems to be already in the drm-next branch (HEAD is now
> >> 7cdd4dc58d28).
> >>
> >
> >I'm not sure what is going on them.  You have RLC firmware version
> >53815 (0x0000d237) so gfx power gating is being disabled as of
> >083d022913f2f8c3bc1183a13874ad777b9f5bdd.

Hi Pinkava,

We have a similar issue that screen flickering caused by stutter mode.

But per your testing result, I am a bit confused.

You mentioned that "ppfeaturemask=0xfffd3fff" could be fixed the issue, but "0xfffdbfff" doesn't fix it.
However, this is the same configuration while you add below patch.  Because the gfxoff feature will be disabled while detect the RLC ucode is 53815 (0x0000d237).
https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd 

Thanks,
Ray

> >
> >Does setting amdgpu.ppfeaturemask=0xfffd3fff fix the issue?
> >
> >Alex
> >
> >> Just for completenes, there seems to be few more (probably unrelated)
> bugs.
> >> One with mouse (1), some artifact sometimes appear and terminal in X
> >> sometimes display black instead of text when scrooling. I did not
> >> intend to discuss this here, just mentioning it.
> >>
> >> P
> >>
> >>
> >>
> >> (1) https://bugs.freedesktop.org/show_bug.cgi?id=110339
> >>
> >> * Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> 18:44:52 +0000]:
> >>
> >> >Make sure you have this patch as well:
> >> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-
> wip
> >> >&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
> >> >
> >> >Alex
> >> >________________________________
> >> >From: Pinky <j-pi@seznam.cz>
> >> >Sent: Friday, April 5, 2019 2:38 PM
> >> >To: Deucher, Alexander
> >> >Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
> >> >Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again
> on raven series"
> >> >
> >> >
> >> >cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >> >VCE feature version: 0, firmware version: 0x00000000 UVD feature
> >> >version: 0, firmware version: 0x00000000 MC feature version: 0,
> >> >firmware version: 0x00000000 ME feature version: 40, firmware
> >> >version: 0x00000099 PFP feature version: 40, firmware version:
> >> >0x000000ae CE feature version: 40, firmware version: 0x0000004d RLC
> >> >feature version: 1, firmware version: 0x0000d237 RLC SRLC feature
> >> >version: 1, firmware version: 0x00000001 RLC SRLG feature version:
> >> >1, firmware version: 0x00000001 RLC SRLS feature version: 1,
> >> >firmware version: 0x00000001 MEC feature version: 40, firmware
> >> >version: 0x0000018b
> >> >MEC2 feature version: 40, firmware version: 0x0000018b SOS feature
> >> >version: 0, firmware version: 0x00000000 ASD feature version: 0,
> >> >firmware version: 0x0017ba78 TA XGMI feature version: 0, firmware
> >> >version: 0x00000000 TA RAS feature version: 0, firmware version:
> >> >0x00000000 SMC feature version: 0, firmware version: 0x00001e44
> >> >SDMA0 feature version: 41, firmware version: 0x000000a9 VCN feature
> >> >version: 0, firmware version: 0x01004912 DMCU feature version: 0,
> >> >firmware version: 0x00000001 VBIOS version: 113-RAVEN-110
> >> >
> >> >
> >> >
> >> >* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> 18:33:23 +0000]:
> >> >
> >> >>+ Ray
> >> >>
> >> >>Ray, any ideas?
> >> >>
> >> >>Pinkava,
> >> >>
> >> >>can you provide the output of:
> >> >>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >> >>
> >> >>Thanks,
> >> >>
> >> >>Alex
> >> >>________________________________
> >> >>From: Pinky <j-pi@seznam.cz>
> >> >>Sent: Friday, April 5, 2019 1:53 PM
> >> >>To: Deucher, Alexander
> >> >>Cc: amd-gfx@lists.freedesktop.org
> >> >>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff
> again on raven series"
> >> >>
> >> >>No, this does no do anything, the bug is still present.
> >> >>
> >> >>
> >> >>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> 17:07:21 +0000]:
> >> >>
> >> >>>This may be related to stutter mode rather than gfxoff.  If so, there is
> a fix in the pipeline for that.  Does setting appending
> amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
> >> >>>
> >> >>>Alex
> >> >>>________________________________
> >> >>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf
> of
> >> >>>Pinky <j-pi@seznam.cz>
> >> >>>Sent: Friday, April 5, 2019 12:24 PM
> >> >>>To: amd-gfx@lists.freedesktop.org
> >> >>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again
> on raven series"
> >> >>>
> >> >>>Hello,
> >> >>>
> >> >>>I have today compiled the drm-next kernel from (1) and find out
> >> >>>the screen is flickering and shows various artifacts. By
> >> >>>bissecting I found the cause is commit
> >> >>>005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
> problem went out.
> >> >>>
> >> >>>I does not have idea about what to do next. Sorry if this should
> >> >>>be posted to some bugzilla instead, I have got a bit lost. If so,
> >> >>>would You please point my out what to do?
> >> >>>
> >> >>>With best regards,
> >> >>>    Pinkava J.
> >> >>>
> >> >>>
> >> >>>lspci (partial)
> >> >>>
> >> >>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2
> >> >>>IOMMU
> >> >>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h
> >> >>>(Models 00h-0fh) PCIe Dummy Host Bridge
> >> >>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> >> >>>[AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile
> >> >>>Series] (rev d1)
> >> >>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> >> >>>Raven/Raven2/Fenghuang HDMI/DP Audio Controller
> >> >>>
> >> >>>
> >> >>>
> >> >>>
> >> >>>(1) git://people.freedesktop.org/~agd5f/linux
> >> >>>_______________________________________________
> >> >>>amd-gfx mailing list
> >> >>>amd-gfx@lists.freedesktop.org
> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >> >>
> >> >>>_______________________________________________
> >> >>>amd-gfx mailing list
> >> >>>amd-gfx@lists.freedesktop.org
> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >> >>
> >> _______________________________________________
> >> amd-gfx mailing list
> >> amd-gfx@lists.freedesktop.org
> >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
       [not found]                           ` <MN2PR12MB330960F8A679DA3580E3696EEC2C0-rweVpJHSKTpWdvXm18W95QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
@ 2019-04-08 12:41                             ` Pinky
  2019-04-09 12:19                               ` Huang, Ray
  0 siblings, 1 reply; 15+ messages in thread
From: Pinky @ 2019-04-08 12:41 UTC (permalink / raw)
  To: Huang, Ray
  Cc: Alex Deucher, Deucher, Alexander,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

* Huang, Ray <Ray.Huang@amd.com> [2019-04-08 10:36:53 +0000]:

>> -----Original Message-----
>> From: Pinky [mailto:j-pi@seznam.cz]
>> Sent: Saturday, April 06, 2019 3:09 PM
>> To: Alex Deucher <alexdeucher@gmail.com>
>> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray
>> <Ray.Huang@amd.com>; amd-gfx@lists.freedesktop.org
>> Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on
>> raven series"
>>
>> Yes this seems to solve the issue, even amdgpu.ppfeaturemask=0xffff7fff
>> provides the same efect.
>>
>>
>> * Alex Deucher <alexdeucher@gmail.com> [2019-04-05 16:26:15 -0400]:
>>
>> >On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi@seznam.cz> wrote:
>> >>
>> >> Yes, this one seems to be already in the drm-next branch (HEAD is now
>> >> 7cdd4dc58d28).
>> >>
>> >
>> >I'm not sure what is going on them.  You have RLC firmware version
>> >53815 (0x0000d237) so gfx power gating is being disabled as of
>> >083d022913f2f8c3bc1183a13874ad777b9f5bdd.
>
>Hi Pinkava,
>
>We have a similar issue that screen flickering caused by stutter mode.
>
>But per your testing result, I am a bit confused.

Hello Ray,

sorry for confussion, I re-tested it, there are two separate bugs:

flickering - probably related to stutter mode bug
   (white flickering stripes on screen, )

artifacts - the original issue i have reported (broken but steady image)

5.1.0-rc2-1-next-git-g7cdd4dc58d28 - artifacts, flickering
  amdgpu.ppfeaturemask=0xffff7fff - flickering
  amdgpu.ppfeaturemask=0xfffdffff - artifacts
  amdgpu.ppfeaturemask=0xfffd7fff - OK

  amdgpu.ppfeaturemask=0xffffbfff - artifacts, flickering
  amdgpu.ppfeaturemask=0xfffdbfff - artifacts
  amdgpu.ppfeaturemask=0xfffd3fff - OK

Sorry again for confussion. Is there a patch for the shutter so I can
test it?

With best regards,
    Pinkava J. 

>
>You mentioned that "ppfeaturemask=0xfffd3fff" could be fixed the issue, but "0xfffdbfff" doesn't fix it.
>However, this is the same configuration while you add below patch.  Because the gfxoff feature will be disabled while detect the RLC ucode is 53815 (0x0000d237).
>https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-wip&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
>
>Thanks,
>Ray
>
>> >
>> >Does setting amdgpu.ppfeaturemask=0xfffd3fff fix the issue?
>> >
>> >Alex
>> >
>> >> Just for completenes, there seems to be few more (probably unrelated)
>> bugs.
>> >> One with mouse (1), some artifact sometimes appear and terminal in X
>> >> sometimes display black instead of text when scrooling. I did not
>> >> intend to discuss this here, just mentioning it.
>> >>
>> >> P
>> >>
>> >>
>> >>
>> >> (1) https://bugs.freedesktop.org/show_bug.cgi?id=110339
>> >>
>> >> * Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
>> 18:44:52 +0000]:
>> >>
>> >> >Make sure you have this patch as well:
>> >> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-
>> wip
>> >> >&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
>> >> >
>> >> >Alex
>> >> >________________________________
>> >> >From: Pinky <j-pi@seznam.cz>
>> >> >Sent: Friday, April 5, 2019 2:38 PM
>> >> >To: Deucher, Alexander
>> >> >Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
>> >> >Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again
>> on raven series"
>> >> >
>> >> >
>> >> >cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>> >> >VCE feature version: 0, firmware version: 0x00000000 UVD feature
>> >> >version: 0, firmware version: 0x00000000 MC feature version: 0,
>> >> >firmware version: 0x00000000 ME feature version: 40, firmware
>> >> >version: 0x00000099 PFP feature version: 40, firmware version:
>> >> >0x000000ae CE feature version: 40, firmware version: 0x0000004d RLC
>> >> >feature version: 1, firmware version: 0x0000d237 RLC SRLC feature
>> >> >version: 1, firmware version: 0x00000001 RLC SRLG feature version:
>> >> >1, firmware version: 0x00000001 RLC SRLS feature version: 1,
>> >> >firmware version: 0x00000001 MEC feature version: 40, firmware
>> >> >version: 0x0000018b
>> >> >MEC2 feature version: 40, firmware version: 0x0000018b SOS feature
>> >> >version: 0, firmware version: 0x00000000 ASD feature version: 0,
>> >> >firmware version: 0x0017ba78 TA XGMI feature version: 0, firmware
>> >> >version: 0x00000000 TA RAS feature version: 0, firmware version:
>> >> >0x00000000 SMC feature version: 0, firmware version: 0x00001e44
>> >> >SDMA0 feature version: 41, firmware version: 0x000000a9 VCN feature
>> >> >version: 0, firmware version: 0x01004912 DMCU feature version: 0,
>> >> >firmware version: 0x00000001 VBIOS version: 113-RAVEN-110
>> >> >
>> >> >
>> >> >
>> >> >* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
>> 18:33:23 +0000]:
>> >> >
>> >> >>+ Ray
>> >> >>
>> >> >>Ray, any ideas?
>> >> >>
>> >> >>Pinkava,
>> >> >>
>> >> >>can you provide the output of:
>> >> >>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
>> >> >>
>> >> >>Thanks,
>> >> >>
>> >> >>Alex
>> >> >>________________________________
>> >> >>From: Pinky <j-pi@seznam.cz>
>> >> >>Sent: Friday, April 5, 2019 1:53 PM
>> >> >>To: Deucher, Alexander
>> >> >>Cc: amd-gfx@lists.freedesktop.org
>> >> >>Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff
>> again on raven series"
>> >> >>
>> >> >>No, this does no do anything, the bug is still present.
>> >> >>
>> >> >>
>> >> >>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
>> 17:07:21 +0000]:
>> >> >>
>> >> >>>This may be related to stutter mode rather than gfxoff.  If so, there is
>> a fix in the pipeline for that.  Does setting appending
>> amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
>> >> >>>
>> >> >>>Alex
>> >> >>>________________________________
>> >> >>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf
>> of
>> >> >>>Pinky <j-pi@seznam.cz>
>> >> >>>Sent: Friday, April 5, 2019 12:24 PM
>> >> >>>To: amd-gfx@lists.freedesktop.org
>> >> >>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff again
>> on raven series"
>> >> >>>
>> >> >>>Hello,
>> >> >>>
>> >> >>>I have today compiled the drm-next kernel from (1) and find out
>> >> >>>the screen is flickering and shows various artifacts. By
>> >> >>>bissecting I found the cause is commit
>> >> >>>005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
>> problem went out.
>> >> >>>
>> >> >>>I does not have idea about what to do next. Sorry if this should
>> >> >>>be posted to some bugzilla instead, I have got a bit lost. If so,
>> >> >>>would You please point my out what to do?
>> >> >>>
>> >> >>>With best regards,
>> >> >>>    Pinkava J.
>> >> >>>
>> >> >>>
>> >> >>>lspci (partial)
>> >> >>>
>> >> >>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Raven/Raven2
>> >> >>>IOMMU
>> >> >>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h
>> >> >>>(Models 00h-0fh) PCIe Dummy Host Bridge
>> >> >>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
>> >> >>>[AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile
>> >> >>>Series] (rev d1)
>> >> >>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
>> >> >>>Raven/Raven2/Fenghuang HDMI/DP Audio Controller
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>>(1) git://people.freedesktop.org/~agd5f/linux
>> >> >>>_______________________________________________
>> >> >>>amd-gfx mailing list
>> >> >>>amd-gfx@lists.freedesktop.org
>> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >> >>
>> >> >>>_______________________________________________
>> >> >>>amd-gfx mailing list
>> >> >>>amd-gfx@lists.freedesktop.org
>> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >> >>
>> >> _______________________________________________
>> >> amd-gfx mailing list
>> >> amd-gfx@lists.freedesktop.org
>> >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>_______________________________________________
>amd-gfx mailing list
>amd-gfx@lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

* RE: Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
  2019-04-08 12:41                             ` Pinky
@ 2019-04-09 12:19                               ` Huang, Ray
  0 siblings, 0 replies; 15+ messages in thread
From: Huang, Ray @ 2019-04-09 12:19 UTC (permalink / raw)
  To: Pinky, Wu, Hersen
  Cc: Alex Deucher, Deucher, Alexander,
	amd-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW

> -----Original Message-----
> From: Pinky [mailto:j-pi@seznam.cz]
> Sent: Monday, April 08, 2019 8:42 PM
> To: Huang, Ray <Ray.Huang@amd.com>
> Cc: Alex Deucher <alexdeucher@gmail.com>; Deucher, Alexander
> <Alexander.Deucher@amd.com>; amd-gfx@lists.freedesktop.org
> Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff again on
> raven series"
> 
> * Huang, Ray <Ray.Huang@amd.com> [2019-04-08 10:36:53 +0000]:
> 
> >> -----Original Message-----
> >> From: Pinky [mailto:j-pi@seznam.cz]
> >> Sent: Saturday, April 06, 2019 3:09 PM
> >> To: Alex Deucher <alexdeucher@gmail.com>
> >> Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray
> >> <Ray.Huang@amd.com>; amd-gfx@lists.freedesktop.org
> >> Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff
> >> again on raven series"
> >>
> >> Yes this seems to solve the issue, even
> >> amdgpu.ppfeaturemask=0xffff7fff provides the same efect.
> >>
> >>
> >> * Alex Deucher <alexdeucher@gmail.com> [2019-04-05 16:26:15 -0400]:
> >>
> >> >On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi@seznam.cz> wrote:
> >> >>
> >> >> Yes, this one seems to be already in the drm-next branch (HEAD is
> >> >> now 7cdd4dc58d28).
> >> >>
> >> >
> >> >I'm not sure what is going on them.  You have RLC firmware version
> >> >53815 (0x0000d237) so gfx power gating is being disabled as of
> >> >083d022913f2f8c3bc1183a13874ad777b9f5bdd.
> >
> >Hi Pinkava,
> >
> >We have a similar issue that screen flickering caused by stutter mode.
> >
> >But per your testing result, I am a bit confused.
> 
> Hello Ray,
> 
> sorry for confussion, I re-tested it, there are two separate bugs:
> 
> flickering - probably related to stutter mode bug
>    (white flickering stripes on screen, )
> 
> artifacts - the original issue i have reported (broken but steady image)
> 
> 5.1.0-rc2-1-next-git-g7cdd4dc58d28 - artifacts, flickering
>   amdgpu.ppfeaturemask=0xffff7fff - flickering
>   amdgpu.ppfeaturemask=0xfffdffff - artifacts
>   amdgpu.ppfeaturemask=0xfffd7fff - OK
> 
>   amdgpu.ppfeaturemask=0xffffbfff - artifacts, flickering
>   amdgpu.ppfeaturemask=0xfffdbfff - artifacts
>   amdgpu.ppfeaturemask=0xfffd3fff - OK
> 
> Sorry again for confussion. Is there a patch for the shutter so I can test it?
> 

OK. 
Hersen, would you mind to share your patch to Pinkava? He want to give a test. 

Thanks,
Ray

> With best regards,
>     Pinkava J.
> 
> >
> >You mentioned that "ppfeaturemask=0xfffd3fff" could be fixed the issue,
> but "0xfffdbfff" doesn't fix it.
> >However, this is the same configuration while you add below patch.
> Because the gfxoff feature will be disabled while detect the RLC ucode is
> 53815 (0x0000d237).
> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-
> wip&id
> >=083d022913f2f8c3bc1183a13874ad777b9f5bdd
> >
> >Thanks,
> >Ray
> >
> >> >
> >> >Does setting amdgpu.ppfeaturemask=0xfffd3fff fix the issue?
> >> >
> >> >Alex
> >> >
> >> >> Just for completenes, there seems to be few more (probably
> >> >> unrelated)
> >> bugs.
> >> >> One with mouse (1), some artifact sometimes appear and terminal in
> >> >> X sometimes display black instead of text when scrooling. I did
> >> >> not intend to discuss this here, just mentioning it.
> >> >>
> >> >> P
> >> >>
> >> >>
> >> >>
> >> >> (1) https://bugs.freedesktop.org/show_bug.cgi?id=110339
> >> >>
> >> >> * Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> >> 18:44:52 +0000]:
> >> >>
> >> >> >Make sure you have this patch as well:
> >> >> >https://cgit.freedesktop.org/~agd5f/linux/commit/?h=drm-next-5.2-
> >> wip
> >> >> >&id=083d022913f2f8c3bc1183a13874ad777b9f5bdd
> >> >> >
> >> >> >Alex
> >> >> >________________________________
> >> >> >From: Pinky <j-pi@seznam.cz>
> >> >> >Sent: Friday, April 5, 2019 2:38 PM
> >> >> >To: Deucher, Alexander
> >> >> >Cc: Huang, Ray; amd-gfx@lists.freedesktop.org
> >> >> >Subject: Re: Screen flicckering due to "drm/amdgpu: enable gfxoff
> >> >> >again
> >> on raven series"
> >> >> >
> >> >> >
> >> >> >cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >> >> >VCE feature version: 0, firmware version: 0x00000000 UVD feature
> >> >> >version: 0, firmware version: 0x00000000 MC feature version: 0,
> >> >> >firmware version: 0x00000000 ME feature version: 40, firmware
> >> >> >version: 0x00000099 PFP feature version: 40, firmware version:
> >> >> >0x000000ae CE feature version: 40, firmware version: 0x0000004d
> >> >> >RLC feature version: 1, firmware version: 0x0000d237 RLC SRLC
> >> >> >feature
> >> >> >version: 1, firmware version: 0x00000001 RLC SRLG feature version:
> >> >> >1, firmware version: 0x00000001 RLC SRLS feature version: 1,
> >> >> >firmware version: 0x00000001 MEC feature version: 40, firmware
> >> >> >version: 0x0000018b
> >> >> >MEC2 feature version: 40, firmware version: 0x0000018b SOS
> >> >> >feature
> >> >> >version: 0, firmware version: 0x00000000 ASD feature version: 0,
> >> >> >firmware version: 0x0017ba78 TA XGMI feature version: 0, firmware
> >> >> >version: 0x00000000 TA RAS feature version: 0, firmware version:
> >> >> >0x00000000 SMC feature version: 0, firmware version: 0x00001e44
> >> >> >SDMA0 feature version: 41, firmware version: 0x000000a9 VCN
> >> >> >feature
> >> >> >version: 0, firmware version: 0x01004912 DMCU feature version: 0,
> >> >> >firmware version: 0x00000001 VBIOS version: 113-RAVEN-110
> >> >> >
> >> >> >
> >> >> >
> >> >> >* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> >> 18:33:23 +0000]:
> >> >> >
> >> >> >>+ Ray
> >> >> >>
> >> >> >>Ray, any ideas?
> >> >> >>
> >> >> >>Pinkava,
> >> >> >>
> >> >> >>can you provide the output of:
> >> >> >>sudo cat /sys/kernel/debug/dri/0/amdgpu_firmware_info
> >> >> >>
> >> >> >>Thanks,
> >> >> >>
> >> >> >>Alex
> >> >> >>________________________________
> >> >> >>From: Pinky <j-pi@seznam.cz>
> >> >> >>Sent: Friday, April 5, 2019 1:53 PM
> >> >> >>To: Deucher, Alexander
> >> >> >>Cc: amd-gfx@lists.freedesktop.org
> >> >> >>Subject: Re: Screen flicckering due to "drm/amdgpu: enable
> >> >> >>gfxoff
> >> again on raven series"
> >> >> >>
> >> >> >>No, this does no do anything, the bug is still present.
> >> >> >>
> >> >> >>
> >> >> >>* Deucher, Alexander <Alexander.Deucher@amd.com> [2019-04-05
> >> 17:07:21 +0000]:
> >> >> >>
> >> >> >>>This may be related to stutter mode rather than gfxoff.  If so,
> >> >> >>>there is
> >> a fix in the pipeline for that.  Does setting appending
> >> amdgpu.ppfeaturemask=0xfffdbfff on the kernel command line fix it?
> >> >> >>>
> >> >> >>>Alex
> >> >> >>>________________________________
> >> >> >>>From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on
> behalf
> >> of
> >> >> >>>Pinky <j-pi@seznam.cz>
> >> >> >>>Sent: Friday, April 5, 2019 12:24 PM
> >> >> >>>To: amd-gfx@lists.freedesktop.org
> >> >> >>>Subject: Screen flicckering due to "drm/amdgpu: enable gfxoff
> >> >> >>>again
> >> on raven series"
> >> >> >>>
> >> >> >>>Hello,
> >> >> >>>
> >> >> >>>I have today compiled the drm-next kernel from (1) and find out
> >> >> >>>the screen is flickering and shows various artifacts. By
> >> >> >>>bissecting I found the cause is commit
> >> >> >>>005440066f929ba0dca8f4e0aebfbf8daac592cc. By reverting it the
> >> problem went out.
> >> >> >>>
> >> >> >>>I does not have idea about what to do next. Sorry if this
> >> >> >>>should be posted to some bugzilla instead, I have got a bit
> >> >> >>>lost. If so, would You please point my out what to do?
> >> >> >>>
> >> >> >>>With best regards,
> >> >> >>>    Pinkava J.
> >> >> >>>
> >> >> >>>
> >> >> >>>lspci (partial)
> >> >> >>>
> >> >> >>>00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD]
> Raven/Raven2
> >> >> >>>IOMMU
> >> >> >>>00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family
> >> >> >>>17h (Models 00h-0fh) PCIe Dummy Host Bridge
> >> >> >>>06:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
> >> >> >>>[AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega
> Mobile
> >> >> >>>Series] (rev d1)
> >> >> >>>06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI]
> >> >> >>>Raven/Raven2/Fenghuang HDMI/DP Audio Controller
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>
> >> >> >>>(1) git://people.freedesktop.org/~agd5f/linux
> >> >> >>>_______________________________________________
> >> >> >>>amd-gfx mailing list
> >> >> >>>amd-gfx@lists.freedesktop.org
> >> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >> >> >>
> >> >> >>>_______________________________________________
> >> >> >>>amd-gfx mailing list
> >> >> >>>amd-gfx@lists.freedesktop.org
> >> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >> >> >>
> >> >> _______________________________________________
> >> >> amd-gfx mailing list
> >> >> amd-gfx@lists.freedesktop.org
> >> >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
> >_______________________________________________
> >amd-gfx mailing list
> >amd-gfx@lists.freedesktop.org
> >https://lists.freedesktop.org/mailman/listinfo/amd-gfx
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2019-04-09 12:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-05 16:24 Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series" Pinky
2019-04-05 17:07 ` Deucher, Alexander
     [not found]   ` <BN6PR12MB1809F0A406BDD769D980D0A5F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-04-05 17:11     ` Deucher, Alexander
2019-04-05 17:53     ` Pinky
2019-04-05 18:33       ` Deucher, Alexander
     [not found]         ` <BN6PR12MB1809FBE905B4348595FBC9F7F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-04-05 18:38           ` Pinky
2019-04-05 18:44             ` Deucher, Alexander
     [not found]               ` <BN6PR12MB1809F35D7E08B17EE0362C15F7510-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-04-05 20:00                 ` Pinky
2019-04-05 20:26                   ` Alex Deucher
     [not found]                     ` <CADnq5_PnJ-4ezG4S3MpEi+0ahbM=AvAH=sNuWcDiBZyadVfSdQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2019-04-06  7:09                       ` Pinky
2019-04-08 10:36                         ` Huang, Ray
     [not found]                           ` <MN2PR12MB330960F8A679DA3580E3696EEC2C0-rweVpJHSKTpWdvXm18W95QdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org>
2019-04-08 12:41                             ` Pinky
2019-04-09 12:19                               ` Huang, Ray
2019-04-08  8:05                   ` Michel Dänzer
     [not found]                     ` <57fd5da5-82ff-0cad-f1e8-ae7976afea7f-otUistvHUpPR7s880joybQ@public.gmane.org>
2019-04-08  9:02                       ` Pinky

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.