netbrain / zwift

Easily zwift on linux
The Unlicense
238 stars 27 forks source link

1.62.0 makes Zwift slow/laggy #85

Closed eRaid6 closed 5 months ago

eRaid6 commented 5 months ago

Describe the bug When running 1.62.0, currently latest, the video is slow/laggy rendering the app unusable. Note top -c says ZwiftApp.exe is using 1115% CPU.

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                              
  43451 100999    20   0 2490636   1.9g 113864 S  1115   3.1   5:47.02 ZwiftApp.exe --token={access_token:eyJhbGc...

Running version 1.60.0 does not have this issue and works as intended.

podman version 4.9.4 nvidia-contrailer-toolkit version 1.14.6 System:

           /:-------------:\          usera@whistle
        :-------------------::        OS: Fedora 
      :-----------/shhOHbmp---:\      Kernel: x86_64 Linux 6.8.4-200.fc39.x86_64
    /-----------omMMMNNNMMD  ---:     Uptime: 2h 8m
   :-----------sMMMMNMNMP.    ---:    Packages: 3641
  :-----------:MMMdP-------    ---\   Shell: bash 5.2.26
 ,------------:MMMd--------    ---:   Resolution: 11520x3240
 :------------:MMMd-------    .---:   DE: Xfce4
 :----    oNMMMMMMMMMNho     .----:   WM: Xfwm4
 :--     .+shhhMMMmhhy++   .------/   WM Theme: Xfce
 :-    -------:MMMd--------------:    GTK Theme: Yaru-viridian-dark [GTK2]
 :-   --------/MMMd-------------;     Icon Theme: Yaru-viridian-dark
 :-    ------/hMMMy------------:      Font: Sans 14
 :-- :dMNdhhdNMMNo------------;       Disk: 3.7T / 11T (36%)
 :---:sdNMMMMNds:------------:        CPU: AMD Ryzen 9 5950X 16-Core @ 32x 3.4GHz
 :------:://:-------------::          GPU: NVIDIA GeForce RTX 3070 Ti
 :---------------------://            RAM: 6599MiB / 64194MiB

To Reproduce Steps to reproduce the behavior:

  1. Run latest version 1.62.0 using podman
    /usr/bin/podman run -d --rm --privileged -e DISPLAY=:0.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /run/user/1000/pulse:/run/user/1000/pulse -v /home/usera/.zwift/usera:/home/user/Zwift --device /dev/dri:/dev/dri docker.io/netbrain/zwift:1.62.0
  2. Note Zwift is laggy/using all system resources

Expected behavior Zwift loads normally without becomming unusable. Using tag 1.60.0 works correctly

/usr/bin/podman run -d --rm --privileged -e DISPLAY=:0.0 -v /tmp/.X11-unix:/tmp/.X11-unix -v /run/user/1000/pulse:/run/user/1000/pulse -v /home/usera/.zwift/usera:/home/user/Zwift --device /dev/dri:/dev/dri docker.io/netbrain/zwift:1.60.0
StebQC commented 5 months ago

I'm having the same problem. Here is htop from version 1.60 during the pairing sceen: Version 1 60 And the same with version 1.62: Version 1 62 Not sure why, but there is a lot of ZwiftApp.exe processes spawned

netbrain commented 5 months ago

See #80 and #84 and https://github.com/netbrain/zwift/pull/81#issuecomment-2041208644