Advertisement
orborbson

gpu_power_low.service

Nov 5th, 2024
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.27 KB | Source Code | 0 0
  1. [Unit]
  2. Description=Set GPU power level
  3. After=multi-user.target
  4.  
  5. [Service]
  6. User=root
  7. Type=oneshot
  8. ExecStart=/usr/bin/bash -c 'sleep 10; echo low > /sys/class/drm/card1/device/power_dpm_force_performance_level'
  9. #RemainAfterExit=yes
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement