Closed kaeltis closed 5 years ago
Open Terminal.app, navigate to where you cloned the repository
cd /path/to/cloned/repository
then enter the command there. Sorry I can't really help further, This is mostly meant for developers or at least cli savvy users.
got it working! controller only working in game, have to use the apple tv remote to change settings and select games which could use a little smoothing but other than that, so far so good, thanks so much, can use latest GE version now!
On Monday, May 16, 2016 1:22 PM, Chris Simpson <notifications@github.com> wrote:
Open Terminal.app, navigate to where you cloned the repositorycd /path/to/cloned/repository then enter the command there. Sorry I can't really help further, This is mostly meant for developers or at least cli savvy users.— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
Good to hear. Yeah UI stuff was a bit out of scope for this, mostly just wanted to get it working myself.
Incidentally I just found out about Moonlight yesterday, and when I found the only tvOS branch wouldn't work unless I downgraded (which I don't like to do...), I first tried merging (headache), and then just rebased (using the previous work to help along the way).
@ajmi982 let me know how its working for you, I'm getting choppy audio followed by disconnects on my end (though only on tvOS). I suspect its related to mismatched libraries for sound decoding, getting a lot of out of sync issues before the DC. Investigating and rebuilding libOpus to test.
Will do. Give me an hour or two.
Sent from my iPhone
On May 16, 2016, at 5:58 PM, Chris Simpson notifications@github.com wrote:
@ajmi982 let me know how its working for you, I'm getting choppy audio followed by disconnects on my end (though only on tvOS). I suspect its related to mismatched libraries for sound decoding, getting a lot of out of sync issues before the DC. Investigating and rebuilding libOpus to test.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
Right now I'm just getting a "starting app" and spinning circle.
Reboot fixed that issue (PC reboot)
Running mad Max. Problem is no L3 or R3 buttons ;(
My issue is I have a few cracked games and in order to play them I have to manually load the exe in GE and when they show in moonlight there is no box art just words.
As for performance things seem smooth. My issue is how can u actually play complicated games that require use of R3 and L3? :(
Sent from my iPhone
On May 16, 2016, at 5:58 PM, Chris Simpson notifications@github.com wrote:
@ajmi982 let me know how its working for you, I'm getting choppy audio followed by disconnects on my end (though only on tvOS). I suspect its related to mismatched libraries for sound decoding, getting a lot of out of sync issues before the DC. Investigating and rebuilding libOpus to test.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
What games were you trying and what type of connection? I didn't have the issues you mention. Ethernet connection to apple TV 4.
Sent from my iPhone
On May 16, 2016, at 5:58 PM, Chris Simpson notifications@github.com wrote:
@ajmi982 let me know how its working for you, I'm getting choppy audio followed by disconnects on my end (though only on tvOS). I suspect its related to mismatched libraries for sound decoding, getting a lot of out of sync issues before the DC. Investigating and rebuilding libOpus to test.
— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub
@apocolipse awesome work, I have been waiting this for a long time now! Besides the sound problems it seems to work pretty well. I noticed that for some reason the quality settings aren't saved when you close the settings view and reopen it.
@apocolipse Great job!!! I have a nimbus controller and I noticed I can get it to work for in games, but it does not work for navigating the base moonlight menus. Does anyone else have that issue?
I got it running and can start games, but the TV screen stays black, showing only the controller-missing buttons. I can see the game (on PC) is running fine and i see (again on PC) that i can control the game properly (using a SteelSeriel XL btw). Also audio stream is coming through smoothly to TV. It seems, as if the controller UI is completely overlaying the stream-image. I tried forcing the OnScreenControlMode to None (because changing in the settings didn't seem to have an effect), but that didn't help either (only black screen, without buttons then). Any ideas what could be the problem?
With today's apple announcements has anyone checked if this is fixed in the tvOS 10 sdk?
@bassrock Unfortunately not. Still __TVOS_PROHIBITED in the current beta tvOS SDK 10.
I can't begin to attempt to troubleshoot other issues, I simply rebased someone else's work to get it working. The PR open can (and should) be merged (I'll keep it up to date otherwise if needed), it just wont build without manual edits to the SDK. And yeah the updated SDK still has it marked as __TVOS_PROHIBITED. I may stop into one of the WWDC Workshops while I'm here this week and ask them about it, They're usually more responsive in person. I'll point out the specific RADAR to them http://www.openradar.me/25661358
So I basically got the full run-around here at WWDC, the AVFoundation lab guys didn't know and sent me to the tvOS and Games lab, they didn't know either and sent me to the tvOS specific lab, the engineer there also wasn't sure why it was unavailable but did tell me that "Unavailable" and "Prohibited" are 2 completely different things, he then suggested I try the AVFoundation Lab again.
I'm leaving today but I may try to stop back in 1 more lab and see if I can find someone who knows.
Side note: It's properly marked as Availability Not Applicable
finally here https://developer.apple.com/library/tvos/documentation/AVFoundation/Reference/AVSampleBufferDisplayLayer_Class/index.html
Second slightly unrelated sidenote: I did get a somewhat promising answer when asking about review acceptance for using IOKit (specifically IOHIDManger), which is promising for adding support for things like Mouse/Keyboard and PS3/4 Dualshock controllers. IOKit isn't "available" in default SDK's and requires some wrangling to link against the framework for devices (have to grab the ones used for symbolicating crash reports but works nonetheless). It wasn't a definitive "yes/no" but I'll be working with someone at Apple Developer Relations to get more info.
I got a message from Apple some time ago asking to verify the issue was still present in XCode 8 (beta):
This is a follow-up regarding regarding Bug ID# 25661358.
Please verify this issue with Xcode 8 beta (Build: 8S128d) and update your bug report at http://bugreport.apple.com/ with your results.
Xcode 8 beta (Build: 8S128d) https://developer.apple.com/xcode/download/ Posted: Jun 13, 2016
Not sure what would have changed in Xcode to fix the issue since it's more an issue with the tvOS platform. But curious if anyone's tried using Beta Xcode. I usually don't load up beta software much...
@killnine I just downloaded Xcode 8 beta 2 (released July 5th), and checked the bundled frameworks. Unfortunately the issue is still present. AVSampleBufferDisplayLayer is still __TVOS_PROHIBITED.
@killnine each version of Xcode have different framework files, so if they fix the framework in Xcode you can submit the app and it will still work on older models because you compiled against allowed apis. The only thing blocking the API use is Xcode and apples review team.
Bad news, chaps. Here's what I got in my bug report:
We believe that this issue has been resolved through updates to the documentation. Please let us know whether the issue is resolved for you by updating your bug report.
And, while I don't have a screenshot of the old class definition, the new one just says iOS8+. Makes me think they 'fixed the glitch', Office Space-style.
Hey! Any progress on this / does anyone know if https://github.com/bendodson/moonlight-tvos still works?
I've used it just recently. I had some problems with the picture not showing even though the sounds were working fine, but I fixed it by downgrading my Geforce experience
Sounds good, thanks!
Were you using moonlight-ios or the fork of moonlight-tvos?
Any comment on which version of GeForce Experience to downgrade to?
I'm using the tvos fork. I'm pretty sure I'm now using v3.1 of GFE, but cannot be sure because I'm currently travelling :) Can check it tomorrow though.
Can anyone tell me the exact version of GFE that you are using? I'm currently on 3.1.2.31 and I can't manage to find my computer on ATV. I'm using bendoson fork with some tweeks and tvOS 10.0.1
EDIT: I got it working with GFE version 3.0.1.48. Everything's working perfect. Anyone interested in doing a port with the latest branch of moonlight-ios?
@cgutman FWIW, it's fairly easy to replace AVSampleBufferDisplayLayer
yourself if that's the blocking issue here. Use VTDecompressionSession
from VideoToolbox to decode the sample buffers to image buffers, then CVOpenGLESTextureCache
to load them as textures (without copying), and render via GL.
This repo looks like a decent example of the process: https://github.com/davidliu/VideoTimeLine/tree/master/VideoTimeLine
Sorry, I totally forgot about this thread. I tried checking the version I got it working with, but my GeForce Experience forced an update before I got a chance to take a look. Now I'm running version 3.1.2.31 and it seems the once again the picture is missing even though sounds are working. I'm fairly certain that 3.1.0 was the last version it worked with.
Noob here, I'm having problems finding a download GFE 3.1.0.48 to downgrade for the time being. Any suggestions as to where I'd find that?
@hackertuga, can you let me know where I can get GFE version 3.0.1.48? I've got it built on my Apple TV but it's not discovering my computer?
According to this page: https://forums.developer.apple.com/message/143258#143258
AVSampleBufferDisplayLayer should be available in Xcode 8.3, which seem to be downloadable as beta 4.
I hope this means we can see an official version on the App store in the future! :)
I can confirm, since Xcode 8.3, tvOS 10.2 the header file states API_AVAILABLE(macosx(10.10), ios(8.0), tvos(10.2))
instead of __TVOS_PROHIBITED
. Does this mean an official tvOS release is possible now?
Should be possible now for tvos 10.2+ targets. I've since dropped interest in this as I really have no need (I don't really game much and there were still limiting factors in MFI game controllers that just don't sit well with me), but should be a pretty simple task for anyone to fix merge conflicts in my Pull Request.
This is exciting. I would love to see somebody make this a reality.
Is there any work going on with porting Moonlight to ATV now that it seems technically possible?
I've just gotten an Apple TV and being able to use it as a living room gaming platform would be amazing
@markhewitt1978 I'm trying to think of what would be required...
It shouldn't require any customization of the SDK anymore...
Should it be a matter of pulling the project down and rebuilding it with latest SDK?
For those interested, I just managed to get this working from this GitHub repo: https://github.com/bendodson/moonlight-tvos. I just built using Xcode 8.3.3, picked the tvOS target included in the project, and then plugged in to my AppleTV. Had to do the usual profile provisioning thing, but it did manage to stream. I can speak to a game controller though, as I currently do not have one that is iOS/tvOS compatible. Source for the repo was this. NOTE I did not have to modify any headers to make this work.
I can confirm that the bendodson port of moonlight builds on a physical appleTV (not the simulator, that fails complaining of a bitcode signature) without any code or header modification. After connection my controller, I unfortunately can't get anything on the GUI to respond.
I determined why the GUI wasn't responding for me, the controller is not "activated" so to speak during the inital screens, only after launching a game. During setup and pairing, the appleTV remote must be used. I have since been able to pair, launch games, and play.
A couple issues prevent this from being a viable solution, however. There is no "esc" equivalent, pressing the home button dumps you back to the game selection screen, but games are expecting that button to get to the game menu for saving and quitting games. If you want to leave the game, you can do so, but it won't quit the game on the remote PC. The remote PC will be in the game menu waiting for input.
Another limitation is the reduction of total available buttons on an iOS controller, missing buttons include depressing the left and right sticks and L3 and L4. Games that depend on these are hard to manage, on other streamers (KinoConsole for example) the additional buttons were mapped by allowing either hard or soft presses on select buttons. Annoying in practice, but usable after getting used to (an example: in Fallout 3 New Vegas, a soft press on B would bring up the Pip Boy, a hard press would show the "esc" game menu).
That said, it is pretty fun playing what can be played, and if there are limitations they can generally be worked around by simply walking over to the remote PC.
I managed to clone master of this project, and have tried to put some of the modifications in place from the bendodson port, so there would just be on project to build. For the most part, this just involved bringing over the tvOS storyboard and assets, and putting the compilation remarks to disable certain functionality that doesn't exist in iOS. From there, it's mainly changes to the build itself in terms of project settings. It also involves changing the project over to essentially build for tvOS instead of iOS so if anybody has recommendations, I'd be glad to hear them.
Anyone able to put this on the AppStore so we don't have to sideload every week?
@Argon2000 anyone one of us could put it on the store, but probably right for the main developer account that did the iOS version put it on the store as a universal bundle.
Are we at the point where this can be submitted by the moonlight team into an official build?
Could someone ask to official Moonlight team to put the app on the Apple Store???
The tvOS pull request is open (See #226) however the branch has conflicts. If someone can sort out that conflict then the Moonlight team can make an official version and close this bug. Until then we won't have tvOS support.
It seems the bendodson port of moonlight with the latest GFE has the issue with not taking the pin to allow the Apple TV to connect, am I correct or am I missing something?
Sorry I was using the Kevin Smith version just installed Bendodson and pin worked will report any other issues as they come up.
So issues so far.
When I click on the setting button that allows changes to speed and resolutions it won't open it just gets highlighted.
As mentioned by ishcabittle there is no escape option to close the games on properly.
In most versions of Moonlight there are no posters for nonofficial games but they can be added manually but in this version, the names of most games doesn't even show up.
I will keep reporting things I find but hope this goes to the Apple store sooner than later as it is an amazing app because I hate Apple and Andriod games and love the idea of streaming my PC games to both my Fire TV and Apple TV the Fire TV already works amazingly with no issues at all.
Would love to see Moonlight in the tvOS App Store
+1 for getting moonlight on the Apple TV, would finally let me sell my shield
Now that the Apple TV 4K is out and seems to be selling pretty well, maybe this can get more attention? I just tried using KinoConsole and it is very unreliable, there is a void to be filled here.
+1
From what I've read, porting from iOS to Apple TV should be fairly easy - would be awesome to see moonlight on the new Apple TV :heart_eyes: