-
Notifications
You must be signed in to change notification settings - Fork 653
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
Full Install Guide For Raspi 4 Bookworm [HDMI Audio/Wifi/XBox Bluetooth Controller/Autostart] #1484
Comments
Hi, thanks for the guide. I'm trying to make Moonlight to work on Debian Bookworm but I'm having a weird issue (see #1480). Can I ask you if and what did you modify in /boot/firmware/config.txt and /boot/firmware/cmdline.txt? What's the resolution of your monitor attached to the pi? Thanks! |
Hi Daniele. Thanks to reading my guide. Change nothing in the config.txt. Out of the box is perfect for moonlight. Only the commands from the Guide is enough. Use wifi 5ghz only with 720p 30 Hz in the Moonlight settings. edit: with HEVC/Hardware Encoding you can use higher resolutions |
Thanks for this guide! I was following a few other guides online, but this one covered everything needed with the least amount of hiccups, besides a few tweaks to get HDMI audio to work. A few questions,
I'm on a Raspberry Pi 4 running Bookwork OS Lite, on a wired LAN. (my Sunshine host is on a wireless 802.11ax 5Ghz connection.). I'm not expecting much from an older device like this, but I'm wondering if 4K is possible with some config changes, given the near-perfect streaming I get with 1440p@60Hz. |
On 1080p you will need these environment variables:
These were extracted from the source code of a Kodi addon I use on my system: https://github.com/veldenb/plugin.program.moonlight-qt/blob/main/resources/bin/bootstrap_moonlight-qt.sh
I don't think the Pi 4 can handle Moonlight at 4k@60Hz. You could try reducing the bitrate. |
Here's what I'm doing on RPi 3B+ for embedded and RPi 4B for QT eglfs, both on RaspiOS bookworm. Includes some shenanigans for autostarting the systemd service via GPIO when the TV is powered on. Not really a guide, just a dump of my setup. https://gist.github.com/Dregu/1163dddcd879d0ed390707a2b3dead30 |
[14.12.2024]
Hi, I have gathered some information from the internet. Perhaps this will save some people from having to search as much.
Updating the Raspberry Pi
Install Moonlight-Qt
Optional Configurations
HDMI Audio Configuration (use the HDMI Port near the USB-C Power)
A7 Audio Config
1 PulseAudio
1 System Options
S2 Audio
1 vc4-hdmi-0
WiFi 5GHz only
Edit Network Configuration:
[wifi]
, add:Save and Exit:
<CTRL+C>
, then<Y>
, and<Enter>
to save.Moonlight settings
Bluetooth Controller Setup
Autostart Moonlight-Qt
Configure Autostart Settings:
1 System Options
S5 Boot
B2 Console Autologin
Create a Systemd Service for Moonlight:
Add the Following Service Configuration: (change the Username)
Save and Exit:
<CTRL+C>
, then<Y>
, and<Enter>
to save.Enable and Start the Service:
sudo systemctl enable moonlight.service sudo systemctl start moonlight.service
reboot and have fun!!!
The text was updated successfully, but these errors were encountered: