nvidia-prime on Arch
Let me preface this by saying I've been a (mostly) happy bumblebee customer since quite some time. However, I've seen a lot of back and forth saying that due to the way bumblebee operates, performance will be necessarily inferior to nvidia-prime.
Mucking around with this led me to discover this fairly prevalent bug. Turns out the discrete graphics card is no longer getting switched off after use; and none of the listed solutions on the bug seem to help with my own machine.
So, has anyone tried nvidia-prime on Arch? Is it possible to get bumblebee and nvidia-prime to coexist?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- 43ddiw
2 comments
First of all, you'll want to read the wiki.
What I've found to work is basically the same as nvidia-xrun - make a second Xorg configuration file that you then load explicitly, with some additions to enable the card with bbswitch and stop bumblebee (though I'm not sure the latter is necessary). I made my own files for it because nvidia-xrun didn't exist then, but it's the same idea.
You'll still have to start a second X server though.
What you want to do is
modprobe -r nvidia_modeset nvidia; echo "OFF" >> /proc/acpi/bbswitch(as root, of course).I've been down the nvidia-xrun path before. Honestly, the FPS benefit I received in XCOM was close to non-existent as compared to running it on bumblebee. Kind of why I wanted to try nvidia-prime in the first place (in case it's doing anything different).
Removing the nvidia_modeset module was the solution mentioned on that page. My tries got me an "is busy" error the first time; after which my system crashed when I tried to do a reboot. It seems to be working now though. So there's that.