imx gstreamer issue

cancel
Showing results for 
Search instead for 
Did you mean: 

imx gstreamer issue

724 Views
xu_ji1
Contributor V

Hello,

 

When we use imx gstreamer plugin imxvideoconvert_g2d can not running success.

the gstreamer log shows error:0:00:02.063827500  1761 0xaaaafdaa4b00 ERROR            imx2ddevice imx_2d_device_g2d.c:458:imx_g2d_blit: Can't get physical address.

we used imx gstreamer version is imx-gst1.0-plugin_4.6.2.bb

what is caused this error,how can run this plugin success?

0 Kudos
26 Replies

432 Views
xu_ji1
Contributor V

hello,

plz give some update,the issue pending long time

0 Kudos

565 Views
xu_ji1
Contributor V

Hello,

Could someone give help?

0 Kudos

617 Views
Qmiller
NXP Employee
NXP Employee

Hi @xu_ji1 

Can you share the commad you use?

Regards

Zhiming

0 Kudos

615 Views
xu_ji1
Contributor V

gst-launch-1.0  --gst-debug-level=2 v4l2src device=/dev/video6 num-buffers=500 io-mode=dmabuf ! \

"video/x-raw,format=(string)NV12,width=1280,height=720,framerate=(fraction)25/1" ! \
imxvideoconvert_g2d ! "video/x-raw,width=640,height=360,framerate=(fraction)25/1" ! \

videoconvert ! v4l2h264enc ! filesink location=/tmp/testgst4.h264

 

command as above

0 Kudos

600 Views
Qmiller
NXP Employee
NXP Employee

Have you use another camera driver?The error shows that g2d can't get video physical address.

Qmiller_0-1653011582290.png

You can remove dmabuf command or  try this command:

gst-launch-1.0  --gst-debug-level=2 v4l2src device=/dev/video6 num-buffers=500 io-mode=dmabuf ! \

"video/x-raw,format=(string)NV12,width=1280,height=720,framerate=(fraction)25/1" ! \
imxvideoconvert_g2d ! "video/x-raw,width=640,height=360,framerate=(fraction)25/1" ! \
 v4l2h264enc ! output-io-mode=dmabuf-import filesink location=/tmp/testgst4.h264

 

0 Kudos

528 Views
xu_ji1
Contributor V

Hello,

 

Are you checking my reply?

0 Kudos

522 Views
Qmiller
NXP Employee
NXP Employee

Hi @xu_ji1 

We don't have same test environment.

You can open the gstreamer debu mode and trace the  imx_g2d_convert->imx_g2d_blit.

You will see such log:

 

GST_DEBUG ("src paddr fd vaddr: %p %d %p dst paddr fd vaddr: %p %d %p",
      src->mem->paddr, src->fd[0], src->mem->vaddr, dst->mem->paddr,
      dst->fd[0], dst->mem->vaddr);

 

1. paddr = phy_addr_from_fd (src->fd[0]);

Use DMA to read data from camera dma fd, for dma ioctl  DMA_BUF_IOCTL_PHYS

Return null reason: The dma engine can't get data from camera.Please notice your dma operations in your camera driver.

 

2. paddr = phy_addr_from_vaddr (src->mem->vaddr, PAGE_ALIGN(src->mem->size))

If your camera driver doesn't support use dma(use virtual address in user space directly), this function will return NULL.

0 Kudos

520 Views
xu_ji1
Contributor V

Hello,

Which need setting in camera driver side to support DMA?

My camera driver is based on max9286 demo driver in source,the setting is same,

and my camera driver copy from 4.14.98 to 5.10,in 4.14.98 the gstreamer g2d plugin use no problem,why?

from 4.14.98 to 5.10 just imx gstreamer version update

0 Kudos

510 Views
Qmiller
NXP Employee
NXP Employee

I think this may be a problem caused by the kernel version upgrade. Rather than a gstreamer version issue.

Can you provide below log when this happen?

 

 

GST_DEBUG ("src paddr fd vaddr: %p %d %p dst paddr fd vaddr: %p %d %p",
      src->mem->paddr, src->fd[0], src->mem->vaddr, dst->mem->paddr,
      dst->fd[0], dst->mem->vaddr);

 

 

 And change log print in imx_g2d_blit like below.I need know which stage this error happen.

Qmiller_0-1654833372496.png

And kernel log constains dma message when this error happen,

0 Kudos

467 Views
xu_ji1
Contributor V

hello,

 

Any clue have?

0 Kudos

478 Views
xu_ji1
Contributor V

Hi, Qmiller

could u check more?

0 Kudos

504 Views
xu_ji1
Contributor V

when issue happened there is no dma error log in kernel:

Line 1971: 2021-03-23T15:49:50.755450+08:00 imx8qmfalcon kernel: [   30.235917] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 0
 Line 1972: 2021-03-23T15:49:50.767422+08:00 imx8qmfalcon kernel: [   30.248631] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 1
 Line 1973: 2021-03-23T15:49:50.779411+08:00 imx8qmfalcon kernel: [   30.260740] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 2
 Line 1974: 2021-03-23T15:49:50.779435+08:00 imx8qmfalcon kernel: [   30.266461] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 0
 Line 1975: 2021-03-23T15:49:50.790403+08:00 imx8qmfalcon kernel: [   30.274097] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 3
 Line 1976: 2021-03-23T15:49:50.790422+08:00 imx8qmfalcon kernel: [   30.279801] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 1
 Line 1977: 2021-03-23T15:49:50.803759+08:00 imx8qmfalcon kernel: [   30.287457] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 4
 Line 1978: 2021-03-23T15:49:50.803781+08:00 imx8qmfalcon kernel: [   30.293164] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 2
 Line 1979: 2021-03-23T15:49:50.811411+08:00 imx8qmfalcon kernel: [   30.300874] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 5
 Line 1980: 2021-03-23T15:49:50.823880+08:00 imx8qmfalcon kernel: [   30.307588] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 1981: 2021-03-23T15:49:50.823899+08:00 imx8qmfalcon kernel: [   30.313352] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 3
 Line 1982: 2021-03-23T15:49:50.837025+08:00 imx8qmfalcon kernel: [   30.314339] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 1983: 2021-03-23T15:49:50.837042+08:00 imx8qmfalcon kernel: [   30.326600] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 4
 Line 1984: 2021-03-23T15:49:50.850649+08:00 imx8qmfalcon kernel: [   30.334341] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 7
 Line 1985: 2021-03-23T15:49:50.850676+08:00 imx8qmfalcon kernel: [   30.339901] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 5
 Line 1986: 2021-03-23T15:49:50.877227+08:00 imx8qmfalcon kernel: [   30.354054] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 1987: 2021-03-23T15:49:50.877283+08:00 imx8qmfalcon kernel: [   30.361016] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 1988: 2021-03-23T15:49:50.891461+08:00 imx8qmfalcon kernel: [   30.374458] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 7
 Line 1991: 2021-03-23T15:49:50.958019+08:00 imx8qmfalcon kernel: [   30.429602] ol_download_firmware: chip_id:0x5020001 board_id:0x0
 Line 1992: 2021-03-23T15:49:50.958091+08:00 imx8qmfalcon kernel: [   30.439704] ar6k_wlan mmc2:0001:1: Direct firmware load for bdwlan30.b00 failed with error -2
 Line 1993: 2021-03-23T15:49:50.966564+08:00 imx8qmfalcon kernel: [   30.450665] __ol_transfer_bin_file: Failed to get bdwlan30.b00:-2
 Line 1994: 2021-03-23T15:49:50.966658+08:00 imx8qmfalcon kernel: [   30.456913] __ol_transfer_bin_file: Trying to load default bdwlan30.bin
 Line 1995: 2021-03-23T15:49:50.978999+08:00 imx8qmfalcon kernel: [   30.464140] Board extended Data download address: 0x0
 Line 1996: 2021-03-23T15:49:51.009057+08:00 imx8qmfalcon kernel: [   30.484209] __ol_transfer_bin_file: Loading setup file qsetup30.bin
 Line 1997: 2021-03-23T15:49:51.009141+08:00 imx8qmfalcon kernel: [   30.490682] ar6k_wlan mmc2:0001:1: Direct firmware load for qsetup30.bin failed with error -2
 Line 1998: 2021-03-23T15:49:51.015669+08:00 imx8qmfalcon kernel: [   30.499793] __ol_transfer_bin_file: Failed to get qsetup30.bin:-2
 Line 1999: 2021-03-23T15:49:51.475774+08:00 imx8qmfalcon kernel: [   30.956414] R0: wlan: [444:E :SAP] dfs_init_radar_filters[217]: Unknown dfs domain 0
 Line 2000: 2021-03-23T15:49:51.487481+08:00 imx8qmfalcon kernel: [   30.966286] Target Ready! : transmit resources : 3 size:1792, MaxMsgsPerHTCBundle = 32
 Line 2001: 2021-03-23T15:49:51.575467+08:00 imx8qmfalcon kernel: [   31.054192] ar6k_wlan mmc2:0001:1: Direct firmware load for wlan/wlan_mac.bin failed with error -2
 Line 2002: 2021-03-23T15:49:51.575543+08:00 imx8qmfalcon kernel: [   31.064195] target uses HTT version 3.60; host uses 3.28
 Line 2003: 2021-03-23T15:49:51.586962+08:00 imx8qmfalcon kernel: [   31.069562] *** Warning: host/target HTT versions are different, though compatible!
 Line 2004: 2021-03-23T15:49:51.608421+08:00 imx8qmfalcon kernel: [   31.070566] DEBUGFS PEER MAC = 0xa6:0x4:0x50:0xe2:0xe2:0xae
 Line 2005: 2021-03-23T15:49:51.608495+08:00 imx8qmfalcon kernel: [   31.084093] Host SW:4.5.25.41, FW:0.0.0.61, HW:QCA93x7_REV1_1
 Line 2006: 2021-03-23T15:49:51.615273+08:00 imx8qmfalcon kernel: [   31.100360] ENTER sme_set_btc_coex_dutycycle = 30
 Line 2007: 2021-03-23T15:49:51.623507+08:00 imx8qmfalcon kernel: [   31.100372] ENTER sme_set_btc_coex_dutycycle =30
 Line 2008: 2021-03-23T15:49:51.623585+08:00 imx8qmfalcon kernel: [   31.107899] wlan: driver loaded in 1840000
 Line 2010: 2021-03-23T15:49:51.947503+08:00 imx8qmfalcon kernel: [   31.428598] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 0
 Line 2011: 2021-03-23T15:49:51.959484+08:00 imx8qmfalcon kernel: [   31.441256] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 1
 Line 2012: 2021-03-23T15:49:51.971476+08:00 imx8qmfalcon kernel: [   31.453934] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 2
 Line 2013: 2021-03-23T15:49:51.983464+08:00 imx8qmfalcon kernel: [   31.466560] ds960_0_mipi 5-0030: ds960_get_fmt: ds960_get_fmt channel 3
 Line 2014: 2021-03-23T15:49:51.999477+08:00 imx8qmfalcon kernel: [   31.479526] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 4
 Line 2015: 2021-03-23T15:49:52.011491+08:00 imx8qmfalcon kernel: [   31.492167] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 5
 Line 2016: 2021-03-23T15:49:52.027786+08:00 imx8qmfalcon kernel: [   31.504856] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 2017: 2021-03-23T15:49:52.027868+08:00 imx8qmfalcon kernel: [   31.511589] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 2018: 2021-03-23T15:49:52.043468+08:00 imx8qmfalcon kernel: [   31.524274] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 7
 Line 2022: 2021-03-23T15:49:52.731820+08:00 imx8qmfalcon kernel: [   32.197319] R0: wlan: [1881:E :SAP] WLANSAP_set_Dfs_Restrict_JapanW53: 3594: Regdomain not japan, set disable JP W53 not valid
 Line 2023: 2021-03-23T15:49:52.731911+08:00 imx8qmfalcon kernel: [   32.209085] R0: wlan: [1881:E :SAP] WLANSAP_set_Dfs_Preferred_Channel_location: 3668: sapdfs:NOT JAPAN REG, Invalid Set preferred chans location
 Line 2030: 2021-03-23T15:49:53.364537+08:00 imx8qmfalcon kernel: [   32.224207] DEBUGFS PEER MAC = 0xa4:0x4:0x50:0x5c:0xe2:0xae
 Line 2031: 2021-03-23T15:49:53.364616+08:00 imx8qmfalcon kernel: [   32.835678] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 2032: 2021-03-23T15:49:53.364626+08:00 imx8qmfalcon kernel: [   32.848311] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 2033: 2021-03-23T15:49:53.429330+08:00 imx8qmfalcon kernel: [   32.902410] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2034: 2021-03-23T15:49:53.429398+08:00 imx8qmfalcon kernel: [   32.910877] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2035: 2021-03-23T15:49:53.429406+08:00 imx8qmfalcon kernel: [   32.919651] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2036: 2021-03-23T15:49:53.446459+08:00 imx8qmfalcon kernel: [   32.928716] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2037: 2021-03-23T15:49:53.454656+08:00 imx8qmfalcon kernel: [   32.936932] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2038: 2021-03-23T15:49:53.454766+08:00 imx8qmfalcon kernel: [   32.945036] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2039: 2021-03-23T15:49:53.472287+08:00 imx8qmfalcon kernel: [   32.953871] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2040: 2021-03-23T15:49:53.472383+08:00 imx8qmfalcon kernel: [   32.962663] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2041: 2021-03-23T15:49:53.488580+08:00 imx8qmfalcon kernel: [   32.970839] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2042: 2021-03-23T15:49:53.488681+08:00 imx8qmfalcon kernel: [   32.978938] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2043: 2021-03-23T15:49:53.506131+08:00 imx8qmfalcon kernel: [   32.987713] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2044: 2021-03-23T15:49:53.506225+08:00 imx8qmfalcon kernel: [   32.996498] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2045: 2021-03-23T15:49:53.522395+08:00 imx8qmfalcon kernel: [   33.004663] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2046: 2021-03-23T15:49:53.522503+08:00 imx8qmfalcon kernel: [   33.012747] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2047: 2021-03-23T15:49:53.539942+08:00 imx8qmfalcon kernel: [   33.021522] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2048: 2021-03-23T15:49:53.540040+08:00 imx8qmfalcon kernel: [   33.030345] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2049: 2021-03-23T15:49:53.556242+08:00 imx8qmfalcon kernel: [   33.038522] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2050: 2021-03-23T15:49:53.556341+08:00 imx8qmfalcon kernel: [   33.046605] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2051: 2021-03-23T15:49:53.573817+08:00 imx8qmfalcon kernel: [   33.055389] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2052: 2021-03-23T15:49:53.573916+08:00 imx8qmfalcon kernel: [   33.064189] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2053: 2021-03-23T15:49:53.590089+08:00 imx8qmfalcon kernel: [   33.072383] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2054: 2021-03-23T15:49:53.590159+08:00 imx8qmfalcon kernel: [   33.080465] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2055: 2021-03-23T15:49:53.607643+08:00 imx8qmfalcon kernel: [   33.089236] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2056: 2021-03-23T15:49:53.607731+08:00 imx8qmfalcon kernel: [   33.098070] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2057: 2021-03-23T15:49:53.624109+08:00 imx8qmfalcon kernel: [   33.106378] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2058: 2021-03-23T15:49:53.624207+08:00 imx8qmfalcon kernel: [   33.114468] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2059: 2021-03-23T15:49:53.641673+08:00 imx8qmfalcon kernel: [   33.123242] ds960_1_mipi 6-0030: ds960_enum_frame_interval: ds960_enum_frame_interval channel 6
 Line 2060: 2021-03-23T15:49:53.641718+08:00 imx8qmfalcon kernel: [   33.125827] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
 Line 2061: 2021-03-23T15:49:53.648133+08:00 imx8qmfalcon kernel: [   33.132183] ds960_1_mipi 6-0030: ds960_enum_framesizes: ds960_enum_framesizes channel 6
 Line 2063: 2021-03-23T15:49:53.763996+08:00 imx8qmfalcon kernel: [   33.237516] ds960_1_mipi 6-0030: ds960_g_frame_interval: ds960_g_frame_interval channel 6
 Line 2064: 2021-03-23T15:49:53.764079+08:00 imx8qmfalcon kernel: [   33.246033] ds960_1_mipi 6-0030: ds960_s_frame_interval: ds960_s_frame_interval channel 6
 Line 2065: 2021-03-23T15:49:53.788836+08:00 imx8qmfalcon kernel: [   33.264689] ds960_1_mipi 6-0030: ds960_set_fmt: ds960_set_fmt channel 6
 Line 2066: 2021-03-23T15:49:53.788918+08:00 imx8qmfalcon kernel: [   33.272606] ds960_1_mipi 6-0030: ds960_set_fmt: cam_data found chan 6
 Line 2067: 2021-03-23T15:49:53.788947+08:00 imx8qmfalcon kernel: [   33.279208] ds960_1_mipi 6-0030: ds960_set_fmt: try 1280x720
 Line 2068: 2021-03-23T15:49:53.794817+08:00 imx8qmfalcon kernel: [   33.284987] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 2069: 2021-03-23T15:49:53.807902+08:00 imx8qmfalcon kernel: [   33.291704] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 2070: 2021-03-23T15:49:53.818110+08:00 imx8qmfalcon kernel: [   33.303261] bypass csc
 Line 2071: 2021-03-23T15:49:53.818187+08:00 imx8qmfalcon kernel: [   33.305668] input fmt YUV4
 Line 2072: 2021-03-23T15:49:53.818215+08:00 imx8qmfalcon kernel: [   33.308452] output fmt NV12
 Line 2074: 2021-03-23T15:49:54.160517+08:00 imx8qmfalcon kernel: [   33.637824] ds960_1_mipi 6-0030: ds960_s_stream: set stream 6 on, now running 0
 Line 2075: 2021-03-23T15:49:54.160635+08:00 imx8qmfalcon kernel: [   33.645264] ds960_1_mipi 6-0030: ds960_s_stream: stream on
 Line 2076: 2021-03-23T15:49:54.169095+08:00 imx8qmfalcon kernel: [   33.652710] ds960_1_mipi 6-0030: ds960_get_fmt: ds960_get_fmt channel 6
 Line 2077: 2021-03-23T15:49:54.169205+08:00 imx8qmfalcon kernel: [   33.659482] ds960_1_mipi 6-0030: ds960_get_fmt: cam_data found chan 6
 Line 2078: 2021-03-23T15:49:54.352465+08:00 imx8qmfalcon kernel: [   33.829496] ds960_1_mipi 6-0030: ds960_s_stream: set stream 6 off, now running 1
 Line 2079: 2021-03-23T15:49:54.352564+08:00 imx8qmfalcon kernel: [   33.837093] ds960_1_mipi 6-0030: ds960_s_stream: stream off

and gstreamer log:

0:00:05.354161250  1759 0xaaab0b98d1e0 INFO       imxvideoconvert gstimxvideoconvert.c:1446:imx_video_convert_transform:<imxvideoconvert_g2d0> buffer modifier type 0
0:00:05.354164000  1759 0xaaab0b98d2a0 DEBUG             GST_PADS gstpad.c:4008:push_sticky:<queue2:src> event segment marked received
0:00:05.354223750  1759 0xaaab0b98d1e0 DEBUG            GST_BUFFER gstbuffer.c:1228:gst_buffer_get_memory_range: idx 0, length 1
0:00:05.354261375  1759 0xaaab0b98d2a0 DEBUG       queue_dataflow gstqueue.c:1518:gst_queue_loop:<queue2> queue is empty
0:00:05.354345125  1759 0xaaab0b98d1e0 DEBUG           imx2ddevice imx_2d_device_g2d.c:440:imx_g2d_blit: src paddr fd vaddr: (nil) 43 (nil) dst paddr fd vaddr: 0xffffffffc0180000 0 0xffffa8437000
0:00:05.354382625  1759 0xaaab0b98d1e0 ERROR           imx2ddevice imx_2d_device_g2d.c:458:imx_g2d_blit: Can't get physical address in src.

please check it

 

0 Kudos

430 Views
Qmiller
NXP Employee
NXP Employee

I have post this issue in internal.If R&D has any reply, i will post here.

Can you also try the lastet BSP and gstreamer?

0 Kudos

427 Views
xu_ji1
Contributor V

oh sorry, I can not test in latest BSP,it is in our customer HW,intergrate other BSP seems big work,so I will wait for your R&D reply

 

 

thanks

0 Kudos

425 Views
Qmiller
NXP Employee
NXP Employee

Which L5.10 BSP are you using?L5.10.35 ,L5.10.52 or L5.10.72? 

0 Kudos

422 Views
xu_ji1
Contributor V

we are L5.10.104

0 Kudos

420 Views
Qmiller
NXP Employee
NXP Employee

We didn't publish this version and can't ensure mainline verison is compatible.

Why not use the linux version we published?Please test under linux we released.Like  lf-5.15.5-1.0.0 or lf-5.10.72-2.2.0 

0 Kudos

418 Views
xu_ji1
Contributor V

ok,BTW the BSP version can effect gstreamer running?

which BSP version for the 4.6.2 gstreamer?

0 Kudos

413 Views
Qmiller
NXP Employee
NXP Employee

Mainline kernel has lots of different code compared with linux we released. There is a lot of uncertainty in Mainline kernel. So if you can reproduce this issue on linux kernel we released , we will continue to handle this.

which BSP version for the 4.6.2 gstreamer?

-->L5.10.52-2.1.0, you can use Linux  version lf-5.10.52-2.1.0 

0 Kudos

508 Views
xu_ji1
Contributor V

ok  I will change and provide later

0 Kudos