Merge branch 'sched-ext' of github.com:Boria138/PortWINE into Boria138-sched-ext
This commit is contained in:
commit
d58ef1d3b7
@ -3411,14 +3411,16 @@ start_portwine () {
|
|||||||
then
|
then
|
||||||
if command -v systemctl &>/dev/null \
|
if command -v systemctl &>/dev/null \
|
||||||
&& (systemctl is-active --quiet ananicy.service \
|
&& (systemctl is-active --quiet ananicy.service \
|
||||||
|| systemctl is-active --quiet ananicy-cpp.service)
|
|| systemctl is-active --quiet ananicy-cpp.service \
|
||||||
|
|| systemctl is-active --quiet scx.service \
|
||||||
|
|| systemctl is-active --quiet scx_loader.service)
|
||||||
then
|
then
|
||||||
export GAMEMODERUN=0
|
export GAMEMODERUN=0
|
||||||
export PW_GAMEMODERUN_SLR=""
|
export PW_GAMEMODERUN_SLR=""
|
||||||
if command -v powerprofilesctl &>/dev/null ; then
|
if command -v powerprofilesctl &>/dev/null ; then
|
||||||
if powerprofilesctl list | grep -q 'performance:' ; then
|
if powerprofilesctl list | grep -q 'performance:' ; then
|
||||||
export PW_POWERPROFILECTL_SLR="powerprofilesctl launch -p performance --"
|
export PW_POWERPROFILECTL_SLR="powerprofilesctl launch -p performance --"
|
||||||
print_info "Gamemode replaced by powerprofilectl to avoid conflict with ananicy."
|
print_info "Gamemode replaced by powerprofilectl to avoid conflict with ananicy and sched-ext."
|
||||||
else
|
else
|
||||||
export PW_POWERPROFILECTL_SLR=""
|
export PW_POWERPROFILECTL_SLR=""
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user