STEAM GROUP
Steam Remote Play homestream
STEAM GROUP
Steam Remote Play homestream
1,840
IN-GAME
30,100
ONLINE
Founded
November 7, 2013
Streaming FEZ with Intel Quick Sync to Mac disconnects stream
ISSUE:

Streaming FEZ using Intel Quick Sync encoding to an OS X Client using VideoToolbox decoding will disconnect the stream around 1/3 of the time.

It won't disconnect abruptly every time. If it doesn't disconnect on the first try of reproducing this, just quit the game via in-game menus and try again. I've had it work 3 times in a row before it disconnected on the fourth time (but that was very rare). Usually it will disconnect on the second time.

On rare occasions I've had it kernal panic my Mac.


POINTS:

- Using NVENC, NVFBC, software encoding works. It's only Quick Sync.
- Streaming to a Windows client using it's variation of hardware decoding also works.
- Steam Link works.
- Using software decoding on my Mac will work. But I'd rather not, because battery life.
- I've tried other games such as The Witness, which doesn't seem to have this issue but other games such as Batman Arkham Knight do though. But it most easily reproducable with FEZ.
- I also successfully tried using "-dumpvideostream" to capture a stream that might crash OS X, but didn't. I was hoping to be able to radar it to Apple :(


OTHER:

I've reported variations of this issue over the life of In-Home Streaming but has never been fully fixed, it's sort of been an off and on sort of bug.

If a Steam dev is reading it would mean allot to me if you replied, even if a fix isn't immediately clear.

I know it's a bit on the lengthy side, but I didn't want to leave anything out so you can squash this bug once and for all.


NOT SURE:

Where's the best place to post someting like this for best dev visibility? I'm not sure anyone reads the In-Home Streaming discussions anymore, it feels like the Steam Link discussions are the place to be. Correct me if I'm wrong.


SPECS:

[Host]
Intel 6700k
GTX 780 Ti
16GB RAM
Windows 8.1
Ethernet

[Client - Retina Macbook Pro 15" 2013]
Intel i7
Intel Iris Pro, GT 750m
16GB RAM
OS X El Capitan 10.11.5
Wireless AC 5GHz


LOG:

[2016-06-02 17:26:22] Streaming started to michaels-macbook-pro at 10.10.1.27:63926, audio channels = 2, MTU = 1468
[2016-06-02 17:26:22] =====================================================================
[2016-06-02 17:26:22] Game: FEZ (224760)
[2016-06-02 17:26:22] Recording system audio
[2016-06-02 17:26:22] Recording on device: Realtek Digital Output (Realtek High Definition Audio)
[2016-06-02 17:26:22] Audio client mix format:
[2016-06-02 17:26:22] format: 65534
[2016-06-02 17:26:22] channels: 2
[2016-06-02 17:26:22] samples/sec: 48000
[2016-06-02 17:26:22] bytes/sec: 384000
[2016-06-02 17:26:22] alignment: 8
[2016-06-02 17:26:22] bits/sample: 32
[2016-06-02 17:26:22] channel mask: 0x3
[2016-06-02 17:26:22] data format: {00000003-0000-0010-8000-00AA00389B71}
[2016-06-02 17:26:22] Initializing audio with 2 channels and 48000 samples/sec
[2016-06-02 17:26:22] Audio mix: start=86586465614, returned=0
[2016-06-02 17:26:22] Audio source [System Windows]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
[2016-06-02 17:26:22] Changing record window: 001D0798
[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetQoS

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetTargetBitrate

[2016-06-02 17:26:22] CLIENT: Starting audio stream: frequency=48000, channels=2

[2016-06-02 17:26:22] CLIENT: Opened audio device: format=2, channels=2, frequency=48000

[2016-06-02 17:26:22] CLIENT: Initialized audio decoder: codec=3, sample rate=48000, channels=2

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlStartAudioData

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetTitle

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetIcon

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetCursor

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetActivity

[2016-06-02 17:26:22] CLIENT: Got control packet k_EStreamControlSetCursorImage

[2016-06-02 17:26:23] CLIENT: Got control packet k_EStreamControlHideCursor

[2016-06-02 17:26:23] CLIENT: Got control packet k_EStreamControlSetCursor

[2016-06-02 17:26:23] >>> Switching video stream from NONE to GameOverlay_MovieStream_2004
[2016-06-02 17:26:23] MFX active - version (1, 16) impl=0x305
[2016-06-02 17:26:23] CGameStreamVideoStageMFX: Warning initializing MFX encoder: 5
[2016-06-02 17:26:23] >>> Capture method set to Game Delayed OpenGL NV12 + Intel QuickSync D3D11
[2016-06-02 17:26:23] >>> Capture resolution set to 1920x1080
[2016-06-02 17:26:23] CLIENT: Video size: 1920x1080, output size: 2880x1800

[2016-06-02 17:26:23] CLIENT: VideoToolbox hardware decoding

[2016-06-02 17:26:23] >>> Client video decoder set to VideoToolbox hardware decoding
[2016-06-02 17:26:23] CLIENT: Got control packet k_EStreamControlStartVideoData

[2016-06-02 17:26:23] CLIENT: Got control packet k_EStreamControlVideoEncoderInfo

[2016-06-02 17:26:23] CLIENT: Video size: 1920x1080, output size: 2880x1800

[2016-06-02 17:26:23] CLIENT: CVideoToolboxAccel: CMVideoFormatDescriptionCreateFromH264ParameterSets() failed: -12712

[2016-06-02 17:26:23] CLIENT: Hardware decode failed, falling back to software decoding

[2016-06-02 17:26:23] CLIENT: libav error: missing picture in access unit

[2016-06-02 17:26:23] CLIENT: libav error: no frame!

[2016-06-02 17:26:23] CLIENT: Marking frame 1 complete with status k_EStreamFrameResultDroppedDecodeCorrupt

[2016-06-02 17:26:23] CLIENT: CVideoToolboxAccel: CGLTexImageIOSurface2D failed: invalid context state & 502
[2016-06-02 17:26:23] CGameStreamVideoStageMFX: Warning initializing MFX encoder: 5
[2016-06-02 17:26:23] CLIENT: libav error: sps_id 0 out of range

[2016-06-02 17:26:23] CLIENT: libav error: non-existing PPS 0 referenced

[2016-06-02 17:26:23] CLIENT: libav error: sps_id 0 out of range

[2016-06-02 17:26:23] CLIENT: libav error: non-existing PPS 0 referenced

[2016-06-02 17:26:23] CLIENT: libav error: decode_slice_header error

[2016-06-02 17:26:23] CLIENT: libav error: non-existing PPS 0 referenced

[2016-06-02 17:26:23] CLIENT: libav error: decode_slice_header error

[2016-06-02 17:26:23] CLIENT: libav error: non-existing PPS 0 referenced

[2016-06-02 17:26:23] CLIENT: libav error: decode_slice_header error

[2016-06-02 17:26:23] CLIENT: libav error: non-existing PPS 0 referenced

[2016-06-02 17:26:23] CLIENT: libav error: decode_slice_header error

[2016-06-02 17:26:23] CLIENT: libav error: no frame!

[2016-06-02 17:26:23] CLIENT: Marking frame 2 complete with status k_EStreamFrameResultDroppedDecodeCorrupt

[2016-06-02 17:26:29] Changing record window: 00190682
[2016-06-02 17:26:30] CDesktopCaptureDWM: Reinitializing D3D for adapter 0x8aae
[2016-06-02 17:26:30] Video adapter: NVIDIA GeForce GTX 780 Ti, vendor ID: 0x10de, device ID: 0x100a
[2016-06-02 17:26:30] >>> Switching video stream from GameOverlay_MovieStream_2004 to Desktop_MovieStream
[2016-06-02 17:26:30] CDesktopCaptureDWM: desktop duplication enabled
[2016-06-02 17:26:30] >>> Capture method set to Desktop DWM NV12 + Intel QuickSync D3D11
[2016-06-02 17:26:33] >>> Switching video stream from Desktop_MovieStream to NONE
[2016-06-02 17:26:35] Changing record window: 00190804
Last edited by MichaelMKenny; Jun 2, 2016 @ 4:27am
Date Posted: Jun 2, 2016 @ 1:34am
Posts: 0