A small service to help with some laptop setup on which the secondary screen plugged on HDMI is having a painful life (half-the-expected-framerate and/or very problematic frame-pacing). It's goal is automatically locking the GPU's clocks to their maximum speed when a secondary screen is detected on the HDMI port (and properly reseting the clocks when the screen is unplugged).
(
- Install the
nvidia-akcelopackage from the AUR. - Enable the service:
sudo systemctl enable --now nvidia-akcelo- Download the repository contents.
- Copy the nvidia-akcelo file to /usr/bin/.
- Copy the nvidia-akcelo.service file to /etc/systemd/system/.
- Reload the service list:
sudo systemctl daemon-reload- Enable the service:
sudo systemctl enable --now nvidia-akceloEt voilà.
Nvidia Akcelo only works on Linux installations using Nvidia’s proprietary driver. If you use an open-source driver (Nouveau or Nova), this tool is likely unnecessary in the first place.
Also ensure the command-line tool ddcutil is installed (it should normally already be included in your distribution).