Scrcpy doesnt work on android 11
On a Raspberry Pi 4B with 4GB of RAM, I installed Emteria.OS v14.4.0 and was able to connect via scrcpy without any issues. However, after installing Emteria.OS v11.11.0, when connecting through scrcpy I don’t see any video output, although I can still click and type through the scrcpy window.
I checked:
adb logcat
and the output shows the following repeating for every streamed frame:
06-23 19:33:10.461 270 270 E CompositionEngine: ANativeWindow::dequeueBuffer failed for display [scrcpy] with error: -32 06-23 19:33:10.461 270 270 W CompositionEngine: Dequeuing buffer for display [scrcpy] failed, bailing out of client composition for this frame 06-23 19:33:10.477 270 270 E CompositionEngine: ANativeWindow::dequeueBuffer failed for display [scrcpy] with error: -32 06-23 19:33:10.477 270 270 W CompositionEngine: Dequeuing buffer for display [scrcpy] failed, bailing out of client composition for this frame
I also tried different scrcpy configurations, including:
scrcpy --no-audio --video-codec=h264 --video-encoder=c2.android.avc.encoder scrcpy --no-audio --video-codec=h264 --video-encoder=OMX.google.h264.encoder scrcpy --no-audio --video-codec=h265 --video-encoder=c2.android.hevc.encoder
None of them helped. On the device side, I also
- enabled ADB over Ethernet
- enabled Wireless display
- Changed maximum resolution
- enabled Wireless debugging
but nothing made a difference. Does anyone have any ideas what might be causing this or how to fix it?
0