TheZoq2 / dcs_on_linux

Instructions for running DCS World on linux. Mostly extracted from https://github.com/ValveSoftware/Proton/issues/1722
79 stars 4 forks source link

Performance issues on MT client on multiplayer? #27

Open enjoycowboy opened 1 year ago

enjoycowboy commented 1 year ago

Seems whenever I join a multiplayer server, the performance caps out even tho my computer still has enough headroom when using MT client. Single thread client seems fine, save for a few texture bugs. I have a lutris installation with this script. Happy to share any necessary logs.

PC specs: AMD Ryzen 5 5500, 32gb RAM @ 2666 MHz, RTX 2060. Ubuntu 22

T-X commented 1 year ago

@enjoycowboy A few questions that might help investigating:

1) Which wine version or variant are you using? (vanilla/plain, Valve's wine fork or wine-GE?) 2) Which Mesa version? 3) Which Linux kernel version? 4) Do you have DXVK enabled? If yes, which version? (see advanced Lutris runner options) 5) Do you have Fsync and/or Esync enabled? (see Lutris runner options)

Then it might be useful to verify that you're CPU bound: Use Right-Ctrl+Pause twice. And if you're using DXVK you can add a key "DXVK_HUD" with the value "version,api,devinfo,fps,memory,gpuload,submissions,drawcalls,compiler,samplers,descriptors,pipelines,cs" to the game's system options in Lutris. That also gives you a usage percentage for the CPU + GPU. Feel free to attach a screenshot of that here.

Third step, if being CPU bound was confirmed, could be to create FlameGraphs: https://www.brendangregg.com/FlameGraphs/cpuflamegraphs.html#Instructions.


Edit: Also what I'm using on my side:

1) wine-GE Proton7-43 2) Mesa 23.1.2-1 3) Linux 6.3.7-1 4) DXVK from git master (1a5afc77b1) 5) Fsync + Esync both enabled

This at least seems to make me GPU bound and CPU seems okay.