ALVR icon indicating copy to clipboard operation
ALVR copied to clipboard

Ubuntu heavy lags

Open Barmallini opened this issue 3 years ago • 4 comments

Description

Lags in transcoding Server was build with: cargo xtask build-server --no-nvidia --bundle-ffmpeg --release Client was build with alvr_build_linux.sh With h264 it'l lags heavily - check attached screen alvr_lags

With h265 no lags in statistic window, but picture in Oculus consist of random square artifacts (like old broken MPEG movie)

Also, ffmpeg give: ALVR$ ffmpeg ffmpeg: symbol lookup error: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0: undefined symbol: wl_proxy_get_tag

General Troubleshooting

  • [x] I carefully followed the instructions in the README and successfully completed the setup wizard
  • [x] I read the ALVR Wikis here and here

Environement

Hardware

Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload

CPU: Ryzen 5 3600X 6-Core Processor GPU: Ellesmere [Radeon RX 580/580X/590] Audio:

Installation

ALVR Version: ALVR server v17.0.0-dev.2 SteamVR Version: 1.20.4 Install Type:

  • [ ] Packaged (exe, deb, rpm, etc)
  • [ ] Portable (zip)
  • [x] Source

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions): "Ubuntu 20.04.3 LTS"

Barmallini avatar Jan 24 '22 23:01 Barmallini

RX580 has VERY SLOW h.264 encoder and before 5.17 kernel it configured to work much slower (maybe even slower than software) Try encode with 265 or install git kernel version. I not tried use rx580 after polaris performance fix, so i do not know if it really would be faster in this case. For me 0.7 resolution and 80fps worked good in non-heavy games on 265 after disabling rate control (remove rc_mode option from EncodePipelineVAAPI)

mittorn avatar Jan 25 '22 00:01 mittorn

Kernel fix for h.264: https://www.phoronix.com/scan.php?page=news_item&px=AMD-VCE-Better-Speed It os not ALVR issue

mittorn avatar Jan 25 '22 00:01 mittorn

This shots with HEVC One from Oculus (garbage), second from statistic alvr_hevc_oculus alvr_hevc

Barmallini avatar Jan 25 '22 20:01 Barmallini

It looks like it failed to create vaapi encode pipeline (software hevc encode seems to produce garbage on quest)

mittorn avatar Jan 26 '22 02:01 mittorn

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 12 '23 14:03 stale[bot]