Skip to content

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?

3 points2 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
43ddiw

Author

10
posts
48
comments
2
media
View profile

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.

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.

What you want to do is modprobe -r nvidia_modeset nvidia; echo "OFF" >> /proc/acpi/bbswitch (as root, of course).

2 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.