Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPU performance level/mode pinning #109

Closed
wants to merge 17 commits into
base: master
from

Conversation

Projects
None yet
3 participants
@mdiluz
Copy link
Contributor

mdiluz commented Mar 8, 2019

Applies on top of #108.

  • Allows controlling GPUPowerMizerMode on Nvidia (nv_powermizer_mode in config)
  • Allows controlling the power_dpm_force_performance_level file on AMD (amd_performance_level in config)
  • Removes non-functioning amd_core_clock_percentage and amd_mem_clock_percentage, fully featured amd overclock tweaks can come later
  • Implements properly getting the GPU state on AMD and Nvidia, so that GameMode always tries to return the state back to the way it found it

mdiluz added some commits Feb 21, 2019

Use the actual dbus error when failing in the client
	This helps greatly when identifying what went wrong
Run the custom start scripts to after the other optimisations
	This ensures the other featues are applied first, and the scripts can react if needed to those settings
Use run_external_process for the script execution
	This protects the main process against script exection and allows more detailed error handling
Rename the core and mem stats to nv_ prefix
	These will be NV only going forward, as AMD needs a different chunk of work
Change AMD overclocking to simply be setting the power_dpm_force_perf…
…ormance_level file for now

	This covers the MVP for now, and simply allows pinning the power level to "high"

	Full overclocking set up is somewhat more complicated, and it'll be better to implement that at the same time as the same for Nvidia, where we're currently only really setting the top end power level

@mdiluz mdiluz changed the title Gpu powerlevel pinning GPU performance level/mode pinning Mar 8, 2019

@OlliC

This comment has been minimized.

Copy link
Contributor

OlliC commented Mar 9, 2019

Does this solve #45 ?

@mdiluz

This comment has been minimized.

Copy link
Contributor Author

mdiluz commented Mar 9, 2019

I think that would have been this: 949bf29

@aejsmith

This comment has been minimized.

Copy link
Contributor

aejsmith commented Mar 10, 2019

I've merged this manually since it includes the commits from #108.

@mdiluz

This comment has been minimized.

Copy link
Contributor Author

mdiluz commented Mar 10, 2019

Cheers :)

@mdiluz mdiluz closed this Mar 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.