OneLiberty / moonlight-tizen-nacl

GameStream client for Samsung Smart TV's running Tizen OS (3.0 to 6.0)
GNU General Public License v3.0
19 stars 2 forks source link

Can't click on "Add Host" #3

Open Flarkk opened 2 months ago

Flarkk commented 2 months ago

Device : Smart TV Samsung The Frame 2017 (UE43LS003) TV Software version : T-KTMDEUC-1401.1 , BT-S Followed the readme instructions to install the app on the TV with the docker image. I haven't checked it but I assume the app version I installed is commit dafccf7

Fresh install of the app, first launch. On the client home screen, clicking on "Add Host" has no effect. Clicking on the top right corner options (resolution, FPS, bandwidth, audio, mouse, ...) does work and allows changing the values. Clicking on "Quit Current App" (top-right corner) or the left-pointing arrow next to the "MoonLight" logo (top-left corner) has no effect.

I tried out using the remote control, an usb mouse plugged into the tv, and the SmartView app on my smartphone. None of them work.

Happy to share logs or anything that matters if you guide through. I'm not familiar with Tizen OS nor its command line interface.

OneLiberty commented 2 months ago

Uh oh. I guess the app is not compatible with tizen 3.0... Sorry about that, can't do much tho. Maybe you can try getting the logs (https://github.com/OneLiberty/moonlight-chrome-tizen/discussions/9)

Flarkk commented 2 months ago

@OneLiberty thanks. I think I got the console working, however I can't see any log message even when I interact with the app on the TV. Am I doing anything wrong ? image

MrPhaze62 commented 2 months ago

you are on the right track, in that screenshot on that browser, the logs should be displayed under 'console' tab there.

if it still doesnt show up, i have been guided by oneliberty to use an older version of chrome that shows the logs in that tab.

once the logs are displayed, press a few buttons on moonlight on your tv, and hopefully the errors should show up in real time, to which youll be able to highlight the logs and copy and paste it here.

(occasionally, chrome or whatever browser you are using may crash since it will continuously output logs in real time. has happened often with me, lol)

i will point out, i have been using docker desktop instead of tizen studio to get logs, but the method should be similar. more or less.

Just to point out, that guide linked by OneLiberty was made for the WASM port to grab logs, since this is NaCl. Only one cmd should be replaced which is:

sdb shell 0 debug "ChqHQExU28.MoonlightNaCl" 0

Instead of the one mentioned in the guide. Seems like you may already know this, but i will point it out for others that use this NaCl port for older samsung tvs.

OneLiberty commented 2 months ago

Check out the "Console" Tab on the logs If it's showing usually it should work, but if not, maybe you want to try an older version of chrome (prior to the TV release so maybe a 2016 build or smt)

ProgressoRU commented 2 months ago

Just stumbled on this project while looking for suitable Steam Link replacement and unfortunately got same issue. After some debugging and troubleshooting I've gathered some (hopefully) useful logs:

index.js:855 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
navigation.js:2 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
utils.js:93 Uncaught SyntaxError: Unexpected token =
controllers.js:2 Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
common.js:331 [updateStatus, common.js] Page loaded..

So, basically every modern JS feature = BAD изображение

TV Model: UE40MU6470 (2017)

For anyone who will try to debug on the older Tizens: I've used Chrome 49 to get Dev Tools working and you should run sdb shell command like this: sdb shell 0 debug "ChqHQExU28.MoonlightNaCl" 0 (note added zero at the end)

JoanOrtiga commented 1 month ago

Hey, I have Tizen 3.0 too and basically the UI doesn't respond at all :/

OneLiberty commented 1 month ago

Well there are few hints on where to look to make it maybe work on tizen 3.0 with @ProgressoRU comment. If anyone is able to make the changes and test, that would be nice.

CSharpRU commented 2 weeks ago

After fixes to JS got it working properly, but it streams 720p 30fps only, so better to buy HDMI :) (see https://github.com/OneLiberty/moonlight-chrome-tizen/issues/7)

Can attach changes if you want tho.

OneLiberty commented 2 weeks ago

After fixes to JS got it working properly, but it streams 720p 30fps only, so better to buy HDMI :)

(see https://github.com/OneLiberty/moonlight-chrome-tizen/issues/7)

Can attach changes if you want tho.

Great !

Well it's better than nothing ! You can make a PR if you want Else, I'll need to reimplement the changes myself.

CSharpRU commented 2 weeks ago

After fixes to JS got it working properly, but it streams 720p 30fps only, so better to buy HDMI :) (see OneLiberty/moonlight-chrome-tizen#7) Can attach changes if you want tho.

Great !

Well it's better than nothing ! You can make a PR if you want Else, I'll need to reimplement the changes myself.

There you go https://github.com/OneLiberty/moonlight-tizen-nacl/pull/4

MrPhaze62 commented 2 weeks ago

Heh, i wonder if that fix works on tizen 2.4 Would be cool lol.

CSharpRU commented 2 weeks ago

Heh, i wonder if that fix works on tizen 2.4 Would be cool lol.

Should work