STEAM GROUP
Steam Remote Play homestream
STEAM GROUP
Steam Remote Play homestream
2,457
IN-GAME
29,073
ONLINE
Founded
November 7, 2013
Daisai May 20, 2015 @ 4:26am
Hardware encoder error
When i enable hardware encoder and decoder when using inhome streaming i get this error:

http://cpdv.home.xs4all.nl/steamstream.jpg

both pc's support the hardware encoder so thats not the problem, this error does not happen when the hardware encoder is turned off on both pc's.
< >
Showing 1-12 of 12 comments
Daisai May 20, 2015 @ 7:15am 
I have and the one thing that stands out is the following:

[2015-05-19 23:06:42] >>> Switching video stream from NONE to Desktop_MovieStream
[2015-05-19 23:06:42] >>> Capture method set to Desktop BitBlt RGB + libyuv + libx264 main (4 threads)
[2015-05-19 23:06:42] >>> Capture resolution set to 696x502
[2015-05-19 23:06:42] CLIENT: Video size: 696x502, output size: 1920x1080


This is rather strange since both the host and client both have the resolution set to 1080p.
N01tra May 21, 2015 @ 10:56am 
For starters; "Capture method set to Desktop BitBlt RGB + libyuv + libx264 main (4 threads)" means you're using software encoding, not hardware.
And are you sure you didn't adjust the maximum capture resolution?
Daisai May 21, 2015 @ 11:18am 
That doesnt matter, if i change to desktop resolution or 1080p, i get the same error when i enable hardware encoding.
N01tra May 22, 2015 @ 1:58am 
I'm confused, you said: "this error does not happen when the hardware encoder is turned off on both pc's".
The logging shows the use of software encoding, not hardware.. Hence there should be no error, according to your first post.

Or is the lower resolution capture happing with hardware and software encoding?
And is what the screenshot shows ONLY for hardware?

Your problem description is unclear.
Also; please post host/client specs (gfx card, drivers)
Daisai May 22, 2015 @ 6:17am 
There should be hardware encoding since both the cpu and gpu on the laptop support that ( 850m).
Why there is software encoding, i have no idea about that.
N01tra May 22, 2015 @ 7:26am 
My bad, i should've clarified this a bit better: The screenshot you posted is with hardware encoding, the log isn't. Or at least that part of the log isn't (posting more logging might help)

Installed the latest drivers?
Using the Steam beta client on both machines?
Daisai May 24, 2015 @ 10:18am 
[2015-05-24 19:16:34] =====================================================================
[2015-05-24 19:16:34] Game: Star Ruler 2 (282590)
[2015-05-24 19:16:34] Recording system audio
[2015-05-24 19:16:34] Recording on device: Luidspreker (Sound Blaster X-Fi Surround 5.1 Pro)
[2015-05-24 19:16:34] Audio client mix format:
[2015-05-24 19:16:34] format: 65534
[2015-05-24 19:16:34] channels: 6
[2015-05-24 19:16:34] samples/sec: 96000
[2015-05-24 19:16:34] bytes/sec: 2304000
[2015-05-24 19:16:34] alignment: 24
[2015-05-24 19:16:34] bits/sample: 32
[2015-05-24 19:16:34] channel mask: 0x3f
[2015-05-24 19:16:34] data format: {00000003-0000-0010-8000-00AA00389B71}
[2015-05-24 19:16:34] Initializing audio with 6 channels and 96000 samples/sec
[2015-05-24 19:16:34] Changing record window: 000602DE
[2015-05-24 19:16:35] >>> Switching video stream from NONE to NONE
[2015-05-24 19:16:35] Changing record window: 00160086
[2015-05-24 19:16:36] Changing record window: 000602DE
[2015-05-24 19:16:43] =====================================================================
[2015-05-24 19:16:43] Game: Star Ruler 2 (282590)
[2015-05-24 19:16:43] Recording system audio
[2015-05-24 19:16:43] Recording on device: Luidspreker (Sound Blaster X-Fi Surround 5.1 Pro)
[2015-05-24 19:16:43] Audio client mix format:
[2015-05-24 19:16:43] format: 65534
[2015-05-24 19:16:43] channels: 6
[2015-05-24 19:16:43] samples/sec: 96000
[2015-05-24 19:16:43] bytes/sec: 2304000
[2015-05-24 19:16:43] alignment: 24
[2015-05-24 19:16:43] bits/sample: 32
[2015-05-24 19:16:43] channel mask: 0x3f
[2015-05-24 19:16:43] data format: {00000003-0000-0010-8000-00AA00389B71}
[2015-05-24 19:16:43] Initializing audio with 6 channels and 96000 samples/sec
[2015-05-24 19:16:43] >>> Switching video stream from NONE to NONE
[2015-05-24 19:16:45] Changing record window: 000F0A30
[2015-05-24 19:16:45] >>> Switching video stream from NONE to Desktop_MovieStream
[2015-05-24 19:16:45] CDesktopCaptureNV: Unsupported device or driver
[2015-05-24 19:16:45] CDesktopCaptureDWM: desktop duplication enabled
[2015-05-24 19:16:45] >>> Capture method set to Desktop DWM NVIFR H264
[2015-05-24 19:16:45] >>> Capture resolution set to 1920x1080
[2015-05-24 19:16:45] CLIENT: Video size: 1920x1080, output size: 1920x1080
[2015-05-24 19:16:45] CLIENT: DXVA init resetting SDL renderer
[2015-05-24 19:16:45] CLIENT: DXVA: Using device NVIDIA GeForce GTX 850M
[2015-05-24 19:16:45] CLIENT: DXVA: H.264 variable-length decoder, no film grain technology
[2015-05-24 19:16:45] >>> Client video decoder set to DXVA: H.264 variable-length decoder, no film grain technology
[2015-05-24 19:16:45] CLIENT: Marking frame 1 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Video size: 1920x1080, output size: 1920x1080
[2015-05-24 19:16:45] CLIENT: common\streamframe.cpp (647) : Assertion Failed: HasEvent( k_EStreamFrameEventStart )
[2015-05-24 19:16:45] CLIENT: Marking frame 2 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Marking frame 3 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Had to wait 80 ms to get available buffer
[2015-05-24 19:16:45] CLIENT: Video overflow (133.90ms queued), requesting keyframe synchronization
[2015-05-24 19:16:45] CLIENT: Marking frame 5 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Marking frame 6 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Had to wait 1 ms to get available buffer
[2015-05-24 19:16:45] CLIENT: Marking frame 8 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Marking frame 9 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Marking frame 10 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Had to wait 1 ms to get available buffer
[2015-05-24 19:16:45] CLIENT: Marking frame 13 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 14 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 15 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 16 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 12 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:45] CLIENT: Marking frame 13 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 14 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 15 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:45] CLIENT: Marking frame 16 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:16:47] >>> Switching video stream from Desktop_MovieStream to GameOverlay_MovieStream_9988
[2015-05-24 19:16:47] >>> Capture method set to Game Delayed OpenGL NV12 + Intel QuickSync D3D11
[2015-05-24 19:16:47] CLIENT: Marking frame 72 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:47] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 5
[2015-05-24 19:16:47] CLIENT: Marking frame 91 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:48] CLIENT: Targeting 59.77 FPS
[2015-05-24 19:16:49] CLIENT: Targeting 59.77 FPS
[2015-05-24 19:16:50] CLIENT: Marking frame 232 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:50] CLIENT: Marking frame 233 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:50] CLIENT: Marking frame 234 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:50] CLIENT: Had to wait 27 ms to get available buffer
[2015-05-24 19:16:50] CLIENT: Marking frame 236 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:16:50] CLIENT: Marking frame 237 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:17:00] Changing record window: 000602DE
[2015-05-24 19:17:00] >>> Switching video stream from GameOverlay_MovieStream_9988 to NONE
[2015-05-24 19:17:02] "SessionStats"
{
"GameNameID" "Star Ruler 2"
"TimeSubmitted" "1432487822"
"ResolutionX" "1920"
"ResolutionY" "1080"
"CaptureDescriptionID" "Game Delayed OpenGL NV12 + Intel QuickSync D3D11"
"DecoderDescriptionID" "DXVA: H.264 variable-length decoder, no film grain technology"
"BandwidthLimit" "100000"
"FramerateLimit" "0"
"SlowGamePercent" "0"
"SlowCapturePercent" "0"
"SlowConvertPercent" "0"
"SlowEncodePercent" "0"
"SlowNetworkPercent" "0"
"SlowDecodePercent" "5.3368821144104004"
"SlowDisplayPercent" "0"
"AvgClientBitrate" "377.80270385742187"
"StdDevClientBitrate" "658.3134765625"
"AvgServerBitrate" "11268.974609375"
"StdDevServerBitrate" "0"
"AvgLinkBandwidth" "889666.1875"
"AvgPingMS" "1.0284423828125"
"StdDevPingMS" "1.1123347282409668"
"AvgCaptureMS" "0.40713599324226379"
"StdDevCaptureMS" "0.32063549757003784"
"AvgConvertMS" "0.01814054511487484"
"StdDevConvertMS" "0.34751340746879578"
"AvgEncodeMS" "11.115509033203125"
"StdDevEncodeMS" "0.74575597047805786"
"AvgNetworkMS" "0.64219605922698975"
"StdDevNetworkMS" "0.61137169599533081"
"AvgDecodeMS" "6.129493236541748"
"StdDevDecodeMS" "111.56399536132812"
"AvgDisplayMS" "8.1149969100952148"
"StdDevDisplayMS" "6.1913609504699707"
"AvgFrameMS" "27.236330032348633"
"StdDevFrameMS" "35.6656494140625"
"AvgFPS" "58.174697875976563"
"StdDevFPS" "8.9692764282226563"
"BigPicture" "0"
"KeyboardMouseInput" "1"
"GameControllerInput" "0"
"SteamControllerInput" "0"
}
Daisai May 24, 2015 @ 10:19am 
I did not use the beta client at first, but installing it on both pc's did not solve the problem also all drivers are up to date.
Some help from someone from valve/steam would be much appreciated aswell.
Daisai May 24, 2015 @ 10:25am 
Here is a log from the pc streaming from the laptop, it does work when i do that though, hardware encoding and decoding.



[2015-05-24 19:22:59] =====================================================================
[2015-05-24 19:22:59] Game: Grand Theft Auto V (271590)
[2015-05-24 19:22:59] Recording system audio
[2015-05-24 19:22:59] Recording on device: Speakers (Realtek High Definition Audio)
[2015-05-24 19:22:59] Audio client mix format:
[2015-05-24 19:22:59] format: 65534
[2015-05-24 19:22:59] channels: 2
[2015-05-24 19:22:59] samples/sec: 48000
[2015-05-24 19:22:59] bytes/sec: 384000
[2015-05-24 19:22:59] alignment: 8
[2015-05-24 19:22:59] bits/sample: 32
[2015-05-24 19:22:59] channel mask: 0x3
[2015-05-24 19:22:59] data format: {00000003-0000-0010-8000-00AA00389B71}
[2015-05-24 19:22:59] Changing record window: 000304BC
[2015-05-24 19:22:59] Initializing audio with 2 channels and 48000 samples/sec
[2015-05-24 19:23:00] >>> Switching video stream from NONE to NONE
[2015-05-24 19:23:00] Audio mix: start=13002129132, returned=0
[2015-05-24 19:23:00] Audio source [System Windows]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
[2015-05-24 19:23:05] >>> Switching video stream from NONE to Desktop_MovieStream
[2015-05-24 19:23:05] Changing record window: 000904F2
[2015-05-24 19:23:06] >>> Capture method set to Desktop BitBlt RGB + libyuv + Intel QuickSync D3D11
[2015-05-24 19:23:06] >>> Capture resolution set to 696x502
[2015-05-24 19:23:06] CLIENT: Video size: 696x502, output size: 1920x1080
[2015-05-24 19:23:06] CLIENT: DXVA init resetting SDL renderer
[2015-05-24 19:23:06] CLIENT: DXVA: Using device NVIDIA GeForce GTX 970
[2015-05-24 19:23:06] CLIENT: DXVA: H.264 variable-length decoder, no film grain technology
[2015-05-24 19:23:06] >>> Client video decoder set to DXVA: H.264 variable-length decoder, no film grain technology
[2015-05-24 19:23:06] CLIENT: Marking frame 0 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:23:06] CLIENT: Marking frame 1 complete with status k_EStreamFrameResultDroppedLate
[2015-05-24 19:23:06] CLIENT: Video size: 696x502, output size: 1920x1080
[2015-05-24 19:23:07] >>> Switching video stream from Desktop_MovieStream to NONE
[2015-05-24 19:23:10] Changing record window: 00020558
[2015-05-24 19:23:10] >>> Switching video stream from NONE to Desktop_MovieStream
[2015-05-24 19:23:10] >>> Capture method set to Desktop NVFBC H264
[2015-05-24 19:23:10] >>> Capture resolution set to 1920x1080
[2015-05-24 19:23:10] CLIENT: libav info: Reinit context to 1920x1088, pix_fmt: 61
[2015-05-24 19:23:10] CLIENT: Surface size changed from 704x512 to 1920x1088, resetting decoder
[2015-05-24 19:23:10] CLIENT: libav error: decode_slice_header error
[2015-05-24 19:23:10] CLIENT: libav error: no frame!
[2015-05-24 19:23:10] CLIENT: Marking frame 48 complete with status k_EStreamFrameResultDroppedDecodeCorrupt
[2015-05-24 19:23:10] CLIENT: DXVA init resetting SDL renderer
[2015-05-24 19:23:10] CLIENT: DXVA: Using device NVIDIA GeForce GTX 970
[2015-05-24 19:23:10] CLIENT: DXVA: H.264 variable-length decoder, no film grain technology
[2015-05-24 19:23:10] CLIENT: Marking frame 49 complete with status k_EStreamFrameResultDroppedReset
[2015-05-24 19:23:10] CLIENT: Video size: 1920x1080, output size: 1920x1080
[2015-05-24 19:23:10] CLIENT: Marking frame 48 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:23:10] CLIENT: Marking frame 49 complete with status k_EStreamFrameResultDroppedNetworkLost
[2015-05-24 19:23:11] CLIENT: Targeting 29.85 FPS
[2015-05-24 19:23:15] CLIENT: Targeting 29.85 FPS
[2015-05-24 19:23:16] CLIENT: Targeting 29.85 FPS
[2015-05-24 19:23:51] Changing record window: 000304BC
[2015-05-24 19:23:52] CLIENT: Targeting 59.69 FPS
[2015-05-24 19:23:54] >>> Switching video stream from Desktop_MovieStream to NONE
[2015-05-24 19:23:56] Changing record window: 000E03EE
[2015-05-24 19:23:57] "SessionStats"
{
"GameNameID" "Grand Theft Auto V"
"TimeSubmitted" "1432488237"
"ResolutionX" "1920"
"ResolutionY" "1080"
"CaptureDescriptionID" "Desktop NVFBC H264"
"DecoderDescriptionID" "DXVA: H.264 variable-length decoder, no film grain technology"
"BandwidthLimit" "15000"
"FramerateLimit" "0"
"SlowGamePercent" "0"
"SlowCapturePercent" "0"
"SlowConvertPercent" "0"
"SlowEncodePercent" "0"
"SlowNetworkPercent" "0"
"SlowDecodePercent" "1.7512091398239136"
"SlowDisplayPercent" "0"
"AvgClientBitrate" "28.980173110961914"
"StdDevClientBitrate" "33.280811309814453"
"AvgServerBitrate" "140.64311218261719"
"StdDevServerBitrate" "0"
"AvgLinkBandwidth" "1208438.375"
"AvgPingMS" "0.4554416835308075"
"StdDevPingMS" "0.15497559309005737"
"AvgCaptureMS" "17.697450637817383"
"StdDevCaptureMS" "9.61138916015625"
"AvgConvertMS" "0"
"StdDevConvertMS" "0"
"AvgEncodeMS" "17.696924209594727"
"StdDevEncodeMS" "9.6115894317626953"
"AvgNetworkMS" "0.28804600238800049"
"StdDevNetworkMS" "0.098758086562156677"
"AvgDecodeMS" "7.6029958724975586"
"StdDevDecodeMS" "233.7305908203125"
"AvgDisplayMS" "2.4177608489990234"
"StdDevDisplayMS" "4.4574289321899414"
"AvgFrameMS" "39.681346893310547"
"StdDevFrameMS" "16.540918350219727"
"AvgFPS" "31.639633178710937"
"StdDevFPS" "19.238309860229492"
"BigPicture" "0"
"KeyboardMouseInput" "0"
"GameControllerInput" "0"
"SteamControllerInput" "0"
}
Daisai May 24, 2015 @ 10:33am 
Found the problem that was causing it.
When you go in the nvidia drivers you can select either to always use the nvidia card or the integrated card or automatic.
I switched it from nvidia card to automatic and now it works.
N01tra May 26, 2015 @ 8:29am 
Was away for a few days, but I'm glad you solved it!
(Your logs indicated that this was the problem; 2 different hw encoders ;) )
Go Dutchie, go! ;)
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: May 20, 2015 @ 4:26am
Posts: 12