-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
Open
Description
Please read the prerequisites to run scrcpy.
Also read the FAQ and check if your issue already exists.
Environment
- OS: Kubuntu 25.04
- Scrcpy version: 3.3.3
- **Installation method: Snap
- **Device model: Samsung s22
- **Android version:16
Describe the bug
I can connect to camera ID=1,2,3 but not 0 which is default
burden@burden-lifebooke546:~$ scrcpy --video-source=camera --camera-id=0 -m720
scrcpy 3.3.3 <https://github.com/Genymobile/scrcpy>
INFO: Camera video source: control disabled
INFO: Camera video source: microphone audio source selected
INFO: ADB device found:
INFO: --> (usb) R3CW403KZPD device SM_S901B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 336.0 MB/s (90164 bytes in 0.000s)
[server] INFO: Device: [samsung] samsung SM-S901B (Android 16)
[server] INFO: Using camera '0'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 580.95.05
INFO: Trilinear filtering enabled
INFO: Texture: 720x480
[server] WARN: Camera disconnected
WARN: Device disconnected
burden@burden-lifebooke546:~$ scrcpy --video-source=camera --camera-id=0
scrcpy 3.3.3 <https://github.com/Genymobile/scrcpy>
INFO: Camera video source: control disabled
INFO: Camera video source: microphone audio source selected
INFO: ADB device found:
INFO: --> (usb) R3CW403KZPD device SM_S901B
/usr/local/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 286.2 MB/s (90164 bytes in 0.000s)
[server] INFO: Device: [samsung] samsung SM-S901B (Android 16)
[server] INFO: Using camera '0'
INFO: Renderer: opengl
INFO: OpenGL version: 4.6.0 NVIDIA 580.95.05
INFO: Trilinear filtering enabled
INFO: Texture: 4080x3064
[server] ERROR: Capture/encoding error: java.io.IOException: android.hardware.camera2.CameraAccessException: The camera device is currently in the error state; no further calls to it will succeed.
[server] INFO: Retrying with -m2560...
[server] WARN: Camera disconnected
WARN: Device disconnected
Metadata
Metadata
Assignees
Labels
No labels