protonscr

Vive detection (lsusb) causes massive lagspikes in all games

steamclosed Distro Family: Ubuntu
ValveSoftware/steam-for-linux#5906 · opened 2018-11-17 by MrApplejuice · updated 2021-04-10 · 5 comments · github
MMrApplejuice 2018-11-17 github

I am running Steam on Linux - see attachment for details. lsb_release and uname are:

paul@amd6300fx:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.1 LTS
Release:	18.04
Codename:	bionic
paul@amd6300fx:~$ uname -a
Linux amd6300fx 4.15.0-39-generic [#42](/issue/ValveSoftware/steam-for-linux/42)-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I was investigating the problem a bit, and the issues seems to have to do with SteamVR: Every 30 seconds, the client seems to perform a scan for the presence of an HTC Vive usb device - which I do not own - using lsusb . The top-process tree while such a scan happens looks like this:

13713 paul      20   0   20592   3508   3172 S   0,0  0,0   0:00.00          `- bash /usr/bin/steam                
13723 paul      20   0   21132   4028   3404 S   0,0  0,0   0:00.03              `- bash /home/paul/.local/share/Steam/steam.sh                                                                                                                                                           
13913 paul      20   0  751244 202600 116844 S   8,6  1,2   0:14.45                  `- /home/paul/.local/share/Steam/ubuntu12_32/steam                                                                                                                                                   
13942 paul      20   0  234364  27856  10320 S   0,0  0,2   0:00.00                      `- /home/paul/.local/share/Steam/ubuntu12_32/steam                                                                                                                                               
13943 paul      20   0    4644    272    228 S   0,0  0,0   0:00.00                          `- sh -c '/home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper.sh' '-lang=en_US' '-cachedir=/home/paul/.local/share/Steam/config/htmlcache' '-steampid=13913' '-buildid=1541819448' '-s+ 
13945 paul      20   0   20460   3412   3136 S   0,0  0,0   0:00.00                              `- /bin/bash /home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper.sh -lang=en_US -cachedir=/home/paul/.local/share/Steam/config/htmlcache -steampid=13913 -buildid=1541819448 -stea+ 
13947 paul      20   0 1023688 109924  90756 S   0,0  0,7   0:00.35                                  `- ./steamwebhelper -lang=en_US -cachedir=/home/paul/.local/share/Steam/config/htmlcache -steampid=13913 -buildid=1541819448 -steamid=0 -steamuniverse=Dev -clientui=/home/paul/.lo+ 
13966 paul      20   0  328364  41744  34300 S   0,0  0,3   0:00.01                                      `- /home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper --type=zygote --no-sandbox --log-file=/home/paul/.local/share/Steam/logs/cef_log.txt --product-version=Valve Steam + 
14081 paul      20   0  644160  77304  59180 S   0,0  0,5   0:00.28                                          `- /home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --disable-features=AsyncWheelEvents,TouchpadAndWheelScrollLatching --disable-gpu-c+ 
14155 paul      20   0  602676  65688  53860 S   0,0  0,4   0:00.05                                          `- /home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper --type=renderer --no-sandbox --disable-features=AsyncWheelEvents,TouchpadAndWheelScrollLatching --disable-gpu-c+ 
14083 paul      20   0  423912  52184  43400 S   0,0  0,3   0:00.05                                      `- /home/paul/.local/share/Steam/ubuntu12_64/steamwebhelper --type=gpu-process --disable-features=AsyncWheelEvents,TouchpadAndWheelScrollLatching --no-sandbox --log-file=/home+ 
19703 paul      20   0    4644    276    228 S   0,0  0,0   0:00.00                      `- sh -c STEAM_RUNTIME=0 LD_LIBRARY_PATH= lsusb -d 28de:2000 > /dev/null                                                                 
19704 paul      20   0   26672   3128   2304 R  12,5  0,0   0:00.04                          `- lsusb -d 28de 2000                                                                                                                                                                                     
13724 paul      20   0   15428    796    732 S   0,0  0,0   0:00.00              `- tee /tmp/dumps/paul_stdout.txt         

(as copied from 'top' - lag occurs while the sh -c STEAM_RUNTIME=0 LD_LIBRARY_PATH= lsusb -d 28de:2000 > /dev/null processes run)

This scan takes 1-2 seconds and while it is running it locks up the entire Steam client and games that run at the time. This makes most realtime games completely unplayable on my machine.

I would appreciate a fix for this issue!

MMrApplejuice 2018-11-17 github

grafik

MMrApplejuice 2018-11-17 github

Hardware info

Computer Information:
    Manufacturer:  Unknown
    Model:  Unknown
    Form Factor: Desktop
    No Touch Input Detected

Processor Information:
    CPU Vendor:  AuthenticAMD
    CPU Brand:  AMD FX(tm)-6300 Six-Core Processor             
    CPU Family:  0x15
    CPU Model:  0x2
    CPU Stepping:  0x0
    CPU Type:  0x0
    Speed:  3500 Mhz
    6 logical processors
    6 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Supported
    SSE41:  Supported
    SSE42:  Supported
    AES:  Supported
    AVX:  Supported
    CMPXCHG16B:  Supported
    LAHF/SAHF:  Supported
    PrefetchW:  Unsupported

Operating System Version:
    Ubuntu 18.04.1 LTS (64 bit)
    Kernel Name:  Linux
    Kernel Version:  4.15.0-39-generic
    X Server Vendor:  The X.Org Foundation
    X Server Release:  11906000
    X Window Manager:  Xfwm4
    Steam Runtime Version:  steam-runtime-beta-release_2018-10-24

Video Card:
    Driver:  X.Org AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-39-generic, LLVM 6.0.0)
    Driver Version:  3.0 Mesa 18.0.5
    OpenGL Version: 3.0
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x1002
    DeviceID:  0x67df
    Revision Not Detected
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3520 x 1308
    Primary Display Size: 20.04" x 11.26" (22.95" diag)
                                            50.9cm x 28.6cm (58.3cm diag)
    Primary VRAM: 8158 MB

Sound card:
    Audio device: VIA VT1718S

Memory:
    RAM:  16040 Mb

Miscellaneous:
    UI Language:  English
    LANG:  de_DE.UTF-8
    Total Hard Disk Space Available:  401352 Mb
    Largest Free Hard Disk Block:  30989 Mb
    VR Headset: None detected

Recent Failure Reports:

Kkisak-valve maintainer 2021-04-09 github

Hello @MrApplejuice, are you still experiencing this issue on an up to date system?

MMrApplejuice 2021-04-10 github

Hi there! I completely forgot about this issue by now, so I think it is solved. Still playing games on Linux, and I do not experience the problem anymore. Thanks for checking in!

MMrApplejuice 2021-04-10 github

If you need to, please feel free to re-open the issue.

Nothing extracted yet.