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: Thu, 11 Apr 2019 06:37:46 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1164860337=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id BCA9B897F5
for ; Thu, 11 Apr 2019 06:37:45 +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
--===============1164860337==
Content-Type: multipart/alternative; boundary="15549646650.B9e066A6C.26665"
Content-Transfer-Encoding: 7bit
--15549646650.B9e066A6C.26665
Date: Thu, 11 Apr 2019 06:37:45 +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 #4 from Mauro Gaspari ---
Issue still happens despite kernel updates and mesa updates on openSUSE
Tumbleweed. Same happens on Kubuntu with oibaf ppa, and on Arch.
It seems this bug affects many people on linux using AMDGPUS, and found some
interesting workarounds. Had a look at kernel options, applied to grub, and=
so
far it has been 2 weeks of extensive testing, and I did not have a single
system freeze or hang.
-> BEGIN KENEL PARAMETERS <-
This is what I am using now. Please note that some of those settings are to
enable debugging and should not left there forever. I will remove those once
I am confident with the stability of the system.
AMDGPU
amdgpu.dc=3D1 amdgpu.vm_update_mode=3D0 amdgpu.dpm=3D-1
amdgpu.ppfeaturemask=3D0xffffffff amdgpu.vm_fault_stop=3D2 amdgpu.vm_debug=
=3D1
amdgpu.gpu_recovery=3D0
- Kernel parameters explained from:
https://www.kernel.org/doc/html/latest/gpu/amdgpu.html
--- dc (int)
Disable/Enable Display Core driver for debugging (1 =3D enable, 0 =3D disab=
le).
The default is -1 (automatic for each asic).
--- dpm (int)
Override for dynamic power management setting (1 =3D enable, 0 =3D disable)=
. The
default is -1 (auto).
--- vm_update_mode (int)
Override VM update mode. VM updated by using CPU (0 =3D never, 1 =3D Graphi=
cs
only, 2 =3D Compute only, 3 =3D Both). The default is -1 (Only in large BAR=
(LB)
systems Compute VM tables will be updated by CPU, otherwise 0, never).
--- ppfeaturemask (uint)
Override power features enabled. See enum PP_FEATURE_MASK in
drivers/gpu/drm/amd/include/amd_shared.h. The default is the current set of
stable power features.
--- vm_fault_stop (int)
Stop on VM fault for debugging (0 =3D never, 1 =3D print first, 2 =3D alway=
s). The
default is 0 (No stop).
--- vm_debug (int)
Debug VM handling (0 =3D disabled, 1 =3D enabled). The default is 0 (Disabl=
ed).
-gpu_recovery (int)
Set to enable GPU recovery mechanism (1 =3D enable, 0 =3D disable). The def=
ault
is -1 (auto, disabled except SRIOV).
-> END KERNEL PARAMETERS <-
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15549646650.B9e066A6C.26665
Date: Thu, 11 Apr 2019 06:37:45 +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
Commen=
t # 4
on bug 10995=
5
from =
Mauro Gaspari
Issue still happens despite kernel updates and mesa updates on=
openSUSE
Tumbleweed. Same happens on Kubuntu with oibaf ppa, and on Arch.
It seems this bug affects many people on linux using AMDGPUS, and found some
interesting workarounds. Had a look at kernel options, applied to grub, and=
so
far it has been 2 weeks of extensive testing, and I did not have a single
system freeze or hang.
-> BEGIN KENEL PARAMETERS <-
This is what I am using now. Please note that some of those settings are to
enable debugging and should not left there forever. I will remove those once
I am confident with the stability of the system.
AMDGPU
amdgpu.dc=3D1 amdgpu.vm_update_mode=3D0 amdgpu.dpm=3D-1
amdgpu.ppfeaturemask=3D0xffffffff amdgpu.vm_fault_stop=3D2 amdgpu.vm_debug=
=3D1
amdgpu.gpu_recovery=3D0
- Kernel parameters explained from:
https://=
www.kernel.org/doc/html/latest/gpu/amdgpu.html
--- dc (int)
Disable/Enable Display Core driver for debugging (1 =3D enable, 0 =3D disab=
le).
The default is -1 (automatic for each asic).
--- dpm (int)
Override for dynamic power management setting (1 =3D enable, 0 =3D disable)=
. The
default is -1 (auto).
--- vm_update_mode (int)
Override VM update mode. VM updated by using CPU (0 =3D never, 1 =3D Graphi=
cs
only, 2 =3D Compute only, 3 =3D Both). The default is -1 (Only in large BAR=
(LB)
systems Compute VM tables will be updated by CPU, otherwise 0, never).
--- ppfeaturemask (uint)
Override power features enabled. See enum PP_FEATURE_MASK in
drivers/gpu/drm/amd/include/amd_shared.h. The default is the current set of
stable power features.
--- vm_fault_stop (int)
Stop on VM fault for debugging (0 =3D never, 1 =3D print first, 2 =3D alway=
s). The
default is 0 (No stop).
--- vm_debug (int)
Debug VM handling (0 =3D disabled, 1 =3D enabled). The default is 0 (Disabl=
ed).
-gpu_recovery (int)
Set to enable GPU recovery mechanism (1 =3D enable, 0 =3D disable). The def=
ault
is -1 (auto, disabled except SRIOV).
-> END KERNEL PARAMETERS <-
You are receiving this mail because:
- You are the assignee for the bug.
=
--15549646650.B9e066A6C.26665--
--===============1164860337==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs
--===============1164860337==--