How to use nvida GPU

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use nvida GPU

hans gerte
Hi, need some help. i read a lot of forums and googled it, but i got more
confused.
i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
ppa:mc3man/trusty-media).
and now i just bought 2 Nvidia Quadro P5000.
the part that i don't know and need some help on is:
for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
or do i also need to install the NVENC SDK 8.2
and do i need to build ffmpeg from scratch. and some guide tells that i
also need the CUDA Utillty.

so could some please help me out or even write me a step by step?
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to use nvida GPU

Brainiarc7
Hey there,

Take a look at this:
https://gist.github.com/Brainiarc7/988473b79fd5c8f0db54b92ebb47387a

Do reach out if you need further assistance.

On Mon, Nov 26, 2018, 16:48 hans gerte <[hidden email] wrote:

> Hi, need some help. i read a lot of forums and googled it, but i got more
> confused.
> i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
> ppa:mc3man/trusty-media).
> and now i just bought 2 Nvidia Quadro P5000.
> the part that i don't know and need some help on is:
> for it to work is it enough that i install the drivers Linux X64 v. 410.78
> (
> https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
> or do i also need to install the NVENC SDK 8.2
> and do i need to build ffmpeg from scratch. and some guide tells that i
> also need the CUDA Utillty.
>
> so could some please help me out or even write me a step by step?
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to use nvida GPU

msanders
In reply to this post by hans gerte
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Monday, 26 de November de 2018 14:44, hans gerte <[hidden email]> wrote:

> Hi, need some help. i read a lot of forums and googled it, but i got more
> confused.
> i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
> ppa:mc3man/trusty-media).
> and now i just bought 2 Nvidia Quadro P5000.
> the part that i don't know and need some help on is:
> for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
> https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
> or do i also need to install the NVENC SDK 8.2
> and do i need to build ffmpeg from scratch. and some guide tells that i
> also need the CUDA Utillty.
>
> so could some please help me out or even write me a step by step?
>

Hi,

1) Yes, you need to install the nVidia Linux driver.
2) Yes, you need too to install the CUDA SDK (I recommend a the recent version).
3) And Yes, you need to compile ffmpeg from scratch.

After you installed all, it's quite simple to compile from scratch:
- "export PATH=$PATH:/usr/local/cuda-8.0/bin" (or your newer version).
- "./configure --enable-cuda --enable-cuda-sdk --enable-nonfree --enable-cuvid --enable-nvenc --extra-cflags=-I/usr/local/cuda/include/ --extra-ldflags=-L/usr/local/cuda/lib64/ .." (add here your specific flags).
- "make"

Enjoy!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: How to use nvida GPU

Carl Eugen Hoyos-2
In reply to this post by hans gerte
2018-11-26 14:44 GMT+01:00, hans gerte <[hidden email]>:

> Hi, need some help. i read a lot of forums and googled it, but i got more
> confused.
> i have a Ubuntu 14.04 running ffmpeg 3.4 (From add-apt-repository
> ppa:mc3man/trusty-media).
> and now i just bought 2 Nvidia Quadro P5000.
> the part that i don't know and need some help on is:
> for it to work is it enough that i install the drivers Linux X64 v. 410.78 (
> https://www.nvidia.com/Download/driverResults.aspx/140135/en-us)
> or do i also need to install the NVENC SDK 8.2
> and do i need to build ffmpeg from scratch. and some guide tells that i
> also need the CUDA Utillty.

You don't say what you want to do with FFmpeg and your GPUs.
"to work" is not very precise...

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".