Re: HPZ600 & Geforce Titan XP Pascal - Linux
Posted: Sat Jun 13, 2020 10:48 am
Thanks again for the input MeeLee
I am waiting for delivery of an extra psu so i dont have to worry about the power consumption. I the mean time I have been attempting to get a systemd service running at boot but upto now it fails on reboot but will load from the cli with systemctl start nvpower.service. Here is a copy of the bash script:
#!/bin/bash
DATE=`date '+%Y-%m-%d %H:%M:%S'`
echo "Titan XP Pascal Power Service started at ${DATE}" | systemd-cat -p info
sudo nvidia-smi -i 1 -pl 170
sudo nvidia-smi -pm 1
exit 0
And here is a copy of the nvpower service script:
[Unit]
Description=nVidia Geforce Titan Power Reduced to 170W.
[Service]
Type=simple
ExecStart=/bin/bash /usr/bin/nvpower.sh
[Install]
WantedBy=multi-user.target
As mentioned... this script works from the command prompt and when I nvidia-smi its shows the power capped at 170W. I've reloaded the systemd daemon, enabled the .service to create a symlink and rebooted... it doesn't load.
Any idea what i'm doing wrong?
K
I am waiting for delivery of an extra psu so i dont have to worry about the power consumption. I the mean time I have been attempting to get a systemd service running at boot but upto now it fails on reboot but will load from the cli with systemctl start nvpower.service. Here is a copy of the bash script:
#!/bin/bash
DATE=`date '+%Y-%m-%d %H:%M:%S'`
echo "Titan XP Pascal Power Service started at ${DATE}" | systemd-cat -p info
sudo nvidia-smi -i 1 -pl 170
sudo nvidia-smi -pm 1
exit 0
And here is a copy of the nvpower service script:
[Unit]
Description=nVidia Geforce Titan Power Reduced to 170W.
[Service]
Type=simple
ExecStart=/bin/bash /usr/bin/nvpower.sh
[Install]
WantedBy=multi-user.target
As mentioned... this script works from the command prompt and when I nvidia-smi its shows the power capped at 170W. I've reloaded the systemd daemon, enabled the .service to create a symlink and rebooted... it doesn't load.
Any idea what i'm doing wrong?
K