VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
https://bugs.freedesktop.org/show_bug.cgi?id=97976
Bug ID: 97976
Summary: VCE regression BO to small for addr since
winsys/amdgpu: enable buffer allocation from slabs
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
R9 285 tonga, git llvm, drm-next-4.9-wip.
Since Mesa commit -
commit ffa1c669ddb48c25bab3457b8b2bfcd255acc674
Author: Nicolai Hähnle <[email protected]> Date: Wed Sep 7 10:50:59 2016 +0200
winsys/amdgpu: enable buffer allocation from slabs
Using VCE encode fails (but not instantly) with
[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=0 startx=0 starty=0 endx=1919 endy=1079 ! queue ! videoconvert ! video/x-raw,framerate=60/1,format=NV12 ! queue ! vaapih264enc ! video/x-h264,profile=baseline ! 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 = avconv reading 1080p rawvid from tmpfs are also affected.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #1 from Alex Deucher <[email protected]> ---
*** This bug has been marked as a duplicate of bug 97969 ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
Alex Deucher <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |---
Status|RESOLVED |REOPENEDSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
--- Comment #2 from Alex Deucher <[email protected]> --- Still probably a duplicate, but different winsys.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
--- Comment #3 from Nicolai Hähnle <[email protected]> --- Thanks for the report, I can reproduce this and will investigate.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
--- Comment #4 from Nicolai Hähnle <[email protected]> --- Created attachment 126880
--> https://bugs.freedesktop.org/attachment.cgi?id=126880&action=edit
candidate fix
Should be fixed by the attached patch.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Nicolai Hähnle from comment #4)
Quoted 4 lines
Created attachment 126880 [details] [review]
candidate fixShould be fixed by the attached patch.
Yes, working OK with that.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=97976
Nicolai Hähnle <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|REOPENED |RESOLVED--- Comment #6 from Nicolai Hähnle <[email protected]> --- Should be fixed in Mesa master as of commit 13cb41f666212ed50a7939a37a373b4431a84033. Please re-open if the problem persists.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel