Genymobile / Genymobile/scrcpy

App display corrupted

Open
#3,153 2 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

- [x] I have read the [FAQ](https://github.com/Genymobile/scrcpy/blob/master/FAQ.md).
- [x] I have searched in existing [issues](https://github.com/Genymobile/scrcpy/issues).

**Environment**
- OS: NixOS
- scrcpy version: 1.20
- installation method: nixpkgs
- device model: Xiaomi M2101K6G
- Android version: 11

**Describe the bug**
Visual corruption of opengl viewport (?).
Here's a preview of what's happening: https://i.imgur.com/qtl6bDb.png

Notice that only part of the UI gets corrupted. It's not just scrcpy that displays the artifacts, but the app itself seems to get corrupted.

This also happens when running `adb screenrecord`, I haven't checked the video file, but as soon as I start `adb screenrecord`, the app gets corrupted on the phone screen.

```
scrcpy
```

Please do not post screenshots of your terminal, just post the content as text instead.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the corruption with `scrcpy` and `adb screenrecord` on the listed NixOS, Xiaomi, and Android 11 setup. Compare the phone display and recording behavior to determine which rendering path is affected; done means the artifacts no longer appear during mirroring or recording.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, nixos
Domain
computer-graphics, mobile
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.