Skip to content
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

Games wont launch from Luna #161

Open
vjr2 opened this issue Oct 3, 2017 · 2 comments
Open

Games wont launch from Luna #161

vjr2 opened this issue Oct 3, 2017 · 2 comments
Labels

Comments

@vjr2
Copy link

vjr2 commented Oct 3, 2017

  • Luna Version: 0.7.4
  • nVidia GeForce Experience Version: last one
  • Moonlight Embedded Version: last one
  • OSMC Version: no OSMC, just Rasbpians Kodi

Expected Behaviour:

When I enter mi server I expect to launch the game when I press "enter"

Actual Behaviour:

It does nothing. I know there is a similar issue here but I didnt understand anything. I know Luna just supports OSMC and not the Kodi from Rapsbian but I just want to play my games from that app and I cant. I also know that the fix of the related issue was to replace the "tm" symbol in geforce experience (I have that symbol in two games). But I dont know how to replace them. Please help me, dont close this saying "this is a duplicate" please, at least guide me how to solve this before closing.

Thanks :)

@wackerl91
Copy link
Owner

You might want to try using this fork, which has fixed startup scripts for general Kodi usage:

https://github.com/meveric/luna

In general, your problem is most likely related to the startup scripts being used in Luna (and failing since you have a different environment than an OSMC installation). When you try launching a game, you should see the command being executed, but not doing anything (i.e. the first script - which also shuts down Kodi when streaming - fails and literally nothing at all will happen :) ).

@Nafania
Copy link

Nafania commented Nov 26, 2017

@wackerl91 I have the same problem. When i'm trying to play game just nothing happens.
I've tried your version and from meveric but result is still the same.

I've enabled debug log for moonlight in Kodi, that's what i see when i press Play

13:09:34.960 T:1593832368  NOTICE: [script.luna.controller]: Starting game by name: Bioshock Infinite
13:09:34.971 T:1593832368  NOTICE: [script.luna.config]: [ConfigHelper] - Dumped config to disk.
13:09:34.972 T:1593832368  NOTICE: [script.luna.context]: Requesting current context
13:09:34.972 T:1593832368  NOTICE: [script.luna.core]: Init Scripts have been disabled, returning empty strings
13:09:34.972 T:1593832368  NOTICE: [script.luna.moonlight]: Got script paths:  and

And that's all.

Any ideas how to fix it and be able to stream games via Luna?

UPD:

found logs in auth which may be related

Nov 26 13:17:13 retropie sudo:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/openvt -c 7 -s -f clear
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Nov 26 13:17:13 retropie sudo:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/su osmc -c nohup openvt -c 7 -s -f bash /home/pi/.kodi/addons/script.luna/resources/lib/launchscripts/osmc/launch.sh "192.168.1.183" "Bioshock Infinite" /home/pi/.kodi/userdata/addon_data/script.luna/.storage/luna.conf /home/pi/.cache/moonlight/e5103048-8f07-4b7c-b010-a4547d75c5cf true >/dev/null 2>&1 &
Nov 26 13:17:13 retropie sudo:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/su osmc -c sh /home/pi/.kodi/addons/script.luna/resources/lib/launchscripts/osmc/moonlight-heartbeat.sh  &
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session closed for user root
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Nov 26 13:17:13 retropie su[3830]: No passwd entry for user 'osmc'
Nov 26 13:17:13 retropie su[3830]: FAILED su for osmc by root
Nov 26 13:17:13 retropie su[3830]: - ??? root:osmc
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session closed for user root
Nov 26 13:17:13 retropie su[3831]: No passwd entry for user 'osmc'
Nov 26 13:17:13 retropie su[3831]: FAILED su for osmc by root
Nov 26 13:17:13 retropie su[3831]: - ??? root:osmc
Nov 26 13:17:13 retropie sudo: pam_unix(sudo:session): session closed for user root
Nov 26 13:17:15 retropie sudo:       pi : TTY=tty1 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/su -c systemctl stop mediacenter &
Nov 26 13:17:15 retropie sudo: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Nov 26 13:17:15 retropie su[3846]: Successful su for root by root
Nov 26 13:17:15 retropie su[3846]: + ??? root:root
Nov 26 13:17:15 retropie su[3846]: pam_unix(su:session): session opened for user root by (uid=0)
Nov 26 13:17:15 retropie su[3846]: pam_unix(su:session): session closed for user root
Nov 26 13:17:15 retropie sudo: pam_unix(sudo:session): session closed for user root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants