You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.
If the computer is using bumblebee to manage the nvidia card, nvidia-settings will fail.
In order to use the nvidia-settings is needed to execute it through optirun utility (optirun -b none nvidia-settings -c :8, then you can add the other parameters you need).
I have already checked on my machine and:
optirun -b none nvidia-settings -c :8 -q GpuPowerMizerMode > /dev/null 2>&1 correctly terminate with 0 while nvidia-settings -q GpuPowerMizerMode > /dev/null 2>&1 with 1.
optirun -b none nvidia-settings -c :8 nvidia-settings -c :8 -a "[gpu:0]/GpuPowerMizerMode=2" correctly set the PowerMize mode.
The only think I'm not totally sure is how to check if Bumblebee is present and used, the easy, but probably not the correct way, is to check the return value of command -v optirun.
The text was updated successfully, but these errors were encountered:
Hmmm.... I'm not sure I would want to do it or how (I don't use bumblebee myself) but I for sure would accept any PR request if someone would implement it.
BTW: as I understand the :8 parameter is the screen number. Right? Do you know if this is always the case, or if that might be some other arbitrary value?
If the computer is using bumblebee to manage the nvidia card,
nvidia-settings
will fail.In order to use the
nvidia-settings
is needed to execute it through optirun utility (optirun -b none nvidia-settings -c :8
, then you can add the other parameters you need).I have already checked on my machine and:
optirun -b none nvidia-settings -c :8 -q GpuPowerMizerMode > /dev/null 2>&1
correctly terminate with0
whilenvidia-settings -q GpuPowerMizerMode > /dev/null 2>&1
with 1.optirun -b none nvidia-settings -c :8 nvidia-settings -c :8 -a "[gpu:0]/GpuPowerMizerMode=2"
correctly set the PowerMize mode.optirun -b none nvidia-settings -c :8 -q GpuPowerMizerMode | grep "Attribute 'GPUPowerMizerMode'" | awk -F "): " '{print $2}' | awk -F "." '{print $1}'
print the correct value.The only think I'm not totally sure is how to check if Bumblebee is present and used, the easy, but probably not the correct way, is to check the return value of
command -v optirun
.The text was updated successfully, but these errors were encountered: