Question regarding performance of scrcpy

331 views
Skip to first unread message

Guan Zhang

unread,
Dec 6, 2020, 9:54:47 PM12/6/20
to Android-x86
Hi all, I have a performance question regarding using scrcpy to remote control a PC running Android-x86. AFAIK it uses adb for the screen mirroring and remote control.

On an actual Android device, I am getting the following bandwidth via adb (USB):

$ adb push testfile /sdcard/
testfile: 1 file pushed, 0 skipped. 4.2 MB/s (104857600 bytes in 24.009s)

And this is the output transferring the same file to the PC (gigabit LAN):

$ adb push testfile /sdcard/
testfile: 1 file pushed, 0 skipped. 70.6 MB/s (104857600 bytes in 1.416s)

As you can see, the bandwidth is higher on the PC than the actual Android device, however when I use scrcpy to remote control, there is a huge lag between when I click to actually seeing any changes on the side that's mirroring, so I'm not sure whether the issue has something to do with video encoding/decoding.

Would appreciate if someone can shed some light into this. The PC is an Intel i7 with GeForce 9800GT. OS is PhoenixOS DarkMatter. I can provide additional details if you think it would help, thank you!

Mitchel Stewart

unread,
Dec 6, 2020, 9:57:15 PM12/6/20
to andro...@googlegroups.com
pull, don't push, also this is better asked of the scrcpy community

From: andro...@googlegroups.com <andro...@googlegroups.com> on behalf of Guan Zhang <gz.l...@gmail.com>
Sent: Sunday, December 6, 2020 9:54:47 PM
To: Android-x86 <andro...@googlegroups.com>
Subject: Question regarding performance of scrcpy
 
--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/3437abc5-be96-4ba9-80c0-bf5aebc84a16n%40googlegroups.com.

Guan Zhang

unread,
Dec 6, 2020, 9:59:21 PM12/6/20
to Android-x86
Okay I will do a pull test later and report back. I did ask the scrcpy devs but didn't get a response, so I thought I'd try my luck here. Thanks for the response!
Message has been deleted

crw

unread,
Dec 8, 2020, 6:45:39 AM12/8/20
to Android-x86
I think it's because of your gpu. Nvidia gpu doesn't support hardware accelerated codecs and have poor performance in android x86
Probably it's using software codec and your old cpu can't handle it, why don't you try android x86 on your new mac pc instead of remote controlling old pc?
Reply all
Reply to author
Forward
0 new messages