You are not logged in.
Begining with installing the nvidia package and its dependencies, removed xf86-video-intel to fallback on xf86-video-modesetting and keeping the mesa package (I'm not sure if this is the correct way). The wiki section PRIME render offload suggest you install the package nvidia-prime and run the provided script. Now, at this point I've no idea how to proceed since there is no info of this package and how to use it. The commands nvidia-prime and man nvidia-prime doesn't work.
Last edited by Halikular (2020-10-25 11:27:38)
Offline
The "nvidia-prime" package installs a script named "prime-run" that you can use to run a program on the Nvidia GPU, for example:
prime-run unigine-heaven("unigine-heaven" is inside an AUR package named "unigine-heaven")
You can browse package contents like this, that's how you can try to guess how a package works:
pacman -Ql nvidia-primeThat "/usr/bin/prime-run" file is a simple script. It's a text file and you can look inside if you are interested.
Offline
Thanks! Are my intel packages ok, Should I use xf86-video-modesetting or intel, and should I keep the mesa package?
Offline
Yes and yes, you can't get rid of mesa you need the intel GPU to drive the normal display and the logic happening via prime is only supported by the modesetting driver.
Offline
Great! Is there a way to get rid of the tearing caused by the intel gpu and can you default applications to always run with "prime-run" so you can run it directly from dmenu?
Offline
You need to edit the desktop files of the applications in question to append the prime-run command: https://wiki.archlinux.org/index.php/Desktop_entries (... or create wrapper scripts in e.g /usr/local/bin or somewhere in your home dir that you prepend to your path)
As for tearing you should setup a compositor, I've seen picom used often for a standalone solution.
Offline
I'll look in to this. Greatly appreciate all the help!
Offline
Please mark this one as [SOLVED] by editing the title in the first post.
Offline
Yes and yes, you can't get rid of mesa you need the intel GPU to drive the normal display and the logic happening via prime is only supported by the modesetting driver.
Thankfully it works with the intel driver too.
I know everyone suggests modesetting driver, but on haswell and sandybridge i've a much better exprience with intel+SNA (no tearing on multihead and no stutter at all while playing videos).
Last edited by kokoko3k (2020-10-25 11:50:15)
Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !
Offline