Skip to content
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

Cast not work or work slowly #119

Open
marcinzel opened this issue Nov 18, 2021 · 3 comments
Open

Cast not work or work slowly #119

marcinzel opened this issue Nov 18, 2021 · 3 comments

Comments

@marcinzel
Copy link

Hi, I have problem with run cast from phone to MMM-ScreenCast. My board is RPI4. Other modules work ok. I run npm in debug mode and paste below log. Please help me repair issue.

[18.11.2021 22:20.22.794] [LOG] screencast stdout:

[email protected] start /home/pi/MagicMirror/modules/MMM-Screencast
electron app.js

[18.11.2021 22:20.24.493] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[18.11.2021 22:20.25.282] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall
[18.11.2021 22:20.25.284] [LOG] screencast stderr: 0403

[18.11.2021 22:20.26.007] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall
[18.11.2021 22:20.26.009] [LOG] screencast stderr: 0403

[18.11.2021 22:20.26.110] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[18.11.2021 22:20.26.197] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[18.11.2021 22:20.26.285] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[18.11.2021 22:20.26.320] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall
[18.11.2021 22:20.26.322] [LOG] screencast stderr: 0403
[18.11.2021 22:20.26.323] [LOG] screencast stderr:

[18.11.2021 22:20.26.359] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall
[18.11.2021 22:20.26.360] [LOG] screencast stderr: 0403
[18.11.2021 22:20.26.362] [LOG] screencast stderr:

[18.11.2021 22:20.26.399] [LOG] screencast stderr: ../../sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0403

[18.11.2021 22:20.26.409] [LOG] screencast stderr: [1818:1118/222026.409162:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

[18.11.2021 22:20.26.462] [LOG] closing code: 0

@kevinatown
Copy link
Owner

@marcinzel this is an odd one. do you have any more info or any more logs? Can you try and run it like:

display=:0 npm start >> log.log

can you also provide me with info on the OS you using on your RPI?

@poucedeleon
Copy link

Good Afternoon Kevin. I have just enterer into the RaspberryPi world and chose your module as my first to install. I have a new install on a Pi 4b 4gb (rev C03112), Raspbian GNU/Linux 11 (bullseye) My MagicMirror2 install only has the default modules installed, which are all working fine. I have installed MMM-Screencast with no problem, and have added the configuration.

When I try to cast Youtube from my iPhone XS Max or iPad Pro, I can see the pi (MirrorCast) but they do not connect. On the iOS devices the cast icon just flashes, but never connects. I have read every post I could find on this issue, but have not been able to resolve the problem.

I configured MMM-Screencast is it's default position, and have ensured there are no other modules conflicting with this position.
I have attached my install log and the log from the procedure you listed above
RaspberryPi Logs.zip
IMG_0072
IMG_0071
.

@mearkats
Copy link

Personally, I've found this to be a performance limitation of the Raspberry Pi's, I was trying to use this with MagicMirror2 and a Raspberry Pi 3B and the performance was shocking, switched this out for an old 2011 MacMini and it works wonders now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants