moonlight-stream / moonlight-android

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

Pixel 8 Pro Not Connecting at 120fps #1282

Open danielcherubini opened 11 months ago

danielcherubini commented 11 months ago

Describe the bug

Hi, I've noticed an issue with Sunshine as the backend, on a Pixel 8 Pro with moonlight android as the frontend. Basically, if it's set to 90 or 120hz, it won't start the stream. Sometimes it will say to raise the concurrent stream limit, which i've set to values ranging from 60-64000. All with zero luck.

I checked the logs, and something I've noticed is when I connect via my ShieldTV Pro, i see different values for the requested frame rate

Pixel 8 Pro requesting 120fps:

[2023:11:22:20:17:22]: Info: Display refresh rate [239.97Hz]
[2023:11:22:20:17:22]: Info: Requested frame rate [60fps]

Android TV Requesting 120hz

[2023:11:22:20:33:14]: Info: Display refresh rate [239.97Hz]
[2023:11:22:20:33:14]: Info: Requested frame rate [120fps]

I did some googling, and found this https://www.reddit.com/r/cloudygamer/comments/17ivq8n/moonlight_host_returned_error/

I don't have any other Android 14 devices to test if it's an Android 14 issue with 120hz screens, but I did google, and find people with other Android 14 devices talking about how good it works for them, so, anecdotally it might not be the OS version, but something specific to the Pixel 8.

Steps to reproduce

Select 120fps on a Pixel 8 Pro, try and connect to your PC, it fails. Select 60fps on the same device, and connect again, it succeeds. Select 120fps on a different device, and it succeeds.

Affected games

All games, Desktop, everything.

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

FPS, Resolution, and Bitrate, nothing seems to make a difference except FPS.. lowering it fixes the issue.

Moonlight default settings

No

Gamepad-related connection issue

No

Gamepad-related input issue

No

Gamepad-related streaming issue

No

Android version

14

Device model

Google Pixel 8 Pro

Server PC OS version

Windows 11 23H1

Server PC GeForce Experience version

Sunshine 0.21.0

Server PC Nvidia GPU driver version

546.17

Server PC antivirus and firewall software

Defender, and Firewall, the basics

Screenshots

No response

Relevant log output

Pixel 8 Pro requesting 120fps:
[2023:11:22:20:17:22]: Info: Display refresh rate [239.97Hz]
[2023:11:22:20:17:22]: Info: Requested frame rate [60fps]

Android TV Requesting 120hz
[2023:11:22:20:33:14]: Info: Display refresh rate [239.97Hz]
[2023:11:22:20:33:14]: Info: Requested frame rate [120fps]

Additional context

No response

Pevtrick commented 11 months ago

This may be related to #1230. Have you tried to set the Android Display settings to "Full resolution"?

danielcherubini commented 11 months ago

@Pevtrick Excellent catch, yes, I updated the screen resolution to Full Resolution, and it resolved the issue!

Originalimoc commented 4 days ago

There is a cap-FPS setting in the system-dev setting BTW, is that too?