Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Playing video and CPU usage
Date: Sat, 12 Jan 2019 06:39:47
In Reply to: Re: [gentoo-user] Playing video and CPU usage by Andrew Udvare
1 Andrew Udvare wrote:
2 >> On 2019-01-12, at 00:00, Dale <rdalek1967@×××××.com> wrote:
3 >>
4 >> Howdy,
5 >>
6 >> As some know, I recently bought a video card. While not the most modern
7 >> thing, it is a lot faster than my old one. I have a question tho. When
8 >> I'm watching TV and playing a video with Smplayer, high resolution or a
9 >> medium resolution, it seems to use a good bit of CPU power. I notice in
10 >> gkrellm, htop etc that it is using about 20 to sometimes 40 or 50% of
11 >> CPU power. Yes, I still have the 8 core CPU in here. In Smplayer, I
12 >> have video driver set to "gl(fast)" but have tried other settings as
13 >> well. Obviously, some just plain don't work at all. It causes Smplayer
14 >> to crash. I did some googling, I think this is the best driver setting
15 >> for my card. It is nvidia based.
16 > It's not the best setting. You should avoid SMPlayer (IMHO from my experience at this point) and switch to mpv or VLC. You want to enable hardware decoding with VDPAU with any player. That card can decode H.264 fully and partially can decode MPEG-1/2/VC-1. You will see very little CPU usage with VDPAU enabled. The downside is the inability to use software-based filters in real-time, but there is a built-in hardware deinterlacer that significantly beats filters like Yadif.
17 >
20 I've tried VLC, don't like it much.  Plus, I have to tell Smplayer to
21 send audio to the TV not the computer speakers.  I have no idea how to
22 do that in VLC.  May google that at some point.  Still, just didn't like
23 VLC much.
25 I'm using the nvidia drivers.  Info.
28 [IP-] [  ] x11-drivers/nvidia-drivers-396.54
31 I meant to include that in first post but forgot.  Ooops. 
33 Thanks.
35 Dale
37 :-)  :-)