From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 109955] amdgpu [RX Vega 64] system freeze while gaming
Date: Wed, 06 Nov 2019 18:32:31 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0896081434=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 3DBCF6ECCD
for ; Wed, 6 Nov 2019 18:32:32 +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
--===============0896081434==
Content-Type: multipart/alternative; boundary="15730651523.aEE9bf.8137"
Content-Transfer-Encoding: 7bit
--15730651523.aEE9bf.8137
Date: Wed, 6 Nov 2019 18:32:32 +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=3D109955
--- Comment #130 from haro41@gmx.de ---
> >=20
> > echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance=
_level
> > echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mclk
> >=20
>=20
> do you have any suggestion to automate this? so far i can strictly run th=
ese
> commands after su. not even sudo works with scripts running these command=
s.
> or systemd files.
Currently i use my patch (see above) to workaround the crashes.
If you prefer not to touch your kernel, you could create a systemd service:=
=20
# cat /etc/systemd/system/amd-pp.service:=20
[Unit]
Description=3DAMD PP adjust service
[Service]
User=3Droot
Group=3Droot
GuessMainPID=3Dno
ExecStart=3D/srv/amdgpu-pp.sh
[Install]
WantedBy=3Dmulti-user.target
---------------------------------------------------------------
# cat /srv/amdgpu-pp.sh:
#!/bin/bash
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_lev=
el
echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mclk
---------------------------------------------------------------
#systemctl enable amd-pp.service
#systemctl start amd-pp.service
---------------------------------------------------------------
... assuming you have 'amdgpu.ppfeaturemask=3D0xffffffff' set ...
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15730651523.aEE9bf.8137
Date: Wed, 6 Nov 2019 18:32:32 +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
Comm=
ent # 130
on bug 10995=
5
from haro41@gmx.de
> >=20
> > echo "manual" > /sys/class/drm/card0/device/power_dp=
m_force_performance_level
> > echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mc=
lk
> >=20
>=20
> do you have any suggestion to automate this? so far i can strictly run=
these
> commands after su. not even sudo works with scripts running these comm=
ands.
> or systemd files.
Currently i use my patch (see above) to workaround the crashes.
If you prefer not to touch your kernel, you could create a systemd service:=
=20
# cat /etc/systemd/system/amd-pp.service:=20
[Unit]
Description=3DAMD PP adjust service
[Service]
User=3Droot
Group=3Droot
GuessMainPID=3Dno
ExecStart=3D/srv/amdgpu-pp.sh
[Install]
WantedBy=3Dmulti-user.target
---------------------------------------------------------------
# cat /srv/amdgpu-pp.sh:
#!/bin/bash
echo "manual" > /sys/class/drm/card0/device/power_dpm_force_pe=
rformance_level
echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mclk
---------------------------------------------------------------
#systemctl enable amd-pp.service
#systemctl start amd-pp.service
---------------------------------------------------------------
... assuming you have 'amdgpu.ppfeaturemask=3D0xffffffff' set ...
You are receiving this mail because:
- You are the assignee for the bug.
=
--15730651523.aEE9bf.8137--
--===============0896081434==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============0896081434==--