scrcpy
scrcpy copied to clipboard
Half screen is black when rotating in landscape
Environment
- OS: Windows 10 21H2
- scrcpy version: 1.22
- installation method: Windows release
- device model: Samsung Galaxy S10e SM-G970F (not rooted)
- Android version: 12
Describe the bug Sometimes, after opening scrcpy to view my Galaxy S10e, when I rotate the screen horizontally, the right half of the screen remains completely black.
This bug is difficult to reproduce because it does not always happen but it is very annoying because the only 2 ways I have found to eliminate the black half is to restart Android (obviously) or to activate "Simulate secondary displays".
I'm not even sure it's caused by scrcpy but I tried for a week never to connect scrcpy to the smartphone and this bug never happened.
Looks like a bug on the device ROM (which may be triggered by capturing the screen, but a bug on the device nonetheless).
Same issue with Samsung Galaxy Tab A7. Reconnect USB-Cable solve this problem at this moment
Good way to fix the problem when it happens @Basti189. More precisely I reconnected the USB cable and run scrcpy over USB (usually I run it over Wi-Fi) and the half black screen got fixed.
I found another workaround. Run with param "-m 1600" and it works for me.
Sorry for my bad English (it's not my native language, I'm using google translator), but I discovered the problem, in the "developer options" tab, scroll until you find "minimum width" probably the minimum width of the smartphone is smaller than the one that runs on the scrcpy, I had the same problem, I set the maximum size to 800p and the width was 376p, and the "minimum width" in the developers option was 400 and something (I don't remember) and just put the minimum pixel width in same minimum pixel width configured in scrcpy