moonlight-stream / moonlight-android

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

[Issue]: Freeze/Crash on session start when Android display settings are not set to full resolution #1230

Open Pevtrick opened 12 months ago

Pevtrick commented 12 months ago

Describe the bug

First of all my setup:

When a gamestream session (desktop/mstsc.exe) is started, the app crashes. The screen goes black and freezes. If I change the Android screen settings to "Full resolution (1440p QHD+)", it works. If I change the Moonlight video resolution to one of the 16/9 settings, it works (also with Android screen settings set to "High resolution (1080p FHD+)".

Steps to reproduce

Affected games

Only Desktop/mstsc.exe was tested. However, it certainly affects all programs.

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

Video Resolution is set to the lower native resolution (2340x1080)

Moonlight default settings

No

Android version

Android 13

Device model

Google Pixel 7 Pro

Server PC OS version

Windows 11 Pro 22H2

Server PC GeForce Experience version

3.27.0.112

Server PC Nvidia GPU driver version

536.40

Server PC antivirus and firewall software

Windows Defender and Windows Firewall

Screenshots

No response

Relevant log output

No response

Additional context

No response

cgutman commented 10 months ago

Is Moonlight crashing or is the host software failing? GeForce Experience has known issues streaming resolutions that aren't 720p/1080p/4K. That's why you get the big warning message when you switch to a native resolution.

Pevtrick commented 10 months ago

It seems that Moonlight is failing. The streaming session is marked as running after i restart Moonlight.

Screenshot_20230829-092800 The last image when Moonlight freezes. It happens while the rotation animation from portrait to landscape view is running.

Screenshot_20230829-092808~2 The session is still running after restarting the app.

Pevtrick commented 8 months ago

Update: The problem still exists in Moonlight v12.0 on Android 14 with Sunshine 0.21.0.

danielcherubini commented 7 months ago

Adding this here, but this also seems to happen with any FPS above 60, so 90 and 120 have issues unless you set the phone to "Full Resolution"

Linking that ticket #1282