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: Tue, 11 Dec 2018 11:53:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0929446900==" 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 CF99F6E0FA for ; Tue, 11 Dec 2018 11:53:25 +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 --===============0929446900== Content-Type: multipart/alternative; boundary="15445292050.e9A3e.18831" Content-Transfer-Encoding: 7bit --15445292050.e9A3e.18831 Date: Tue, 11 Dec 2018 11:53:25 +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 #58 from tempel.julian@gmail.com --- I've written a small script to only write into pp_dpm_mclk when it's not fo= rced into pstate 2: #!/bin/bash if ! cat /sys/class/drm/card0/device/pp_dpm_mclk | grep -xqFe "2: 2250Mhz *" then echo "2" > /sys/class/drm/card0/device/pp_dpm_mclk fi --- Can be restarted every 1s via systemd: [Unit] Description=3Dwatch-pp_dpm_mclk StartLimitIntervalSec=3D0 [Service] ExecStart=3D.../watch-pp_dpm_mclk.sh Restart=3Dalways RestartSec=3D1 [Install] WantedBy=3Dmulti-user.target --- Seems to do the trick without nasty side effects. Real fixes for the memory clock change flicker and the not sticking pp_dpm_= mclk value would of course be better. --=20 You are receiving this mail because: You are the assignee for the bug.= --15445292050.e9A3e.18831 Date: Tue, 11 Dec 2018 11:53:25 +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 # 58 on bug 10264= 6 from tempel.j= ulian@gmail.com
I've written a small script to only write into pp_dpm_mclk whe=
n it's not forced
into pstate 2:

#!/bin/bash

if ! cat /sys/class/drm/card0/device/pp_dpm_mclk |
  grep -xqFe "2: 2250Mhz *"
then
  echo "2" >  /sys/class/drm/card0/device/pp_dpm_mclk
fi

---

Can be restarted every 1s via systemd:

[Unit]
Description=3Dwatch-pp_dpm_mclk
StartLimitIntervalSec=3D0

[Service]
ExecStart=3D.../watch-pp_dpm_mclk.sh
Restart=3Dalways
RestartSec=3D1

[Install]
WantedBy=3Dmulti-user.target

---

Seems to do the trick without nasty side effects.

Real fixes for the memory clock change flicker and the not sticking pp_dpm_=
mclk
value would of course be better.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15445292050.e9A3e.18831-- --===============0929446900== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0929446900==--