protonscr

In-Home Streaming Crash

steamclosed Streaming
ValveSoftware/steam-for-linux#6139 · opened 2019-03-11 by Ardiea · updated 2021-09-03 · 9 comments · github
AArdiea 2019-03-11 github

Your system information

  • Steam client version Mar 9 2019 at 06:27:14 - 1552114696
  • Distribution Ubuntu
  • Opted into Steam client beta?: Yes
  • Have you checked for system updates?: Yes

When streaming from a windows host to a linux client, the client crashes frequently. The stream never stays up for more than a few minutes. Primarily streaming factorio but I've tried a few other games with the same results.

I have probably used in-home streaming for >1000 hours on this same setup until today. The only change is the introduction of several new devices on my home network over the weekend (new TV + roku + gigabit switch). Switch is not on the path between host <-> client.

Steps for reproducing this issue:

  1. Windows Host machine (windows 10, latest beta client (doesn't work with the latest non-beta either), Nvida GPU 1060.
  2. Linux Client machine, Old-ish HP laptop, Ubuntu 16.04 LTS.
  3. Stream any game -> Wait for crash.

Client side stuff from /tmp/dumps/ :

michael_stdout.txt
michael_log.txt
crash_20190310194741_2.dmp.tar.gz

Server side stuff:

[2019-03-10 19:47:41] Streaming started to michael-HP-EliteBook-8470p at 192.168.1.130:36464, audio channels = 2, MTU = 1468
[2019-03-10 19:47:41] Streaming quality: k_EStreamQualityFast
[2019-03-10 19:47:41] Streaming bitrate: Automatic
[2019-03-10 19:47:41] Maximum capture: 1366x768 59.75 FPS
[2019-03-10 19:47:41] Video Streaming: enabled
[2019-03-10 19:47:41] Audio Streaming: enabled
[2019-03-10 19:47:41] Input Streaming: enabled
[2019-03-10 19:47:41] =====================================================================
[2019-03-10 19:47:41] Game: Factorio (427520)
[2019-03-10 19:47:41] Setting target bitrate to 15000 Kbit/s, burst bitrate is 75000 Kbit/s
[2019-03-10 19:47:41] Recording system audio
[2019-03-10 19:47:41] Streamed game has created a window
[2019-03-10 19:47:41] Bringing streamed game to foreground - success
[2019-03-10 19:47:41] Changing record window: 0017005A
[2019-03-10 19:47:41] Recording on device: Speakers (Steam Streaming Speakers)
[2019-03-10 19:47:41] Audio client mix format:
[2019-03-10 19:47:41] 	format: 65534
[2019-03-10 19:47:41] 	channels: 2
[2019-03-10 19:47:41] 	samples/sec: 48000
[2019-03-10 19:47:41] 	bytes/sec: 384000
[2019-03-10 19:47:41] 	alignment: 8
[2019-03-10 19:47:41] 	bits/sample: 32
[2019-03-10 19:47:41] 	channel mask: 0x3
[2019-03-10 19:47:41] 	data format: {00000003-0000-0010-8000-00AA00389B71}
[2019-03-10 19:47:41] Initializing audio with 2 channels and 48000 samples/sec
[2019-03-10 19:47:41] Audio mix: start=8903311043, returned=0
[2019-03-10 19:47:41] Audio source [System Windows]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
[2019-03-10 19:47:41] >>> Switching video stream from NONE to Desktop_MovieStream
[2019-03-10 19:47:41] CDesktopCaptureNV: Unsupported device or driver (have you enabled ShadowPlay or sharing in the GeForce Experience?)
[2019-03-10 19:47:41] CDesktopCaptureDWM: Reinitializing D3D for adapter 0x4217f7
[2019-03-10 19:47:41] Video adapter: NVIDIA GeForce GTX 1060 6GB, vendor ID: 0x10de, device ID: 0x1c03
[2019-03-10 19:47:41] CDesktopCaptureDWM: desktop duplication enabled
[2019-03-10 19:47:41] >>> Switching video stream from Desktop_MovieStream to GameOverlay_MovieStream_3808
[2019-03-10 19:47:42] >>> Capture method set to Game polled D3D11 NV12 + NVENC H264
[2019-03-10 19:47:42] >>> Capture resolution set to 1298x768
[2019-03-10 19:47:42] >>> Client video decoder set to libavcodec software decoding with 4 threads
[2019-03-10 19:47:42] Setting target framerate: 59.75 [timing: game 53.13, capture 0.37, convert 3.65, encode 2.67, network 2.67, decode 3.10, display 2.19 (game)]
[2019-03-10 19:47:42] Setting target bitrate to 10000 Kbit/s, burst bitrate is 50000 Kbit/s
[2019-03-10 19:47:54] Setting target framerate: 59.75 [timing: game 33.85, capture 0.20, convert 0.01, encode 2.36, network 4.07, decode 2.68, display 1.93]
[2019-03-10 19:48:41] Audio mix: start=8903311043, returned=2881920
[2019-03-10 19:48:41] Audio source [System Windows]: init=8903352393, through=2882464, last_start=2881984, mixed=2880480, drop_before=0, drop_after=0
[2019-03-10 19:49:33] "SessionStats"
{
	"GameNameID"		"Factorio"
	"appid"		"427520"
	"TimeSubmitted"		"1552261773"
	"ResolutionX"		"1298"
	"ResolutionY"		"768"
	"CaptureDescriptionID"		"Game polled D3D11 NV12 + NVENC H264"
	"DecoderDescriptionID"		"libavcodec software decoding with 4 threads"
	"BandwidthLimit"		"10000"
	"FramerateLimit"		"0"
	"Transport"		"1"
	"SlowGamePercent"		"9.81818580627441406"
	"SlowCapturePercent"		"0"
	"SlowConvertPercent"		"0"
	"SlowEncodePercent"		"0"
	"SlowNetworkPercent"		"0"
	"SlowDecodePercent"		"0"
	"SlowDisplayPercent"		"0"
	"AvgClientBitrate"		"19.8460044860839844"
	"StdDevClientBitrate"		"15.4835300445556641"
	"AvgServerBitrate"		"8082.7421875"
	"StdDevServerBitrate"		"0"
	"AvgLinkBandwidth"		"100000.0078125"
	"AvgPingMS"		"0.679651856422424316"
	"StdDevPingMS"		"0.788213074207305908"
	"AvgCaptureMS"		"0.195109322667121887"
	"StdDevCaptureMS"		"0.0476087145507335663"
	"AvgConvertMS"		"0.0120363077148795128"
	"StdDevConvertMS"		"0.456005990505218506"
	"AvgEncodeMS"		"2.50157856941223145"
	"StdDevEncodeMS"		"0.512880861759185791"
	"AvgNetworkMS"		"5.00796794891357422"
	"StdDevNetworkMS"		"5.41067075729370117"
	"AvgDecodeMS"		"3.76975131034851074"
	"StdDevDecodeMS"		"1.04590010643005371"
	"AvgDisplayMS"		"3.62767457962036133"
	"StdDevDisplayMS"		"4.11378812789916992"
	"AvgFrameMS"		"16.6475811004638672"
	"StdDevFrameMS"		"8.16860008239746094"
	"AvgFPS"		"60.2161026000976563"
	"StdDevFPS"		"12.8231925964355469"
	"BigPicture"		"0"
	"KeyboardMouseInput"		"1"
	"SteamControllerInput"		"0"
	"TouchControllerInput"		"0"
	"GameControllerInput"		"0"
	"XBox360ControllerInput"		"0"
	"XBoxOneControllerInput"		"0"
	"PS3ControllerInput"		"0"
	"PS4ControllerInput"		"0"
	"OtherControllerInput"		"0"
	"WasSpectating"		"0"
}
Kkisak-valve maintainer 2019-03-11 github

For reference, the attached minidump is a SIGFPE in streaming_client.

AArdiea 2019-03-11 github

To provide an update, moving off the beta builds seems to have resolved the issue. Just streamed for 15 minutes without a crash. Previously couldn't go for more than 2 or 3. Hopefully that helps with tracking down the bug!

Ssol8712 2019-03-12 github

Same issue here streaming from my Windows 10 Desktop to my decent Ubuntu 18.04 laptop. Everything fully up to date on all sides.

The issue for me started a few days ago on the regular build of Steam, i then switched to the beta build and it got worse, i just now switched back off of the beta built back to the regular versions of Steam and so far its working nicely(about 10 mins so far just started playing).

Eerkexzcx 2019-06-15 github
ExecCommandLine: "'/home/erikas/.local/share/Steam/ubuntu12_32/steam'"
System startup time: 11.59 seconds
PNG load warning Interlace handling should be turned on when using png_read_image
[2019-06-16 02:27:52] Startup - updater built Jun 14 2019 20:52:10
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2019-06-16 02:27:52] Checking for update on startup
[2019-06-16 02:27:52] Checking for available updates...
[2019-06-16 02:27:52] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2019-06-16 02:27:53] Download skipped: /client/steam_client_ubuntu12 version 1560549607, installed version 1560549607
[2019-06-16 02:27:53] Nothing to do
[2019-06-16 02:27:53] Verifying installation...
[2019-06-16 02:27:53] Performing checksum verification of executable files
[2019-06-16 02:27:53] Verification complete
coroutine.cpp (844) : Assertion Failed: coroutine.m_pStackHigh <= coroutinePrev.m_pStackHigh
coroutine.cpp (844) : Assertion Failed: coroutine.m_pStackHigh <= coroutinePrev.m_pStackHigh
Installing breakpad exception handler for appid(steam)/version(1560549607)
crash_20190616022811_25.dmp[7212]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190616022811_25.dmp
coroutine.cpp (844) : Assertion Failed: coroutine.m_pStackHigh <= coroutinePrev.m_pStackHigh
coroutine.cpp (844) : Assertion Failed: coroutine.m_pStackHigh <= coroutinePrev.m_pStackHigh
coroutine.cpp (300) : Assertion Failed: Restoring saved stack over RestoreStackFrame (0xec0edea0, 0xec0ee010, 0xec0ed920, 0xec0edf44)

coroutine.cpp (300) : Assertion Failed: Restoring saved stack over RestoreStackFrame (0xec0edea0, 0xec0ee010, 0xec0ed920, 0xec0edf44)

crash_20190616022752_1.dmp[7216]: Uploading dump (out-of-process)
/tmp/dumps/crash_20190616022752_1.dmp
/home/erikas/.local/share/Steam/steam.sh: line 712:  7150 Segmentation fault      (core dumped) $STEAM_DEBUGGER "$STEAMROOT/$STEAMEXEPATH" "$@"
crash_20190616022811_25.dmp[7212]: Finished uploading minidump (out-of-process): success = yes
crash_20190616022811_25.dmp[7212]: response: CrashID=bp-82acef87-1437-47ea-892f-e74bb2190615
crash_20190616022811_25.dmp[7212]: file ''/tmp/dumps/crash_20190616022811_25.dmp'', upload yes: ''CrashID=bp-82acef87-1437-47ea-892f-e74bb2190615''
crash_20190616022752_1.dmp[7216]: Finished uploading minidump (out-of-process): success = yes
crash_20190616022752_1.dmp[7216]: response: CrashID=bp-ebb716dc-1077-419b-b5c3-fef3b2190615
crash_20190616022752_1.dmp[7216]: file ''/tmp/dumps/crash_20190616022752_1.dmp'', upload yes: ''CrashID=bp-ebb716dc-1077-419b-b5c3-fef3b2190615''
Ooblitum 2019-07-19 github

Same here (above coroutine.cpp error), both machines running ArchLinux.

Kkisak-valve maintainer 2021-07-30 github

Hello, is anyone still experiencing this issue on an up to date system?

AArdiea 2021-07-30 github

I am no longer having this issue.

Ooblitum 2021-07-30 github

Same here, has been a long time I stopped hitting this.

Kkisak-valve maintainer 2021-09-03 github

Thanks for retesting. Closing.

Nothing extracted yet.