Closed shoulih closed 1 year ago
I'm having the same issue
I tried running bootstrap_moonlight-qt.sh myself and the error I got was mkdir: can't create directory '/moonlight-home': Read-only file system
Here is the output from that bootstrap script when ran from Kodi
Platform 'rpi' running 'libreelec' detected...
Loading profile...
Using Qt library from /storage/.kodi/userdata/addon_d
Running without window manager...
Detected resolution 4096,2160...
Using Qt scale factor 0.77...
Custom ALSA audio device: 'hdmi:CARD=vc4hdmi0,DEV=0'
Using Kodi hooks for libreelec...
--- Starting Moonlight ---
00:00:00 - Qt Info: Unable to detect Wayland or X11,
00:00:00 - Qt Info: Setting display mode by default.
00:00:00 - SDL Info (0): Compiled with SDL 2.23.0
00:00:00 - SDL Info (0): Running with SDL 2.23.0
00:00:00 - Qt Info: No translation available for "C"
00:00:00 - Qt Warning: qrc:/gui/main.qml:12:1: QML Ap
00:00:00 - Qt Info: Found "gamecontrollerdb.txt" at "
00:00:00 - SDL Info (0): Loaded 208 new gamepad mappi
00:00:00 - SDL Info (0): V-sync disabled
00:00:00 - SDL Info (0): Sharing DRM FD with SDL
Segmentation fault
There seems to be a change from moonlight-qt_4.1.0-1_arm64 to moonlight-qt_4.1.0-2_arm64 that causes this. I'll see if I can find something that is causing the issue.
Does this version work for now? It should install the second last moonlight build: https://github.com/veldenb/plugin.program.moonlight-qt/releases/download/v0.1.6/plugin.program.moonlight-qt-0.1.6.zip
That does work! Thank you! Do you know if there is a way to exit moonlight without a keyboard attached?
It's a workaround for now and installs moonlight 4.1.0-1 instead of 4.1.0-2. You should be able to use your joypad to exit moonlight by pressing B several times and confirm with A when you see an confirmation dialog.
Does this version work for now? It should install the second last moonlight build: https://github.com/veldenb/plugin.program.moonlight-qt/releases/download/v0.1.6/plugin.program.moonlight-qt-0.1.6.zip
I was able to launch Moonlight now, but I can't connect to the remote Game server from Azure Cloud with Nvidia Gamestream enabled for some reason.
May be this is what I need:
I can't connect to my VM using Moonlight. You need to forward the ports on your machine. The ports you need to forward are 47984, 47989, 48010 TCP and 47998, 47999, 48000, 48010 UDP. If you're having more problems try downloading the Moonlight Internet Streaming Tool and troubleshooting it.
It's a workaround for now and installs moonlight 4.1.0-1 instead of 4.1.0-2. You should be able to use your joypad to exit moonlight by pressing B several times and confirm with A when you see an confirmation dialog.
I'll have to see if my controller works in moonlight because it doesn't in libreelec. Says it is connected through Bluetooth but it won't detect any buttons when I try to configure it
I'm only getting it to show my desktop wallpaper and my mouse when trying to stream steam, but on my PC it shows the steam big picture. Weird that it is still showing mouse movement but not the actual video being streamed. Would that be related to the downgraded version?
Works fine on my own pi4, sounds more like an issue on the Windows side. Have you tried to disconnect your session (Start+Select+L1+R1 - Quit session) and then resume it from moonlight-qt?
Its Still Crashing! installed it for the very first time, moonight loads up fine, detects my pc fine, but as soon as i start a game, it just crashes, reloads up librelec and i cant seem to click on the kodi moonlight plugin unless i forcefully reboot my raspberry pi 4. any ideas?
Did you try this version: https://github.com/veldenb/plugin.program.moonlight-qt/releases/tag/v0.1.6 ?
yep. I'm using v0.1.6
if helps, im using analog output and not hdmi
dtoverlay=vc4-kms-v3d,cma-512,composite=1
sdtvmode=2 aspect=1 (4:3)
framebuffer is set to 720x576
ignor hotplug is set to 1
rez is 720x576i@50
audio output is alsa bcm2835 headphones
Edit: You still here?
Hi @03stevensmi
Sorry for the late response. Dit you try to also update moonlight itself from the plugin? The plugin version 0.1.6 should downgrade moonlight to 4.1.0-1. I also tried moonlight version 4.2.1 today but it has the same problem and crashes.
Can you file an upstream bug for this?
Hi @cgutman
I created https://github.com/moonlight-stream/moonlight-qt/issues/868 with a new backtrace. When creating the trace I noticed that moonlight 4.2.1 crashes at a later stage compared to 4.1.0-2. First it crashed on startup but now it starts but crashes on starting a stream. So looks like there is progress :)
Hi @03stevensmi
Sorry for the late response. Dit you try to also update moonlight itself from the plugin? The plugin version 0.1.6 should downgrade moonlight to 4.1.0-1. I also tried moonlight version 4.2.1 today but it has the same problem and crashes.
I tried both 0.16 without updating through plugin, and 0.16 with updating the plugin. No matter what version (older, current and uptaded via plugin) I can't get anything. I gave up at the end after backtracking older versions to see if a previous one works. I haven't tried updating via plugin since we last spoke so if there is any progress and success, Let me know @03stevensmi and I will try it out and test. I have subscribed to this project so I Will see it ever on the day, or the next day latest.
But yeah, tried updating via plugin didn't work, trying various versions without updating also didn't work, hell... Even had the exact same issue with retropie's official client with the exact same issue as kodi. Games show up, but once a game is chosen, just black and crash. Nothing on the screen even flickers or changes. Just black, then home.
Can you install retropie image, and confirm is the same issue happened on there version (not kodi's version). If you get the same problem, then that could most likely get you more further into finding out what the issue is.
If it does successfully load up the games... Then the only difference I can think of is its due to it being used on the composite cable output. But I doubt that due to the fact that I DID also try it on HDMI both 720p & 1080p resolution, both had the exact same problem.
On Windows however, it works fine, same with android via nvidia shield. Plays games with no issues. Haven't yet tried just on raspberry os but due to it not working on retropie, kodi (both with composite or hdmi), I highly doubt it will work.
I can also guarantee its not the raspberry pi, because I tried on another raspberry pi 4 I have as a backup in case the one I use dies out... And the same issue apply's too.
Hope this helps.
@03stevensmi I released a new version, v0.1.7 contains a workaround for the crash when starting a stream. It works on my pi4 now, can you confirm it works on your setup?
@03stevensmi I released a new version, v0.1.7 contains a workaround for the crash when starting a stream. It works on my pi4 now, can you confirm it works on your setup?
hello, sorry for the late reply. unfortunatly i am unable to test due to my whole house has been destroyed due to the pipe bursting and flooding the home. everything electrical wise was luckaly up stares so thats good, but i am unable to go back to my home until its safe.
and that could take a few weeks unfortunatly.
also, i am using my laptop to type this message and has f*ck all spell check. really not going to google every single word i typed so please ignor the shite spelling.
and one more thing i have to say is thank you so much for fixing this. in am extreaml;y gratefull for the hard work you have done.
once thing (hopefully) get back to normal, this will be something i will look forward to testing out. once again, thank you.
Wow that sounds terrible, hopefully everything gets fixed soon. No rush, best of luck!
Wow that sounds terrible, hopefully everything gets fixed soon. No rush, best of luck!
Thanks, at the moment things are going ... Ok. Looking at around 2 weeks when the floor gets sorted at the most before things get settled. The Good news is my grandad is an electrician and the electric is back on... Bad news is no water. Looking to hopefully be home some time next week at the least but when that happens I will be extremely busy sorting things back to normal such as replacing furniture, waiting for the flooring, etc etc.
If its OK with everyone here until then, would it be ok If someone here reading this could possibly test this with a composite cable running at pal 720x576 libelec (no HDMI ofc) And report back if this works? Just so veldenb has an idea that all is good. This is basically what I have been trying to do with this plugin, so in theory if it works through composite pal, then it SHOULD most likely work with me.
Once again, thanks for All your amazing work on this project. Cheers, 03stevensmi
;)
Hey, just tried it out, it works great now! Thank you all for everything you have done! Keep up the good work.
Great to hear and thanks for testing!
New installation of "LibreELEC-RPi4.arm-10.0.2.img" on Pi4 2MG and then Docker and "plugin.program.moonlight-qt-0.1.6.zip" addon; Moonlight updated from the addon successfully.
When I launch Moonlight from Moonlight addon, it displays "Starting Moonlight..." and then goes back to Kodi
Did I miss anything?