IMO frequency scaling should be set to performance by the script to
start an audio session [1], resp. by the session manager.

That reminds me of the "sh" issue. By default it links to dash:
[spinymouse@archlinux ~]$ ls /run/media/spinymouse/qrc/bin/sh -l 
lrwxrwxrwx 1 root root 4 Oct 13 22:24 /run/media/spinymouse/qrc/bin/sh
-> dash

This can be reconfigured by "sudo dpkg-reconfigure dash", I didn't do it
until now. Note that the shebang doesn't solve the issue, I need to
start the scripts with "bash" instead of "sh" (unimportant for the
example below, that should run in dash too, not tested).

However, default nowadays usually is a link to bash, Ubunbtu Studio IMO
should link to bash to, otherwise "averaged" "modern" scripts can't be
run using sh.

Regards,
Ralf

[1]
#!/bin/bash
# bash cpu-p

cpupower frequency-info -p | grep performance
if [ $? -eq 0 ] ; then
 echo "CPU frequency scaling governor is \"performance\"."
else
 echo "Switching CPU frequency scaling governor to \"performance\"."
 sudo cpupower frequency-set -g performance
fi

exit 0


-- 
Ubuntu-Studio-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel

Reply via email to