You are not logged in.

#1 2017-04-23 20:08:48

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

why CPU increase even if I am recording with the graphic card? :/

Hello, a question: Before using my GTX750TI graphics card to be able to record the screen with the codecs of the graphics card and do not put the processor to work, when recording everything was good the cpu was 0-1% implying that if Was recording with the graphics card, but now the cpu rises to 23% when before that did not happen. If it is supposed to be recording with the graphics card because the cpu goes up? The codec to record with the graphics card is nvenc. I hope you understand what I say because I do not speak English and I translate everything. Regards!

Offline

#2 2017-04-24 01:03:08

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: why CPU increase even if I am recording with the graphic card? :/

Well, it's my understanding, and trust me I'm by far any expert... but just because you have a graphics card, and it is put to work during mathematically intense jobs... the CPU still has a role to play. The GPU doesn't hand 100% of the work all the time.  I would also remind you that nNidia cards are notoriously not well support in terms of drivers, (opensource or even their own provided ones as rare as those are)  So there is precedent that an nVidia GPU may lack certain functionality on Linux.


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#3 2017-04-24 01:36:04

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

Re: why CPU increase even if I am recording with the graphic card? :/

Well, thanks for the answer. :"v

Offline

#4 2017-04-24 08:47:23

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: why CPU increase even if I am recording with the graphic card? :/

I'am guessing you are using Nvidia driver?

For a comparision on cpu usage, you could test your recorder to this ffmpeg script
https://github.com/brontosaurusrex/post … /screenrex

Last edited by brontosaurusrex (2017-04-24 08:49:02)

Offline

#5 2017-04-24 16:51:04

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: why CPU increase even if I am recording with the graphic card? :/

dr_iian wrote:

Well, thanks for the answer. :"v

Hate to be the bearer of bad news.. sad

There may be some optimization you can do, or some (maybe sketchy) installs you can apply, but most likely this will have be done with a custom driver, to make use of the firmware on the card..


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#6 2017-04-24 17:11:40

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

Re: why CPU increase even if I am recording with the graphic card? :/

brontosaurusrex wrote:

I'am guessing you are using Nvidia driver?

For a comparision on cpu usage, you could test your recorder to this ffmpeg script
https://github.com/brontosaurusrex/post … /screenrex

It does not work ,_ , and And yes, I use proprietary graphics.

Offline

#7 2017-04-24 17:13:05

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

Re: why CPU increase even if I am recording with the graphic card? :/

Horizon_Brave wrote:
dr_iian wrote:

Well, thanks for the answer. :"v

Hate to be the bearer of bad news.. sad

There may be some optimization you can do, or some (maybe sketchy) installs you can apply, but most likely this will have be done with a custom driver, to make use of the firmware on the card..

I will try to experiment to see if I solve it. SadBatman Mode:ON

Offline

#8 2017-04-24 17:25:32

stevep
MX Linux Developer
Registered: 2016-08-08
Posts: 381

Re: why CPU increase even if I am recording with the graphic card? :/

When you had it working before with very little CPU use, was that in another distro with newer packages? 

If so, I believe it can also be duplicated on a Jessie base, but will require Nvidia driver and ffmpeg packages from jessie-backports. Debian also puts the "nvenc" goodies into a separate package that must also be installed, libnvidia-encode1.

Offline

#9 2017-04-24 18:28:37

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

Re: why CPU increase even if I am recording with the graphic card? :/

stevep wrote:

When you had it working before with very little CPU use, was that in another distro with newer packages? 

If so, I believe it can also be duplicated on a Jessie base, but will require Nvidia driver and ffmpeg packages from jessie-backports. Debian also puts the "nvenc" goodies into a separate package that must also be installed, libnvidia-encode1.


I did the test with the backports packages, then with stretch and everything remains the same. Probe with the debian rc3 mate and the same happens. Yes, I use the libnvidia-encode1 package. I was watching the processes and it appears that xorg is the one that is doing cpu consumption when recording although it is recording with the strength of the graphics card. It will be a bug?

Offline

#10 2017-04-24 18:33:54

dr_iian
Member
Registered: 2017-02-02
Posts: 28
Website

Re: why CPU increase even if I am recording with the graphic card? :/

http://i68.tinypic.com/jfhm45.png

Is rare, when recording a root process is executed without asking for it.

Mod Note: oversized image converted to URL, please limit images to ~250x250px
-HoaS

Last edited by Head_on_a_Stick (2017-04-24 18:43:24)

Offline

Board footer

Powered by FluxBB