Open charnet3d opened 1 week ago
Yeah we did get a few reports of crashing for some 2024 tvs/Tizen 8.0, One user had the same issue as you and reinstalled the app again and that fixed it for them.
See if reinstalling works as following this discussion here
And if reinstalling still doesn't work, see if you're able to grab logs from moonlight from here
As of now, they still are not sure why this issue happens only on tizen 8.0, so logs would be super helpful.
Lot of informations here, love to see that.
I'm wondering if you correctly rebooted the app between each codec change. After the initial setup (first launch of the stream it won't work again unless the app is rebooted (fully).
Tho this might not be the issue here, but we never know. I'd suggest you get tge debug logs as @MrPhaze62 suggested.
It could still be a configuration issue, since this version is not on the same quality level as the others, it might be more picky on what it accepts.
Hi, Thanks for your responses. I will try to find time to try your suggestions and get some logs from the app.
@OneLiberty I did notice that the point at which the app crashes is different if I didn't fully restart it. On a fresh start it goes past the handshake step into "video stream establishment", or once I saw the other one related to input control, it stays on them a few seconds then exits. If I just click the icon again it gets stuck in the handshake step. I will do another test with the different codecs, as that was the first thing I tried and I must not have restarted the app properly.
Hi again, my OCD didn't let me do anything else while this is on my mind...
I went and tried a few things:
Fully restarting the app doesn't improve anything.
I checked the other thread linked and did the uninstall from command line, tried the same wgt I had (1.2.1 extracted + repacked/signed by my cert) it did the same behavior. I uninstalled again and this time I tried the zip provided in that discussion: https://github.com/OneLiberty/moonlight-chrome-tizen/issues/37#issuecomment-2067746089 And this one did work beautifully, though it seems like an older version without AV1.
Having some doubt about my way of packaging the wgt, I checked some of the docs (README.samsung.md and the Dockerfile) to build from source (wasn't a big deal as my background is c++ dev) I was able to build 1.2.1 and package it with my samsung cert but in the end it gave the same issue.
Right now I'm gonna try going through the older commits until I find where exactly the regression was introduced hopefully that should shed light on the exact issue.
Here's the log I captured with debug mode of the app:
common.js:128 [updateStatus, common.js] Page loaded.
index.js:1361 [index.js] Moonlight's main window loaded
index.js:1174 initializing keys
index.js:1194 Initializing SamsungTV platform
index.js:1199 loading stored user data
index.js:954 Opening IndexDB
index.js:968 Success creating/accessing IndexedDB database
index.js:1204 load stored VideoCodec prefs
index.js:1215 load stored resolution prefs
index.js:1226 Load stored remote audio prefs
index.js:1237 load stored framerate prefs
index.js:1248 load stored optimization prefs
index.js:1259 load stored framePacing prefs
index.js:1270 load stored HDR prefs
index.js:1281 load stored audioSync prefs
index.js:1292 load stored bitrate prefs
index.js:997 Read data from the DB key: codecVideo value: "0x2201"
index.js:997 Read data from the DB key: resolution value: "3840:2160"
index.js:997 Read data from the DB key: remoteAudio value: undefined
index.js:997 Read data from the DB key: frameRate value: undefined
index.js:997 Read data from the DB key: optimize value: false
index.js:997 Read data from the DB key: framePacing value: undefined
index.js:997 Read data from the DB key: HDR value: undefined
index.js:997 Read data from the DB key: audioSync value: undefined
index.js:997 Read data from the DB key: bitrate value: "80"
index.js:1035 Data at key: bitrate stored as: "80"
common.js:15 WASM runtime initialized
common.js:128 [updateStatus, common.js] RUNNING
index.js:1304 load the HTTP cert and unique ID if we have one.
index.js:997 Read data from the DB key: cert value: {"cert":"-----BEGIN CERTIFICATE-----\nMIICvzCCAaegAwIBAgIBADANBgkqhkiG9w0BAQsFADAjMSEwHwYDVQQDDBhOVklE\nSUEgR2FtZVN0cmVhbSBDbGllbnQwHhcNMjQwOTE5MDUyNDIxWhcNMzQwOTE3MDUy\nNDIxWjAjMSEwHwYDVQQDDBhOVklESUEgR2FtZVN0cmVhbSBDbGllbnQwggEiMA0G\nCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDyVANkxTNLEzot3QVAPOOxqJ0zCt6v\ngN/c7L4I0E5hC1m/dkK33gs8cTFUp1Ue7nCfddVFFvHSK/7T2LSuA6JVuSPpwf3O\n0fwmaD+N9SeSE+JMvXcMGNezmLG2dm4lB55Uwz5YenumGbfs8eh8KAp5lN14w072\noBO45BCNTmwoGJd3+UHoICnlvWACZFXS2oUduR4EkzSxNTyPvAReXdN0b5RcdXyH\nxMEwbSsPupt9nvwt845uMho1Aerq1PePi4ROptWEpHQLJ2elZigPdJRM7UmW9CKb\n70dRWZxpk5BZPv7GcW3ZuBsMaKnACpC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
index.js:997 Read data from the DB key: uniqueid value: undefined
index.js:638 [index.js] Entering "Show apps and hosts" mode
index.js:997 Read data from the DB key: hosts value: {"CC080331-C70A-832F-2985-13C9B6C814CB":{"address":"192.168.1.100","ppkstr":"sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=","paired":true,"currentGame":881448767,"serverMajorVersion":7,"appVersion":"7.1.431.-1","clientUid":"0123456789ABCDEF","_pollCount":0,"_consecutivePollFailures":0,"online":true,"userEnteredAddress":"192.168.1.100","serverUid":"CC080331-C70A-832F-2985-13C9B6C814CB","gfeVersion":"3.23.0.74","supportedDisplayModes":{"720:1280":[30,60,90,120,144,165],"1080:1920":[30,60,90,120,144,165],"2160:3840":[30,60,90,120,144,165],"768:1366":[30,60,90,120,144,165],"1440:2560":[30,60,90,120,144,165],"1800:3200":[30,60,90,120,144,165],"8962:1600":[30,60,90,120,144,165]},"gputype":"","numofapps":"","hostname":"Elder","externalIP":"","_pollCompletionCallbacks":[],"serverCodecSupportMode":"197377","_baseUrlHttps":"https://192.168.1.100:47984","_baseUrlHttp":"http://192.168.1.100:47989"}}
utils.js:94 [utils.js, NvHTTP Object] NvHTTP
index.js:1354 [index.js] Loaded previously connected hosts
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=58d849e8-ab8c-4869-958e-932acb1511ae (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=4a810ebf-b5e3-49b6-9aa7-f0292c80444d (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/applist?uniqueid=0123456789ABCDEF&uuid=3aeb012d-ed72-41a2-9f66-6013133597bf (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=122c627f-43df-4109-9385-65f1c99ce70a (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=59631cc6-ce0b-4ec4-b111-adeb41b9ae98 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=e3211266-0f8a-49ee-a4fc-592e59a1db39 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=f4d8ed7e-9168-4b71-b0f3-186c2cb2daa0 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=73e11b32-8ad9-43d4-b291-d56b273565ae (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=e5490362-04bb-4d3e-b983-0095c232abc9 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=5bb740f3-e16d-47c1-aeaf-7f08797a6d24 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=67beeea6-4bc5-451d-9cd7-8c3d34afb9ee (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init(1)
DevTools failed to load source map: Could not load content for file:///static/js/material.min.js.map: Unknown error
DevTools failed to load source map: Could not load content for file:///static/css/material.min.css.map: Unknown error
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=2cf2f135-fc8e-429e-b415-42ca9238158a (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=acd738da-b752-4405-9276-f47af0cf0baa (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/applist?uniqueid=0123456789ABCDEF&uuid=7e6b4ac1-18e9-4e74-9b1a-ada96fc040df (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=e8ba3a74-ab0f-4139-b4ac-5d3e4e68667f (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=698e68ef-251d-40df-af9e-866cfe630575 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=e410aa3f-051f-461d-8c87-1a29365fedf2 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=c31b5754-7b84-4fb0-8f02-2c932f384ee9 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=4fd8a86f-08b5-47f3-b689-92e00fc94fa0 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=ee33f3dc-7545-4579-8784-6b4360bc38fb (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=3b4eec2b-948d-4622-a171-76790c5726c6 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=634c23f8-d568-4075-b602-cc09ad3d6909 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=9cf36d68-4ddd-4fb7-ad26-5b6c5073356f (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
index.js:207 [index.js, backgroundPolling] Stopping background polling of host CC080331-C70A-832F-2985-13C9B6C814CB
NvHTTP {address: '192.168.1.100', ppkstr: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=', paired: true, currentGame: 881448767, serverMajorVersion: 7, …} server address: 192.168.1.100
server UID: CC080331-C70A-832F-2985-13C9B6C814CB
is paired: true
current game: 881448767
server major version: 7
appversion: 7.1.431.-1
GFE version: 3.23.0.74
gpu type:
number of apps:
supported display modes:
720:1280: 30,60,90,120,144,165
1080:1920: 30,60,90,120,144,165
2160:3840: 30,60,90,120,144,165
768:1366: 30,60,90,120,144,165
1440:2560: 30,60,90,120,144,165
1800:3200: 30,60,90,120,144,165
8962:1600: 30,60,90,120,144,165
index.js:565 [index.js, showApps] Current host object: NvHTTP {address: '192.168.1.100', ppkstr: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=', paired: true, currentGame: 881448767, serverMajorVersion: 7, …} server address: 192.168.1.100
server UID: CC080331-C70A-832F-2985-13C9B6C814CB
is paired: true
current game: 881448767
server major version: 7
appversion: 7.1.431.-1
GFE version: 3.23.0.74
gpu type:
number of apps:
supported display modes:
720:1280: 30,60,90,120,144,165
1080:1920: 30,60,90,120,144,165
2160:3840: 30,60,90,120,144,165
768:1366: 30,60,90,120,144,165
1440:2560: 30,60,90,120,144,165
1800:3200: 30,60,90,120,144,165
8962:1600: 30,60,90,120,144,165
utils.js:410 [utils.js, utils.js] Returning memory-cached apps list
index.js:655 [index.js] Entering "Show apps" mode
index.js:207 [index.js, backgroundPolling] Stopping background polling of host CC080331-C70A-832F-2985-13C9B6C814CB
NvHTTP {address: '192.168.1.100', ppkstr: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=', paired: true, currentGame: 881448767, serverMajorVersion: 7, …} server address: 192.168.1.100
server UID: CC080331-C70A-832F-2985-13C9B6C814CB
is paired: true
current game: 881448767
server major version: 7
appversion: 7.1.431.-1
GFE version: 3.23.0.74
gpu type:
number of apps:
supported display modes:
720:1280: 30,60,90,120,144,165
1080:1920: 30,60,90,120,144,165
2160:3840: 30,60,90,120,144,165
768:1366: 30,60,90,120,144,165
1440:2560: 30,60,90,120,144,165
1800:3200: 30,60,90,120,144,165
8962:1600: 30,60,90,120,144,165
utils.js:429 [utils.js, getBoxArt] Returning storage-cached box art for app: 881448767
utils.js:429 [utils.js, getBoxArt] Returning storage-cached box art for app: 1942687974
utils.js:429 [utils.js, getBoxArt] Returning storage-cached box art for app: 1093255277
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/serverinfo?uniqueid=0123456789ABCDEF&uuid=c410964d-cd6d-4409-9f9d-a15ae2d0c793 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
utils.js:297 [utils.js, _parseServerInfo] Parsing server info: n.fn.init [root, prevObject: n.fn.init(1), context: document, selector: 'root']
utils.js:410 [utils.js, utils.js] Returning memory-cached apps list
index.js:735 [index.js, startGame] startRequest:192.168.1.100:3840:2160:60:80000:0:1 :1 :1 :0x2201
utils.js:81 [utils.js, getConnectedGamepadMask] Detected 0 gamepads
index.js:838 [index.js, playGameMode] Entering play game mode
moonlight-wasm.js:1 CURL: https://192.168.1.100:47984/resume?uniqueid=0123456789ABCDEF&uuid=669798e7-3c7f-4ee9-9b4d-04889cc57288&rikey=7ae5092e191025b4398d266b0c67a063&rikeyid=-638501900&surroundAudioInfo=196610 (PPK: 'sha256//gK/RA6PjDHgAdH7lkQj3ebMmgag/XC14d+oAlOUIx/Y=') -> No error
moonlight-wasm.js:1 startStream host: 192.168.1.100 w: 3840 h: 2160
messages.js:68 [messages.js, handleMessage] Message data: Setting stream width to: 3840
messages.js:68 [messages.js, handleMessage] Message data: Setting stream height to: 2160
messages.js:68 [messages.js, handleMessage] Message data: Setting stream fps to: 60
messages.js:68 [messages.js, handleMessage] Message data: Setting stream host to: 192.168.1.100
messages.js:68 [messages.js, handleMessage] Message data: Setting stream bitrate to: 80000
messages.js:68 [messages.js, handleMessage] Message data: Setting rikey to: 7ae5092e191025b4398d266b0c67a063
messages.js:68 [messages.js, handleMessage] Message data: Setting rikeyid to: -638501900
messages.js:68 [messages.js, handleMessage] Message data: Setting appversion to: 7.1.431.-1
messages.js:68 [messages.js, handleMessage] Message data: Setting gfeversion to:
messages.js:68 [messages.js, handleMessage] Message data: Setting RTSP url to: rtsp://192.168.1.100:48010
messages.js:68 [messages.js, handleMessage] Message data: Setting frame pacing to: 1
messages.js:68 [messages.js, handleMessage] Message data: Setting audio syncing to: 1
messages.js:68 [messages.js, handleMessage] Message data: Setting HDR to:1
messages.js:68 [messages.js, handleMessage] Message data: Setting videoCodec: 0x2201
messages.js:68 [messages.js, handleMessage] Message data: Setting serverCodecSupportMode: 197377
messages.js:68 [messages.js, handleMessage] Message data: Starting connection to 192.168.1.100
moonlight-wasm.js:1 RTSP port: 48010
moonlight-wasm.js:1 Initializing platform...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting platform initialization...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Resolving host name...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting name resolution...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Initializing audio stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting audio stream initialization...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Starting RTSP handshake...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting RTSP handshake...
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 Audio port: 48000
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 Video port: 47998
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 Control port: 47999
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 setsockopt(TCP_MAXSEG, 536) failed: 50
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Initializing control stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting control stream initialization...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Initializing video stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting video stream initialization...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Initializing input stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting input stream initialization...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Starting control stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting control stream establishment...
moonlight-wasm.js:1 done
moonlight-wasm.js:1 Starting video stream...
messages.js:68 [messages.js, handleMessage] Message data: ProgressMsg: Starting video stream establishment...
moonlight-wasm.js:1 MoonlightInstance::VidDecSetup
moonlight-wasm.js:1 Waiting for closed
What a weird one, is it fully crashing ? Like closing the app ? Regarding app packaging, when you extracted the .wgt, did you remove the old signature files before repackaging ?
I'm a bit lost on this one, if you're willing to deep dive into it, you can still get the old docker images on github https://github.com/OneLiberty/moonlight-chrome-tizen/pkgs/container/moonlight-chrome-tizen/versions. This should allow you to trace back to the latest known working version and maybe to a commit (?) You'll just have to transfert the wgt from the docker container and package it again with tizen studio ...
is it fully crashing ? Like closing the app ?
Yes back to home screen.
Regarding app packaging, when you extracted the .wgt, did you remove the old signature files before repackaging ?
Yes, I remove signature1.xml and author-signature.xml.
I've actually cloned the repo locally and going through the commits and building/packaging each time. So already the 1.2.1 tag is working fine, now I'm halfway between 1.2.1 and HEAD and still working, I'll report back shortly.
The script I use to rebuild looks like this, though I don't know why sdb command stops the batch, so I have to uninstall-install manually after :
@echo off
rm -rf build
mkdir build
mkdir build\install
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=D:/2_ProgramsPortable/emsdk/fastcomp/emscripten/cmake/Modules/Platform/Emscripten.cmake -G Ninja ..
ninja
cmake --install . --prefix install\
cd install
cp ..\..\icons\icon.png widget\
tizen package -t wgt -s TizenBrewCertificate -- widget\ -o .\
sdb shell 0 vd_appuninstall MoonLightS.MoonlightWasm
tizen install -n Moonlight.wgt -t QA55S90DAUXMV
cd ..\..
pause
The culprit:
With the revert it works.
My guess is that forcing the game mode maybe works differently on newer models, or maybe something is wrong on the OS side.
Uh, this is really weird. It's a metadata specifically made for newer model (2022+ see https://developer.samsung.com/smarttv/develop/guides/cloud_gaming/cg_implement_webapp.html). Well i guess i'll need to remove it then :/
Thanks for all of this !
Weirdly enough I noticed that I can't change the picture mode, which is set to "Game" automatically, nor enable/disable game mode, it says that it can't be toggled while in cloud gaming (not the exact wording). The game bar doesn't open when long pressing the play/pause button.
So it seems somehow the app is enabling game mode without that commit in question ?
I'm not enterirely sure about this one but i think gamemode is forced regardless of the key in config.xml, tho it might do something else in the background that we don't know. I think this is due to the latency mode being set to kUltraLow https://github.com/OneLiberty/moonlight-chrome-tizen/blob/4f0e8aba88f171b212361d86ca30c2583d860ae4/wasm/main.cpp#L54
This is not the same thing as game bar, we can't access it via the app, unless we find a way to put the app in the gaming section of the TV ...
Here's the exact message. It's fine enough as it is if it enables the low latency optimization, that's what matters most. I guess you can close the issue.
Thanks for your time.
Might be a 2024 thing then. I'll close the issue when I update the app.
weird culprit, i guess the metadata set in config.xml wasn't needed if gamemode was already enabled/set in main.cpp
still odd that would be the cause for crashing though on 2024/tizen 8.0 models. guess we can blame Samsung docs on that. /s
Hi,
I encounter an issue with Moonlight where it starts the connection but the app crashes during the loading of the session (either during "RTSP hanshake" or one of the steps after it, it stays on it for about 3-5 seconds then it's gone), I don't get to see any image from the stream.
Here are my devices/software used:
Client side:
Server side:
At first when I tried installing with the docker image I received the "invalid certificate" issue, and after some digging I was able to install the app with my own samsung certificate. I had to extract the files from the wgt (except signature.xml files) and run tizen package command with -s [CertificateProfile] argument then I was able to install the new wgt. Also I tried the Demo version using a USB key but with it the install fails and I got a message saying it has an expired certificate (or license I don't remember).
I tested all combinations of features: 30/60fps from 4k to 480p, lowering bitrate, all codecs, disabling the other features like HDR and frame pacing ... Also tried with Wifi 5 and Ethernet.
Below is the Sunshine server log for 2 failed attemps (I removed some custom cmds I run on the server, replaced with REDACTED):
EDIT: I should mention that the server is working fine with Moonlight on all my other devices (Android, PC and Xbox Series X, so it's not a configuration issue.
Thanks for your help.