Genymobile / Genymobile/scrcpy

ALSA lib pcm.c:8750:(snd_pcm_recover) underrun occurred

Open
#5,152 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
150k
Forks
13.7k
Avg merge
4d 13h
Merged PRs (30d)
2

Description

I am getting this error on android 11:

How do I fix this?

```
scrcpy 2.5
INFO: ADB device found:
INFO: --> (tcpip) 192.168.0.179:5555 device DN2101
/usr/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 174.2 MB/s (69624 bytes in 0.000s)
[server] INFO: Device: [OnePlus] OnePlus DN2101 (Android 11)
INFO: Recording started to matroska file: .mkv
INFO: Renderer: opengl
INFO: OpenGL version: 4.6 (Compatibility Profile) Mesa 24.1.4-arch1.2
INFO: Trilinear filtering enabled
INFO: Texture: 1080x2400
ALSA lib pcm.c:8750:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8750:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8750:(snd_pcm_recover) underrun occurred
ALSA lib pcm.c:8750:(snd_pcm_recover) underrun occurred
```

This is the command I used to download:
`scrcpy --record `
I am on android 11. my phone is OnePlus Nord 2 5G

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Reproduce the report with `scrcpy --record ` on the described Android device and inspect how the ALSA underrun affects recording. Done means the cause and user-visible impact are established, with a verified resolution or a documented limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.