Askannz / optimus-manager

A Linux program to handle GPU switching on Optimus laptops.
MIT License
2.25k stars 165 forks source link

"coarse" is not documented in the config file #561

Closed maharvey closed 3 months ago

maharvey commented 3 months ago

Describe the bug The document https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options says _If it's supported, you can either leave dynamic_powermanagement to fine or set it to coarse (see the configuration file for the difference between those 2 values).

There is no documentation at all in the configuration file. (Does it support comments? There are none!)

Given the possibility of breaking a system with invalid config values, this really ought to be documented somewhere.

System info Manjaro Linux (updated today), XFCE, LightDM, Thinkpad Carbon Extreme X1, Optimus Manager (Client) version 1.5 which is the current release in the Manjaro repo.

The only change I made to the config file was to set dynamic_power_management=fine because nothing else is documented. This at least got it working.

Logs $ optimus-manager --status Optimus Manager (Client) version 1.5

Current GPU mode : hybrid GPU mode requested for next login : no change GPU at startup : hybrid Temporary config path: no

es20490446e commented 3 months ago

It refers to this: https://github.com/Askannz/optimus-manager/blob/b01b60d98257103185a9e47b4f6efc1398a04d6a/optimus-manager.conf#L153

When I have a moment I will clean documentation up 👌