dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
@ 2016-09-29 13:41 bugzilla-daemon
  2016-09-29 13:48 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 13:41 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1658 bytes --]

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: 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ähnle <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 

[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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 3113 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
@ 2016-09-29 13:48 ` bugzilla-daemon
  2016-09-29 13:49 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 13:48 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 564 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Alex Deucher <alexdeucher@gmail.com> ---


*** This bug has been marked as a duplicate of bug 97969 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2377 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
  2016-09-29 13:48 ` bugzilla-daemon
@ 2016-09-29 13:49 ` bugzilla-daemon
  2016-09-29 13:50 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 13:49 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 428 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

Alex Deucher <alexdeucher@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|DUPLICATE                   |---
             Status|RESOLVED                    |REOPENED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1294 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
  2016-09-29 13:48 ` bugzilla-daemon
  2016-09-29 13:49 ` bugzilla-daemon
@ 2016-09-29 13:50 ` bugzilla-daemon
  2016-09-29 13:59 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 13:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 245 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

--- Comment #2 from Alex Deucher <alexdeucher@gmail.com> ---
Still probably a duplicate, but different winsys.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1134 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
                   ` (2 preceding siblings ...)
  2016-09-29 13:50 ` bugzilla-daemon
@ 2016-09-29 13:59 ` bugzilla-daemon
  2016-09-29 16:31 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 13:59 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 261 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

--- Comment #3 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Thanks for the report, I can reproduce this and will investigate.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1150 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
                   ` (3 preceding siblings ...)
  2016-09-29 13:59 ` bugzilla-daemon
@ 2016-09-29 16:31 ` bugzilla-daemon
  2016-09-29 16:58 ` bugzilla-daemon
  2016-09-30 10:47 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 16:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 351 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

--- Comment #4 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Created attachment 126880
  --> https://bugs.freedesktop.org/attachment.cgi?id=126880&action=edit
candidate fix

Should be fixed by the attached patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1443 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
                   ` (4 preceding siblings ...)
  2016-09-29 16:31 ` bugzilla-daemon
@ 2016-09-29 16:58 ` bugzilla-daemon
  2016-09-30 10:47 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-29 16:58 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 380 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

--- Comment #5 from Andy Furniss <adf.lists@gmail.com> ---
(In reply to Nicolai Hähnle from comment #4)
> Created attachment 126880 [details] [review]
> candidate fix
> 
> Should be fixed by the attached patch.

Yes, working OK with that.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1612 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] 8+ messages in thread

* [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs
  2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
                   ` (5 preceding siblings ...)
  2016-09-29 16:58 ` bugzilla-daemon
@ 2016-09-30 10:47 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2016-09-30 10:47 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 623 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=97976

Nicolai Hähnle <nhaehnle@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #6 from Nicolai Hähnle <nhaehnle@gmail.com> ---
Should be fixed in Mesa master as of commit
13cb41f666212ed50a7939a37a373b4431a84033. Please re-open if the problem
persists.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2257 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] 8+ messages in thread

end of thread, other threads:[~2016-09-30 10:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 13:41 [Bug 97976] VCE regression BO to small for addr since winsys/amdgpu: enable buffer allocation from slabs bugzilla-daemon
2016-09-29 13:48 ` bugzilla-daemon
2016-09-29 13:49 ` bugzilla-daemon
2016-09-29 13:50 ` bugzilla-daemon
2016-09-29 13:59 ` bugzilla-daemon
2016-09-29 16:31 ` bugzilla-daemon
2016-09-29 16:58 ` bugzilla-daemon
2016-09-30 10:47 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).