FeralInteractive / gamemode

Optimise Linux system performance on demand
BSD 3-Clause "New" or "Revised" License
4.69k stars 185 forks source link

Feature Request: set AMDGPU DPM PCIe link speed #404

Open emansom opened 1 year ago

emansom commented 1 year ago

Is your feature request related to a problem? Please describe.

Currently on some system configurations (with ASPM being enabled, mostly laptops, handhelds and SFF), the PCIe link speed that AMDGPU's DPM decides to use is rather low (e.g. PCIe 1.0 x8).

This often happens when running games that don't tax the GPU fully; DPM then decides to not switch to a higher link speed.

Resulting in high 1% frame times in most games and a stuttery mess in games that require high bandwidth only fractions of a second.

Describe the solution you'd like

GameMode supporting (disabled by default) switching AMDGPU's pp_dpm_pcie setting to its highest link speed when GameMode is enabled.