Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2021 18:30:52 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Old NVIDIA card, new FreeBSD = failure?
Message-ID:  <20210629183052.220dc202@gumby.homeunix.com>
In-Reply-To: <CAN6yY1sOu1=e0EwBniOg7SDjQQGwAgfQN3%2BOryiHFEpP79MJMg@mail.gmail.com>
References:  <uZ6VybGvR6ddjj1CVAd0CMNpgvfbc65oLMD5y8r7OPur5j7flNkWuLoxJAueOHkyAJoOW68fE1zpTrvk18VPxSU3drao03Lv0n8UM6ge3y0=@protonmail.com> <36919.1624649280@segfault.tristatelogic.com> <24790.13300.679983.900189@jerusalem.litteratus.org> <778F35B8-10F3-4D4D-8200-A235FD9A0762@unrelenting.technology> <24791.42526.208238.436624@jerusalem.litteratus.org> <C46C9420-7745-434D-B408-288B0BCFEBBA@unrelenting.technology> <24792.26420.394563.785764@jerusalem.litteratus.org> <85b5b9b3-ad93-e8ac-2e86-b2f277ed7753@freebsd.org> <20210628231143.098884e5@gumby.homeunix.com> <CAN6yY1sOu1=e0EwBniOg7SDjQQGwAgfQN3%2BOryiHFEpP79MJMg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Jun 2021 17:19:05 -0700
Kevin Oberman wrote:

> On Mon, Jun 28, 2021 at 3:11 PM RW via freebsd-questions <
> freebsd-questions@freebsd.org> wrote:

> > I wonder if hardware decoding is actually important on desktop
> > processors. I'm using integrated Intel HD 2500 graphics from
> > 8 years ago with the i915 driver and, AFAIK, I'm seeing 3d
> > acceleration, but not getting hardware decoding for video.
> >
> > 1080p x264 decoding in software is using only about 28% of a core
> > with vlc, 4k video on a 1080p display is about 180%. This is on an
> > 8 year old, bottom of the range, quad core, sandy bridge i5 cpu.
> > _______________________________________________
> >  
> On an 8 year old i915, I'm guessing Ivy Bridge, you should get video
> acceleration with libva-intel-driver.

Thanks, that does work. And it is ivy bridge rather than sandy bridge. 

> On my 10 year old Sandy Bridge system the CPU
> utilization for playing an H.264 encoded video dropped CPU from 60%
> to about 10%. I could even play video with a compile running as long
> as the compile was niced.

I've not noticed any impact on video from compiling, unless I run with
the default value of kern.sched.preempt_thresh. Perhaps we've found the
point at which hardware decoding became relatively insignificant.

I've only recently got the Intel graphics working. I originally fell
back to using an old nVidia card. If you followed the UPDATING advice
exactly nVidia video support fell-off with kernel mode-setting,  and I
didn't notice. I only found out because someone pointed it out in this
list, and he only noticed it in top.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210629183052.220dc202>