protonscr

steamclient.so segfaults when game is streamed to Steam Link from SteamOS

steamclosed reviewed
ValveSoftware/steam-for-linux#4166 · opened 2015-12-04 by CrashenX · updated 2015-12-12 · 1 comments · github
CCrashenX 2015-12-04 github

Easily Reproducable segfault

dmesg:

[  442.978521] CSteamControlle[1811]: segfault at 10 ip 00000000ed4b4a84 sp 00000000ebefefd0 error 4 in steamclient.so[ed294000+1154000]
[  447.752495] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 34
[  484.398504] input: Microsoft X-Box 360 pad as /devices/virtual/input/input38
[  494.744460] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 3
[ 1559.870565] input: Microsoft X-Box 360 pad as /devices/virtual/input/input39
[ 1589.136997] CSteamControlle[2174]: segfault at 10 ip 00000000ed541a84 sp 00000000ec7fefd0 error 4 in steamclient.so[ed321000+1154000]
[ 1593.750882] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 35
[ 1605.598691] input: Microsoft X-Box 360 pad as /devices/virtual/input/input40
[ 1618.406823] snd_hda_codec_hdmi hdaudioC1D0: HDMI: invalid ELD data byte 1

X dies

It's worth noting I'm NOT using any X-Box 360 controllers. I'm only using Steam
controllers. I have three. Two are attached to SteamBox. Third is attached to
Steam Link. Turning off controllers plugged into SteamBox still results in
segfault.

xorg log file:

[  1559.922] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/js1)
[  1559.922] (II) No input driver specified, ignoring this device.
[  1559.922] (II) This device may have been added with another device file.
[  1559.922] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/event20)
[  1559.922] (II) No input driver specified, ignoring this device.
[  1559.922] (II) This device may have been added with another device file.
[  1592.052] (II) evdev: Valve Software Steam Controller: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Microsoft Microsoft® 2.4GHz Transceiver v9.0: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Microsoft Microsoft® 2.4GHz Transceiver v9.0: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Microsoft Microsoft® 2.4GHz Transceiver v9.0: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Valve Software Steam Controller: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Sleep Button: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Power Button: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.052] (II) evdev: Power Button: Close
[  1592.052] (II) UnloadModule: "evdev"
[  1592.439] (II) NVIDIA: Freed GPU:0 (GPU-8e5fcfff-fea8-f9e4-6e14-30cddc5ae88e) @
[  1592.439] (II) NVIDIA:     PCI:0000:01:00.0
[  1592.439] (II) NVIDIA(GPU-0): Deleting GPU-0
[  1592.439] (EE) Server terminated successfully (0). Closing log file.

My setup

Syber Steam Machine X: http://www.sybergaming.com/products/steam-machine-x.aspx#more-spec
Steam Link
1G wired networking (tested sustained throughput of 4 times theoretical maximum of 100M using socat)
2 Vizio 50" 2015 Smart TVs
3 Steam Controllers

System Info

desktop@steamos:~$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 9 Series Chipset Family USB xHCI Controller
00:16.0 Communication controller: Intel Corporation 9 Series Chipset Family ME Interface #1
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V
00:1a.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 9 Series Chipset Family HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 1 (rev d0)
00:1c.3 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 4 (rev d0)
00:1c.4 PCI bridge: Intel Corporation 9 Series Chipset Family PCI Express Root Port 5 (rev d0)
00:1d.0 USB controller: Intel Corporation 9 Series Chipset Family USB EHCI Controller #1
00:1f.0 ISA bridge: Intel Corporation 9 Series Chipset Family Z97 LPC Controller
00:1f.2 SATA controller: Intel Corporation 9 Series Chipset Family SATA Controller [AHCI Mode]
00:1f.3 SMBus: Intel Corporation 9 Series Chipset Family SMBus Controller
01:00.0 VGA compatible controller: NVIDIA Corporation Device 13c0 (rev a1)
01:00.1 Audio device: NVIDIA Corporation Device 0fbb (rev a1)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
04:00.0 Network controller: Intel Corporation Wireless 7260 (rev bb)
desktop@steamos:~$ lsusb
Bus 004 Device 002: ID 8087:8001 Intel Corp. 
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 8087:8009 Intel Corp. 
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 28de:1142  
Bus 001 Device 002: ID 045e:07a5 Microsoft Corp. 
Bus 001 Device 005: ID 8087:07dc Intel Corp. 
Bus 001 Device 004: ID 28de:1142  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
desktop@steamos:~$ ls /sys/devices/virtual/input/
input42  mice
desktop@steamos:~$ ls /sys/devices/virtual/input/input42/
capabilities  event20  id  js1  modalias  name  phys  power  properties  subsystem  uevent  uniq
desktop@steamos:~$ cat /sys/devices/virtual/input/input42/name 
Microsoft X-Box 360 pad
CCrashenX 2015-12-12 github

Whoever fixed this, I love you! Somewhere in the last 4 updates the problem seems to have been resolved. I updated from beta 40x (I forget exact off the top of my head) to beta build 412 today (installed 4 updates in a row to get there) and Portal 2 actually loaded! I was also able to load Awesomenauts. I was getting pretty solid 59.9x fps. I'll actually test playing a game tomorrow on it for the first time now that it's not crashing every time I attempt to load one. Thanks!

Nothing extracted yet.