Problem with etnaviv and gstreamer 1.0

Luís Mendes luis.p.mendes at gmail.com
Tue Dec 5 17:36:39 UTC 2017


>
> Kernel is v4.14, mesa 17.0.6. Now I will test with 17.1.7.

The kernel version is Ok, but the mesa version is old, many
improvements have been introduced by the developers and important
changes are contained in mesa-17.3.0.

>
> GST 1.12.2
>
...
>> I get no such error. Although the video is not playable in this mode,
>> it keeps repeating the first bunch of frames in a loop until the video
>> duration elapses in a distorted reddish colored window.
>> You are probably using an old mesa version. Despite what you say
>> regarding the color space unexpected conversion, if I'm not mistaken
>> R8G8_UNORM support was only implemented relatively recently, so you
>> are likely using an old mesa version.
>
> As noted above - 17.0.6 / 17.1.7
>
> So the R8G8_UNORM is now supported in the newest mesa?
Yes, it is supported.

>
>> I would recommend you to test
>> with mesa-17.3.0 or the release candidate 6 that is already available,
>> Etnaviv improved a lot lately and now supports openGL 2.1, maybe you
>> should try mesa-17.3.0.
>
> Ok. I will try mesa-17.3.0
>
>>
>> >
>> > Error is:
>> > ---------
>> > etna_rs_gen_clear_surface:77: etna_rs_gen_clear_surface: Unhandled
>> > clear fmt PIPE_FORMAT_R8G8_UNORM
>> >
>> > I'm just wondering -> x-raw,format=YUY2 explicitly asks for YUY2
>> > format (which shall be supported by etnaviv).... why then in the
>> > middle there is PIPE_FORMAT_R8G8_UNORM ?
>> >
>> >
>> > And with this one:
>> > gst-launch-1.0 filesrc location=trailer_1080p_h264_mp3.avi !
>> > avidemux ! h264parse ! v4l2video1dec capture-io-mode=dmabuf !
>> > videoconvert ! fbdevsink sync=false
>> >
>> > No errors are present, but also I do not see any output.
>>
>> I also see no image under Wayland (using Ubuntu 17.10 desktop, or
>> Weston on i.MX6QP), but it works (slowly) when I don't have any
>> graphical environment running.
>
> Ok. I will test it with weston disabled.
>
> Thanks for tip.
>
Glad I could help.

Regards,
Luís Mendes


More information about the gstreamer-devel mailing list