hjimbens
Posts: 86
Joined: Fri May 24, 2013 9:05 am

MMal saying "unhandled 128"

Tue Nov 12, 2019 3:21 pm

Some videos when played with mmal produce a lot of "unhandled 128" lines on stdout. What does it mean? Which library is producing this output?

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 10258
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: MMal saying "unhandled 128"

Tue Nov 12, 2019 4:57 pm

MMAL is not an application, and can't play anything by itself.
So what application are you using as the basis of your media player? That might give us a chance to guess as to what is producing the message.

There is no error message from the MMAL library itself of the form that you quote.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

User avatar
dividuum
Posts: 229
Joined: Sun Jun 16, 2013 1:18 pm
Location: Germany
Contact: Website

Re: MMal saying "unhandled 128"

Tue Nov 12, 2019 6:19 pm

hjimbens wrote:
Tue Nov 12, 2019 3:21 pm
Some videos when played with mmal produce a lot of "unhandled 128" lines on stdout. What does it mean? Which library is producing this output?
I've also noticed these errors and I'm pretty sure that error is from Mesa 3D. I think somewhere shader related. But I cannot find that code using the github search UI only at the moment.
info-beamer hosted - A user and programmer friendly digital signage platform for the Pi: https://info-beamer.com/hosted

User avatar
dividuum
Posts: 229
Joined: Sun Jun 16, 2013 1:18 pm
Location: Germany
Contact: Website

Re: MMal saying "unhandled 128"

Tue Nov 12, 2019 6:44 pm

info-beamer hosted - A user and programmer friendly digital signage platform for the Pi: https://info-beamer.com/hosted

hjimbens
Posts: 86
Joined: Fri May 24, 2013 9:05 am

Re: MMal saying "unhandled 128"

Wed Nov 13, 2019 8:16 am

dividuum wrote: Should be this one:

https://github.com/mesa3d/mesa/blob/cac ... gram.h#L96
Thank you very much. I grepped through all .so files but I could not find the source of the string. I grepped through the kernels in /boot and the only candidate string was in kernel8.img while I am using the 32 bit kernel.
6by9 wrote: MMAL is not an application, and can't play anything by itself.
So what application are you using as the basis of your media player? That might give us a chance to guess as to what is producing the message.
When I build the x11 branch of https://github.com/6by9/drm_mmal and run it with

Code: Select all

./mmal-demo /opt/vc/src/hello_pi/hello_video/test.h264
I get the same "unhandled 128" output.

kilograham
Posts: 134
Joined: Fri Apr 12, 2019 11:00 am
Location: austin tx

Re: MMal saying "unhandled 128"

Thu Oct 29, 2020 11:00 pm

I believe the latest mesa included in raspberry pi os (32 bit at least) should fix this issue (mesa bug)

kilograham
Posts: 134
Joined: Fri Apr 12, 2019 11:00 am
Location: austin tx

Re: MMal saying "unhandled 128"

Fri Oct 30, 2020 6:47 pm

or more accurately should remove it from being outputted when the format is handled!

Return to “Graphics programming”