script.moonlight icon indicating copy to clipboard operation
script.moonlight copied to clipboard

moonlight 2.4.10

Open ssAxl opened this issue 5 years ago • 42 comments

Hi,

Have you plan to make an update? Thanks!

ssAxl avatar May 29 '19 10:05 ssAxl

Please?!!! Need This! :)

ssAxl avatar Jun 27 '19 06:06 ssAxl

Do you use LibreELEC? Which version? Going to try update it later.

dead avatar Jul 12 '19 03:07 dead

Hi,

Yes, I'm using Libreelec 9.0.2 MR. The very last GeforceExperience working with script.moonlight is v3.14.0.161.

Many thanks to have a look!

ssAxl avatar Jul 12 '19 11:07 ssAxl

~~script.moonlight-9.0.241.zip~~ Can you test it?

dead avatar Jul 13 '19 01:07 dead

Have try this morning, doesn't work for now: -Udpate new files (9.0.241.zip) upon old files and Geforce v3.14.0.161 on my computer: => Moonlight show game list (and MSTSC.EXE to stream pc desktop). => Start streaming, black screen and (auto) reboot of Libreelec

-Try to delete all moonlight files and re-install to make "fresh" install (with 9.0.241.zip) and Update GeforceExperience to v3.19.0.107. => Moonlight successful paired with computer and show game list, but have the same problem when start streaming (black screen, then reboot).

Sorry for my english, this is not my native language. Thank for help!

ssAxl avatar Jul 13 '19 09:07 ssAxl

Can you get the logs from Userdata/addon_data/script.moonlight/service.log ? Thanks!

dead avatar Jul 15 '19 17:07 dead

Hi,

Argh! I' don't find it. In this folder I only have "gamecontrollerdb.txt" and "settings.xml", but no log at all?! I search everywhere but still no log. Any other way to help you?

Thanks to you ;)

ssAxl avatar Jul 15 '19 19:07 ssAxl

Finally found it! I've deactivatethe log under Libreelec.

Here it is: stream -packetsize 1024 -bitrate 10000 -720 -fps 30 -app "PC-Axl" -keydir "/storage/.kodi/userdata/addon_data/script.moonlight/keys" -mapping "/storage/.kodi/userdata/addon_data/script.moonlight/gamecontrollerdb.txt" 192.168.0.210 /storage/.kodi/addons/script.moonlight/bin/moonlight: error while loading shared libraries: libgamestream.so.4: cannot open shared object file: No such file or directory

Hope it's help!

ssAxl avatar Jul 17 '19 21:07 ssAxl

Please, try again: script.moonlight-9.0.241.zip

😄

dead avatar Jul 18 '19 20:07 dead

Hi,

I've try it..... and it's working again !!!! :) :) :) At the moment, I don't have time to test all features, but i'll test it as soon as I can, and give you feedback.

Thanks again!!!!

ssAxl avatar Jul 23 '19 07:07 ssAxl

Hi,

I've play Ghost Of A Tale via Moonlight for 2 hours yesterday (driver Geforce 431.60 and Geforce Experience v3.19.0.107): Video, audio and features working like a charm! Some audio lag, but I think it's coming from my Rpi3. Last question: Is there a shortcut or anything else to leave streaming instead of reboot the computer?

Here is the .log: stream -packetsize 2048 -bitrate 20000 -1080 -fps 60 -localaudio -app "PC-Axl" -keydir "/storage/.kodi/userdata/addon_data/script.moonlight/keys" -mapping "/storage/.kodi/userdata/addon_data/script.moonlight/gamecontrollerdb.txt" 192.168.0.210 No mapping available for Lenovo Mini Wireless Keyboard System Control (03000000ef1700001460000011010000) on /dev/input/event4

Thanks again!

ssAxl avatar Jul 27 '19 09:07 ssAxl

Hi,

Some feedback, After many session of A Plague Tale, with following settings: -packetsize 2048 -bitrate 20000 -1080 -fps 60 -localaudio I Play on LAN with a computer Intel LAN Card => switch D-LINK DGS-1005D => Rpi 3B => Samsung TV or Espon video-projector. Play with no lags, no stuttering, no problems. Rock stable!

Thanks

ssAxl avatar Aug 06 '19 11:08 ssAxl

Hi, I'm trying to get this working on libreelec 9.2. When starting the addon I get "undefined symbol: EVP_CIPHER_CTX_cleanup" (log). It seems like this command is deprecated in newer openssl versions. Would it be possible to build the addon with a newer openssl version to fix the error?

Funatiq avatar Sep 13 '19 18:09 Funatiq

Is there a latest builds for x64 generic builds of Libreelec? Im currently running 9.1.500 beta

stuCONNERS1983 avatar Sep 16 '19 17:09 stuCONNERS1983

Hi,

This version is working with Libreelec 9.0 and Geforce 441.41 / GeforceExpericence 3.20.1.57 but not with the last Libreelec 9.2. Like the last time, can you make some update ? "Please please please" (ask my son... :) )

Bye

ssAxl avatar Dec 05 '19 13:12 ssAxl

Hi, me again ;)

If this can help, message from my log: " 2019-12-10 17:57:11.433 T:1740579712 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.OSError'> Error Contents: /storage/.kodi/addons/script.moonlight/lib/libmoonlight-common.so.2.4.10: undefined symbol: EVP_CIPHER_CTX_cleanup Traceback (most recent call last): File "/storage/.kodi/addons/script.moonlight/addon.py", line 78, in index() File "/storage/.kodi/addons/script.moonlight/addon.py", line 25, in index gs = LibGameStream(addon.getAddonInfo("path") + "/lib") File "/storage/.kodi/addons/script.moonlight/lib/moonlight.py", line 58, in init self.commonlib = ctypes.cdll.LoadLibrary(findlib("libmoonlight-common.so")) File "/usr/lib/python2.7/ctypes/init.py", line 444, in LoadLibrary File "/usr/lib/python2.7/ctypes/init.py", line 366, in init OSError: /storage/.kodi/addons/script.moonlight/lib/libmoonlight-common.so.2.4.10: undefined symbol: EVP_CIPHER_CTX_cleanup -->End of Python script error report<-- 2019-12-10 17:57:11.523 T:1748972416 ERROR: GetDirectory - Error getting plugin://script.moonlight/ 2019-12-10 17:57:11.523 T:1936779712 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.moonlight/) failed " Sorry to insist, but it's the very best solution I found to stream my pc.

Thanks! Axl

ssAxl avatar Dec 10 '19 17:12 ssAxl

Hi @ssAxl sorry for taking so long, but I was really busy... Just compiled the addon to LibreElec 9.2, so can you please test it? Thanks!

script.moonlight-9.2.0.241.zip

dead avatar Dec 20 '19 14:12 dead

Hi @dead,

No problem! I'm (really!) happy for your answer. I test it this as soon as possible, and give you feedback ;) Thanks ;)

ssAxl avatar Dec 20 '19 14:12 ssAxl

Again! :)

It doesn't work for now. I've cleanup previous install, isntaller with zip, paired with my computer. I can see game list, but when I choose one, Libreeelc reboot.

Here is my "service.log" stream -packetsize 1024 -bitrate 10000 -720 -fps 30 -app "PC-Axl" -keydir "/storage/.kodi/userdata/addon_data/script.moonlight/keys" -mapping "/storage/.kodi/userdata/addon_data/script.moonlight/gamecontrollerdb.txt" 192.168.0.210 /storage/.kodi/addons/script.moonlight/bin/moonlight: error while loading shared libraries: libgamestream.so.4: cannot open shared object file: No such file or directory

Thanks !! :)

ssAxl avatar Dec 20 '19 17:12 ssAxl

script.moonlight-9.2.0.241.zip Should work now!

dead avatar Dec 20 '19 18:12 dead

Olà!

You're the man! I would like to know to do that!!!! After some speed test, just some audio bugs.

Thanks again! For now my son is on my shoulder, look at me playing game computer on tv.... and this is not a joke!!! :)

Some feedback later ;)

ssAxl

ssAxl avatar Dec 20 '19 18:12 ssAxl

I'm sorry if this has been answered before but how is this setup exactly? I installed the script you posted 5 days ago and put in my IP, it doesn't work. Is this only for raspberry pi? I'm running Libreelec 9.2.0 on an old x86 64bit pc. I'm not sure how to find the log, I only see settings.xml. Geforce Experience Version: 3.20.2.34

Edit I got the log from Kodi Logfile uploader since I couldn't find service.log: ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <type 'exceptions.OSError'> Error Contents: /storage/.kodi/addons/script.moonlight/lib/libmoonlight-common.so.4: wrong ELF class: ELFCLASS32 Traceback (most recent call last): File "/storage/.kodi/addons/script.moonlight/addon.py", line 78, in index() File "/storage/.kodi/addons/script.moonlight/addon.py", line 25, in index gs = LibGameStream(addon.getAddonInfo("path") + "/lib") File "/storage/.kodi/addons/script.moonlight/lib/moonlight.py", line 58, in init self.commonlib = ctypes.cdll.LoadLibrary(findlib("libmoonlight-common.so")) File "/usr/lib/python2.7/ctypes/init.py", line 444, in LoadLibrary File "/usr/lib/python2.7/ctypes/init.py", line 366, in init OSError: /storage/.kodi/addons/script.moonlight/lib/libmoonlight-common.so.4: wrong ELF class: ELFCLASS32 -->End of Python script error report<-- 2019-12-26 06:43:09.606 T:139680435361536 ERROR: GetDirectory - Error getting plugin://script.moonlight/ 2019-12-26 06:43:09.616 T:139682237966464 ERROR: CGUIMediaWindow::GetDirectory(plugin://script.moonlight/) failed

EmiyaBestBoy avatar Dec 26 '19 01:12 EmiyaBestBoy

@EmiyaBestBoy Just compiled the x86_64 version of the addon. Not sure if this will work.

script.moonlight-9.2.0.241.zip

dead avatar Dec 26 '19 17:12 dead

The addon opened this time and showed me my games but selecting a game doesn't do anything. I didn't get any errors either so I don't have any logs to upload.

EmiyaBestBoy avatar Dec 26 '19 18:12 EmiyaBestBoy

@EmiyaBestBoy can you try run moonlight via ssh? just connect to libreelec via ssh, stop kodi systemctl stop kodi and then execute moonlight stream

dead avatar Dec 27 '19 18:12 dead

Can you walk me through this? I've never used ssh before, I'm getting "Permission denied (publickey,keyboard-interactive)."

EmiyaBestBoy avatar Dec 27 '19 20:12 EmiyaBestBoy

Nevermind I got it working, but I got "You must pair with the PC first" even though I've already paired it before?

Edit: I got it to work but it immediately started steam and only half of the screen was mirrored.

EmiyaBestBoy avatar Dec 27 '19 20:12 EmiyaBestBoy

Only half of the screen? Sorry, without a x86_64 to test myself is kinda hard to tell what is wrong 😢

dead avatar Dec 28 '19 18:12 dead

Ah no it’s fine, my Fire stick 4K is arriving on Monday. I’ll keep testing new builds if you want.

EmiyaBestBoy avatar Dec 28 '19 18:12 EmiyaBestBoy

@ Dead,

On Rpi, have some audio and video lag, but on some games only (1997 moto racer...). Witcher, and other Rime runs just fine!

Glad to see other people interested in your app!

ssAxl

ssAxl avatar Dec 30 '19 08:12 ssAxl