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 19:26:11 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0493811637=="
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 001D56EE2A
for ; Wed, 6 Nov 2019 19:26:11 +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
--===============0493811637==
Content-Type: multipart/alternative; boundary="157306837111.4eADc.19882"
Content-Transfer-Encoding: 7bit
--157306837111.4eADc.19882
Date: Wed, 6 Nov 2019 19:26:11 +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 #131 from Wilko Bartels ---
(In reply to haro41 from comment #130)
> > >=20
> > > echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performan=
ce_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 =
these
> > commands after su. not even sudo works with scripts running these comma=
nds.
> > or systemd files.
>=20
> Currently i use my patch (see above) to workaround the crashes.
> If you prefer not to touch your kernel, you could create a systemd servic=
e:=20
>=20
> # cat /etc/systemd/system/amd-pp.service:=20
>=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:
>=20
> #!/bin/bash
> echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_l=
evel
> echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mclk
> ---------------------------------------------------------------
> #systemctl enable amd-pp.service
> #systemctl start amd-pp.service
> ---------------------------------------------------------------
>=20
> ... assuming you have 'amdgpu.ppfeaturemask=3D0xffffffff' set ...
Thank you. I already tried exactly that. And the unit unable to autostart
(permission denied). Only manual systemctl start works. Dont know why.=20
I would try to patch the kernel instead if i had any clue how to do the ste=
ps.
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--157306837111.4eADc.19882
Date: Wed, 6 Nov 2019 19:26:11 +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 # 131
on bug 10995=
5
from =
Wilko Bartels
(In reply to haro41 from comment #130)
> > >=20
> > > echo "manual" > /sys/class/drm/card0/device/pow=
er_dpm_force_performance_level
> > > echo "1 2 3" > /sys/class/drm/card0/device/pp_d=
pm_mclk
> > >=20
> >=20
> > do you have any suggestion to automate this? so far i can strictl=
y run these
> > commands after su. not even sudo works with scripts running these=
commands.
> > or systemd files.
>=20
> Currently i use my patch (see above) to workaround the crashes.
> If you prefer not to touch your kernel, you could create a systemd ser=
vice:=20
>=20
> # cat /etc/systemd/system/amd-pp.service:=20
>=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:
>=20
> #!/bin/bash
> echo "manual" > /sys/class/drm/card0/device/power_dpm_for=
ce_performance_level
> echo "1 2 3" > /sys/class/drm/card0/device/pp_dpm_mclk
> ---------------------------------------------------------------
> #systemctl enable amd-pp.service
> #systemctl start amd-pp.service
> ---------------------------------------------------------------
>=20
> ... assuming you have 'amdgpu.ppfeaturemask=3D0xffffffff' set ...
Thank you. I already tried exactly that. And the unit unable to autostart
(permission denied). Only manual systemctl start works. Dont know why.=20
I would try to patch the kernel instead if i had any clue how to do the ste=
ps.
You are receiving this mail because:
- You are the assignee for the bug.
=
--157306837111.4eADc.19882--
--===============0493811637==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============0493811637==--