protonscr

Steam Link video frame not up-to-date and image refereshing issues

steamopen 3rd party gameStreamingProton
ValveSoftware/steam-for-linux#10791 · opened 2024-04-18 by papaj-na-wrotkach · updated 2025-02-02 · 1 comments · github
1 matching comments, n / p to jump
Ppapaj-na-wrotkach 2024-04-18 github

Your system information

  • Steam client version:Steam Beta Branch: Stable Client
    Steam Version: 1709846872
    Steam Client Build Date: Wed, Mar 6 9:28 PM UTC -08:00
    Steam Web Build Date: Thu, Mar 7 10:17 PM UTC -08:00
    Steam API Version: SteamClient021
  • Distribution (e.g. Ubuntu): Manjaro Linux
  • Have you checked for system updates?: Yes
  • Steam Logs: steam-logs.tar.gz
  • GPU: AMD

Detailed information

Computer Information:
  • Manufacturer: ASRock
  • Model: A320M-HDV R4.0
  • Form Factor: Desktop
  • No Touch Input Detected
Processor Information:
  • CPU Vendor: AuthenticAMD
  • CPU Brand: AMD Ryzen 5 1600 Six-Core Processor
  • CPU Family: 0x17
  • CPU Model: 0x8
  • CPU Stepping: 0x2
  • CPU Type: 0x0
  • Speed: 3200 MHz
  • 12 logical processors
  • 6 physical processors
  • Hyper-threading: Supported
  • FCMOV: Supported
  • SSE2: Supported
  • SSE3: Supported
  • SSSE3: Supported
  • SSE4a: Supported
  • SSE41: Supported
  • SSE42: Supported
  • AES: Supported
  • AVX: Supported
  • AVX2: Supported
  • AVX512F: Unsupported
  • AVX512PF: Unsupported
  • AVX512ER: Unsupported
  • AVX512CD: Unsupported
  • AVX512VNNI: Unsupported
  • SHA: Supported
  • CMPXCHG16B: Supported
  • LAHF/SAHF: Supported
  • PrefetchW: Unsupported
Operating System Version:
  • "Manjaro Linux" (64 bit)
  • Kernel Name: Linux
  • Kernel Version: 6.9.0-rc4-1-MANJARO
  • X Server Vendor: The X.Org Foundation
  • X Server Release: 12101013
  • X Window Manager: KWin
  • Steam Runtime Version: steam-runtime_0.20240304.79797
Video Card:
  • Driver: AMD AMD Radeon RX 460 Graphics (radeonsi, polaris11, LLVM 17.0.6, DRM 3.57, 6.9.0-rc4-1-MANJARO)
  • Driver Version: 4.6 (Compatibility Profile) Mesa 24.0.5-manjaro1.1
  • OpenGL Version: 4.6
  • Desktop Color Depth: 24 bits per pixel
  • Monitor Refresh Rate: 59 Hz
  • VendorID: 0x1002
  • DeviceID: 0x67ef
  • Revision Not Detected
  • Number of Monitors: 1
  • Number of Logical Video Cards: 1
  • Primary Display Resolution: 1680 x 1050
  • Desktop Resolution: 1680 x 1050
  • Primary Display Size: 19.45" x 12.60" (23.15" diag), 49.4cm x 32.0cm (58.8cm diag)
  • Primary VRAM: 4096 MB
Sound card:
  • Audio device: ATI R6xx HDMI
Memory:
  • RAM: 23963 Mb
VR Hardware:
  • VR Headset: None detected
Miscellaneous:
  • UI Language: English
  • LANG: C.UTF-8
  • Total Hard Disk Space Available: 3815456 MB
  • Largest Free Hard Disk Block: 1214558 MB
Storage:
  • Number of SSDs: 3
  • SSD sizes: 3000G,2000G,256G
  • Number of HDDs: 0
  • Number of removable drives: 0
Smartphone information:
  • Model: Motorola Edge 30 (XT2203-1)
  • Android version: Android 13
  • Build number: T1RDS33.116-33-13-3
  • Steam Link version: 1.3.9.258

Please describe your issue in as much detail as possible:

I'm having trouble streaming a game from my PC to my Android phone.
The game is a visual novel and the problem is clearly visible when I have to choose a dialog option. After selecting an option using the arrow keys, the currently highlighted option on my smartphone is different from the one on the computer screen. I have attached two pictures where you can see the difference.

PC
Screenshot from PC

Smartphone
Screenshot from smartphone

The game is not from the Steam store, it's Fate/stay night [Réalta Nua] Ultimate Edition. I am using Proton to play it, as it does not have a native Linux version.

Something similar happens when I enable the "Auto Read" mode. Normally, after a line of dialog is fully displayed, there's an animated icon indicating that you need to press space/enter or click the screen with LMB to see the next line.

Icon marked with red arrow
image

In "Auto Read" mode, the icon is not displayed because the dialog continues automatically without any user input. This problem can occur when the line is already fully displayed, but the dialog doesn't continue - for example, because it's a dubbed line and the character hasn't finished speaking. In such a situation, the displayed line may be missing the last few characters.

This might be related to an image re-rendering issue that affects this game. When nothing is happening on the screen, the frame rate is 0 fps (the overlay shows 1 fps, but I think it's just not refreshing). Also, when I open the Steam in-game overlay, the overlay is a still image. It does not update until the game image is re-rendered. The overlay works when the animated icon is present, but the image is very laggy. I suspect that Steam's streaming backend is buffering frames as the game renders them - the FPS of the stream depends on the FPS of the game, there are no duplicate frames. Instead of showing the most recent frame, Steam Link seems to show the second-to-last frame.

I could be wrong though - I'm not an expert, so please correct me if I am. Also, sorry if my English or my writing style is bad. I am not a native English speaker so I used Deepl Write.

Steps for reproducing this issue:

  1. Download and install the game using Wine/Proton
  2. Add the game to your Steam library
  3. Run the game using a compatibility tool (I used Proton Experimental)
  4. Try to stream it using the Steam Link app

I have confirmed that this issue does not occur on Microsoft Windows. I used the same game and had no problem streaming it to my phone.

Mmightyplow 2025-02-02 github

Just recognized the same behavior with steam link on the meta quest 3. I just thought the mouse was laggy but then recognized, that steam only rerenders the image when a change is happening. The mouse cursors is either ignored or it is not enough change for steam do detect the change on the image. I could fix this by adding a short mouse shadow on windows.
This seems to be a steam issue. It surely tries to minimize the transfered bytes when nothing is happening on the screen.

Proton versions