From: bugzilla-daemon@freedesktop.org Subject: [Bug 102296] R9 285 VCE corruption since drm/amdgpu/gmc8: use the vram location programmed by the vbios Date: Fri, 18 Aug 2017 16:27:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1559352624==" 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 771986E771 for ; Fri, 18 Aug 2017 16:27:38 +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 --===============1559352624== Content-Type: multipart/alternative; boundary="15030736580.1Baa70.29504"; charset="UTF-8" --15030736580.1Baa70.29504 Date: Fri, 18 Aug 2017 16:27:38 +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=3D102296 --- Comment #6 from Andy Furniss --- Created attachment 133611 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133611&action=3Dedit 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 a= ddr 0x010cf1e000 156 155 This is actually familiar looking as current mesa + vaapi would do this sin= ce 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15030736580.1Baa70.29504 Date: Fri, 18 Aug 2017 16:27:38 +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 # 6 on bug 10229= 6 from Andy Furniss
Created attachment 133611 <=
a href=3D"attachment.cgi?id=3D133611&action=3Dedit" title=3D"dmesg with=
 patch">[details]
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 a=
ddr
0x010cf1e000 156 155

This is actually familiar looking as current mesa + vaapi would do this sin=
ce 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.
= --15030736580.1Baa70.29504-- --===============1559352624== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1559352624==--