* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
@ 2017-08-18 15:06 ` bugzilla-daemon
2017-08-18 15:31 ` bugzilla-daemon
` (13 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:06 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 274 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---
Please attach your dmesg output. Are there any error messages in the output?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1141 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
2017-08-18 15:06 ` bugzilla-daemon
@ 2017-08-18 15:31 ` bugzilla-daemon
2017-08-18 15:31 ` bugzilla-daemon
` (12 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 741 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #2 from Andy Furniss <adf.lists@gmail.com> ---
diff of (cut) dmesg-good dmesg-bad shows amongst other things
< amdgpu 0000:01:00.0: VRAM: 2048M 0x0000000000000000 - 0x000000007FFFFFFF
(2048M used)
< amdgpu 0000:01:00.0: GTT: 3072M 0x0000000080000000 - 0x000000013FFFFFFF
---
> amdgpu 0000:01:00.0: VRAM: 2048M 0x000000F400000000 - 0x000000F47FFFFFFF (2048M used)
> amdgpu 0000:01:00.0: GTT: 3072M 0x0000000000000000 - 0x00000000BFFFFFFF
826c826
< [drm] PCIE GART of 3072M enabled (table at 0x0000000000040000).
---
> [drm] PCIE GART of 3072M enabled (table at 0x000000F400040000).
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1680 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
2017-08-18 15:06 ` bugzilla-daemon
2017-08-18 15:31 ` bugzilla-daemon
@ 2017-08-18 15:31 ` bugzilla-daemon
2017-08-18 15:33 ` bugzilla-daemon
` (11 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 307 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #3 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 133608
--> https://bugs.freedesktop.org/attachment.cgi?id=133608&action=edit
dmesg on bad
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1288 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (2 preceding siblings ...)
2017-08-18 15:31 ` bugzilla-daemon
@ 2017-08-18 15:33 ` bugzilla-daemon
2017-08-18 15:45 ` bugzilla-daemon
` (10 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #4 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 133609
--> https://bugs.freedesktop.org/attachment.cgi?id=133609&action=edit
dmesg on good (commit before bad dmesg)
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1369 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (3 preceding siblings ...)
2017-08-18 15:33 ` bugzilla-daemon
@ 2017-08-18 15:45 ` bugzilla-daemon
2017-08-18 16:27 ` bugzilla-daemon
` (9 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 15:45 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 334 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #5 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 133610
--> https://bugs.freedesktop.org/attachment.cgi?id=133610&action=edit
possible fix
Does this patch help?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1403 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (4 preceding siblings ...)
2017-08-18 15:45 ` bugzilla-daemon
@ 2017-08-18 16:27 ` bugzilla-daemon
2017-08-18 16:54 ` bugzilla-daemon
` (8 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 16:27 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 939 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #6 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 133611
--> https://bugs.freedesktop.org/attachment.cgi?id=133611&action=edit
dmesg with patch
No, the encode fails differently though, throwing lots of
amdgpu: The CS has been cancelled because the context is lost.
and in dmesg
[ 103.116736] [drm:amdgpu_vce_cs_reloc [amdgpu]] *ERROR* BO to small for addr
0x010cf1e000 156 155
This is actually familiar looking as current mesa + vaapi would do this since a
patch from march.
I am testing this using OMX and have never see that do it before. The issue I
bisected was outputting with no errors from the encoder, a corrupt stream - it
was playable and looked good to start with, it just degraded as time went on
with the decoder throwing h264 errors.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1928 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (5 preceding siblings ...)
2017-08-18 16:27 ` bugzilla-daemon
@ 2017-08-18 16:54 ` bugzilla-daemon
2017-08-18 17:25 ` bugzilla-daemon
` (7 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 16:54 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 696 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
Alex Deucher <alexdeucher@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #133610|0 |1
is obsolete| |
--- Comment #7 from Alex Deucher <alexdeucher@gmail.com> ---
Created attachment 133612
--> https://bugs.freedesktop.org/attachment.cgi?id=133612&action=edit
possible fix v2
Whoops, the original patch had a typo in it. Does this simplified version work
any better?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2333 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (6 preceding siblings ...)
2017-08-18 16:54 ` bugzilla-daemon
@ 2017-08-18 17:25 ` bugzilla-daemon
2017-08-18 17:59 ` bugzilla-daemon
` (6 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 17:25 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 392 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #8 from Andy Furniss <adf.lists@gmail.com> ---
Created attachment 133613
--> https://bugs.freedesktop.org/attachment.cgi?id=133613&action=edit
dmesg with v2 patch
No luck with v2.
The errors are gone, but the original issue is the same.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1387 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (7 preceding siblings ...)
2017-08-18 17:25 ` bugzilla-daemon
@ 2017-08-18 17:59 ` bugzilla-daemon
2017-08-18 18:24 ` bugzilla-daemon
` (5 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 17:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 572 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #9 from Christian König <deathsimple@vodafone.de> ---
Already following this Alex, but not the slightest idea either.
Andy could you for a test disable multiple instance support in VCE (I need to
dig through the Mesa source as well, but I think Leo asked that multiple times
so you might know of hand).
Apart from that I would say lets dump all the calculated addresses with good
and bad and see what is different.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1445 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (8 preceding siblings ...)
2017-08-18 17:59 ` bugzilla-daemon
@ 2017-08-18 18:24 ` bugzilla-daemon
2017-09-19 14:59 ` bugzilla-daemon
` (4 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-08-18 18:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 234 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #10 from Andy Furniss <adf.lists@gmail.com> ---
Disabling dual instance does avoid it.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1100 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (9 preceding siblings ...)
2017-08-18 18:24 ` bugzilla-daemon
@ 2017-09-19 14:59 ` bugzilla-daemon
2017-09-19 15:16 ` bugzilla-daemon
` (3 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-09-19 14:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 523 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #11 from Andy Furniss <adf.lists@gmail.com> ---
This seems work OK on current drm-next-4.15-wip, don't know if it's luck or not
yet. Perf is very slightly lower and I haven't been testing every iteration of
new kernels due to testing vce stuff.
There is also an unrelated to vce, powerplay/display regression on this kernel,
which I'll try to find later and file a bug.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1389 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (10 preceding siblings ...)
2017-09-19 14:59 ` bugzilla-daemon
@ 2017-09-19 15:16 ` bugzilla-daemon
2017-09-19 15:24 ` bugzilla-daemon
` (2 subsequent siblings)
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-09-19 15:16 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 311 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #12 from Andy Furniss <adf.lists@gmail.com> ---
Oops the issue does still exist.
I pasted the wrong command line, which also explains why it was slightly
slower.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1177 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (11 preceding siblings ...)
2017-09-19 15:16 ` bugzilla-daemon
@ 2017-09-19 15:24 ` bugzilla-daemon
2018-01-17 19:21 ` bugzilla-daemon
2018-01-18 17:59 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2017-09-19 15:24 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 660 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
--- Comment #13 from Andy Furniss <adf.lists@gmail.com> ---
Re-reading this I notice I didn't paste the full diff between good and bad so
here's a bit more -
diff good bad though other rings do vary a bit in the second field, ring 12
(VCE?) is the only one that's different in the first field.
< amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x0000000000821f40,
cpu addr 0xffffc9000364ef40
---
> amdgpu 0000:01:00.0: fence driver on ring 12 use gpu addr 0x000000f400821f40, cpu addr 0xffffc9000104ef40
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1560 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (12 preceding siblings ...)
2017-09-19 15:24 ` bugzilla-daemon
@ 2018-01-17 19:21 ` bugzilla-daemon
2018-01-18 17:59 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2018-01-17 19:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
Andy Furniss <adf.lists@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #14 from Andy Furniss <adf.lists@gmail.com> ---
OK with current 4.17-wip
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2142 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
^ permalink raw reply [flat|nested] 16+ messages in thread* [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios
2017-08-18 14:43 [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios bugzilla-daemon
` (13 preceding siblings ...)
2018-01-17 19:21 ` bugzilla-daemon
@ 2018-01-18 17:59 ` bugzilla-daemon
14 siblings, 0 replies; 16+ messages in thread
From: bugzilla-daemon @ 2018-01-18 17:59 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=102296
Christian König <ckoenig.leichtzumerken@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #15 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Good that we finally found the root cause and thanks for testing.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2073 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
^ permalink raw reply [flat|nested] 16+ messages in thread