Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Missing Bumblebee support #29

Open
HeyBoy85 opened this issue Jul 20, 2019 · 2 comments
Open

Missing Bumblebee support #29

HeyBoy85 opened this issue Jul 20, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@HeyBoy85
Copy link

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.

  • 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.

@jsalatas
Copy link
Owner

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?

@jsalatas jsalatas added the help wanted Extra attention is needed label Jul 20, 2019
@linuskr
Copy link

linuskr commented May 31, 2020

According to Bumblebee, it is always :8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants