Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

conflicting with nvidia-xruns bbswitch config #135

Closed
deisi opened this issue Sep 22, 2019 · 3 comments
Closed

conflicting with nvidia-xruns bbswitch config #135

deisi opened this issue Sep 22, 2019 · 3 comments

Comments

@deisi
Copy link

deisi commented Sep 22, 2019

I encountered some issues due to a prior config with nvidia-xrun. optimus-manager was not able to use bbswitch to switch between the GPUs. I thus like to share my findings. Maybe we can improve documentation a little.

After following the instructions, I was not able to follow https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options#configuration-3--bbswitch even though I knew it works due to prior bbswitch usage. To get everything working, I needed to also revert nivida-xrun config. I did:

# Revert loading of bbswitch module
rm /etc/modules-load.d/bbswitch.conf

# Revert disabeleing of nvidia gpu
rm /etc/modprobe.d/bbswitch.conf 

# Revert xinit config
rm ~/.nvidia-xinitrc

I basically followed https://wiki.archlinux.org/index.php/Nvidia-xrun#Configuration backwards.

I'm not sure how to best mention this in the readme or wiki. Maybe a warning saying that optimus-manager cant use bbswitch correctly if nvidia-xrun config is not reverted or something along these lines. I think in most cases people are able to do what I did and just read nvidia-xrun config section backwords. However a tip that this might be necessary is useful IMO.

@calebreister
Copy link

I encountered the same issue on my ThinkPad T470p, and can confirm that removing the specified files does indeed fix the issue. It is worth noting that the issue is not with bbswitch, since I was able to turn the GPU on and off without any trouble.

@Askannz
Copy link
Owner

Askannz commented Sep 27, 2019

Interesting, thanks raising the issue. Seems like it's indeed worth adding a warning about nvidia-xrun in the doc.

Askannz added a commit that referenced this issue Sep 28, 2019
@Askannz
Copy link
Owner

Askannz commented Sep 28, 2019

Added a warning in the README.

@Askannz Askannz closed this as completed Sep 28, 2019
Ann1kaB pushed a commit to Ann1kaB/optimus-manager that referenced this issue Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants