GRUPO DE STEAM
Steam Remote Play homestream
GRUPO DE STEAM
Steam Remote Play homestream
3,016
JUGANDO
32,044
ONLINE
Fundado
7 de noviembre de 2013
henryg 13 DIC 2015 a las 18:38
Intel QuickSync latency improvements
We've just pushed a tiny update to the Steam Beta client which should smooth out streaming frame rates and reduce latency for people using Intel integrated graphics. If this sounds interesting to you, please check for updates or switch to the Beta client and let us know how it goes :)

http://steamcommunity.com/sharedfiles/filedetails/?id=182912431
Última edición por henryg; 13 DIC 2015 a las 18:39
< >
Mostrando 16-30 de 32 comentarios
henryg 16 DIC 2015 a las 17:11 
Publicado originalmente por smokey_1:
After ths update quicksync is even worse for me.
Pre updates (about 1 week ago) it was poor anyway, Video Latency ~25ms and frequent skips, & generally much slower fps than the host.
Now its unuseable with Video latency ~100ms and blocks/artifacts/slow decode and fps of around 15-30fps.

That ... doesn't sound like the encoder. That sounds like something else is going on. Is it still like that after a reboot? Can you post your streaming_log.txt file somewhere so that we can review it?

flood_ping 16 DIC 2015 a las 20:20 
Publicado originalmente por henryg:
Publicado originalmente por smokey_1:
After ths update quicksync is even worse for me.
Pre updates (about 1 week ago) it was poor anyway, Video Latency ~25ms and frequent skips, & generally much slower fps than the host.
Now its unuseable with Video latency ~100ms and blocks/artifacts/slow decode and fps of around 15-30fps.

That ... doesn't sound like the encoder. That sounds like something else is going on. Is it still like that after a reboot? Can you post your streaming_log.txt file somewhere so that we can review it?

I have the same issue so I think I can provide my logs too.

Host:
Intel i5 4670K
Radeon 280x
16Gb
On highly optimized N wifi - throughput is about 17MB/sec and low latency

Client:
Intel i5 550U
Nvidia GTX 950M
6Gb
Wired with 1Gb to roter

Note: my networking setup is not the best put pretty enough though. I was streaming on it with software and QSV encoding for a month without any issues until yesterday's update of Steam Client and Intel drivers.. ;)

Edit: ah, reboots do not help too.

Screenshot: http://imgur.com/7QrlAku

Here is streaming_log.txt part fora short streaming session with QSV:

[2015-12-17 07:04:03] CLIENT: Attaching controller XInput Controller with ID 0 [2015-12-17 07:04:03] ===================================================================== [2015-12-17 07:04:03] Game: Dishonored (RU) (217980) [2015-12-17 07:04:03] Recording system audio [2015-12-17 07:04:03] Recording on device: Speakers (High Definition Audio Device) [2015-12-17 07:04:03] Audio client mix format: [2015-12-17 07:04:03] format: 65534 [2015-12-17 07:04:03] channels: 2 [2015-12-17 07:04:03] samples/sec: 48000 [2015-12-17 07:04:03] bytes/sec: 384000 [2015-12-17 07:04:03] alignment: 8 [2015-12-17 07:04:03] bits/sample: 32 [2015-12-17 07:04:03] channel mask: 0x3 [2015-12-17 07:04:03] data format: {00000003-0000-0010-8000-00AA00389B71} [2015-12-17 07:04:03] Initializing audio with 2 channels and 48000 samples/sec [2015-12-17 07:04:03] Audio mix: start=27708249398, returned=0 [2015-12-17 07:04:03] Audio source [System Windows]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0 [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetQoS [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlStartAudioData [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetTitle [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetIcon [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetCursor [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlOverlayEnabled [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetActivity [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlHideCursor [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetCursor [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlSetCursorImage [2015-12-17 07:04:03] >>> Switching video stream from NONE to GameOverlay_MovieStream_2956 [2015-12-17 07:04:03] MFX active - version (1, 16) impl=0x305 [2015-12-17 07:04:03] CGameStreamVideoStageMFX: Warning initializing MFX encoder: 4 [2015-12-17 07:04:03] >>> Capture method set to Game polled D3D9 NV12 + Intel QuickSync D3D11 [2015-12-17 07:04:03] >>> Capture resolution set to 1920x1080 [2015-12-17 07:04:03] CLIENT: Video size: 1920x1080, output size: 1920x1080 [2015-12-17 07:04:03] CLIENT: DXVA init resetting SDL renderer [2015-12-17 07:04:03] CLIENT: DXVA: Using device NVIDIA GeForce GTX 950M [2015-12-17 07:04:03] CLIENT: DXVA: H.264 variable-length decoder, no film grain technology [2015-12-17 07:04:03] >>> Client video decoder set to DXVA: H.264 variable-length decoder, no film grain technology [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlStartVideoData [2015-12-17 07:04:03] CLIENT: Got control packet k_EStreamControlVideoEncoderInfo [2015-12-17 07:04:03] CGameStreamVideoStageMFX: Warning initializing MFX encoder: 4 [2015-12-17 07:04:03] CLIENT: Video size: 1920x1080, output size: 1920x1080 [2015-12-17 07:04:04] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:04] CLIENT: Targeting 14.94 FPS [2015-12-17 07:04:04] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:05] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:05] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:06] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:06] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:08] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:08] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:08] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:08] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:09] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:09] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:10] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:10] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:12] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:12] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:13] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:13] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:21] CLIENT: Targeting 14.94 FPS [2015-12-17 07:04:21] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:21] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:27] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:27] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:27] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:27] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:28] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:28] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:30] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:30] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:31] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:31] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:32] CLIENT: Targeting 14.94 FPS [2015-12-17 07:04:32] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:32] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:32] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:33] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:33] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:34] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:34] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:35] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:35] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:36] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:36] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:38] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:38] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:38] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:38] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:42] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:42] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:43] CLIENT: Targeting 14.94 FPS [2015-12-17 07:04:43] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:43] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:43] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:44] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:44] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:45] CLIENT: Got control packet k_EStreamControlOverlayEnabled [2015-12-17 07:04:46] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:47] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:49] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:49] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:51] CLIENT: Got control packet k_EStreamControlOverlayEnabled [2015-12-17 07:04:52] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:52] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:54] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:54] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:55] CLIENT: Targeting 19.92 FPS [2015-12-17 07:04:55] CLIENT: Got control packet k_EStreamControlSetTargetFramerate [2015-12-17 07:04:55] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:55] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:56] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:56] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:57] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:57] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:04:59] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:04:59] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:05:00] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 4 [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:05:00] Changing record window: 00000000 [2015-12-17 07:05:00] >>> Switching video stream from GameOverlay_MovieStream_2956 to NONE [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetCursor [2015-12-17 07:05:00] "SessionStats" { "GameNameID" "Dishonored (RU)" "TimeSubmitted" "1450325100" "ResolutionX" "1920" "ResolutionY" "1080" "CaptureDescriptionID" "Game polled D3D9 NV12 + Intel QuickSync D3D11" "DecoderDescriptionID" "DXVA: H.264 variable-length decoder, no film grain technology" "BandwidthLimit" "45961" "FramerateLimit" "0" "SlowGamePercent" "0" "SlowCapturePercent" "0" "SlowConvertPercent" "0" "SlowEncodePercent" "98.281890869140625" "SlowNetworkPercent" "0" "SlowDecodePercent" "1.7374943494796753" "SlowDisplayPercent" "0" "AvgClientBitrate" "80.055030822753906" "StdDevClientBitrate" "44.353748321533203" "AvgServerBitrate" "8239.962890625" "StdDevServerBitrate" "8943.208984375" "AvgLinkBandwidth" "104821.828125" "AvgPingMS" "1.2073863744735718" "StdDevPingMS" "1.492975115776062" "AvgCaptureMS" "2.9766538143157959" "StdDevCaptureMS" "6.3078207969665527" "AvgConvertMS" "0.059332903474569321" "StdDevConvertMS" "0.98328608274459839" "AvgEncodeMS" "71.544746398925781" "StdDevEncodeMS" "107.18620300292969" "AvgNetworkMS" "7.4270467758178711" "StdDevNetworkMS" "5.8725781440734863" "AvgDecodeMS" "11.788840293884277" "StdDevDecodeMS" "303.31793212890625" "AvgDisplayMS" "-9.4144077301025391" "StdDevDisplayMS" "301.759033203125" "AvgFrameMS" "118.84401702880859" "StdDevFrameMS" "352.82388305664062" "AvgFPS" "18.185762405395508" "StdDevFPS" "8.5617036819458008" "BigPicture" "1" "KeyboardMouseInput" "1" "GameControllerInput" "1" "SteamControllerInput" "0" } [2015-12-17 07:05:00] Changing record window: 002B02D0 [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlOverlayEnabled [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetActivity [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetTitle [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetIcon [2015-12-17 07:05:00] CLIENT: Got control packet k_EStreamControlSetActivity [2015-12-17 07:05:01] CLIENT: Got control packet k_EStreamControlSetTargetBitrate [2015-12-17 07:05:03] Audio mix: start=27708249398, returned=2880960 [2015-12-17 07:05:03] Audio source [System Windows]: init=27708278931, through=2881897, last_start=2881417, mixed=2880480, drop_before=0, drop_after=0
Última edición por flood_ping; 16 DIC 2015 a las 20:41
henryg 16 DIC 2015 a las 22:43 
Argh. I guess Intel improved things for some chipsets and ... did the opposite for others. Thanks for your help and reports, all. I'll follow up with Intel and see if there's anything we can do to get better behavior on the new 6th-gen CPUs while restoring performance for the older 5th and 4th-gen CPUs. You could also try going back to older Intel drivers, that may help temporarily.
Última edición por henryg; 16 DIC 2015 a las 22:44
76561198193952571 17 DIC 2015 a las 6:43 
)
Tucu 17 DIC 2015 a las 12:51 
Publicado originalmente por henryg:
Argh. I guess Intel improved things for some chipsets and ... did the opposite for others. Thanks for your help and reports, all. I'll follow up with Intel and see if there's anything we can do to get better behavior on the new 6th-gen CPUs while restoring performance for the older 5th and 4th-gen CPUs. You could also try going back to older Intel drivers, that may help temporarily.

Henryg, I read reports from other users mentioning very high bit rates (above 70Mbps) with the other hardware encoders (both AMD and Nvidia) in the latest beta. It is possible that the problem is not limited to Quicksync.
flood_ping 17 DIC 2015 a las 19:42 
It looks like there are two new problems now: one with high bitrate and another with completely broken quicksync with the latest intel drivers and 5th/4th gen cpus :)
Tucu 18 DIC 2015 a las 2:28 
The latest upgrade kills Quicksync on my 2500K/290X/Win10 system. BPM starts using Quicksync, the Witcher 2 game launcher and the intro movies use Quicksync, but when I start playing it reverts to the software encoder.
A few extracts from the streaming.log:

[2015-12-18 10:13:56] >>> Capture method set to Game threaded D3D9 NV12 + Intel QuickSync D3D11
[2015-12-18 10:13:56] CLIENT: Video size: 1920x1080, output size: 1920x1080
[2015-12-18 10:13:56] CGameStreamVideoStageMFX: Warning resetting MFX encoder: 5
[2015-12-18 10:13:57] Dropping queued frame before encoding

last two lines repeated many times followed by:

[2015-12-18 10:14:23] CLIENT: Targeting 59.94 FPS
[2015-12-18 10:14:24] CGameStreamVideoStageMFX: SyncOperation failed: -1
[2015-12-18 10:14:24] Detected 4 logical processors, using 3 threads


The software encoder is also not performing well in this game. The game plays in the PC at around a 100FPS, but when streaming I get between 35 and 55 FPS depending on areas. Latency is quite high to at around 40-60ms. The AMD encoder doesn't perform any better with latency around 50 and 60ms

flood_ping 18 DIC 2015 a las 2:34 
Tucu, what Intel graphics driver version are you using currently?
Tucu 18 DIC 2015 a las 2:42 
Publicado originalmente por flood_ping:
Tucu, what Intel graphics driver version are you using currently?

The latest available for my CPU: 9.17.10.4229 from 27/05/2015.

I tested with Akrham City that it is usually an easy game to stream. The software encoder works fine; the Intel one remains active but it is a stuttery mess (high FPS and latency variance). Same for the AMD encoder.

Currently of the three encoders availalble in my system I get the best results with the one that is suppossed to be the slowest.
flood_ping 18 DIC 2015 a las 2:45 
In the lates beta release notes it is stated that performance should be fixed for 4th and 5th gen cpus, but it looks like it broke compatibility with even older cpus like yours.. =( I didn't have a chance to test streaming with my 4th gen though. Will do it tonight I hope.
Tucu 18 DIC 2015 a las 2:49 
Publicado originalmente por flood_ping:
In the lates beta release notes it is stated that performance should be fixed for 4th and 5th gen cpus, but it looks like it broke compatibility with even older cpus like yours.. =( I didn't have a chance to test streaming with my 4th gen though. Will do it tonight I hope.

Yes, I blame the naughty Intel engineers sent to assist Valve with this. Intel has to find a way to convince people to replace their good old 2500K before Zen arrives. :steammocking:
flood_ping 18 DIC 2015 a las 2:52 
Publicado originalmente por Tucu:
Publicado originalmente por flood_ping:
In the lates beta release notes it is stated that performance should be fixed for 4th and 5th gen cpus, but it looks like it broke compatibility with even older cpus like yours.. =( I didn't have a chance to test streaming with my 4th gen though. Will do it tonight I hope.

Yes, I blame the naughty Intel engineers sent to assist Valve with this. Intel has to find a way to convince people to replace their good old 2500K before Zen arrives. :steammocking:

Ah, marketing...
henryg 18 DIC 2015 a las 4:36 
We've reached out to Intel and they're looking into the performance issue as a driver bug. I'm hoping to hear back from them before the holidays, but with Christmas and New Year's right around the corner, it might be a while before they respond in detail.
henryg 18 DIC 2015 a las 4:39 
Publicado originalmente por Tucu:
[2015-12-18 10:14:23] CLIENT: Targeting 59.94 FPS
[2015-12-18 10:14:24] CGameStreamVideoStageMFX: SyncOperation failed: -1
[2015-12-18 10:14:24] Detected 4 logical processors, using 3 threads

From the Intel docs:
/* reserved for unexpected errors */
MFX_ERR_UNKNOWN = -1, /* unknown error. */

Well, that's frustrating :( Thanks for the report. Could you check for some lines in the log that look like "MFX active - version (4, 1) impl=0x202" and post them for me? I'll have to forward that to Intel as well.
Tucu 18 DIC 2015 a las 6:47 
Publicado originalmente por henryg:
Publicado originalmente por Tucu:
[2015-12-18 10:14:23] CLIENT: Targeting 59.94 FPS
[2015-12-18 10:14:24] CGameStreamVideoStageMFX: SyncOperation failed: -1
[2015-12-18 10:14:24] Detected 4 logical processors, using 3 threads

From the Intel docs:
/* reserved for unexpected errors */
MFX_ERR_UNKNOWN = -1, /* unknown error. */

Well, that's frustrating :( Thanks for the report. Could you check for some lines in the log that look like "MFX active - version (4, 1) impl=0x202" and post them for me? I'll have to forward that to Intel as well.

This is the line with a bit of context:
[2015-12-18 14:29:38] CGameStreamVideoStageMFX: Couldn't init session index=0: -3
[2015-12-18 14:29:38] CGameStreamVideoStageMFX: Couldn't init session index=1: -3
[2015-12-18 14:29:38] CGameStreamVideoStageMFX: Couldn't init session index=2: -3
[2015-12-18 14:29:38] MFX active - version (1, 4) impl=0x205
[2015-12-18 14:29:38] CGameStreamVideoStageMFX: Warning initializing MFX encoder: 5
[2015-12-18 14:29:38] >>> Capture method set to Desktop DWM NV12 + Intel QuickSync D3D11

I have uploaded to gist a minimal streaming.log that shows this problem: https://gist.github.com/anonymous/43ff56cb975621fc4803

The sequence was: start streaming BPM, launch Witcher 2, load save file, play a few seconds, exit game, stop streaming. The quicksync crash happened a few seconds (less than 10 IIRC) after I loaded my save.


Edit: I discovered that part of the errors were caused by a wonky Steam Link firmware that was increasing the network times; the gap between blue and light blue lines was above 10ms for unknown reasons. A factory reset cleared this issue and the AMF and software encoders are working as usual.
Quicksync still crashes and reverts back to AMF or the software encoder. I uploaded a new streaming.log taken from a Shadow of Mordor session:
https://gist.github.com/anonymous/2c5ddf17d8e926898186
Última edición por Tucu; 18 DIC 2015 a las 10:30
< >
Mostrando 16-30 de 32 comentarios
Por página: 1530 50

Publicado el: 13 DIC 2015 a las 18:38
Mensajes: 32