From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu:
enable buffer allocation from slabs
Date: Thu, 29 Sep 2016 13:41:18 +0000
Message-ID:
Bug ID
97976
Summary
VCE regression BO to small for addr since winsys/amdgpu: enab=
le buffer allocation from slabs
Product
Mesa
Version
git
Hardware
Other
OS
All
Status
NEW
Severity
normal
Priority
medium
Component
Drivers/Gallium/radeonsi
Assignee
dri-devel@lists.freedesktop.org
Reporter
adf.lists@gmail.com
QA Contact
dri-devel@lists.freedesktop.org
R9 285 tonga, git llvm, drm-next-4.9-wip.
Since Mesa commit -
commit ffa1c669ddb48c25bab3457b8b2bfcd255acc674
Author: Nicolai H=C3=A4hnle <nicolai.haehnle@amd.com>
Date: Wed Sep 7 10:50:59 2016 +0200
winsys/amdgpu: enable buffer allocation from slabs
Using VCE encode fails (but not instantly) with=20
[drm:amdgpu_vce_cs_reloc [amdgpu]] *ERROR* BO to small for addr 0x010005fe00
139 138
If you have gstreamer + vce you may be able to reproduce with -
gst-launch-1.0 -f ximagesrc use-damage=3D0 startx=3D0 starty=3D0 endx=3D191=
9 endy=3D1079
! queue ! videoconvert ! video/x-raw,framerate=3D60/1,format=3DNV12 ! queu=
e !
vaapih264enc ! video/x-h264,profile=3Dbaseline ! fakesink
Which will run forever, it takes a few seconds to trigger for me. It assumes
your screen is 1080p so may need tweaking and I guess may luck out of
triggering at smaller sizes.
Other tests not involving gstreamer/screen grabbing =3D avconv reading 1080p
rawvid from tmpfs are also affected.