Failed to connect to blissos vm
## Environment
- **OS:** Arch linux
- **Scrcpy version:** 3.3.4
- **Installation method:** pacman
- **Device model:** Bliss OS
- **Android version:** 13
## Describe the bug
When i connect to my device (bliss os vm in proxmox), it doesnt work and display an error.
```
❯ scrcpy --no-audio
scrcpy 3.3.4 <https://github.com/Genymobile/scrcpy>
INFO: ADB device found:
INFO: --> (tcpip) 192.168.1.44:5555 device Generic_Android_x86_64
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 189.4 MB/s (90980 bytes in 0.000s)
[server] INFO: Device: [unknown] QEMU Generic Android-x86_64 (Android 13)
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 595.71.05
INFO: Trilinear filtering enabled
INFO: Texture: 1080x1920
[server] INFO: Retrying with -m1600...
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1280...
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] INFO: Retrying with -m1024...
[server] INFO: Retrying with -m800...
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] ERROR: Capture/encoding error: java.lang.IllegalStateException: null
[server] ERROR: Exception on thread Thread[video,5,main]
java.lang.IllegalStateException
at android.media.MediaCodec.native_dequeueOutputBuffer(Native Method)
at android.media.MediaCodec.dequeueOutputBuffer(MediaCodec.java:3572)
at com.genymobile.scrcpy.video.SurfaceEncoder.encode(SurfaceEncoder.java:202)
at com.genymobile.scrcpy.video.SurfaceEncoder.streamCapture(SurfaceEncoder.java:110)
at com.genymobile.scrcpy.video.SurfaceEncoder.lambda$start$0$com-genymobile-scrcpy-video-SurfaceEncoder(SurfaceEncoder.java:296)
at com.genymobile.scrcpy.video.SurfaceEncoder$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0)
WARN: Device disconnected
at java.lang.Thread.run(Thread.java:1012)
Killed
```
[adb_logs.txt](https://github.com/user-attachments/files/28183613/temp.txt)
0 条评论