Romain Vimont
Romain Vimont
> i am not sure your logic, but I guess it may caused by > outputBufferId == INFO_TRY_AGAIN_LATER == -1 > then in you logic, your will never release You...
> my colleague find that it may caused by our unplug usb event > USB_STATE=DISCONNECTED was not sent out. This event is not sent (and may not be sent) by...
Because if you run `adb shell some_program`, `some_program` is killed when you unplug the device.
Try using `adb shell screenrecord /sdcard/file.mp4`, do you reproduce?
To record the screen without using scrcpy at all, and see if the problem occurs.
Do you use Wayland with SDL 2.0.24? If so, see https://github.com/Genymobile/scrcpy/issues/3431 (`scrcpy -v` to get the version of all libraries) > adb server version (41) doesn't match this client (39);...
> INFO: Renderer: opengles2 I'm surprised that it uses opengles2 rather than opengl. Could you try with another render driver: ``` scrcpy --render-driver opengl ```
There is probably an issue with your drivers then :/ I don't know what else could explain this.
> Turns out scrcpy was just running (apparently) with a size of 0x0 pixels Weird. What are the logs in the console when you start scrcpy?
```cmd adb devices -l echo ℅ADB℅ ``` ?