有线传输
无线
有线传输带宽变化
推出程序时出错:
App手机端
Recoder_265_20M –> 网速 2.5M/s左右 –> 20Mbit/s
Recoder_265_4M –>网速 0.5M/s左右 –> 4Mbit/s
查看内核打印信息,发现传输卡顿的时候有以下报错:
... sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 sdioh_buffer_tofrom_bus: TX FAILED ffffffc02176d0a0, addr=0x08000, pkt_len=128, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 sdioh_buffer_tofrom_bus: TX FAILED ffffffc01e05d0a0, addr=0x08000, pkt_len=1792, ERR=-84 ... mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 sdioh_buffer_tofrom_bus: RX FAILED ffffffc0215b5a20, addr=0x08000, pkt_len=32, ERR=-84 dhdsdio_readframes: RXHEADER FAILED: -35 dhdsdio_rxfail: abort command, terminate frame, send NAK mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 sdioh_buffer_tofrom_bus: RX FAILED ffffffc0215b5a20, addr=0x08000, pkt_len=32, ERR=-84 dhdsdio_readframes: RXHEADER FAILED: -35 dhdsdio_rxfail: abort command, terminate frame, send NAK ...
————恢复内容开始————
有线传输
无线
有线传输带宽变化
推出程序时出错:
App手机端
Recoder_265_20M –> 网速 2.5M/s左右 –> 20Mbit/s
Recoder_265_4M –>网速 0.5M/s左右 –> 4Mbit/s
查看内核打印信息,发现传输卡顿的时候有以下报错:
... sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 sdioh_buffer_tofrom_bus: TX FAILED ffffffc02176d0a0, addr=0x08000, pkt_len=128, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 sdioh_buffer_tofrom_bus: TX FAILED ffffffc01e05d0a0, addr=0x08000, pkt_len=1792, ERR=-84 ... mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 sdioh_buffer_tofrom_bus: RX FAILED ffffffc0215b5a20, addr=0x08000, pkt_len=32, ERR=-84 dhdsdio_readframes: RXHEADER FAILED: -35 dhdsdio_rxfail: abort command, terminate frame, send NAK mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 sdioh_request_packet_chain:CMD53 write failed with code -84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 sdioh_buffer_tofrom_bus: RX FAILED ffffffc0215b5a20, addr=0x08000, pkt_len=32, ERR=-84 dhdsdio_readframes: RXHEADER FAILED: -35 dhdsdio_rxfail: abort command, terminate frame, send NAK ...
sdioh_buffer_tofrom_bus: TX FAILED ffffffc0216410a0, addr=0x08000, pkt_len=1024, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 sdioh_buffer_tofrom_bus: TX FAILED ffffffc0216400a0, addr=0x08000, pkt_len=128, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 mmc2: Timeout waiting for hardware interrupt. sdhci: =========== REGISTER DUMP mmc2)=========== sdhci: Sys addr: 0x00000005 | Version: 0x00000005 sdhci: Blk size: 0x00007100 | Blk cnt: 0x00000000 sdhci: Argument: 0xad000005 | Trn mode: 0x00000023 sdhci: Present: 0x03f700f0 | Host ctl: 0x0000001f sdhci: Power: 0x0000000f | Blk gap: 0x00000000 sdhci: Wake-up: 0x00000000 | Clock: 0x0000000f sdhci: Timeout: 0x0000000e | Int stat: 0x00000000 sdhci: Int enab: 0x03ff008b | Sig enab: 0x03ff008b sdhci: ACMD err: 0x00000000 | Slot int: 0x00000000 sdhci: Caps: 0x3f6ec881 | Caps_1: 0x08000077 sdhci: Cmd: 0x0000353a | Max curr: 0x00000000 sdhci: Host ctl2: 0x00000083 sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x0000000063c6e20c sdhci: =========================================== sdioh_buffer_tofrom_bus: TX FAILED ffffffc0226cd0a0, addr=0x08000, pkt_len=1280, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame. mmc2: tuning done! candidates 0x0: no valid phase shift! use default 0 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffff92 bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 sdioh_buffer_tofrom_bus: TX FAILED ffffffc0211190a0, addr=0x08000, pkt_len=1792, ERR=-84 dhd_bcmsdh_send_buf: sdio error -1, abort command and terminate frame.
可知,应用程序将从VENC获取的码流数据以包的形式发送,会将包码流从应用程序缓冲区拷贝到内核缓冲区,网卡再从内核缓冲区取走数据
新的报错
mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 ... bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmz_userdev:mmz_userdev_release: MMB LEAKpid=1685): 0x9C30A000, 49152 bytes, 'AENC0)strm_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c30a000> mapped to userspace 0x0000007f92dc4000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1685): 0x9C316000, 16384 bytes, 'AENC0) cir_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c316000> mapped to userspace 0x0000007f92dc0000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1685): 0x9C382000, 16777216 bytes, '' mmz_userdev:mmz_userdev_release: mmb<0x9c382000> mapped to userspace 0x0000007f915c0000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1796): 0x9C2B3000, 49152 bytes, 'AENC0)strm_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c2b3000> mapped to userspace 0x0000007f98864000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1796): 0x9C318000, 16384 bytes, 'AENC0) cir_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c318000> mapped to userspace 0x0000007f98860000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1796): 0x9C382000, 16777216 bytes, '' mmz_userdev:mmz_userdev_release: mmb<0x9c382000> mapped to userspace 0x0000007f97060000 will be unmaped! mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0xFFFFFFF: valid phase shift [0, 27] Final Phase:14 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac ...
————————————–
mmc2: tuning done! candidates 0x8FFFFFFF: valid phase shift [31, 27] Final Phase:13 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmc2: tuning done! candidates 0x8FFFFFFF: valid phase shift [31, 27] Final Phase:13 bcmsdh_sdmmc: Failed to Read word F1:@0x0c020=ffffffff, Err: 0xffffffac bcmsdh_reg_read: error reading addr 0xc020 size 4 mmz_userdev:mmz_userdev_release: MMB LEAKpid=1633): 0x9C30A000, 49152 bytes, 'AENC0)strm_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c30a000> mapped to userspace 0x0000007f81c84000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1633): 0x9C316000, 16384 bytes, 'AENC0) cir_buf' mmz_userdev:mmz_userdev_release: mmb<0x9c316000> mapped to userspace 0x0000007f81c80000 will be unmaped! mmz_userdev:mmz_userdev_release: MMB LEAKpid=1633): 0x9C382000, 16777216 bytes, '' mmz_userdev:mmz_userdev_release: mmb<0x9c382000> mapped to userspace 0x0000007f80480000 will be unmaped!
~ # ./Recode_265_20M [main]-37: thread num 4 [SAMPLE_COMM_SYS_Init]-382: HI_MPI_VB_SetConf failed! Recode_265_20M: /home/tianyu/Desktop/project/src/sys/vi.cpp:66: int Vi::initMPPSIZE_S): Assertion `ret == HI_SUCCESS' failed. Aborted
———————————————
sjqods
————恢复内容结束————