Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streaming from linux to SteamOS or Steam Link with Dualshock 4 crashes host #5983

Closed
GrayBoltWolf opened this issue Dec 24, 2018 · 7 comments

Comments

@GrayBoltWolf
Copy link

Your system information

Operating System Version:
Debian GNU/Linux buster/sid (64 bit)
Kernel Name: Linux
Kernel Version: 4.18.0-3-amd64

Processor Information:
CPU Brand: Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz

Memory:
RAM: 31681 Mb

Video Card:
Driver: NVIDIA Corporation GeForce GTX 1070
Driver Version: 4.6.0 NVIDIA 390.87
OpenGL Version: 4.6

  • Steam client version (build number or date): Nov 26th 2018
  • Distribution (e.g. Ubuntu): Debian 9.6
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes

Please describe your issue in as much detail as possible:

Streaming any game from Debian host to SteamOS or SteamLink with a Dualshock 4 controller connected to the client crashes Steam on the host as soon as the game is launched. Controller and streaming work fine if the controller is connected to the host. Steam does not log any errors during the crash.

Tested with Battleblock Theater, Portal 2, and DIRT Rally.

Controller works fine navigating Big Picture Mode menus on the SteamOS or Steam Link client.

Steps for reproducing this issue:
  1. Pair or connect Dualshock 4 controller to SteamOS or Steam Link.
  2. Launch a game stream from the Debian host PC.
Bootstrap log:

[2018-12-24 10:15:02] Startup - updater built Nov 26 2018 20:15:21
[2018-12-24 10:15:02] Checking for update on startup
[2018-12-24 10:15:02] Checking for available updates...
[2018-12-24 10:15:02] Downloading manifest: client-download.steampowered.com/client/steam_client_ubuntu12
[2018-12-24 10:15:03] Download skipped: /client/steam_client_ubuntu12 version 1543346820, installed version 1543346820
[2018-12-24 10:15:03] Nothing to do
[2018-12-24 10:15:03] Verifying installation...
[2018-12-24 10:15:03] Performing checksum verification of executable files
[2018-12-24 10:15:03] Verification complete
[2018-12-24 10:16:53] Shutdown

Streaming log:

[2018-12-24 10:15:00] Streaming started to steamos at 10.1.255.247:37500, audio channels = 2, MTU = 1468
[2018-12-24 10:15:00] Streaming quality: k_EStreamQualityBalanced
[2018-12-24 10:15:00] Streaming bitrate: Automatic
[2018-12-24 10:15:00] Maximum capture: 1920x1080 59.75 FPS
[2018-12-24 10:15:00] Video Streaming: enabled
[2018-12-24 10:15:00] Audio Streaming: enabled
[2018-12-24 10:15:00] Input Streaming: enabled
[2018-12-24 10:15:00] =====================================================================
[2018-12-24 10:15:00] Game: Portal 2 (620)
[2018-12-24 10:15:00] Setting target bitrate to 15000 Kbit/s, burst bitrate is 75000 Kbit/s
[2018-12-24 10:15:00] Recording system audio
[2018-12-24 10:15:00] Streamed game has created a window
[2018-12-24 10:15:00] Bringing streamed game to foreground - failed
[2018-12-24 10:15:00] Audio mix: start=30413070071, returned=0
[2018-12-24 10:15:00] Audio source [System Pulse]: init=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
[2018-12-24 10:15:00] Changing record window: 0x520000b
[2018-12-24 10:15:01] >>> Switching video stream from NONE to Desktop_MovieStream
[2018-12-24 10:15:01] Detected 8 logical processors, using 4 threads
[2018-12-24 10:15:01] >>> Capture method set to Desktop OpenGL NV12 + libx264 main (4 threads)
[2018-12-24 10:15:01] >>> Capture resolution set to 1920x1080
[2018-12-24 10:15:01] >>> Client video decoder set to VAAPI hardware decoding
[2018-12-24 10:15:01] Detected 8 logical processors, using 4 threads

Controller log:

[2018-12-24 10:11:06] No cached sticky mapping in ActivateActionSet.
[2018-12-24 10:12:29] No cached sticky mapping in ActivateActionSet.
[2018-12-24 10:14:59] Opted-in Controller Mask for AppId 620: 0
[2018-12-24 10:15:01] Remote Device Found
type: 054c 09cc
path: /dev/hidraw7
serial_number: f4:93:9f:c3:32:38 - 0

[2018-12-24 10:15:01] Manufacturer: Sony Interactive Entertainment
[2018-12-24 10:15:01] Product: Wireless Controller
[2018-12-24 10:15:01] Release: 100
[2018-12-24 10:15:01] Interface: 3
[2018-12-24 10:15:01] !! Steam controller device opened for index 0.
[2018-12-24 10:15:02] Controller 0 mapping uses xinput : false
[2018-12-24 10:15:05] Opted-in Controller Mask for AppId 0: 0
[2018-12-24 10:16:52] Exiting workitem thread
[2018-12-24 10:16:56] Opted-in Controller Mask for AppId 0: 0

@GrayBoltWolf
Copy link
Author

Just tested with the Android Steam Link app, same issue. With the DS4 connected to my Android phone, I can navigate the menus but as soon as I start streaming, Steam on the host crashes.

@GrayBoltWolf
Copy link
Author

Interesting, if I enable "Playstation Configuration Support" on the host, Steam immediately crashes. (no streaming involved)

@GrayBoltWolf
Copy link
Author

#4891

I believe this is related to this issue.

@evgG
Copy link

evgG commented Feb 8, 2019

Hi,
I had almost same issue and problem was on pulseaudio.
Please look at #4753.
I've resolved my problem when changed /etc/pulse/default.pa:

#set-default-sink output
#set-default-source input
set-card-profile 1 output:analog-stereo
set-default-sink 1

@kisak-valve
Copy link
Member

Hello @GrayBoltWolf, @evgG, can you check if you're still experiencing this issue on an up to date system?

"Fix crash caused by audio cards with no active port set" in the 2019-07-16 Steam client update may have had an effect for Dualshock 4 users.

@kisak-valve
Copy link
Member

Closing pending feedback.

@GrayBoltWolf
Copy link
Author

Closing pending feedback.

Apologies, yes it has been resolved.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants