From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 102646] Screen flickering under amdgpu-experimental [buggy auto
power profile]
Date: Sun, 28 Oct 2018 18:45:27 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1718928414=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[IPv6:2610:10:20:722:a800:ff:fe98:4b55])
by gabe.freedesktop.org (Postfix) with ESMTP id CA9DF89B05
for ; Sun, 28 Oct 2018 18:45:27 +0000 (UTC)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: dri-devel-bounces@lists.freedesktop.org
Sender: "dri-devel"
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============1718928414==
Content-Type: multipart/alternative; boundary="15407523272.E0Cf3041A.15087"
Content-Transfer-Encoding: 7bit
--15407523272.E0Cf3041A.15087
Date: Sun, 28 Oct 2018 18:45:27 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
https://bugs.freedesktop.org/show_bug.cgi?id=3D102646
--- Comment #32 from Peter ---
(In reply to L.Y. Sim from comment #30)
> I have this issue on a 3840x1600 Acer XR382CQK with an RX560 with Kernel
> 4.18.5-1 on Manjaro.=20
>=20
> When I set the refresh rate to 75Hz, severe artifacts and flickering appe=
ar.
>=20
> Both=20
>=20
> echo high > /sys/class/drm/card0/device/power_dpm_force_performance_l=
evel
> and
>=20
> echo low > /sys/class/drm/card0/device/power_dpm_force_performance_le=
vel
>=20
> stop the flickering and artifacting, and I can see via=20
>=20
> cat /sys/class/drm/card0/device/pp_dpm_mclk=20
>=20
> that the memory clocks are set to 1750Mhz and 300Mhz respectively.=20
>=20
> However, if /sys/class/drm/card0/device/power_dpm_force_performance_level=
is
> set to auto, I can see (via watching /sys/class/drm/card0/device/pp_dpm_m=
clk
> with time intervals around 0.1s), that the memory clock oscillates rapidly
> between 300Mhz, 625Mhz and 1750Mhz.
>=20
> So it seems to me that the rapid change in memory frequency is what's
> causing the flickering.
I think the "rapid change in memory frequency" really is the problem:
When I=20
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_level
and then=20
echo "0" > /sys/class/drm/card0/device/pp_dpm_mclk
or
echo "1" > /sys/class/drm/card0/device/pp_dpm_mclk
or
echo "2" > /sys/class/drm/card0/device/pp_dpm_mclk
there is no more flickering.=20
(This limits the memory clock to 300Mhz, 1000 or 2000Mhz on my RX580 card.
Using Arch Linux kernel 4.18.16 by the way.)
Whereas=20
or
echo "0 1 2" > /sys/class/drm/card0/device/pp_dpm_mclk
or any combination of 2 memory clock frequencies brings flickering back.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15407523272.E0Cf3041A.15087
Date: Sun, 28 Oct 2018 18:45:27 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.freedesktop.org/
Auto-Submitted: auto-generated
Comme=
nt # 32
on bug 10264=
6
from Peter
(In reply to L.Y. Sim from comment #30)
> I have this issue on a 3840x1600 Acer XR382CQK w=
ith an RX560 with Kernel
> 4.18.5-1 on Manjaro.=20
>=20
> When I set the refresh rate to 75Hz, severe artifacts and flickering a=
ppear.
>=20
> Both=20
>=20
> echo high > /sys/class/drm/card0/device/power_dpm_force_perform=
ance_level
> and
>=20
> echo low > /sys/class/drm/card0/device/power_dpm_force_performa=
nce_level
>=20
> stop the flickering and artifacting, and I can see via=20
>=20
> cat /sys/class/drm/card0/device/pp_dpm_mclk=20
>=20
> that the memory clocks are set to 1750Mhz and 300Mhz respectively.=20
>=20
> However, if /sys/class/drm/card0/device/power_dpm_force_performance_le=
vel is
> set to auto, I can see (via watching /sys/class/drm/card0/device/pp_dp=
m_mclk
> with time intervals around 0.1s), that the memory clock oscillates rap=
idly
> between 300Mhz, 625Mhz and 1750Mhz.
>=20
> So it seems to me that the rapid change in memory frequency is what's
> causing the flickering.
I think the "rapid change in memory frequency" really is the prob=
lem:
When I=20
echo manual > /sys/class/drm/card0/device/power_dpm_force_performance_l=
evel
and then=20
echo "0" > /sys/class/drm/card0/device/pp_dpm_mclk
or
echo "1" > /sys/class/drm/card0/device/pp_dpm_mclk
or
echo "2" > /sys/class/drm/card0/device/pp_dpm_mclk
there is no more flickering.=20
(This limits the memory clock to 300Mhz, 1000 or 2000Mhz on my RX580 card.
Using Arch Linux kernel 4.18.16 by the way.)
Whereas=20
or
echo "0 1 2" > /sys/class/drm/card0/device/pp_dpm_mclk
or any combination of 2 memory clock frequencies brings flickering back.
You are receiving this mail because:
- You are the assignee for the bug.
=
--15407523272.E0Cf3041A.15087--
--===============1718928414==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============1718928414==--