-
-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aarch64 version on linux #5904
Comments
I checked your instruction page, but the version in Ubuntu repo is still 1.25. By the way, I encountered a severe delay (10~15s) after running for about 2 minutes, on my Raspberry Pi. But that's probably the version 1.25, so I don't think I should open an Issue for it, and the newest version works fine on a Windows device (which I am NOT always available) |
The CI script should be adapted to add a build for Closing as duplicate of #5800 #5899
You must not installed from your package manager (obsolete version), but from
Over USB? Probably the decoder is not fast enough. Try reducing the resolution ( |
@rom1v Do you mean that I should fork this repository, and modify I just learnt for github actions several day ago for my newst project. |
The release is built by the CI (GitHub Actions). The script is: https://github.com/Genymobile/scrcpy/blob/master/.github/workflows/release.yml
Yes, and if you do that, please submit a PR so that the next release will be built for arm too for Linux. 👍 |
@rom1v Though as I downloaded the artifact and run it, here's the output:
It looks like some kind of encoding problems, but I have no idea why that happens and I don't know how to fix it either. modified workflow's here: |
@rom1v
I traced it back, and it seemed that adb was packed in by It just seemed that there isn't a version for arm64/aarch64. I searched on the Interent about the correct filename bu didn't find anything valid. (didn't even find a list for dl.google.com/android/repository) I also tried to used aria2 to download it. I tried these names:
and none of them exists. I also tried 34.0.4 and latest, but still doesn't exists. I still have no idea to solve this. Is it ok to just open a pull request so you can solve it? All the packaging is completed and the workflow passed successfully. Or please tell me how to modify that. You can find my edited version in https://github.com/Tianming-Wu/scrcpy-arm-build/app/deps/adb_linux.sh . By the way I live in UTC+8, so I may reply late. Thank you very much for your assist. |
Indeed, they do not distribute a prebuilt binary for Linux ARM (their releases are referenced by https://dl.google.com/android/repository/repository2-2.xml).
We would need a script to build adb by ourselves (like we build SDL, FFmpeg and libusb). Sure, open a PR. I will probably not have time to work on this, but at least part of the work is done. |
@rom1v I searched that xml file, and yes there is only one linux file. Would you accept the temporarly solution: Sin that would modify the process, and I didn't fully understand how your packaging work, That edit should be done by you. |
Feature request:
I saw that there is aarch64 version for mac, would there be one for linux?
Alternative:
Provide a build guide for linux aarch64 (Debian/Ubuntu, Raspian) for example.
The text was updated successfully, but these errors were encountered: