[FFmpeg-user] Nvenc transcode on GTX690 with >1 channel per GPU

ggeorgiev at znet.ca ggeorgiev at znet.ca
Wed Feb 17 05:08:06 CET 2016


Hello Ricardo and all,

Just to close this discussion: The transcoding on my converted GTX690 
works OK, however the computer became a bottleneck for more than 4-5 
channels at once. The computer is quite decent - AMD FX(tm)-4170 
Quad-Core Processor at 4.1GHz with 4G memory (no swap at all), but it 
takes about one core to assist the GTX960 card per channel, this with no 
audio manipulation -c:a copy. Anyway, with libx264 the computer can not 
make one channel, and by far.

As for the question what is k10: look at the 'lspci' below, the tesla 
K10 is a professional equivalent (slower, however) of GTX690. The 
conversion of GTX690 to K10 is done as per this article: 
http://www.eevblog.com/forum/chat/hacking-nvidia-cards-into-their-professional-counterparts/ 
- Hats down to a hacker of this magnitude!

All the best, George.


On 2016-02-15 02:04, Ricardo wrote:
> very interesting ;) i have a gtx960. I'm thinking in do some test.
> Only one thing, what is a k10?
> thanks!
> 
> 
> 
>> El 15 feb 2016, a las 2:04, Subscriptions at znet.ca 
>> <subscriptions at znet.ca> escribió:
>> 
>> Hello again everyone,
>> 
>> This is just to note, if someone is interested, that after converting 
>> the second GPU of my GTX690 to K10, the card started transcoding >2 
>> channels at once - managed to put up to 6 channels at once, full HD 
>> mpeg2 at ~18Mb/s per channel. Now there is another problem - the card 
>> freezes the computer if I put > 6 channels - I put a watchdog to 
>> reboot it, but this is not a solution. Theoretically the card has to 
>> do about 16 HD channels (240 fps per GPU, 2 GPU's), but it freezes far 
>> before. Investigating.
>> 
>> Thanks, George.
>> 
>>> On 2016-02-12 22:24, Subscriptions at znet.ca wrote:
>>> Hello again,
>>> My problem is probably coming from the fact that the GTX690 card is
>>> half-converted to a K10 one; one GPU is presented as K10 while the
>>> other forms half GTX690. The driver is likely quite puzzled what this
>>> hardware is and how to drive it. So, next step is to make the GPU 0 
>>> to
>>> identify itself as K10, then I shall be able to continue.
>>> Thanks, george.
>>>> On 2016-02-12 22:02, Subscriptions at znet.ca wrote:
>>>> Hello everyone,
>>>> Please disregard previous mail; I managed to start two channels on 
>>>> the
>>>> same GPU, however it is unreliable - first channel will start every
>>>> time, while second may fail or work. Investing. Just for 
>>>> information,
>>>> card is:
>>>> 4:00.0 3D controller: NVIDIA Corporation GK104 [GeForce GTX 690] 
>>>> (rev a1)
>>>> 04:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller 
>>>> (rev a1)
>>>> 05:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [Tesla
>>>> K10] (rev a1)
>>>> 05:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller 
>>>> (rev a1)
>>>> Sorry for the noise,
>>>> George.
>>>>> On 2016-02-12 19:17, Subscriptions at znet.ca wrote:
>>>>> Hello,
>>>>> I am using an GTX690 unlocked card (equivalent to double K10) to
>>>>> transcode live mpeg2 to h264 as here:
>>>>> /usr/local/bin/ffmpeg -i 
>>>>> udp://239.255.254.2:1234?overrun_nonfatal=1
>>>>> -y -c:a copy -c:v nvenc -b:v 4M -profile:v high -preset default
>>>>> -bufsize 8M -s hd720 -segment_list_flags live -segment_time 4
>>>>> -segment_format mpeg_ts -gpu 1 -metadata title=RDI 
>>>>> m3u/RDI/stream.m3u8
>>>>> All is is fine (thanks to Moritz Barsnick from this list for help)
>>>>> till I transcode only one channel per gpu. If I however send a 
>>>>> second
>>>>> channel to the same gpu (-gpu 1 above), the ffmpeg will refuse to
>>>>> start.
>>>>> So, my question is if there is a way to have >1 instance of ffmpeg
>>>>> using the same GPU at the same time? The GPU's have enough power 
>>>>> for
>>>>> several channels in parallel.
>>>>> In /dev I have: /dev/nvidia0  /dev/nvidia1  /dev/nvidiactl  
>>>>> /dev/nvidia-uvm
>>>>> Any suggestion appreciated,
>>>>> Thanks, George.
>>>>> _______________________________________________
>>>>> ffmpeg-user mailing list
>>>>> ffmpeg-user at ffmpeg.org
>>>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>>> _______________________________________________
>>>> ffmpeg-user mailing list
>>>> ffmpeg-user at ffmpeg.org
>>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>> _______________________________________________
>>> ffmpeg-user mailing list
>>> ffmpeg-user at ffmpeg.org
>>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>> _______________________________________________
>> ffmpeg-user mailing list
>> ffmpeg-user at ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list