protonscr

Video freeze while navigating menus on Steam Link.

steamclosed reviewed
ValveSoftware/steam-for-linux#4751 · opened 2016-12-14 by toojays · updated 2017-01-03 · 2 comments · github
Ttoojays 2016-12-14 github

Your system information

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected
    
Processor Information:
    CPU Vendor:  GenuineIntel
    CPU Brand:          Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz
    CPU Family:  0x6
    CPU Model:  0x3a
    CPU Stepping:  0x9
    CPU Type:  0x0
    Speed:  3800 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported
    
Network Information:
    Network Speed:  
    
Operating System Version:
    Debian GNU/Linux 8.6 (jessie) (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.7.0-0.bpo.1-amd64
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11604000
    X Window Manager:  Metacity (Marco)
    Steam Runtime Version:  steam-runtime-beta-release_2016-09-02
    
Video Card:
    Driver:  X.Org Gallium 0.4 on AMD POLARIS10 (DRM 3.2.0 / 4.7.0-0.bpo.1-amd64, LLVM 3.8.1)

    Driver Version:  3.0 Mesa 12.0.4
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 59 Hz
    VendorID:  0x1002
    DeviceID:  0x67df
    Revision Not Detected
    Number of Monitors:  1
    Number of Logical Video Cards:  1
    Primary Display Resolution:  2560 x 1440
    Desktop Resolution: 2560 x 1440
    Primary Display Size: 23.50" x 13.23"  (26.97" diag)
                                            59.7cm x 33.6cm  (68.5cm diag)
    Primary VRAM: 8144 MB
    
Sound card:
    Audio device: Realtek ALC887-VD
    
Memory:
    RAM:  15995 Mb
    
Miscellaneous:
    UI Language:  English
    LANG:  en_AU.UTF-8
    Microphone:  Not set
    Steam Controller Cable and Base:  Not set
    Total Hard Disk Space Available:  224709 Mb
    Largest Free Hard Disk Block:  9138 Mb
    VR Headset: None detected
    
Recent Failure Reports:    

Please describe your issue in as much detail as possible:

When navigating the steam link menus, after a short time the picture freezes. I can still hear the audio "blip blip blip" as the selected menu option changes, but the picture doesn't change. On the host PC, the steam app appears to be frozen - I have to "killall -KILL steam" to stop it.

My host PC is a dual boot Windows/Linux box. This problem only happens when running from Linux.

Logs:
steamlink_debug.txt
streaming_log.txt

Steps for reproducing this issue:

  1. Start Steam client on Linux.
  2. Connect using Steam Link.
  3. On the Steam Link, navigate to installed games, move the cursor over various menu options until the video hangs.
Ttoojays 2016-12-16 github

Couple more data points:

I tried upgrading to Mesa 13.0.2. That didn't help, I still encounter this bug.

During this hang, steam is showing ~130% CPU use.

perf shows the top CPU users as:

# Total Lost Samples: 2727
#
# Samples: 62K of event 'cycles:ppp'
# Event count (approx.): 47738268741
#
# Overhead  Command          Shared Object                    Symbol                                                                       
# ........  ...............  ...............................  .............................................................................
#
    13.19%  UIEngineRenderT  [kernel.kallsyms]                [k] entry_SYSENTER_compat
    11.88%  UIEngineRenderT  [kernel.kallsyms]                [k] do_fast_syscall_32
    10.01%  UIEngineRenderT  [kernel.kallsyms]                [k] __schedule
     7.28%  UIEngineRenderT  [kernel.kallsyms]                [k] pick_next_task_fair
     6.48%  UIEngineRenderT  [vdso]                           [.] __vdso_gettimeofday
     3.80%  UIEngineRenderT  [kernel.kallsyms]                [k] nmi
     3.49%  UIEngineRenderT  [kernel.kallsyms]                [k] update_curr
     3.41%  CGameStreamVide  libx264.so.142                   [.] x264_add8x8_idct_avx2.skip_prologue
     2.76%  UIEngineRenderT  [kernel.kallsyms]                [k] sys_sched_yield
     2.23%  UIEngineRenderT  [kernel.kallsyms]                [k] sysret32_from_system_call
     2.23%  UIEngineRenderT  [kernel.kallsyms]                [k] native_sched_clock
     2.20%  UIEngineRenderT  [kernel.kallsyms]                [k] pick_next_entity
     1.43%  UIEngineRenderT  [kernel.kallsyms]                [k] yield_task_fair
     1.35%  UIEngineRenderT  [kernel.kallsyms]                [k] update_rq_clock.part.82
     1.33%  CGameStreamAudi  steamui.so                       [.] 0x0000000000a6782f
     1.16%  UIEngineRenderT  [kernel.kallsyms]                [k] _raw_spin_lock
     1.05%  UIEngineRenderT  [kernel.kallsyms]                [k] cpuacct_charge
     0.92%  CGameStreamAudi  libc-2.19.so                     [.] __memmove_ssse3_rep
     0.92%  UIEngineRenderT  [kernel.kallsyms]                [k] schedule
     0.86%  CGameStreamVide  [kernel.kallsyms]                [k] nmi
     0.75%  CGameStreamAudi  steamui.so                       [.] 0x0000000000a6788d
     0.73%  swapper          [kernel.kallsyms]                [k] intel_idle
     0.70%  UIEngineRenderT  [kernel.kallsyms]                [k] update_min_vruntime
     0.69%  UIEngineRenderT  [kernel.kallsyms]                [k] rcu_note_context_switch
     0.57%  CGameStreamAudi  steamui.so                       [.] 0x0000000000a67875
     0.56%  UIEngineRenderT  libc-2.19.so                     [.] __sched_yield
     0.53%  CGameStreamVide  libx264.so.142                   [.] x264_sub8x8_dct_avx.skip_prologue
     0.52%  CGameStreamVide  libx264.so.142                   [.] x264_macroblock_cache_load_progressive
     0.50%  UIEngineRenderT  [kernel.kallsyms]                [k] rcu_sched_qs
     0.50%  UIEngineRenderT  [kernel.kallsyms]                [k] sched_clock
     0.48%  CGameStreamAudi  steamui.so                       [.] 0x0000000000a67872
     0.46%  UIEngineRenderT  radeonsi_dri.so                  [.] os_wait_until_zero
Ttoojays 2017-01-03 github

After upgrading to Mesa 13.1.0-devel (git-3f5fba8) and kernel 4.9, I can no longer reproduce this problem.

Nothing extracted yet.