Skip to contentSkip to conversation

RX480 GPU lockup with vaapi encoding

Bug 98280 [email protected] 1 participant 3 messages Oct 16, 2016 – Oct 17, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 98280
Summary: RX480 GPU lockup with vaapi encoding
Product: DRI
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

Created attachment 127333
--> https://bugs.freedesktop.org/attachment.cgi?id=127333&action=edit
dmesg 4.9-rc1

Happens with 4.8 and 4.9-rc1. I haven't tried 4.7.

This pipeline hangs the GPU very quickly:

gst-launch-1.0 ximagesrc display-name=:0 use-damage=0 startx=0 starty=0 endx=1919 endy=1079 ! videoconvert ! video/x-raw,framerate=60/1,format=NV12 ! vaapih264enc ! h264parse ! matroskamux ! filesink location=output.avi

attached dmesg is from 4.9-rc1.

As far as I can see, it also produces one frame corrupted output with the image being duplicated vertically and then squashed to fit into 1920x1080, see bug 98278.

Probably not related to bug 97240, but maybe?

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

#1 lore raw

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

Christoph Haag <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Christoph Haag <[email protected]> --- I'll mark this as invalid although it might still be worth to investigate.

I took some suggestions from bug 98278 for my recording script and this is the pipeline I end up with:

gst-launch-1.0 -e ximagesrc display-name=:0 use-damage=0 startx=0 starty=0 endx=1919 endy=1079 ! multiqueue ! video/x-raw,format=BGRx,framerate=60/1 ! videoconvert ! video/x-raw,format=NV12,framerate=60/1 ! multiqueue ! vaapih264enc rate-control=cqp bitrate=5000 ! video/x-h264,profile=baseline ! h264parse ! multiqueue ! matroskamux name=muxer. ! progressreport name=Rec_time ! filesink location=output.mkv

This records very nicely and looks like it does NOT cause GPU hangs.

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

#2 lore raw
In reply to [email protected]

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

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

--- Comment #2 from Christian König <[email protected]> --- We have fixed quite a bunch of issue with VA-API as well as the kernel recently. Could be that this is fixed by now.

Anyway let's close this bug for now.

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