Using Autostart to run a script to alter the parameter "power dpm force performance level" has issues

I believe I have done what you suggested with a script /etc/profile.d/power-dpm.sh with the only line being.

echo high > /sys/class/drm/card0/device/power_dpm_force_performance_level

This can be seen in the below image.

However, upon restarting the computer, the setting for power_dpm_force_performance_level is still auto.

Thus, is just having power-dpm.sh in /etc/profile.d/ supposed to cause it to run when booting or is something else needed to actually get linux to run the script? I tried making the file executable, adding sudo before the echo command, and adding this script to AutoStart (you made it sound like it wouldn’t work, but just spitballing), but the result hasn’t changed.

Not sure if it matters or not, but maybe the issue has to deal with what is listed as output in the image. Something about server binary: bash-language-server?