https://bugs.kde.org/show_bug.cgi?id=376893

--- Comment #6 from Mauro Carvalho Chehab <mchehab+...@kernel.org> ---
(In reply to Mauro Carvalho Chehab from comment #5)
> (In reply to yulinux from comment #4)
> > I just freshly installed the new Fedora 26 and compiled kaffeine from git.
> > In my case there is no difference between git and the last version, but it
> > is pretty smooth most of the time now. This has nothing to do with changes
> > of kaffeine, though.
> > 
> > The problem was the VDPAU package, that should actually accelerate the video
> > processing. Because after installing the package mesa-vdpau-drivers and
> > enable it via "$ export VDPAU_DRIVER=r600" (known bug in fedora, see e.g.
> > [1]), it starts stuttering. After removing the package it works okay again.
> > Although all 4 cores are at ~100%. 
> > Maybe also other changes of the new system are relevant.

I did some tests here with Intel driver. Using va-gl driver, on an H.264 HD
channel, it is using ~100% cpu total:

top - 14:15:20 up 22 min,  4 users,  load average: 1,13, 0,82, 0,54
Tasks: 221 total,   1 running, 220 sleeping,   0 stopped,   0 zombie
%Cpu0  : 26,5 us,  0,7 sy,  0,0 ni, 71,2 id,  1,0 wa,  0,0 hi,  0,7 si,  0,0 st
%Cpu1  : 25,9 us,  1,0 sy,  0,0 ni, 70,8 id,  1,3 wa,  0,0 hi,  1,0 si,  0,0 st
%Cpu2  : 28,8 us,  0,7 sy,  0,0 ni, 68,6 id,  1,3 wa,  0,0 hi,  0,7 si,  0,0 st
%Cpu3  : 21,5 us,  0,0 sy,  0,0 ni, 77,4 id,  0,3 wa,  0,0 hi,  0,7 si,  0,0 st
KiB Mem : 16313332 total, 12070956 free,   925672 used,  3316704 buff/cache
KiB Swap: 31731708 total, 31731708 free,        0 used. 14800628 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
 7689 mchehab   20   0 3514688 300020  96892 S 104,0  1,8   0:13.23 kaffeine    

If I force, instead, to not use vdpau, by passing an invalid driver name to
VDPAU_DRIVER, e. g.:

export VDPAU_DRIVER=none

Top shows a CPU load of ~85% and a lower load average:

top - 14:16:17 up 23 min,  4 users,  load average: 1,09, 0,88, 0,58
Tasks: 222 total,   1 running, 221 sleeping,   0 stopped,   0 zombie
%Cpu0  : 20,9 us,  0,3 sy,  0,0 ni, 78,7 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
%Cpu1  : 30,7 us,  1,3 sy,  0,0 ni, 67,6 id,  0,0 wa,  0,0 hi,  0,3 si,  0,0 st
%Cpu2  : 19,8 us,  0,3 sy,  0,0 ni, 79,2 id,  0,0 wa,  0,0 hi,  0,7 si,  0,0 st
%Cpu3  : 19,3 us,  0,0 sy,  0,0 ni, 80,7 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
KiB Mem : 16313332 total, 12170628 free,   891132 used,  3251572 buff/cache
KiB Swap: 31731708 total, 31731708 free,        0 used. 14900388 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND     
 7716 mchehab   20   0 3330868 264148  95664 S  88,0  1,6   0:09.00 kaffeine

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to