Steam streaming: Difference between revisions

From wikinotes
No edit summary
 
Line 45: Line 45:
= Troubleshooting =
= Troubleshooting =
<blockquote>
<blockquote>
 
== Performance/Downscaling ==
<blockquote>
* Watch bandwidth usage using [[nload]]
* Watch bandwidth usage using [[nload]]
* Determine bandwidth type using tcpdump
* Determine bandwidth type using tcpdump
Line 59: Line 60:
sysctl -q net.ipv4.tcp_wmem            # want high
sysctl -q net.ipv4.tcp_wmem            # want high


# set temporarily using:  
# set temporarily using:
#    sysctl -w net.ipv4.tcp_window_scaling=1
#    sysctl -w net.ipv4.tcp_window_scaling=1
</source>
</source>
Line 67: Line 68:
* 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 -->
== The streaming client exited unexpectedly (2) ==
<blockquote>
On the streaming client
<syntaxhighlight lang="yaml">
- Steam > Settings:
  - Remote Play:
    - Advanced Client Options:
      - [ ] Enable Hardware Decoding
</syntaxhighlight>
</blockquote><!-- The streaming client exited unexpectedly (2) -->
</blockquote><!-- Troubleshooting -->
</blockquote><!-- Troubleshooting -->

Revision as of 19:36, 19 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/Downscaling

  • 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