I had two services pointing to SH and BASH in /bin directory but those are at /usr/bin. Fixed it. Need some advice on which should I use SH or BASH for these scripts. I’m having fail errors.
The curious thing is that I wasn’t getting screen tearing so I wonder if that was fixed and maybe I don’t need the GPU-FIX service anymore. Or was it running anyways?
Can anyone tell me what’s wrong? And where do I look for logs to confirm I’m still failing after I tried to fix it.
#!/usr/bin/bash echo "manual" > /sys/class/drm/card0/device/power_dpm_force_performance_level; echo "2" > /sys/class/drm/card0/device/pp_dpm_mclk;
Also, a Logitech color cycle sync command.
#!/usr/bin/sh g213-led -fx cycle all 20000ms && sudo g203-led cycle 20000;
[Unit] Description=Fix VRAM artifacts with GPU energy saving [Service] Type=oneshot ExecStart=/usr/bin/gpu-fix [Install] WantedBy=multi-user.target
[Unit] Description=Logitech led startup [Service] Type=oneshot ExecStart=/usr/bin/led-fix.sh [Install] WantedBy=multi-user.target