any way to install scrcpy on AVL MXE?  [Solved]

For issues with MX that has been modified from the initial install. Example: adding packages that then cause issues.
Message
Author
User avatar
IndioBlanco
Posts: 20
Joined: Sun May 25, 2025 3:23 am

any way to install scrcpy on AVL MXE?

#1 Post by IndioBlanco »

I've tried the methods that worked for me on Ubuntu, and now, even following the steps on the website https://github.com/Genymobile/scrcpy/bl ... c/linux.md , I can't get it. I get a "Git error" in the final steps of the process.
Does anyone know how to do this correctly on this distro? I've been looking through the forum and haven't found anything that resolves my question, or I haven't found the right post...
A little help?
AVL MXE Enlightenment 23.5
AMD QuadCore Processor E2 3800
17" LCD AMD Radeon HD 8280
16GB RAM DD3 500GB SDD

User avatar
CharlesV
Global Moderator
Posts: 7310
Joined: Sun Jul 07, 2019 5:11 pm

Re: any way to install scrcpy on AVL MXE?

#2 Post by CharlesV »

There appears to be a topic discussing the install here
viewtopic.php?p=739021#p739021
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
IndioBlanco
Posts: 20
Joined: Sun May 25, 2025 3:23 am

Re: any way to install scrcpy on AVL MXE?

#3 Post by IndioBlanco »

thanks, I've tried it now and don't works
AVL MXE Enlightenment 23.5
AMD QuadCore Processor E2 3800
17" LCD AMD Radeon HD 8280
16GB RAM DD3 500GB SDD

User avatar
CharlesV
Global Moderator
Posts: 7310
Joined: Sun Jul 07, 2019 5:11 pm

Re: any way to install scrcpy on AVL MXE?

#4 Post by CharlesV »

When I just tried to install it there appears to be a mismatch of versions of libswresample-dev, and the correct one is in the test repo. so I did the following and it installed.

MX Package Installer, search for libswresample-dev
change to test repo and uncheck "hide Library and developer packages"
Install libswresample-dev


Then Download scrcpy 2.1.1 from
https://github.com/Genymobile/scrcpy/ar ... 1.1.tar.gz


Extract the downloaded file to desired location and then edit install_release.sh to get the correct scrcpy server installed. Change lines 5 & 6 to this.

Code: Select all

PREBUILT_SERVER_URL=https://github.com/Genymobile/scrcpy/releases/download/v2.1.1/scrcpy-server-v2.1.1
PREBUILT_SERVER_SHA256=9558db6c56743a1dc03b38f59801fb40e91cc891f8fc0c89e5b0b067761f148e

then in a terminal where the script you changed is located, run

Code: Select all

./install_release.sh

*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
kmathern
Developer
Posts: 2523
Joined: Wed Jul 12, 2006 2:26 pm

Re: any way to install scrcpy on AVL MXE?

#5 Post by kmathern »

IndioBlanco wrote: Thu Jun 12, 2025 12:26 pm I've tried the methods that worked for me on Ubuntu, and now, even following the steps on the website https://github.com/Genymobile/scrcpy/bl ... c/linux.md , I can't get it. I get a "Git error" in the final steps of the process.
Does anyone know how to do this correctly on this distro? I've been looking through the forum and haven't found anything that resolves my question, or I haven't found the right post...
A little help?
Not sure about AVL, but those instructions work for me in a MX-23.6-ahs live session. I don't know why they wouldn't work in AVL as well.
It does look like scrcpy was updated just yesterday to version 3.3, so maybe things were still in a state of flux when you were trying to installing it.

The git clone step

Code: Select all

demo@mx1:~
$ git clone https://github.com/Genymobile/scrcpy
Cloning into 'scrcpy'...
remote: Enumerating objects: 40122, done.
remote: Counting objects: 100% (245/245), done.
remote: Compressing objects: 100% (107/107), done.
remote: Total 40122 (delta 180), reused 142 (delta 136), pack-reused 39877 (from 5)
Receiving objects: 100% (40122/40122), 7.41 MiB | 10.37 MiB/s, done.
Resolving deltas: 100% (26182/26182), done.
demo@mx1:~

The install steps (I'm not showing the "apt install ffmpeg libsdl2-2.0-0 adb ...." step, which installs the required packages)

Code: Select all

$ cd scrcpy/
demo@mx1:~/scrcpy
$ ./install_release.sh 
[scrcpy] Downloading prebuilt server...
--2025-06-12 21:36:04--  https://github.com/Genymobile/scrcpy/releases/download/v3.3/scrcpy-server-v3.3
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/111583593/2dc9e88f-0e90-4e0a-870a-8f1e4781e14d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250613T013604Z&X-Amz-Expires=300&X-Amz-Signature=787e860496ec56c0cba29e6a60a7b87b09c267707c11c9caa8b7dfe59fc3be76&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dscrcpy-server-v3.3&response-content-type=application%2Foctet-stream [following]
--2025-06-12 21:36:04--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/111583593/2dc9e88f-0e90-4e0a-870a-8f1e4781e14d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250613%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250613T013604Z&X-Amz-Expires=300&X-Amz-Signature=787e860496ec56c0cba29e6a60a7b87b09c267707c11c9caa8b7dfe59fc3be76&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dscrcpy-server-v3.3&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.111.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 90752 (89K) [application/octet-stream]
Saving to: ‘scrcpy-server’

scrcpy-server                      100%[================================================================>]  88.62K  --.-KB/s    in 0.02s   

2025-06-12 21:36:04 (5.70 MB/s) - ‘scrcpy-server’ saved [90752/90752]

[scrcpy] Verifying prebuilt server...
scrcpy-server: OK
[scrcpy] Building client...
The Meson build system
Version: 1.5.1
Source dir: /home/demo/scrcpy
Build dir: /home/demo/scrcpy/build-auto
Build type: native build
Project name: scrcpy
Project version: 3.3
C compiler for the host machine: cc (gcc 12.2.0 "cc (Debian 12.2.0-14) 12.2.0")
C linker for the host machine: cc ld.bfd 2.40
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency libavformat found: YES 59.27.100
Run-time dependency libavcodec found: YES 59.37.100
Run-time dependency libavutil found: YES 57.28.100
Run-time dependency libswresample found: YES 4.7.100
Run-time dependency sdl2 found: YES 2.26.5
Run-time dependency libavdevice found: YES 59.7.100
Run-time dependency libusb-1.0 found: YES 1.0.26
Checking for function "strdup" : YES 
Checking for function "asprintf" : YES 
Checking for function "vasprintf" : YES 
Checking for function "nrand48" : YES 
Checking for function "jrand48" : YES 
Checking for function "reallocarray" : YES 
Header "sys/socket.h" has symbol "SOCK_CLOEXEC" : YES 
Configuring config.h using configuration
Build targets in project: 2

scrcpy 3.3

  User defined options
    buildtype      : release
    strip          : true
    b_lto          : true
    prebuilt_server: scrcpy-server

Found ninja-1.11.1 at /usr/bin/ninja
[76/76] Linking target app/scrcpy
[scrcpy] Installing (sudo)...
[0/1] Installing files.
Installing app/scrcpy to /usr/local/bin
Stripping target 'app/scrcpy'.
Installing server/scrcpy-server to /usr/local/share/scrcpy
Installing /home/demo/scrcpy/app/scrcpy.1 to /usr/local/share/man/man1
Installing /home/demo/scrcpy/app/data/icon.png to /usr/local/share/icons/hicolor/256x256/apps
Installing /home/demo/scrcpy/app/data/zsh-completion/_scrcpy to /usr/local/share/zsh/site-functions
Installing /home/demo/scrcpy/app/data/bash-completion/scrcpy to /usr/local/share/bash-completion/completions
Installing /home/demo/scrcpy/app/data/scrcpy.desktop to /usr/local/share/applications
Installing /home/demo/scrcpy/app/data/scrcpy-console.desktop to /usr/local/share/applications
demo@mx1:~/scrcpy
$

A test run

Code: Select all

$ scrcpy -v
scrcpy 3.3 <https://github.com/Genymobile/scrcpy>

Dependencies (compiled / linked):
 - SDL: 2.26.5 / 2.26.5
 - libavcodec: 59.37.100 / 59.37.100
 - libavformat: 59.27.100 / 59.27.100
 - libavutil: 57.28.100 / 57.28.100
 - libavdevice: 59.7.100 / 59.7.100
 - libusb: - / 1.0.26
demo@mx1:~/scrcpy
$ 

And also found this post helpful: viewtopic.php?p=797501#p797501 in getting it going.

User avatar
IndioBlanco
Posts: 20
Joined: Sun May 25, 2025 3:23 am

Re: any way to install scrcpy on AVL MXE?

#6 Post by IndioBlanco »

;) thanks , i'm going to try this way...
AVL MXE Enlightenment 23.5
AMD QuadCore Processor E2 3800
17" LCD AMD Radeon HD 8280
16GB RAM DD3 500GB SDD

User avatar
IndioBlanco
Posts: 20
Joined: Sun May 25, 2025 3:23 am

Re: any way to install scrcpy on AVL MXE?

#7 Post by IndioBlanco »

Nada amigo, me sigue dando el mismo error que ayer tras ejecutar el ./install_release.sh ::)
Image
AVL MXE Enlightenment 23.5
AMD QuadCore Processor E2 3800
17" LCD AMD Radeon HD 8280
16GB RAM DD3 500GB SDD

User avatar
CharlesV
Global Moderator
Posts: 7310
Joined: Sun Jul 07, 2019 5:11 pm

Re: any way to install scrcpy on AVL MXE?

#8 Post by CharlesV »

IndioBlanco wrote: Fri Jun 13, 2025 12:17 pm Nada amigo, me sigue dando el mismo error que ayer tras ejecutar el ./install_release.sh ::)
Image
English in this forum please. If you need too the topic can be moved to the spanish forum.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Eadwine Rose
Administrator
Posts: 14618
Joined: Wed Jul 12, 2006 2:10 am

Re: any way to install scrcpy on AVL MXE?

#9 Post by Eadwine Rose »

No the topic cannot be moved. It has started in English, it needs to stay in that language.
MX-23.6_x64 July 31 2023 * 6.1.0-37amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
IndioBlanco
Posts: 20
Joined: Sun May 25, 2025 3:23 am

Re: any way to install scrcpy on AVL MXE?

#10 Post by IndioBlanco »

excuse me ...I went to me, it was a mistake with the automatic translator of the browser
AVL MXE Enlightenment 23.5
AMD QuadCore Processor E2 3800
17" LCD AMD Radeon HD 8280
16GB RAM DD3 500GB SDD

Post Reply

Return to “MX Modified”