Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] No DMA context bound! #67

Closed
HQiang opened this issue Oct 9, 2019 · 2 comments
Closed

[BUG] No DMA context bound! #67

HQiang opened this issue Oct 9, 2019 · 2 comments

Comments

@HQiang
Copy link

HQiang commented Oct 9, 2019

之前一直没出现过这个问题,现在跑起来很大概率出现,出现这个问题之后视频只有声音没有图像,然后就一直循环打印下面这段日志的最后两句:
updateHostColorBuffer: Unexpected DMA,ERROR: No DMA context bound!

D/IJKMEDIA(17044): avcodec/Audio: first frame decoded
D/IJKMEDIA(17044): FFP_MSG_AUDIO_DECODED_START:
E/eglCodecCommon(17044): goldfish_dma_create_region: could not obtain fd to device! fd 0 errno=11
E/gralloc_ranchu(17044): updateHostColorBuffer: Unexpected DMA
E/ (17044): lockAndWriteDma: ERROR: No DMA context bound!
D/IJKMEDIA(17044): FFP_MSG_VIDEO_RENDERING_START:
D/IJKMEDIA(17044): SDL_VoutFFmpeg_CreateOverlay(w=1024, h=576, fmt=RV32(0x32335652, dp=0xc839dca0)
V/DartMessenger(17044): Sending message with callback over channel 'befovy.com/fijkplayer/event/8'
I/tv.danmaku.ijk.media.player.IjkMediaPlayer(17044): Info: MEDIA_INFO_VIDEO_RENDERING_START
I/flutter (17044): [inf] 2019-10-09 14:10:45.800574 [fijk] FijkPlayer{id:8} video rendering started
E/gralloc_ranchu(17044): updateHostColorBuffer: Unexpected DMA
E/ (17044): lockAndWriteDma: ERROR: No DMA context bound!

执行,第一帧解码,视频开始渲染之后
然后一直没有图像出来。就只有声音

@HQiang
Copy link
Author

HQiang commented Oct 9, 2019

同时,我的模拟器也一直报错

Emulator: DmaMap: ERROR: getHostAddr: guest paddr 0x0 not alloced!
Emulator: /mnt/tmpfs/src/android/emu-master-dev/external/qemu/android/android-emugl/host/libs/Translator/GLES_V2/GLESv2Imp.cpp:glTexSubImage2D:3451 error 0x502

循环打印这两句日志,我怀疑是模拟器出现了问题。之前没有这个问题的,我找了下,也没啥收获,不知道什么原因报这个错,模拟器这边提到的

Emulator: DmaMap: ERROR: 这里的DmaMap和错误日志里面提到的Unexpected DMA,No DMA context bound!应该有直接关系

@HQiang
Copy link
Author

HQiang commented Oct 9, 2019

算了。我关闭这个问题吧,模拟器重新启动就好了。不是Fijkplayer的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant