From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 108493] Unigine Heaven at 4K crashes amdgpu and causes a GPU hang
Date: Sat, 27 Oct 2018 05:32:20 +0000 [thread overview]
Message-ID: <bug-108493-502-d6FgxXRpV5@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-108493-502@http.bugs.freedesktop.org/>
[-- Attachment #1.1: Type: text/plain, Size: 2399 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=108493
--- Comment #9 from Timur Kristóf <venemo@msn.com> ---
I think I discovered a possible reason for this issue. If you look at the
DDEBUG dumps, it says in several places: "This slot was corrupted in GPU
memory". So I began to suspect something was wrong with the VRAM.
After looking around a bit, I found that the amdgpu driver does not honor the
voltage settings from the VBIOS, and sets the memory to use lower voltages
instead. So basically the driver undervolts the VRAM without me asking to do
so. I guess this might be considered a feature for some people.
However, when I manually edit pp_od_clk_voltage to increase the OD_MCLK
voltages, then the card begins to work in a stable manner and the GPU hang is
gone. (Or at the very least I haven't seen a hang yet, whereas previously it
used to hang in less than a minute.)
In my case, the VBIOS wants to set the MCLK voltages to 1000 mV at all
frequencies, while amdgpu sets them to 750 mv, 800 mV, and 900mV. And it turns
out that 900 mV is just too low for my card at 1750 MHz.
[root@timur-xps ~]# cat /sys/class/drm/card0/device/pp_od_clk_voltage
OD_SCLK:
0: 300MHz 750mV
1: 588MHz 765mV
2: 952MHz 900mV
3: 1041MHz 975mV
4: 1106MHz 1031mV
5: 1168MHz 1093mV
6: 1209MHz 1143mV
7: 1244MHz 1150mV
OD_MCLK:
0: 300MHz 750mV
1: 1000MHz 800mV
2: 1750MHz 900mV
OD_RANGE:
SCLK: 300MHz 2000MHz
MCLK: 300MHz 2250MHz
VDDC: 750mV 1150mV
[root@timur-xps ~]# cat /sys/kernel/debug/dri/0/amdgpu_vbios > mybios.rom
[root@timur-xps ~]# pbec -i mybios.rom -s -r MEMORY_CLOCK
----
[DEFAULT] ATOM_MCLK_ENTRY Array
----
Entry: 0
Frequency: 300 MHz.
Voltage:. 1000 MV
Entry: 1
Frequency: 1000 MHz.
Voltage:. 1000 MV
Entry: 2
Frequency: 1750 MHz.
Voltage:. 1000 MV
----
Here is some info about the VBIOS:
[root@timur-xps ~]# cat /sys/class/drm/card0/device/subsystem_device
0xe343
[root@timur-xps ~]# cat /sys/class/drm/card0/device/subsystem_vendor
0x1da2
[root@timur-xps ~]# cat /sys/class/drm/card0/device/vbios_version
113-D00034-S07
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 3232 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
next prev parent reply other threads:[~2018-10-27 5:32 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-19 10:24 [Bug 108493] Unigine Heaven at 4K crashes amdgpu and causes a GPU hang bugzilla-daemon
2018-10-22 19:20 ` bugzilla-daemon
2018-10-22 19:26 ` bugzilla-daemon
2018-10-22 19:27 ` bugzilla-daemon
2018-10-22 19:27 ` bugzilla-daemon
2018-10-22 19:27 ` bugzilla-daemon
2018-10-22 19:30 ` bugzilla-daemon
2018-10-23 16:01 ` bugzilla-daemon
2018-10-23 16:12 ` bugzilla-daemon
2018-10-27 5:32 ` bugzilla-daemon [this message]
2018-10-27 5:38 ` bugzilla-daemon
2018-10-27 5:39 ` bugzilla-daemon
2018-10-27 5:50 ` bugzilla-daemon
2018-10-29 20:41 ` bugzilla-daemon
2018-10-29 21:01 ` bugzilla-daemon
2018-10-31 8:34 ` bugzilla-daemon
2018-11-18 21:52 ` bugzilla-daemon
2019-01-14 16:17 ` bugzilla-daemon
2019-03-14 1:47 ` bugzilla-daemon
2019-03-15 13:04 ` bugzilla-daemon
2019-08-25 16:26 ` bugzilla-daemon
2019-11-19 8:59 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-108493-502-d6FgxXRpV5@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox