moonlight-stream / moonlight-android

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

Black Screen on Android TV #1327

Open JohnB7777 opened 3 months ago

JohnB7777 commented 3 months ago

Describe the bug

Hello,

My bug has already been reported : I have a black screen on the Moonlight App on my android TV. The host PC is connected to the internet via ethernet cable, as is the television. I have the connection to my PC on the Moonlight App, but when I try to launch an app like my Desktop or Steam, I have the sound but a black screen.

Thank you.

Steps to reproduce

Affected games

All the games.

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

No change.

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

Android 11

Device model

Philips UHD Android TV

Server PC OS version

Windows 11

Server PC GeForce Experience version

3.27.0.120

Server PC Nvidia GPU driver version

551.23

Server PC antivirus and firewall software

Windows Defender

Screenshots

No response

Relevant log output

21:02:33,422]=22:02:33={5180}<StreamSdkEvents>  Invoking clientEventCallback NvstEventDetail::NVST_ED_RTSP_TEARDOWN_SUCCESS: 
#5(M)[2024-02-10 21:02:33,422]=22:02:33={5180}<SciBase>          Sent event RtspTeardownSuccess: 
#6(E)[2024-02-10 21:02:33,429]=22:02:33={5184}<VirtualVsyncServ> nvstVirtualVsyncIsActive failed due to StreamSdkException 800b1000 [NVST_R_INVALID_STATE] Cannot run the requested logic for state (1005) is incorrect.
#7(E)[2024-02-10 21:02:33,432]=22:02:33={2716}<VideoStreamer>    Failed to enqueue frame packet for stream:0 frame 382
#8(M)[2024-02-10 21:02:33,434]=22:02:33={2716}<VideoStreamer>    Perform video streaming is done. stream:0 Actual frames:381. Frame Number 382
#9(I)[2024-02-10 21:02:33,434]=22:02:33={2716}<VideoContext>     VideoStreamEventRaised
#0(D)[2024-02-10 21:02:33,434]=22:02:33={17676}<NvThread>         About to destroy native thread: CaptureThread (thread id: 0000000000001440)
#1(M)[2024-02-10 21:02:33,448]=22:02:33={5184}<CaptureThread>    Finished with status STATUS_RUNNING after capturing 383 frames
#2(I)[2024-02-10 21:02:33,448]=22:02:33={5184}<CaptureThread>    Capture ended normally
#3(D)[2024-02-10 21:02:33,448]=22:02:33={5184}<NvThread>         Completed thread function for native thread: CaptureThread (thread id: 0000000000001440)
#4(M)[2024-02-10 21:02:33,448]=22:02:33={5184}<AdapterContext>   GPU memory usage: used = 1456.542969, free = 10824.832031 MB, total = 12281.375000 MB
#5(I)[2024-02-10 21:02:33,448]=22:02:33={8000}<CaptureThread>    Invoking telemetry diagnostics event
#6(D)[2024-02-10 21:02:33,448]=22:02:33={17676}<NvThread>         Destroyed native thread: CaptureThread (thread id: 0000000000001440)
#7(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<VideoFrameProvid> Stopping Fbc7FrameProvider.
#8(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<VideoFrameProvid> Stopped.
#9(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<FrameProcessor>   Finalizing Frame Processor
#0(M)[2024-02-10 21:02:33,448]=22:02:33={2716}<FrameProcessor>   Finished with status STATUS_RUNNING after capturing 383 frames
#1(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<FrameProcessor>   Dropped 0 frames (0.000%)
#2(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<FrameProcessor>   Frame Processor ended normally
#3(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<FrameProcessor>   0 frames took long time (> 2 msec) to get prepared
#4(I)[2024-02-10 21:02:33,448]=22:02:33={2716}<NvEnc10VideoEnco> Flushing encoder.
#5(I)[2024-02-10 21:02:33,448]=22:02:33={5180}<StreamSdkEvents>  Invoking diagnosticsEventRaised LongFramePreperationTimeCount
#6(I)[2024-02-10 21:02:33,462]=22:02:33={2716}<VideoEncoder>     Stopped NvEnc10VideoEncoder.
#7(I)[2024-02-10 21:02:33,462]=22:02:33={2716}<VideoEncoder>     Deinitialized NvEnc10VideoEncoder.
#8(I)[2024-02-10 21:02:33,462]=22:02:33={2716}<VideoContext>     VideoStreamEventRaised
#9(I)[2024-02-10 21:02:33,462]=22:02:33={2716}<VideoFrameProvid> Deinitializing Fbc7FrameProvider.
#0(I)[2024-02-10 21:02:33,462]=22:02:33={2716}<Fbc7FrameProvide> Destroying FBC object.
#1(I)[2024-02-10 21:02:33,467]=22:02:33={2716}<Fbc7FrameProvide> Unloading FBC library
#2(I)[2024-02-10 21:02:33,467]=22:02:33={2716}<VideoFrameProvid> Deinitialized.
#3(I)[2024-02-10 21:02:33,468]=22:02:33={2716}<VideoPipeline>    De-initialized video pipeline for adapter 0.
#4(D)[2024-02-10 21:02:33,468]=22:02:33={8932}<StopEvent>        Append to 'Session'. VideoSender: Received NULL frame (0x80030000 NVST_DISCONN_INTENDED)
#5(D)[2024-02-10 21:02:33,468]=22:02:33={17676}<NvThread>         About to destroy native thread: VideoSenderThread (thread id: 00000000000022E4)
#6(I)[2024-02-10 21:02:33,468]=22:02:33={8932}<VideoSenderThrea> Video frame sending ended normally
#7(D)[2024-02-10 21:02:33,468]=22:02:33={8932}<StopEvent>        Append to 'Session'. VideoSenderThread: Thread ended (0x80030000 NVST_DISCONN_INTENDED)
#8(D)[2024-02-10 21:02:33,468]=22:02:33={8932}<NvThread>         Completed thread function for native thread: VideoSenderThread (thread id: 00000000000022E4)
#9(I)[2024-02-10 21:02:33,468]=22:02:33={5180}<StreamSdkEvents>  Invoking diagnosticsEventRaised VideoSenderShutdownLatencyMs
#0(D)[2024-02-10 21:02:33,468]=22:02:33={17676}<NvThread>         Destroyed native thread: VideoSenderThread (thread id: 00000000000022E4)
#1(I)[2024-02-10 21:02:33,468]=22:02:33={2716}<NetworkRtpSink>   Closing internal socket
#2(I)[2024-02-10 21:02:33,468]=22:02:33={2716}<NvNetworkWin32>   Invoking QOSRemoveSocketFromFlow for handle 0000000000000954
#3(I)[2024-02-10 21:02:33,468]=22:02:33={2716}<RtpVideoSender>   Closed video stream[0] UDP connection
#4(I)[2024-02-10 21:02:33,468]=22:02:33={2716}<VideoStreamer>    Stopped the video sender thread for stream:0.
#5(M)[2024-02-10 21:02:33,468]=22:02:33={2716}<VideoStreamerThr> Streamer ended normally
#6(D)[2024-02-10 21:02:33,468]=22:02:33={2716}<StopEvent>        Append to 'Session'. VideoStreamerThread: Thread ended (0x80030000 NVST_DISCONN_INTENDED)
#7(D)[2024-02-10 21:02:33,468]=22:02:33={2716}<NvThread>         Completed thread function for native thread: VideoStreamerThread (thread id: 0000000000000A9C)
#8(I)[2024-02-10 21:02:33,468]=22:02:33={5180}<StreamSdkEvents>  Invoking diagnosticsEventRaised VideoStreamerShutdownLatencyMs
#9(D)[2024-02-10 21:02:33,468]=22:02:33={5376}<NvThread>         Destroyed native thread: VideoStreamerThread (thread id: 0000000000000A9C)
#0(D)[2024-02-10 21:02:33,468]=22:02:33={1300}<NvThread>         Waiting on quit event for native thread: VideoStreamerThread (thread id: 0000000000000A9C)
#1(D)[2024-02-10 21:02:33,468]=22:02:33={1300}<NvThread>         Completed wait on quit event for native thread: VideoStreamerThread (thread id: 0000000000000A9C)
#2(I)[2024-02-10 21:02:33,468]=22:02:33={1300}<ClientControl>    Client control thread terminating
#3(I)[2024-02-10 21:02:33,468]=22:02:33={1300}<Etwprof>          Number of delayed commands: 1
#4(I)[2024-02-10 21:02:33,468]=22:02:33={1300}<ClientControl>    Created termination notification with reason 80040002, and 0 bytes of user-provided data.
#5(I)[2024-02-10 21:02:33,468]=22:02:33={1300}<ClientControl>    Send exit reason to client: 0x80040002
#6(E)[2024-02-10 21:02:33,468]=22:02:33={1300}<EnetSocket>       Failed to send message, run loop is continuing, socket is open, peer is 0000000000000000
#7(E)[2024-02-10 21:02:33,471]=22:02:33={1300}<ClientControlRel> Unable to send command packet
#8(W)[2024-02-10 21:02:33,472]=22:02:33={1300}<ClientControl>    Failed to notify the client that the server is terminating with result 0x80040002.
#9(I)[2024-02-10 21:02:33,472]=22:02:33={1300}<VideoStreamer>    Destroying video streamer.
#0(D)[2024-02-10 21:02:33,472]=22:02:33={1300}<VideoSenderThrea> Destroying video sender thread.
#1(D)[2024-02-10 21:02:33,472]=22:02:33={1300}<VideoPipeline>    Destroying video pipeline.
#2(I)[2024-02-10 21:02:33,472]=22:02:33={1300}<VideoPipeline>    Termination_validity_log: Encoder use count = 2
#3(I)[2024-02-10 21:02:33,472]=22:02:33={1300}<VideoPipeline>    Termination_validity_log: Frame Processor use count = 2
#4(M)[2024-02-10 21:02:33,472]=22:02:33={1300}<AdapterContext>   GPU memory usage: used = 1277.906250, free = 11003.468750 MB, total = 12281.375000 MB
#5(I)[2024-02-10 21:02:33,472]=22:02:33={3724}<EnetSocket>       Peer already destroyed
#6(I)[2024-02-10 21:02:33,476]=22:02:33={1300}<AdapterContext>   Deinitialized context for adapter 0
#7(D)[2024-02-10 21:02:33,476]=22:02:33={1300}<VideoSender>      Destroying video sender.
#8(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StreamSdkEvents>  Enqueuing event for stream of type NVST_MT_INPUT: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#9(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StreamSdkEvents>  Enqueuing event for stream of type NVST_MT_AUDIO: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#0(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<StreamSdkEvents>  Invoking event for stream of type NVST_MT_INPUT: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#1(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<NvInputStream>    InputStreamEventRaised
#2(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<NvInputStream>    Stop Input stream.
#3(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StreamSdkEvents>  Enqueuing event for stream of type NVST_MT_VIDEO_INTERNAL: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#4(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        Termination infos:
#5(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        - Source 'ClientControl', reason '', code 0x80040002 NVST_NETERR_CONNLOST
#6(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        - Source 'ClientControl', reason '', code 0x80040002 NVST_NETERR_CONNLOST
#7(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>          Ignoring as non-default unintended reason has precedence.
#8(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        - Source 'VideoSender', reason 'Received NULL frame', code 0x80030000 NVST_DISCONN_INTENDED
#9(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>          Ignoring as non-default unintended reason has precedence.
#0(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        - Source 'VideoSenderThread', reason 'Thread ended', code 0x80030000 NVST_DISCONN_INTENDED
#1(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>          Ignoring as non-default unintended reason has precedence.
#2(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>        - Source 'VideoStreamerThread', reason 'Thread ended', code 0x80030000 NVST_DISCONN_INTENDED
#3(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<StopEvent>          Ignoring as non-default unintended reason has precedence.
#4(W)[2024-02-10 21:02:33,477]=22:02:33={1300}<NvscStreamingSes> Terminated unintentionally with reason 0x0002
#5(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<NvscStreamingSes> stopping audio controller
#6(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<RtpAudioStreamer> exiting audio streamer timeMs 6677 packetCount 1330
#7(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<Etwprof>          Audio drift stats - Ratio: -0.012878, Total Drift: -86 ms, Packet Count: 1330
#8(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<FecRtpSink>       No network errors observed
#9(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<NetworkRtpSink>   Closing internal socket
#0(I)[2024-02-10 21:02:33,477]=22:02:33={1300}<NvNetworkWin32>   Invoking QOSRemoveSocketFromFlow for handle 0000000000000954
#1(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<StreamSdkEvents>  Invoking event for stream of type NVST_MT_AUDIO: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#2(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<AudioController>  Audio Stream: Disconnected
#3(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<StreamSdkEvents>  Invoking event for stream of type NVST_MT_VIDEO_INTERNAL: NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL, message = 'Session quitting.'
#4(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<VideoContext>     VideoStreamEventRaised
#5(I)[2024-02-10 21:02:33,477]=22:02:33={5180}<StreamSdkEvents>  Invoking clientEventCallback NvstEventDetail::NVST_ED_STREAM_DISCONNECT_UNINTENTIONAL: NVST_NETERR_CONNLOST
#6(M)[2024-02-10 21:02:33,477]=22:02:33={5180}<SciBase>          Sent event StreamDisconnectUnintentional: NVST_NETERR_CONNLOST
#7(I)[2024-02-10 21:02:33,477]=22:02:33=*00000*{5180}&491E1113&<StreamSdkEvents>  Invoking diagnosticsEventRaised AudioStreamerShutdownLatencyMs
#8(I)[2024-02-10 21:02:33,477]=22:02:33=*00000*{1300}&5A461FAE&<NvscStreamingSes> Stopped the remote input handler
#9(D)[2024-02-10 21:02:33,477]=22:02:33=*00000*{5376}&18DE89B6&<NvThread>         About to destroy native thread: ClientControl (thread id: 0000000000004388)
#0(D)[2024-02-10 21:02:33,477]=22:02:33=*00000*{5376}&170566A6&<NvThread>         Destroyed native thread: ClientControl (thread id: 0000000000004388)
#1(I)[2024-02-10 21:02:33,477]=22:02:33=*00000*{1300}&E798D567&<NvscStreamingSes> Session control thread completed
#2(I)[2024-02-10 21:02:33,477]=22:02:33=*00000*{1300}&91561257&<EnetSocket>       EnetSocket destructor is called
#3(I)[2024-02-10 21:02:33,478]=22:02:33=*00000*{1300}&A7EB0FA2&<DataChannelBuffe> Message queue max size was 2
#4(I)[2024-02-10 21:02:33,478]=22:02:33=*00000*{1300}&582882F2&<EnetSocket>       Deinitializing enet
#5(I)[2024-02-10 21:02:33,478]=22:02:33=*00000*{1300}&6CCC069B&<NvscStreamingSes> NvscStreamingSession::ControlServerTrace called with serverTraceCapture: 0
#6(D)[2024-02-10 21:02:33,478]=22:02:33=*00000*{1300}&C0536695&<NvscStreamingSes> Tracing called with 0MB size
#7(D)[2024-02-10 21:02:33,478]=22:02:33=*00000*{5376}&18DE89B6&<NvThread>         About to destroy native thread: WindowsMessageHandler (thread id: 000000000000475C)
#8(I)[2024-02-10 21:02:33,478]=22:02:33=*00000*{18268}&2E7F30F0&<WindowsMessageHa> Received WM_DESTROY message
#9(I)[2024-02-10 21:02:33,478]=22:02:33=*00000*{18268}&990B5200&<WindowsMessageHa> Processed WM_DESTROY message
#0(D)[2024-02-10 21:02:33,479]=22:02:33=*00000*{18268}&449F22CA&<NvThread>         Completed thread function for native thread: WindowsMessageHandler (thread id: 000000000000475C)
#1(D)[2024-02-10 21:02:33,479]=22:02:33=*00001*{5376}&170566A6&<NvThread>         Destroyed native thread: WindowsMessageHandler (thread id: 000000000000475C)
#2(I)[2024-02-10 21:02:33,479]=22:02:33=*00001*{1300}&80672394&<StopEvent>        Termination infos:
#3(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9A299B03&<StopEvent>        - Source 'ClientControl', reason '', code 0x80040002 NVST_NETERR_CONNLOST
#4(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9A299B03&<StopEvent>        - Source 'ClientControl', reason '', code 0x80040002 NVST_NETERR_CONNLOST
#5(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9CAFBFE8&<StopEvent>          Ignoring as non-default unintended reason has precedence.
#6(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9A299B03&<StopEvent>        - Source 'VideoSender', reason 'Received NULL frame', code 0x80030000 NVST_DISCONN_INTENDED
#7(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9CAFBFE8&<StopEvent>          Ignoring as non-default unintended reason has precedence.
#8(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9A299B03&<StopEvent>        - Source 'VideoSenderThread', reason 'Thread ended', code 0x80030000 NVST_DISCONN_INTENDED
#9(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9CAFBFE8&<StopEvent>          Ignoring as non-default unintended reason has precedence.
#0(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9A299B03&<StopEvent>        - Source 'VideoStreamerThread', reason 'Thread ended', code 0x80030000 NVST_DISCONN_INTENDED
#1(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&9CAFBFE8&<StopEvent>          Ignoring as non-default unintended reason has precedence.
#2(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&90800EAD&<NvscStreamingSes> Termination reason to report(I): NVST_NETERR_CONNLOST
#3(I)[2024-02-10 21:02:33,479]=22:02:33=*00000*{1300}&C29635E2&<NvscStreamingSes> Quit sequence completed
#4(I)[2024-02-10 21:02:33,479]=22:02:33=*00002*{5180}&491E1113&<StreamSdkEvents>  Invoking diagnosticsEventRaised TerminationReasonSecond

Additional context

No response

JohnB7777 commented 2 months ago

Hello,

Can someone help me, please ?

Thanks !