Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constant crashing for 1440p at 120Hz #104

Open
Anselome opened this issue Jan 15, 2024 · 12 comments
Open

Constant crashing for 1440p at 120Hz #104

Anselome opened this issue Jan 15, 2024 · 12 comments

Comments

@Anselome
Copy link

Describe the bug
The client starts to connect. The screen goes black for a few seconds and then returns to the Xbox dashboard.

To Reproduce
Steps to reproduce the behavior:

  1. Have host and client set to 2560x1440@120Hz
  2. Connect to host from client and launch any application
  3. Client will begin to connect
  4. Screen will go black
  5. User will be returned to Xbox dashboard

Expected behavior
The application opens in the client and is usable

Screenshots or Videos
N/A

** Logs **
Unable to gather logs from Moonlight as it crashes before I am able
From Sunshine:
[2024:01:15:09:48:09]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:01:15:09:48:09]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:01:15:09:48:09]: Info: Executing [Desktop]
[2024:01:15:09:48:09]: Info: nvprefs: No need to modify application profile settings
[2024:01:15:09:48:09]: Info: nvprefs: No need to modify global profile settings
[2024:01:15:09:48:09]: Info: WLAN interface 0 is now in low latency mode
[2024:01:15:09:48:09]: Info: CLIENT CONNECTED
[2024:01:15:09:48:09]: Info:
Device Description : AMD Radeon(TM) Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x00001681
Device Video Mem : 485 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7778 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 1920x1080
[2024:01:15:09:48:09]: Info: Active GPU has HAGS disabled
[2024:01:15:09:48:09]: Info: Using realtime GPU priority
[2024:01:15:09:48:09]: Info: Desktop resolution [1920x1080]
[2024:01:15:09:48:09]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:15:09:48:09]: Info: Display refresh rate [120Hz]
[2024:01:15:09:48:09]: Info: Requested frame rate [120fps]
[2024:01:15:09:48:09]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.694336,0.292969]
Green Primary : [0.274414,0.65918]
Blue Primary : [0.148438,0.0566406]
White Point : [0.313477,0.329102]
Min Luminance : 0.0006 nits
Max Luminance : 1015.27 nits
Max Full Luminance : 603.698 nits
[2024:01:15:09:48:09]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:15:09:48:09]: Info: SDR color coding [Rec. 601]
[2024:01:15:09:48:09]: Info: Color depth: 8-bit
[2024:01:15:09:48:09]: Info: Color range: [MPEG]
[2024:01:15:09:48:17]: Info:
Device Description : AMD Radeon(TM) Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x00001681
Device Video Mem : 485 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7778 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 2560x0
Virtual Desktop : 5120x1440
[2024:01:15:09:48:17]: Info: Active GPU has HAGS disabled
[2024:01:15:09:48:17]: Info: Using realtime GPU priority
[2024:01:15:09:48:17]: Info: Desktop resolution [2560x1440]
[2024:01:15:09:48:17]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:15:09:48:17]: Info: Display refresh rate [120Hz]
[2024:01:15:09:48:17]: Info: Requested frame rate [120fps]
[2024:01:15:09:48:17]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.694336,0.292969]
Green Primary : [0.274414,0.65918]
Blue Primary : [0.148438,0.0566406]
White Point : [0.313477,0.329102]
Min Luminance : 0.0006 nits
Max Luminance : 1015.27 nits
Max Full Luminance : 603.698 nits
[2024:01:15:09:48:17]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:15:09:48:17]: Info: SDR color coding [Rec. 601]
[2024:01:15:09:48:17]: Info: Color depth: 8-bit
[2024:01:15:09:48:17]: Info: Color range: [MPEG]
[2024:01:15:09:48:25]: Info: CLIENT DISCONNECTED

Guest Information:

  • Xbox Model: Series X
  • Xbox Resolution: 1440p
  • Xbox Refresh Rate: 120Hz
  • TV Resolution: 1440p@120Hz

Host Information

  • Operating System: Windows 11
  • Host Software: Sunshine
  • Monitor Resolutions: 2560x1440 @ 120Hz

Additional context
I have Sunshine version 0.21.0 (the latest version available) installed on my gaming laptop. Mostly default settings. I have added the 2560x1440 resolution to the list of advertised resolutions, but aside from that it's all defaults. I have Moonlight version 1.14.7.70 installed on my Xbox Series X. When I open it, I can see my laptop and open the list of applications, but as soon as I select one, it begins to connect, the screen goes black for a couple of seconds before I am returned to the Xbox dashboard. Within moonlight I have it set to normal scaling instead of 4k. I have the host set to 2560x1440@120Hz with everything else set to default. When I configure other resolutions and refresh rates, it works fine. I would just prefer to have these settings as they are the highest my TV supports.

@TheElixZammuto
Copy link
Owner

Does the crash happen if Moonlight runs on 1080p120Hz or at 1440p60Hz ?
I want to understand if it a resolution, refresh rate or a combination of both that causes the problem

@Anselome
Copy link
Author

Anselome commented Jan 15, 2024 via email

@TheElixZammuto
Copy link
Owner

Just the Moonlight Application settings should be fine

@Anselome
Copy link
Author

Anselome commented Jan 15, 2024 via email

@TheElixZammuto
Copy link
Owner

Hi, Can you check if version 1.15.3 now works as expected?

@Anselome
Copy link
Author

Hi.

When I use that new version, it gets a little further, but it still winds up crashing. Here are some videos I took. I stopped recording after a while each time but it eventually does crash and bring me back to the Xbox Dashboard.

https://youtu.be/WEkDEHjY_Jg
https://youtu.be/ci7BP6_OfjU

Here are the sunshine logs:

[2024:01:24:09:24:21]: Info: Found H.264 encoder: h264_amf [amdvce]
[2024:01:24:09:24:21]: Info: Found HEVC encoder: hevc_amf [amdvce]
[2024:01:24:09:24:21]: Info: Executing [Desktop]
[2024:01:24:09:24:22]: Info: nvprefs: No need to modify application profile settings
[2024:01:24:09:24:22]: Info: nvprefs: No need to modify global profile settings
[2024:01:24:09:24:22]: Info: WLAN interface 0 is now in low latency mode
[2024:01:24:09:24:22]: Info: CLIENT CONNECTED
[2024:01:24:09:24:22]: Info: Gamepad 0 will be Xbox 360 controller (default)
[2024:01:24:09:24:22]: Info:
Device Description : AMD Radeon(TM) Graphics
Device Vendor ID : 0x00001002
Device Device ID : 0x00001681
Device Video Mem : 485 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 7778 MiB
Feature Level : 0x0000B100
Capture size : 2560x1440
Offset : 0x0
Virtual Desktop : 2560x1440
[2024:01:24:09:24:22]: Info: Active GPU has HAGS disabled
[2024:01:24:09:24:22]: Info: Using realtime GPU priority
[2024:01:24:09:24:22]: Info: Desktop resolution [2560x1440]
[2024:01:24:09:24:22]: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:24:09:24:22]: Info: Display refresh rate [120Hz]
[2024:01:24:09:24:22]: Info: Requested frame rate [120fps]
[2024:01:24:09:24:22]: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 10
Red Primary : [0.694336,0.292969]
Green Primary : [0.274414,0.65918]
Blue Primary : [0.148438,0.0566406]
White Point : [0.313477,0.329102]
Min Luminance : 0.0006 nits
Max Luminance : 1015.27 nits
Max Full Luminance : 603.698 nits
[2024:01:24:09:24:22]: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
[2024:01:24:09:24:22]: Info: SDR color coding [Rec. 601]
[2024:01:24:09:24:22]: Info: Color depth: 8-bit
[2024:01:24:09:24:22]: Info: Color range: [MPEG]
[2024:01:24:09:24:43]: Info: CLIENT DISCONNECTED

@kentyman23
Copy link

I just wanted to report that I got some random crashes with 1440p60Hz. I didn't debug further because I was really only trying it out (normally play on Fire TV or LG TV), but I can if it would be helpful.

@harun911
Copy link

harun911 commented Feb 13, 2024

I can confirm that the 1440p option has issues. For me it's a black screen regardless of choosing 120fps or 60fps. All other resolutions seem to work flawlessly (1080p60, 1080p120, 2160p60 and 2160p120). So, something is just off with the 1440p resolution, not necessarily the frame speed)

EDIT: The problems are only with the H.264 codec it seems. The HEVC H.265 codec seems to work. But I rather prefer to use the H.264 codec, because I have weird colourful artifacts after playing a certain amount of time with the HEVC codec.

@willsy32
Copy link

willsy32 commented Feb 28, 2024

1440p just straight up doesn't work for me. Sometimes it'll show the desktop and sometimes it won't. When it does it's cropped in the top left corner. Tried messing with Xbox resolution settings to see if I could fix it but it's just completely broken on my end.

Edit: I found out 265 codecs at least show the desktop and 264 is black screen. Both seem to still be cropped.

@harun911
Copy link

harun911 commented Mar 7, 2024

@TheElixZammuto Any updates regarding this?

@Ramshu
Copy link

Ramshu commented Apr 3, 2024

If you have the 7.1 sound enabled in the app, try changing it to 5.1, doing this the crashes stopped.

#119 (comment)

@harun911
Copy link

harun911 commented Apr 5, 2024

If you have the 7.1 sound enabled in the app, try changing it to 5.1, doing this the crashes stopped.

#119 (comment)

This is not the reason why 1440p crashes on my end. Because the audio has been on stereo on all different resolutions and refresh rates. There must be an error in the implementation of 1440p somewhere. Because 1080p and 2160p, both work fine, with different refresh rates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants