Hello I would like to demonstrate how to install:
A) Intel + Nvidia support or Nvidia alone if you are on desktop
B)Nvidia Proprietary stuff and if it works as expected
C)Ffmpeg with nvidia support
D) OBS-Studio and combine with nvidia and ffmpeg
this took me approx. 9 months to figure, but at least i want to share for you if you need it."THIS WILL ONLY WORK ON SOME MODELS OF Nvidia CARDS."(not all cards are supported guys, sorry for that blame nvidia )A) go to manjaro settings and install latest nvidia proprietary stuff, anyting above 360 drivers will suffice. i got 370.28 newly released and kernel 4.4B) use this cmd $ sudo pacman -Syyu cuda -- then rebootthen after all these are done and work as expected ( $ optirun nvidia-smi) or desktop version (nvidia-smi)for this part web itself isnt your friend because nvidia-sdk is broken and aur packages as well( for this part you will need my custom nvidia-sdk-manjaro which was compiled using some flag tricks, please allow me to upload external link and you will have it ) else you will have to get the files needed and edit pkgbuild to grab zip in HDD and not webC) after you install this nvidia-sdk-manjaro package then you can proceed with$ yaourt ffmpeg-nvenc-manjaronow you have ensured that ffmpeg uses the nvidia as API but that alone aint enough so,D) you need to provide the front end to use it effectively.$ yaourt obs-studio-git grab 15.4 from this one and self compile like most of it Disclaimer: sorry for long text only trying to help so, i am not to be responsible if that aint working on your pc, as i said only nvidia 6XXm and 7XX series support this.
This is the custom compiled file you will have to install else it will fail https://mega.nz/#!awxzkIiQ!We681T4o9qj_5aureLaCJ76Ec_95Lcv_WhIB1nNWIwE
Cuda 8 updates!
If you want to update or if your system updated on its own from Cuda 7.5 to version 8
then its high time i popped new freshly compiled versions of ffmpeg with support for it.
Both Arch and Manjaro users can benefit from this.
(Note: If you havent done anything of this then please start from the top thread and just follow this guide after you have installed nvidia proprietary stuff and cuda 8 )
ensure that you have updated to cuda version 8, and perform an all out system update/upgrade
$ sudo pacman -Syyu
Both Arch and Manjaro will need to grab and install this compiled package
For Arch users download and install this package either by click and prompt or via
pacman -U, which allows pacman to see local packages
For Manjaro users download and install this package double click and it will pop to install
Reboot, and your good to go
make sure you follow my other thread if you really want to put this NVENC acceleration into good use
Video Trascode, Video Edit, Video Accelerated Screen Capture and many more here: http://www.cupoflinux.com/SBB/index.php/topic,5106.0.html