mariotaku / ihsplay

Steam In-Home Streaming Client Application
GNU General Public License v3.0
326 stars 9 forks source link

[BUG] Black screen after start #48

Open TheBarrelGod opened 10 months ago

TheBarrelGod commented 10 months ago

Issue Summary

I start the application normally press start streaming and my PC goes mute and steam big picture starts, lets me use my remote to control, but shows a black screen

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open ihsplay
  2. Click on start streaming
  3. See error

Expected Behavior

ihsplay to start casting steam

Basic Information

IHSplay Information

Version 0.2.8 Audio module: ndl-webos5 Video module: ndl-webos5 System: webOS 8.2.0 (HE_DTVW23A_AFADATAA)

Computer Setup

Windows. AMD graphics card and CPU.

Additional Context

No error can be seen

XXLpeanuts commented 8 months ago

I get the same thing

guhndr commented 7 months ago

Same Windows 11, NVIDIA graphics card, AMD cpu

marrduk commented 6 months ago

Same here. AMD r5 7500f, ZOTAC RTX 4070, Asrock B650M PG Riptide Mobo, Windows 11

OOSSGL commented 6 months ago

Same for me, specs: Windows 10 Pro, AMD Ryzen 5 3600, AMD Radeon RX 5700 XT, LG OLED 55

Hope it helps

mariotaku commented 6 months ago

Hi, I didn't get time to check this issue recently, but did anyone try moonlight? Does that work? If so, we can rule out the video decoder issue because they share the same video decoder.

guhndr commented 6 months ago

Hi, I didn't get time to check this issue recently, but did anyone try moonlight? Does that work? If so, we can rule out the video decoder issue because they share the same video decoder.

I'm using moonlight and it's working fine.

macmoritz commented 2 months ago

I got the same behaviour on a rpi 4, needed to build ihsplay myself. Moonlight worked fine. Log:

[0000.648] [SDL.ERROR]        D Failed loading udev_device_get_action: /lib/arm-linux-gnueabihf/libSDL2-2.0.so.0: undefined symbol: _udev_device_get_action
[0000.678] [SDL.INPUT]        D Using udev for joystick device discovery
[0000.959] [SDL.ERROR]        D Haptic: Unable to get device's features: Invalid argument
[0000.980] [APP]              I System: Linux 6.1.21
[SS4S.Module] Module `alsa` check result: 1[0000.999] [SS4S.Audio]       I Opening driver alsa
[0001.000] [SS4S.Audio]       I Opened driver: alsa
[0001.000] [SS4S.Video]       I Opening driver mmal
[0001.006] [SS4S.Video]       I Opened driver: mmal
[0001.366] [SDL.RENDER]       I OpenGL shaders: ENABLED
[0001.366] [SDL.RENDER]       I Created renderer: opengl
[0001.432] [SDL.INPUT]        I libcecc initialized
[0001.480] [SDL.INPUT]        I Opened CEC device /sys/devices/platform/soc/fef00700.hdmi/cec0
[0001.540] [Hosts]            D New host discovered: DESKTOP-ATAMIHC
[0003.406] [IHS.Client]       I Begin sending streaming request to host DESKTOP-ATAMIHC
[0003.422] [IHS.Client]       D Sending streaming request packet to host DESKTOP-ATAMIHC
[0003.697] [IHS.Client]       D Streaming request succeeded: host DESKTOP-ATAMIHC
[0003.705] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerSetWaitAudioVideoReady
[0003.705] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerSetWaitAudioVideoReady
[0003.719] [StreamManager]    I Change state to CONNECTING
[0003.720] [IHS.Session]      I Starting session thread
[0003.720] [IHS.Worker]       I Worker thread IHSSession created
[0003.720] [IHS.Session]      I Starting session thread
[0003.738] [IHS.Control]      D Send control message: k_EStreamControlClientHandshake, id=0
[... up to id=21]
[0004.492] [IHS.Control]      D Send control message: k_EStreamControlAuthenticationRequest, id=21
[0004.508] [IHS.Session]      I Authenticated
[0004.509] [IHS.Control]      D Send control message: k_EStreamControlNegotiationSetConfig, id=22
[0004.524] [IHS.Control]      D Send control message: k_EStreamControlNegotiationComplete, id=23
[0004.525] [StreamManager]    I Change state to STREAMING
[0004.528] [IHS.HID]          D Start enumerate device. Number of providers: 1
[0004.530] [IHS.Control]      D Set QoS config. use_qos=0
[0004.535] [IHS.Channel]      I Adding channel 3
[0004.535] [IHS.Control]      D Set client config. spectator_mode=0
[0004.535] [IHS.Data]         I Starting Audio channel
[0004.535] [Media]            I Audio start. codec=3, channels=2, sampleRate=48000
[0004.536] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerAudioOpen
[0004.544] [IHS.Video]        D SetCaptureSize(width=1707, height=960)
[0004.544] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerAudioOpen
[0004.544] [IHS.Data]         I Audio channel started
[0004.546] [IHS.Control]      I Set title: Big-Picture-Modus
[0006.803] [IHS.Video]        D SetCaptureSize(width=1706, height=960)
[0006.804] [IHS.Control]      I Set title: Windows-Standardsperrbildschirm
[0006.835] [IHS.Video]        D SetCaptureSize(width=1707, height=960)
[0007.067] [IHS.Channel]      I Adding channel 4
[0007.067] [IHS.Data]         I Starting Video channel
[0007.067] [Media]            I Video start. codec=4, width=1920, height=1078
[0007.067] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerVideoOpen
[0007.067] [IHS.Video]        D VideoEncoderInfo(Desktop BitBlt RGB + libyuv + scale + Intel QuickSync D3D11)
[0007.069] [SS4S.MMAL]        I create decoder 1920 x 1078
[0007.077] [IHS.Control]      I Unhandled control message: unknown
[0007.128] [SS4S.MMAL]        I mmal decoder initialized
[0007.128] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerVideoOpen
[0007.128] [IHS.Control]      D Send control message: k_EStreamControlVideoDecoderInfo, id=25
[0007.129] [IHS.Data]         I Video channel started
[0007.129] [IHS.Video]        D Coming keyframe
[0008.924] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerVideoSetDisplayArea
[0008.924] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerVideoSetDisplayArea
[0009.479] [StreamManager]    I Change state to DISCONNECTING
[0009.489] [IHS.Session]      I Session disconnected
[0009.489] [IHS.Data]         I Stopping Video channel
[0009.490] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerVideoClose
[0009.490] [StreamManager]    I Change state to IDLE
[0009.490] [IHS.Data]         I Stopping Audio channel
[0009.490] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerAudioClose
[0009.493] [SS4S.MMAL]        W Video render error MMAL_EVENT_ERROR:7
[0009.493] [SS4S.MMAL]        W Video render error MMAL_EVENT_ERROR:7
[0009.499] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerVideoClose
[0009.596] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerAudioClose
[0009.597] [IHS.Session]      I Destroying session, bye!
[0009.597] [SS4S.Mutex]       D Locking mutex 0x1263a58 from SS4S_PlayerClose
[0009.597] [SS4S.Mutex]       D Unlocking mutex 0x1263a58 from SS4S_PlayerClose
[0012.469] [IHS.Client]       I Destroying client, bye!