On Wed, 16 Mar 2022, Francesco ARGENTIERI (KINETON) wrote: > Hi everyone,</br> > I would share with you an error regarding GStreamer: > > ```sh > MMI open: Permission denied > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952756 level:0x00001000 func:OmxrAllocateWorkBuffer_allocfunc(265) tid:3322 mes:error: mmngr fatal. -1 > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952829 level:0x00100000 func:OmxrMeVideoVcmnInterface_AllocateBufferSuper(66) tid:3322 mes:Physical memory allocation error > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952844 level:0x00100000 func:OmxrMeVideoVcmnInterfaceVdcmn_AllocateBuffer(814) tid:3322 mes:RuntimeError > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952857 level:0x00010000 func:RegisterNewBufferToPort(361) tid:3322 mes: > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952879 level:0x00010000 func:OmxrMcErrorHandler_Notify(221) tid:3322 mes:u32ErrorCode = H'80001001 > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.952933 level:0x00010000 func:OmxrMcApiProxy_AllocateBuffer(1049) tid:3317 mes:eError = H'80001001 > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.953004 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:3317 mes:eError = H'8000100a > Mar 16 12:52:06 h3ulcb afbd-mediaplayer[2278]: ts:1647431526.953047 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:3317 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106209 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106403 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106478 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106524 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106638 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106683 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106723 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: ts:1647431527.106766 level:0x00010000 func:OmxrMcApiProxy_GetParameter(756) tid:2278 mes:eError = H'8000100a > Mar 16 12:52:07 h3ulcb afbd-mediaplayer[2278]: Error: "GStreamer encountered a general supporting library error." > ``` > > The error happens only when the user requests video playback.</br> > I have recently updated from koi 11.0.1 to 11.0.5 as recommended in the previous e-mail. > Other functionalities which are dependent on only Audio (pipewire, wireplumber) such as Bluetooth streams, radio, text-to-speech seems to work fine. > > How can I fix this error?</br> > I've followed the discussion regarding Jira Ticket [SPEC-4029](https://jira.automotivelinux.org/browse/SPEC-4029?jql=text%20~%20%22omx%22), which shows > a very similar problem. As described in the mentioned Ticket, I've tried to force the installation of the multimedia package, but it does not solve the problem. One thing to note is that video playback is not supported with the agl-service-mediaplayer binding, due to the lack of workable scheme for applications to supply an output surface. Based on the error messages, it seems possible that the Renesas OMX video decoder plugin is getting added to the gstreamer pipeline and is unhappy due to there being no downstream video output plugin. If you do want to be able to just play the audio from a video file, ideas that come to mind are: 1. If you have no use for the OMX decoder support, try removing the gstreamer plugin for it from the image to see if the resulting pipeline works any better. 2. I believe there is a way to tell gstreamer via a configuration file to exclude plugins from its search, so that might be an alternative to (1). 3. If you do need the OMX decoder support in gstreamer for something else, then you'll likely need to add some code to the gstreamer pipeline construction in agl-service-mediaplayer to either avoid it getting used, or perhaps plumb in a null video output plugin to try to make it happy. Scott -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9726): https://lists.automotivelinux.org/g/agl-dev-community/message/9726 Mute This Topic: https://lists.automotivelinux.org/mt/89819987/2167316 Mute #koi:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/koi Mute #renesas:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/renesas Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-