微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 89 camera打开memory报错

89 camera打开memory报错

时间:10-02 整理:3721RD 点击:
插入2G-SD卡后开启CAMERA报 “手机存储剩余空间不够,请释放部分空间 或去系统设置更改默认存储器” 提示
内部存储Emmc剩余空间  892M 可用的
之后camera退出:提示: “很抱歉图库已停止运行”
这是神马情况,
log信息:
[   45.538640] (0)[478:Binder_1]concurrency scenario CON_SCE_NORMAL ON
[   45.540817] (2)[1533:PreviewCmdQueTh]GC2035Previe
[   45.542945] (2)[1533:PreviewCmdQueTh]GC2035_sensor_SVGA
[   45.553496] (2)[1533:PreviewCmdQueTh][[kd_sensorlist]] ERR:SensorControl(), i =0
[   45.689965]-(0)[944:Binder_4][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.758155] (0)[644:ndroid.systemui]objs:
[   45.758160] (0)[644:ndroid.systemui]--------------
[   45.758166] (0)[644:ndroid.systemui]VSyncThreadHWC sw_sync: 0
[   45.758172] (0)[644:ndroid.systemui]
[   45.758176] (0)[644:ndroid.systemui]SurfaceFlinger sw_sync: 148
[   45.758182] (0)[644:ndroid.systemui]  pt signaled@45.360464: 143
[   45.758188] (0)[644:ndroid.systemui]  pt signaled@45.384704: 144
[   45.758194] (0)[644:ndroid.systemui]  pt active: 149
[   45.758199] (0)[644:ndroid.systemui]
[   45.758204] (0)[644:ndroid.systemui]SurfaceFlinger sw_sync: 89
[   45.758209] (0)[644:ndroid.systemui]
[   45.758214] (0)[644:ndroid.systemui]SurfaceFlinger sw_sync: 89
[   45.758220] (0)[644:ndroid.systemui]
[   45.758224] (0)[644:ndroid.systemui]SurfaceFlinger sw_sync: 89
[   45.758230] (0)[644:ndroid.systemui]  pt active: 90
[   45.758235] (0)[644:ndroid.systemui]
[   45.758240] (0)[644:ndroid.systemui]Surf
[   45.769881] (0)[644:ndroid.systemui]aceFlinger sw_sync: 10
[   45.769889] (0)[644:ndroid.systemui]  pt active: 11
[   45.769895] (0)[644:ndroid.systemui]
[   45.769899] (0)[644:ndroid.systemui]SurfaceFlinger sw_sync: 1
[   45.769905] (0)[644:ndroid.systemui]  pt active: 2
[   45.769910] (0)[644:ndroid.systemui]
[   45.769915] (0)[644:ndroid.systemui]fences:
[   45.769920] (0)[644:ndroid.systemui]--------------
[   45.769925] (0)[644:ndroid.systemui][d936b300] StatusBar:1: active
[   45.769931] (0)[644:ndroid.systemui]  SurfaceFlinger_pt active: 90 / 89
[   45.769937] (0)[644:ndroid.systemui]
[   45.769942] (0)[644:ndroid.systemui][d45a5c00] StatusBar:2: active
[   45.769948] (0)[644:ndroid.systemui]  SurfaceFlinger_pt active: 2 / 1
[   45.769954] (0)[644:ndroid.systemui]
[   45.769959] (0)[644:ndroid.systemui][d936b480] Naviga
[   45.779393]-(0)[644:ndroid.systemui][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.781515]-(0)[644:ndroid.systemui]dpi vsync
[   45.782081] (0)[644:ndroid.systemui]tionBar:1: signaled
[   45.782087] (0)[644:ndroid.systemui]  SurfaceFlinger_pt signaled@45.360464: 143 / 148
[   45.782094] (0)[644:ndroid.systemui]
[   45.782099] (0)[644:ndroid.systemui][d3c9c900] SYNC: signaled
[   45.782104] (0)[644:ndroid.systemui]  SurfaceFlinger_pt signaled@45.384704: 144 / 148
[   45.782111] (0)[644:ndroid.systemui]
[   45.782116] (0)[644:ndroid.systemui][d3dcec00] Starting com.android.gallery:0: active
[   45.782123] (0)[644:ndroid.systemui]  SurfaceFlinger_pt active: 11 / 10
[   45.782129] (0)[644:ndroid.systemui]
[   45.782133] (0)[644:ndroid.systemui][d3dce780] Navigation
[   45.790320]-(0)[1519:Thread-127][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.793267] (2)[644:ndroid.systemui]Bar:3: active
[   45.793274] (2)[644:ndroid.systemui]  SurfaceFlinger_pt active: 149 / 148
[   45.793281] (2)[644:ndroid.systemui]
[   45.874181]-(0)[553:ActivityManager][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.890673]-(0)[324:SurfaceFlinger][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.974537]-(0)[1280:MediaScannerSer][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   45.991032]-(0)[1478:droid.gallery3d][ISP] [ISP_SOF_Buf_Get, line2519] ERROR: TempAddr:Last(0x016C0000) == Cur(0x016C0000)
[   46.010626] (1)[1081:kworker/u:3]@@@ liao test: mtkfb_update_screen_impl ..

  人呢?

D/dalvikvm( 1465): GC_EXPLICIT freed 1519K, 21% free 8821K/11100K, paused 5ms+3ms, total 44ms
D/CameraStorage( 1465): External storage state=mounted, mount point = /storage/sdcard0
V/CameraStorage( 1465): getFilePath(0) return /storage/sdcard0/Photo
V/CameraStorage( 1465): getFilePath(2) return /storage/sdcard0/Photo
V/CameraStorage( 1465): getFilePath(1) return /storage/sdcard0/Video
V/CameraStorage( 1465): getFilePath(0) return /storage/sdcard0/Photo
D/CameraStorage( 1465): External storage state=mounted, mount point = /storage/sdcard0
V/CameraStorage( 1465): getFilePath(0) return /storage/sdcard0/Photo
D/ADB_SERVICES(  181): adb fdevent_process list (35) (17)
D/ADB_SERVICES(  181): adb socket read list (17)
D/ADB_SERVICES(  181): read_data=7276
D/ADB_SERVICES(  181): max_read_time=0.000205 max_send_time=0.000567
D/ADB_SERVICES(  181): adb local_socket_ready list (17)
V/CameraStorage( 1465): getFilePath(2) return /storage/sdcard0/Photo
V/CameraStorage( 1465): getFilePath(1) return /storage/sdcard0/Video
V/CameraStorage( 1465): getFilePath(0) return /storage/sdcard0/Photo

E/IspDrv  (  138): {IspDrv} [mediatek/platform/mt6589/hardware/camera/core/drv/isp/isp_drv.cpp, waitIrq, line1892] ERROR: ISP_WAIT_IRQ fail(-1). Clear(1), Type(0), Status(0x00000400), Timeout(5000).
E/iio/ifunc(  138): [mediatek/platform/mt6589/hardware/camera/core/imageio/drv/cam/isp_function.cpp, waitBufReady, line4353] ERROR: waitIrq( irq_TG1_DONE ) fail
E/iio/pathp1(  138): [mediatek/platform/mt6589/hardware/camera/core/imageio/drv/cam/cam_path_pass1.cpp, dequeueBuf, line0234] ERROR: waitBufReady fail
E/iio/camio(  138): [mediatek/platform/mt6589/hardware/camera/core/imageio/pipe/CamIOPipe/CamIOPipe.cpp, dequeOutBuf, line0399] ERROR: ERROR:dequeueBuf
E/MtkCam/VSSScen(  138): [deque] mpCamIOPipe->dequeOutBuf fail (deque){#737:mediatek/platform/mt6589/hardware/camera/core/hwscenario/VSSScenario.cpp}

E/MtkCam/PrvCQT(  138): (1541)[dropFrame] still failed. (dropFrame){#1451:mediatek/platform/mt6589/hardware/camera/hal/adapter/MtkPhoto/Preview/PreviewCmdQueThread.cpp}

D/MtkCam/PrvCQT(  138): (1541)[threadLoop] -

D/MtkCam/PrvCQT(  138): (1541)[threadLoop] +

D/MtkCam/PrvCQT(  138): (1541)[getCommand] +

D/MtkCam/PrvCQT(  138): (1541)[getCommand] + tid(1541), que size(0)

D/MtkCam/PrvCQT(  138): (470)[postCommand] -

E/MtkCam/CamAdapter(  138): (470)(MtkPhoto)[onHandleStartPreview] StartPreview stage 2 (delay): fail (onHandleStartPreview){#140:mediatek/platform/mt6589/hardware/camera/hal/adapter/MtkPhoto/Preview/MtkPhotoCamAdapter.Preview.cpp}

D/MtkCam/CamAdapter(  138): (470)(StateIdle)[onStartPreview] - status(-38)

E/MtkCam/CamDevice(  138): (470)(Default:0)[CamDevice::startPreview] startPreview() in CameraAdapter returns: [Function not implemented(38)] (startPreview){#343:mediatek/hardware/camera/device/CamDevice/CamDevice.cpp}

D/MtkCam/CamDevice(  138): (470)(Default:0)[CamDevice::startPreview] Cleanup after error

D/MtkCam/CamClient(  138): (470)[stopPreview] +

D/MtkCam/PrvCB(  138): (470)[stopPreview] + current mIsPrvStarted=1

D/MtkCam/PrvCB(  138): (470)(PreviewClientCb)[ImgBufManager::uninit] + mu4BufCount(3)

D/MtkCam/PrvCB(  138): [PrvCbImgBuf::~PrvCbImgBuf] Buffer[PreviewClientCb@0x44D0C000@720000@yuv420sp@(800)800x600@12@Timestamp(0)] - mCamMem.release(0x409f0bd3)

logcat 信息!
坐等大神

大弟(694107311)  11:48:19
是平板吗?
PM-大葱(530467449)  11:48:25
是的
大弟(694107311)  11:49:25
看看ActivityBase这个类,里面的oncreate方法
PM-大葱(530467449)  11:50:51
我看其他家,1024*600的  是OK的
菜鸟(195974477)  11:50:57
跟分辨率肯定有关系
PM-大葱(530467449)  11:51:01
前后都不正常
大弟(694107311)  11:51:24
大屏幕的话,他要转成横屏,界面的layout才对
PM-大葱(530467449)  11:51:37
是的
屏已经转了
camera  我直接写死的
PM-大葱(530467449)  11:52:24
预览的WIDTH 跟 HEIGHT 交换了
大弟(694107311)  11:52:33
用setRequestedOrientation
可以转
PM-大葱(530467449)  11:53:39
应用层不董了
大弟(694107311)  11:53:53
判断一下 吧
if (Util.isTabletUI()) {
            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        } else {
            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
        }
PM-大葱(530467449)  11:53:56
大弟  求明示
大弟(694107311)  11:55:42
找到ActivityBase.java,在看里面的onCreate()函数,看看有没有if (Util.isTabletUI()) {
            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE);
        } else {
            setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
        },没有的话加在这个函数的最前面,
PM-大葱(530467449)  11:56:23
OK
大弟(694107311)  11:56:46
在调用父类之前
PM-大葱(530467449)  11:58:33
ActivityBase.java  有好几个啊

PM-大葱(530467449)  11:58:33
ActivityBase.java  有好几个啊
./packages/apps/LeacyCamera/
./packages/apps/Camera
./mediatek/packages/apps
PM-大葱(530467449)  11:59:46
大弟,哪个文件夹的  ActivityBase.java 是OK的

你好,你的这个问题解决了吗?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top