Screen flicckering due to "drm/amdgpu: enable gfxoff again on raven series"
Pinky
j-pi at seznam.cz
Mon Apr 8 12:41:53 UTC 2019
* Huang, Ray <Ray.Huang at amd.com> [2019-04-08 10:36:53 +0000]:
>> -----Original Message-----
>> From: Pinky [mailto:j-pi at seznam.cz]
>> Sent: Saturday, April 06, 2019 3:09 PM
>> To: Alex Deucher <alexdeucher at gmail.com>
>> Cc: Deucher, Alexander <Alexander.Deucher at amd.com>; Huang, Ray
>> <Ray.Huang at amd.com>; amd-gfx at 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 at gmail.com> [2019-04-05 16:26:15 -0400]:
>>
>> >On Fri, Apr 5, 2019 at 4:00 PM Pinky <j-pi at 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 at 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 at seznam.cz>
>> >> >Sent: Friday, April 5, 2019 2:38 PM
>> >> >To: Deucher, Alexander
>> >> >Cc: Huang, Ray; amd-gfx at 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 at 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 at seznam.cz>
>> >> >>Sent: Friday, April 5, 2019 1:53 PM
>> >> >>To: Deucher, Alexander
>> >> >>Cc: amd-gfx at 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 at 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 at lists.freedesktop.org> on behalf
>> of
>> >> >>>Pinky <j-pi at seznam.cz>
>> >> >>>Sent: Friday, April 5, 2019 12:24 PM
>> >> >>>To: amd-gfx at 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 at lists.freedesktop.org
>> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >> >>
>> >> >>>_______________________________________________
>> >> >>>amd-gfx mailing list
>> >> >>>amd-gfx at lists.freedesktop.org
>> >> >>>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>> >> >>
>> >> _______________________________________________
>> >> amd-gfx mailing list
>> >> amd-gfx at lists.freedesktop.org
>> >> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>_______________________________________________
>amd-gfx mailing list
>amd-gfx at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/amd-gfx
More information about the amd-gfx
mailing list