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
Moonlight-qt not working on the lastest Raspbian Bookworm Lite on RPi 5 #1133
Comments
As a workaround could launch moonlight-qt from console by doing this https://forums.raspberrypi.com/viewtopic.php?t=287800#p1742985 E.g. echo '{ "device": "/dev/dri/card1" }' > eglfs.json
QT_QPA_EGLFS_KMS_CONFIG=eglfs.json moonlight-qt This comment states following which might relate to this also?
|
I will need to try this, but it is weird that the workaround is not required on my Pi 4 running Bookmworm Lite |
Same issue here. The workaround suggested by @othnos partially works; it allows moonlight-qt to start in TTY mode instead of crashing, but it doesn't recognise any hardware acceleration. Can't connect to the streaming host; neither in hardware accelerated mode, nor forced software decoder mode. |
I tried fresh Raspberry Pi OS Lite (64-bit) installation done with Raspberry Pi Imager v1.8.3 to USB stick. Seems to work with both software and hardware video decoder. Micro HDMI cable is connected to the port next to power connector. Following is pretty much all I did in addition to Imager ssh etc. setup and connecting PS4 controller with Bluetooth. sudo apt update
sudo apt full-upgrade
curl -1sLf 'https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-qt/setup.deb.sh' | distro=raspbian sudo -E bash
sudo apt install moonlight-qt
sudo apt update
sudo apt upgrade
# Set cli resolution to Full HD just to get text bigger
sudo sed -i '1s/^/video=HDMI-A-1:1920x1080M@60 video=HDMI-A-2:1920x1080M@60 /' /boot/firmware/cmdline.txt
# Use card1 and set hdmi output to Full HD
cat << EOF > eglfs.json
{
"device": "/dev/dri/card1",
"outputs": [
{
"name": "HDMI1",
"mode": "1920x1080"
}
]
}
EOF
QT_QPA_EGLFS_KMS_CONFIG=eglfs.json moonlight-qt
$ ls -l /dev/dri/by-path/
total 0
lrwxrwxrwx 1 root root 8 Dec 16 16:20 platform-1002000000.v3d-card -> ../card0
lrwxrwxrwx 1 root root 13 Dec 16 16:20 platform-1002000000.v3d-render -> ../renderD128
lrwxrwxrwx 1 root root 8 Dec 16 16:20 platform-axi:gpu-card -> ../card1 edit: Host machine is Windows PC with Nvidia GeForce RTX 4070 Ti running sunshine. |
Sorry.. My bad... because of some rather elaborate proxying at my end I couldn't use the default command and lazily did some of the commands manually.. I only just realised I had the debian repo activated, not the raspbian one. After switching and reinstalling all is well now. Sorry for wasting time ... :( |
@othnos nice fix -- this did the trick on a fresh bookworm installation on a raspberry pi 5. And as a bonus I can read the console text now too 😄 |
Thanks for the solution @othnos ! No issues connecting from my pi5 to my Mag-15 running sunshine now! |
Fixed by 011feab The workaround in #1133 (comment) can be used until the next Moonlight release. |
When will the update that fixes this problem be released? |
On a fresh install of Rasbian Bookworm Lite, I have done:
sudo apt update
sudo apt upgrade
curl -1sLf 'https://dl.cloudsmith.io/public/moonlight-game-streaming/moonlight-qt/setup.deb.sh' | distro=raspbian sudo -E bash
sudo apt install moonlight-qt
Then I tried to launch moonlight-qt:
This issue also occurs on the full rasbian bookworm OS when configuring the OS to boot into the console rather than in the graphical environment. When in the graphical environement, everything is working properly.
Note that moonlight-qt works from a console environement when transfering the configured raspbian-lite sd card into a RPi 4, it is however not working on the RPi 5.
The text was updated successfully, but these errors were encountered: