Steam streaming: Difference between revisions

From wikinotes
Line 45: Line 45:
= Troubleshooting =
= Troubleshooting =
<blockquote>
<blockquote>
== Performance/Downscaling ==
== Performance Overlay ==
<blockquote>
Enable detailed overlay stats
<syntaxhighlight lang="yaml">
Steam > Settings:
  - Remote Play Tab:
    - Advanced Client Options:
      - Performance Overlay: Details  # default, icons
</syntaxhighlight>
 
Then in-game you can toggle it's visibility with
<syntaxhighlight lang="yaml">
gamepad:  select + y
keyboard: # I think F8?
</syntaxhighlight>
</blockquote><!-- Performance Overlay -->
 
== Network Performance ==
<blockquote>
<blockquote>
* Watch bandwidth usage using [[nload]]
* Watch bandwidth usage using [[nload]]
Line 68: Line 85:
* https://gaming.stackexchange.com/questions/354049/steam-remote-play-slow-stutters-buffers-when-in-home-streaming-it-connects
* https://gaming.stackexchange.com/questions/354049/steam-remote-play-slow-stutters-buffers-when-in-home-streaming-it-connects
* https://support.steampowered.com/kb_article.php?ref=4950-EBNM-7843
* https://support.steampowered.com/kb_article.php?ref=4950-EBNM-7843
</blockquote><!-- Performance/Downscaling -->
</blockquote><!-- Network Performance -->


== The streaming client exited unexpectedly (2) ==
== The streaming client exited unexpectedly (2) ==

Revision as of 18:15, 20 March 2022

It works, but even when you stream in high quality it looks a bit washed out.
I'd rather just play on the host.

Firewall

https://support.steampowered.com/kb_article.php#networkports

# on host (in traffic?)
UDP: 27031,27036
TCP: 27036,27037

Configuration

# Client

View > Settings:
  Remote Play:
    - [x] Beautiful
    - Advanced Client Options:
        Limit Bandwidth to: unlimited (or at least 50Mbps)
# Host
View > Settings:
  Remote Play:
    - [ ] Change resolution to match streaming client # unecessary so far
    - [x] Dynamically adjust capture performance
    - [ ] Use NVFBC capture on NVIDIA GPU             # network fail - possibly requires nvidia gpu on both sides?
    - [x] Enable Hardware Encoding
      - [x] on Nvidia
      - [ ] on AMD
      - [ ] on Intel iGPU

Finally, stream a game and run nload to determine bandwidth performance.
For me at 1080p, bandwidth was just over 50 Mbps.

Troubleshooting

Performance Overlay

Enable detailed overlay stats

Steam > Settings:
  - Remote Play Tab:
    - Advanced Client Options:
      - Performance Overlay: Details  # default, icons

Then in-game you can toggle it's visibility with

gamepad:  select + y
keyboard: # I think F8?

Network Performance

  • Watch bandwidth usage using nload
  • Determine bandwidth type using tcpdump
  • If network is congested, consider increasing buffer sizes
sysctl -q net.ipv4.tcp_window_scaling  # want 1
sysctl -q net.ipv4.tcp_syncookies      # want 1

# increase TCP send/recv buffers
sysctl -q net.core.rmem_max            # want high
sysctl -q net.core.wmem_max            # want high
sysctl -q net.ipv4.tcp_rmem            # want high
sysctl -q net.ipv4.tcp_wmem            # want high

# set temporarily using:
#    sysctl -w net.ipv4.tcp_window_scaling=1

The streaming client exited unexpectedly (2)

On the streaming client

- Steam > Settings:
  - Remote Play:
    - Advanced Client Options:
      - [ ] Enable Hardware Decoding