YV12 format on Oreo - black screen

633 views
Skip to first unread message

Tomasz Witke

unread,
Nov 28, 2017, 4:50:06 AM11/28/17
to Android-x86
Hi,

Is it excepted right now to YouTube and other video streams not work on Oreo branch due to unported stagefright-plugins? I'm getting black screen with audio. This is error:

11-27 15:39:47.670  1782  1905 W GrallocMapperPassthrough: buffer descriptor with invalid usage bits 0x2000
11-27 15:39:47.670  1782  1905 E GRALLOC-PIPE: unsupported format 0x32315659
11-27 15:39:47.670  1782  1905 E GraphicBufferAllocator: Failed to allocate (1920 x 1080) layerCount 1 format 842094169 usage 2930: 5
11-27 15:39:47.670  1782  1905 E BufferQueueProducer: [SurfaceView - com.google.android.youtube.tv/com.google.android.apps.youtube.tv.cobalt.activity.MainActivity#0] dequeueBuffer: createGraphicBuffer failed
11-27 15:39:47.670  5326  5473 W SoftwareRenderer: Surface::dequeueBuffer returned error -12

Full logcat: https://paste.ee/p/m4rU7

Thanks.

Chih-Wei Huang

unread,
Nov 28, 2017, 5:02:08 AM11/28/17
to Android-x86
2017-11-28 17:50 GMT+08:00 Tomasz Witke <kyv...@gmail.com>:
> Hi,
>
> Is it excepted right now to YouTube and other video streams not work on Oreo
> branch due to unported stagefright-plugins? I'm getting black screen with
> audio. This is error:

No. Because frameworks/av part is not ported.
Will do it later.

> 11-27 15:39:47.670 1782 1905 W GrallocMapperPassthrough: buffer descriptor
> with invalid usage bits 0x2000
> 11-27 15:39:47.670 1782 1905 E GRALLOC-PIPE: unsupported format 0x32315659
> 11-27 15:39:47.670 1782 1905 E GraphicBufferAllocator: Failed to allocate
> (1920 x 1080) layerCount 1 format 842094169 usage 2930: 5
> 11-27 15:39:47.670 1782 1905 E BufferQueueProducer: [SurfaceView -
> com.google.android.youtube.tv/com.google.android.apps.youtube.tv.cobalt.activity.MainActivity#0]
> dequeueBuffer: createGraphicBuffer failed
> 11-27 15:39:47.670 5326 5473 W SoftwareRenderer: Surface::dequeueBuffer
> returned error -12
>
> Full logcat: https://paste.ee/p/m4rU7




--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Tomasz Witke

unread,
Nov 28, 2017, 5:26:16 AM11/28/17
to andro...@googlegroups.com
Ah, ok. That saves me lot of digging. Thanks.

Pozdrawiam
Tomasz Witke


--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86+unsubscribe@googlegroups.com.
To post to this group, send email to andro...@googlegroups.com.
Visit this group at https://groups.google.com/group/android-x86.
For more options, visit https://groups.google.com/d/optout.

Tomasz Witke

unread,
Nov 28, 2017, 6:44:47 AM11/28/17
to andro...@googlegroups.com
Cherrypicking Your change from nougat solves video playback. As I understand, this change blocks hardware acceleration of YV12 format?


Pozdrawiam
Tomasz Witke

Chih-Wei Huang

unread,
Nov 30, 2017, 4:30:02 AM11/30/17
to Android-x86
2017-11-28 18:01 GMT+08:00 Chih-Wei Huang <cwh...@android-x86.org>:
> 2017-11-28 17:50 GMT+08:00 Tomasz Witke <kyv...@gmail.com>:
>> Hi,
>>
>> Is it excepted right now to YouTube and other video streams not work on Oreo
>> branch due to unported stagefright-plugins? I'm getting black screen with
>> audio. This is error:
>
> No. Because frameworks/av part is not ported.
> Will do it later.

It's done. You can sync it now.

Tomasz Witke

unread,
Nov 30, 2017, 6:05:46 AM11/30/17
to andro...@googlegroups.com
Yes, it woks now without previous workaround. Thanks!

Pozdrawiam
Tomasz Witke

Reply all
Reply to author
Forward
0 new messages