moonlight-android icon indicating copy to clipboard operation
moonlight-android copied to clipboard

[Issue]: Video decoder crashed when using 90/120fps above 1080p

Open flos06 opened this issue 1 year ago • 2 comments

Describe the bug

I am using sunshine as the host on a monitor that is 1440p HDR enabled 180hz refresh rate. I am streaming to my android tv running Moonlight. My tv is Sony XH9505 which is 120hz capable. When trying to use 120fps in moonlight 1440p it crashes saying Video decoder crashed. Make sure Geforce now is updated to the latest version.

1440p 60 fps works fine. 1080p 120fps also works fine. Seeing how I don't know how to get logs from an android tv or anything I don't really know what to do or what is wrong. Any ideas? Tried h264 as well but no dice.

Same happens on 90fps btw.

I've tried pre release and stable sunshine versions.

Steps to reproduce

Select a higher fps than 60 and a resolution above 1080p

Affected games

all. I can't even get to desktop or steam big picture.

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

enable higher FPS. (90/120fps)

Moonlight default settings

No

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

No

Android version

10

Device model

Sony XH9505

Server PC OS version

Windows 11 22631

Server PC GeForce Experience version

Version v2024.928.45639

Server PC Nvidia GPU driver version

AMD 24.8.1

Server PC antivirus and firewall software

Windows defender and firewall

Screenshots

No response

Relevant log output

No response

Additional context

No response

flos06 avatar Sep 28 '24 16:09 flos06

I am having a similar issue 1080p and 1440p work on pixel 9 pro XL. But when trying and fps above 60 it won't work.

1440p and 120fps works fine on Windows for moonlight and the same host. Using sunshine

markmghali avatar Oct 13 '24 13:10 markmghali

Same here. Android 15 Pixel 7 Pro. Max I can set is 1440/60 otherwise anything above that it'll crash back to the PC apps menu and logcat *:E shows nothing and logcat shows only some moonlight-commom-c error nothing related to the decoder. Funny thing is I enabled multiple stream on Sunshine so I started another Linux moonlight first so Sunshine actually cap the FPS at 144 then the phone happily works under 2K144 despite setting at 2K60 and working.

Originalimoc avatar Oct 21 '24 14:10 Originalimoc

setting my phone to full resolution fixed the issue for me. see related thread

https://github.com/moonlight-stream/moonlight-android/issues/1282

markmghali avatar Oct 25 '24 18:10 markmghali

I compiled from source and fixed the hide notch non-fullscreen resolution setting problem, along side with this problem not even showing up... Not sure which patch solved it. #1437

Originalimoc avatar Nov 04 '24 13:11 Originalimoc