Dm8168 unrecoverable error: omx_errorbadparameter (0x80001005) [resolved]

Source: Internet
Author: User

After the dm8168 custom board successfully starts the system, you need to test the 8168 codec function and run the examples in the development package. After the startup is complete, connect to the HDMI display. After the starting matrix GUI application, the HDMI has been output. In this case, the decode_display function is preferentially selected for testing.

[Email protected]:/usr/share/Ti-OMX #. /decode_display_a8host_debug.xv5t-I .. /data/videos/dm816x_1080p_demo.264-W 1920-H 1080-F 60-G 0-D 0-C h264
Input File: dm816x_1080p_demo.264
Width: 1920
Height: 1080
Frame_rate: 60
GFX: fbdev disable
Codec: h264
Display_id: 0
Decoder-display example
====================================
Omx_init completed
Uiaclient is ready to send a UIA configuration command
Uiaclient inclued uia_configure_ack
Uiaclient is done sending requests
Uiaclient is ready to send a UIA configuration command
Uiaclient inclued uia_configure_ack
Uiaclient is done sending requests
Opening File
Decoder compoenent is created
Padx: 32 pady: 24
Level Set is 12
Scalar compoenent is created
Set input port Params (width = 1920, Height = 1080)
Set output port Params (width = 1920, Height = 1080)
Set number of channels
Set input resolution
Set output resolution
Enable scalar input port
Got eventenable/disable event
Enable scalar output port
Got eventenable/disable event
Found handle 0x0000f58 for component OMX. Ti. vpssm3.vfdc
Got display handle
Found handle 0x12ba60 for component OMX. Ti. vpssm3.ctrl. DC
Buffer size (computed: 4147200)
Set input port Params (width = 1920, Height = 1080)
Setting Input and Output memory type to default
Enable input port
Got eventenable/disable event
Connect call for decoder-scalar
Connect call for Scalar-Display
Decoder inport buffers allocated
Decoder outport buffers allocated
Got eventstate changed to: omx_stateidle
State idle
Scalar input port use buffer done
Scalar outport buffers allocated
Got eventstate changed to: omx_stateidle
Scalar state idle
Got eventstate changed to: omx_stateidle
CTRL-DC state idle
Got eventstate changed to: omx_stateidle
Display state idle
Got eventstate changed to: omx_stateexecuting
Display Control State execute
Got event *** unrecoverable error: omx_errorbadparameter (0x80001005)
Press a key to proceed

Error got event *** unrecoverable error: omx_errorbadparameter (0x80001005)

After thinking for a long time, I checked a lot and finally thought about changing the resolution.

[Email protected]: ~ # Sh change_resolution.sh 1080p60

After the resolution is successfully modified, reboot and try again:

[Email protected]:/usr/share/Ti-OMX #. /decode_display_a8host_debug.xv5t-I .. /data/videos/dm816x_1080p_demo.264-W 1920-H 1080-F 60-G 0-D 0-C h264
Input File: ../data/videos/dm816x_1080p_demo.264
Width: 1920
Height: 1080
Frame_rate: 60
GFX: fbdev disable
Codec: h264
Display_id: 0
Decoder-display example
====================================
Omx_init completed
Uiaclient is ready to send a UIA configuration command
Uiaclient inclued uia_configure_ack
Uiaclient is done sending requests
Uiaclient is ready to send a UIA configuration command
Uiaclient inclued uia_configure_ack
Uiaclient is done sending requests
Opening File
Decoder compoenent is created
Padx: 32 pady: 24
Level Set is 12
Scalar compoenent is created
Set input port Params (width = 1920, Height = 1080)
Set output port Params (width = 1920, Height = 1080)
Set number of channels
Set input resolution
Set output resolution
Enable scalar input port
Got eventenable/disable event
Enable scalar output port
Got eventenable/disable event
Found handle 0x0000f58 for component OMX. Ti. vpssm3.vfdc
Got display handle
Found handle 0x12ba60 for component OMX. Ti. vpssm3.ctrl. DC
Buffer size (computed: 4147200)
Set input port Params (width = 1920, Height = 1080)
Setting Input and Output memory type to default
Enable input port
Got eventenable/disable event
Connect call for decoder-scalar
Connect call for Scalar-Display
Decoder inport buffers allocated
Decoder outport buffers allocated
Got eventstate changed to: omx_stateidle
State idle
Scalar input port use buffer done
Scalar outport buffers allocated
Got eventstate changed to: omx_stateidle
Scalar state idle
Got eventstate changed to: omx_stateidle
CTRL-DC state idle
Got eventstate changed to: omx_stateidle
Display state idle
Got eventstate changed to: omx_stateexecuting
Display Control State execute
Got eventstate changed to: omx_stateexecuting
Display State execute
Got eventstate changed to: omx_stateexecuting
Scalar State execute
Got eventstate changed to: omx_stateexecuting
Decoder State execute
File Read thread created
Decoder connect thread created
Scalar connect thread created
Display connect thread created
Executing The Appliaction now !!!
No data available for read
Got eventomx_eventbufferflag
Got EOS event
Got eventomx_eventbufferflag
Got EOS event
Got eventomx_eventbufferflag
Got EOS event
Tearing down the decode-display example
Exiting thread
Exiting thread
Exiting thread
Got eventstate changed to: omx_stateidle
Decoder state idle
Got eventstate changed to: omx_stateidle
Scalar state idle
Got eventstate changed to: omx_stateidle
Display state idle
Got eventstate changed to: omx_stateidle
Display Control State idle
Got eventstate changed to: omx_stateloaded
Decoder state loaded
Got eventstate changed to: omx_stateloaded
Scalar state loaded
Got eventstate changed to: omx_stateloaded
Display state loaded
Got eventstate changed to: omx_stateloaded
CTRL-DC state loaded
Decoder free handle
Scalar free handle
Display free handle
CTRL-DC free handle
Il client deinitialized
Example exit
[Email protected]:/usr/share/Ti-OMX #

The decoding and display function of the entire 264 file is successfully completed.

Dm8168 unrecoverable error: omx_errorbadparameter (0x80001005) [resolved]

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.