-
Notifications
You must be signed in to change notification settings - Fork 353
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
Nothing happens after starting server #296
Comments
Same issue here. I have the excact same problem. This is the output I am getting as I'm sure you're getting as well: pi@raspberrypi2:~/RPiPlay/build $ ./rpiplay -n Monitor -a hdmi |
Are you using Bullseye? |
Yes I am. I did a fresh install of rp os lite this morning. and ofcource apt update and upgrade . Raspbian GNU/Linux 11 (bullseye) |
Please try the newest Buster image instead and let us know whether you see the same issues. |
I have exactly the same result and messages on a clean |
That suggests gstreamer is not properly configured on your system. |
How can I fix gstreamer not working? |
My suggestion would be reading through other similar issues that were eventually resolved. Gstreamer support was written by other contributors, so maybe they can help better here. |
I installed the Buster image and gstreamer (again). I followed a few threads that where suggesting I should install all of the dependencies again which are shown in the README and additional installs: sudo apt-get install libgstreamer1.0-0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio None of these seems to be working. Any other ideas maybe? |
Same here. To move forward, my output of the
❓ Where does RPiPlay look to find gstreamer? An env variable to set maybe? |
Please post the cmake output. |
I've got the same issue. cmake outputs the following: and make -j this: |
Same Problem on Rpi Bullseye and Ubuntu Server 21.10, please help :). And thanks btw. for the nice Program :) |
ok maybe stupid but when I start it with sudo I get: does this help? |
☝️ One remarque after reading the cmake output: I notice that there are gstreamer modules checks at the beginning of the compilation. |
Update. I installed GStreamer (my bad, I didn't realize it was a needed requirement). It definitely works, but streaming doesn't work yet. What I did:
I successfully saw a test stream on the target screen!
Results:
Unfortunately, it still doesn't show anything, even if GStreamer does indeed work. |
I had the same issue after updating my Pi Zero W to Raspberry Pi OS Bullseye yesterday (fully sudo apt upgraded). I reinstalled Buster (the previous version) and it works now. The issues I had was: |
So this sounds like it is somewhat related to #294 |
If it can help, I downloaded Raspian Buster Lite (2020), and followed the entire procedure again. It worked! |
where did you download buster lite en what steps did you exactly follow? I would really like to try according to your taken steps. |
Yes me 2 :) |
I have installed Buster Lite. installed everything that was needed. Up untill the "make -j" command everything went smooth. While executing the command I get the following errors -> any Idea how to fix this??: cc1plus: out of memory allocating 65536 bytes after a total of 688128 bytes cc1plus: out of memory allocating 65536 bytes after a total of 745472 bytes cc1plus: out of memory allocating 65536 bytes after a total of 741376 bytes |
Out of memory issue... Which is your Raspi model? Quick update on my side
I've also tried a |
Raspberry 2 |
Installing Raspbian buster lite (2020) worked for me too! |
Downloaded it here. Remember to do a full |
In case of memory issues during compilation, try |
It worked!! the steps I took were as follow:
4.5. Instead of "make -j" I used "make -j2" because I encountered some memory allocating issues. It went to a black screen as said and I could finally mirror my IPhone. Hope this helps |
Finally got it working with my
sudo apt update
sudo apt upgrade
sudo rpi-update
sudo reboot
sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
sudo apt-get install git
git clone https://github.com/FD-/RPiPlay.git
cd RPiPlay
sudo apt-get install cmake
sudo apt-get install libavahi-compat-libdnssd-dev
sudo apt-get install libplist-dev
sudo apt-get install libssl-dev
mkdir build
cd build
cmake --DCMAKE_CXX_FLAGS="-O3" --DCMAKE_C_FLAGS="-O3" ..
sudo apt install libgles-dev libegl-dev
sudo ln -s /usr/lib/arm-linux-gnueabihf/libGLESv2.so /usr/lib/libbrcmGLESv2.so
sudo ln -s /usr/lib/arm-linux-gnueabihf/libEGL.so /usr/lib/libbrcmEGL.so
sudo reboot
|
I tried that but I got: aacDecoder_DecodeFrame error : 0x4002 Edit: If I use the Screen Mirroring than it works, but not fluently. On RPi Zero2 When using gstreamer for Audio I get Also my sound when testing it with RPI 3+ is also really bad it soulds like it cant handle the sound stream and scambels it in short cunks. Do i need to somehow increase a Buffer size or what could be the problem? Picture functions great when streaming with my Iphone SE_2 btw :) EDIT_Works! there is no choppy sound no more :))))!!! |
If you only need Audio, that worked directly, https://github.com/juhovh/shairplay |
@FD- consider updating readme please For my RPi 3B+ and iphone 12 I had to make following steps over SSH:
|
Just for clarity: If you use Buster on a Raspberry Pi, you won't need any of the gstreamer stuff. |
i will try again, but im almost sure it did not work at a time I tried. |
Hi, thanks for the tutorials here!
Is that due to the fact that you described in another issue regarding 64bit libraries not being available? Thanks! |
@adoconnection Was right. Installing that and rebuilding fixes all your problems. |
@FD- Could you please update the README so the guide works with the latest Raspberry Pi image? (bullseye presumably?) EDIT: @wdcossey: I tried your guide and I finally managed to compile it on Bullseye. However, both of my HDMI outputs still just show the boot log and TTY login when I connect with a client. My setup: Raspberry Pi 4B |
@albocc does Raspbian Lite come with a window manager? If not that may be your problem. |
@Ccode-lang It does not, that is what the lite version is for. But I do not think that is necessary because I tried a docker image somebody else built which seemed to work. However, I would like to build it myself. |
I have same issue with Raspberry Pi B+ with latest Raspberry Pi OS Lite ( release 28 January 2022), so I've decided to try with Buster and it worked. Thanks for detailed steps. |
@bad2uXX "so I've decided to try with Buster and it worked." That's great for now, but the goal has to be to fix the guide for the latest release of Raspbian. At one point Buster will no longer be old-stable but instead deprecated and then this project stops working? Simply pointing to the old distro release is not a solution @FD- |
I also don't get it to work.
And when executing RPIPlay there are no errors, but the hdmi output continues showing the login prompt instead of turning black:
Any ideas? |
There no need to burn particular image and of course there is no need to have window manager hence the guide is about Raspbian Lite.
I followed the @wdcossey's guide (thanks for that), with only one addition (and I think with only one exclusion The main problem with new Raspbian is, that there isn't firmware files that RPiPlay needs for compilation:
Hope it helps. |
Coming to you from the year 2023!I got this process to work on the Pi Zero 2 W, but had to resort to the 2021-05-28 version of Buster. At the top of the process on a fresh install, though, we of course had to get git: And to put it altogether in the end, I opted for: To get it running and keep it running, though, it seems to only intermittently work unless low latency mode is on and the audio option for hdmi also has to be set: If you plan to have this launch on boot up, however, the same process from the RPiPlay wiki works, but you'll want to add those mentioned options right after the RPiPlay binary path.
Hope this helps to keep this project running for us all! Why buy a Google Chromecast when you could spend 15$ and several hours to get the results you want and slide a comment on a GitHub chat board? Lol |
The only way I got it to work is by installing it on Raspberry Pi OS Buster not Bullseye. See 364 |
I’m quite sure this is something trivial, but I can’t get out of it.
I have a Raspberry Pi 3+ with a fresh Raspberry Pi OS Lite installed. If I plug an HDMI cable to the Pi, the CLI fires up on screen, as Lite doesn’t have any GUI. So far so good.
I successfully installed RPiPlay following the README instructions. I have it running via an
ssh
connection, in atmux
pane to avoid the command to stop after I drop the connection. The command isrpiplay -n “TV” -a hdmi
. Everything runs smoothly, and I start seeing the server on both my iPad and iPhone.If I select it as an AirPlay target to stream anything (be a video or screen mirroring), nothing happens on the monitor to which the Pi is connected (via HDMI). I just keep seeing the CLI. I saw in other issues that Lite is a supported OS, so I cannot understand what I’m missing.
I also tried to plug a keyboard directly to the board and run the command from there, but - still - nothing happens: only debug logs and the CLI itself.
What am I missing?
The text was updated successfully, but these errors were encountered: