-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Device: Google Pixel 9
OS: Android 15
Logcat:
com.dz.camerafast I New image 9197564 arrived! │
com.dz.camerafast I Supports USAGE_CPU_READ_RARELY, USAGE_CPU_READ_OFTEN, USAGE_CPU_WRITE_RARELY, USAGE_CPU_WRITE_OFTEN │
com.dz.camerafast I HW buffer from camera does not support AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE. │
com.dz.camerafast I Allocating GPU HW buffer manually. Result: 0 │
com.dz.camerafast E Lock is not supported for AFBC enabled buffers.Internal Format:0x20100000001 │
com.dz.camerafast E Locking failed with error: 7
This happens immediately on first running the app.
Adding CPU write flag for usage (core_engine.cpp) fixes the problem.
.usage = AHARDWAREBUFFER_USAGE_GPU_SAMPLED_IMAGE | AHARDWAREBUFFER_USAGE_GPU_FRAMEBUFFER | AHARDWAREBUFFER_USAGE_CPU_WRITE_OFTEN
Any details from the authors on whether this is expected or why it happens?
Thanks
yunikkk
Metadata
Metadata
Assignees
Labels
No labels