Open cactysman opened 5 years ago
Might be a driver or hardware issue, occurring only when there is a lot of data throughput.
Does it also happen if you reduce the bitrate?
scrcpy -b 2M
scrcpy transfer data over adb
, so it's pretty "high-level" (in that it does not operate at USB level), so I guess such issues should find their cause in lower levels.
Are your mouse and keyboard on some USB hub (the same as your device)?
Hi @rom1v, thanks for your quick reply!
Does it also happen if you reduce the bitrate?
I'll set a reminder to test that tomorrow
Are your mouse and keyboard on some USB hub (the same as your device)?
In both cases mouse, keyboard and phone were plugged into on-board USB ports. At home the phone is connected with a simple cable whereas at work it is connected to a dock (just an USB-C cable on a stand basically) that's connected to one of these Samsung screens¹ with a USB hub in the foot, but that again is plugged into on-board USB ports right next to the other peripherals.
I'll try plugging my phone in in different ways to see what could be causing it.
I had it freeze my keyboard twice today with bitrates 8M
(default) and 192M
.
A noteworthy thing may be the fact that both PCs this occurs on do not offer USB 3 but only USB 2.
And lower (2M)?
(192M is not a relevant setting, the codec will probably not produce a video above 12 or 16 M).
And lower (2M)?
(192M is not a relevant setting, the codec will probably not produce a video above 12 or 16 M).
I just experienced a freeze on 1M
aswell. ☹
Just today I found out that only the "normal" keys freeze, while media keys and a possibly available calculator button still function normally 🤔
This just fried my mouse 😞
I'd like to drop in every once in a while. I think this never happened within the last three months or something like that, meaning that v1.11 may have resolved this issue.
Based on that, I will try and revert to v1.10 later today and see if I can provoke it again, proving that v1.11 did indeed fix it.
Hi.
I discovered scrcpy just today, and it's really great and almost flawless so far! The only thing I found to be annoying is that, when scrcpy is up¹, my USB devices(?) seem to die every now and then. Most noticibly, I had to unplug and re-plug my mouse and keyboard for over 10 times today as they just froze (usually at the same time) and kept spamming inputs.
Where it occured: Two unrelated Windows 10 (1809) computers.
For this to happen it doesn't even matter whether I'm operating inside the scrcpy window or not. scrcpy just has to be running in the background.
If there's anything I can send in for further investigation (like debug logs or some sort of USB crash dumps?), let me know.
¹it happened today for the first time and on two different computers, so it's gotta be scrcpy