moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
4.15k stars 658 forks source link

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

Open flos06 opened 1 month ago

flos06 commented 1 month ago

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

markmghali commented 2 weeks ago

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

Originalimoc commented 1 week ago

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.

markmghali commented 4 days ago

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

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