Gentoo Archives: gentoo-user

From: Daniel Frey <djqfrey@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] skylake and x265 movie display
Date: Wed, 26 Jun 2019 14:09:28
Message-Id: 2a72dd3a-b6d8-d31a-d6dc-5741dc78b18d@gmail.com
In Reply to: Re: [gentoo-user] skylake and x265 movie display by Adam Carter
1 On 6/25/19 11:42 PM, Adam Carter wrote:
2 >
3 > What about USE flags for mesa and libva?
4 >
5 >
6 >  x11-libs/libva-2.4.0:0/2::gentoo  USE="X drm opengl -utils -vdpau
7 > -wayland"
8 >
9 > media-libs/mesa-19.1.1::gentoo  USE="classic dri3 egl gallium gbm gles2
10 > llvm vaapi -d3d9 -debug -gles1 (-libglvnd) -lm_sensors -opencl -osmesa
11 > -pax_kernel -pic (-selinux) -test -unwind -valgrind -vdpau -vulkan
12 > -vulkan-overlay -wayland -xa -xvmc"
13 >
14 >
15 > This wouldn't happen to be a 10-bit encoded x265, would it? If it is,
16 > 10-bit hardware decoding is only supported in Kaby Lake or newer (this
17 > could explain it decoding in software/on CPU instead of GPU.)
18 >
19 >
20 >  That's possible. Is there an easy way to tell?
21 >
22 >
23 > I also had to boot with UEFI or no hardware decoding happened at all.
24 > Mine was old enough to give you a choice but video performance suffered
25 > in BIOS boot mode.
26 >
27 > Damn - this is in BIOS mode... Very odd that makes a difference. Nice find.
28 >
29 > When I got my celeron-based NUC I discovered that just because the CPU
30 > has some hardware offloading doesn't mean software will use it. :(
31 >
32 >
33 > This box is a NUC (NUC6i5SYB) that im using for a media PC.
34
35 Mine's an older Celeron. It struggled with 1080p video. I found back
36 then (maybe six years ago?) a thread stating Intel locks out some
37 hardware in BIOS mode so performance will suffer. All I did at the time
38 was grind my teeth and fight it to get it to boot in UEFI mode, and I
39 could see the hardware offload on 1080p was working correctly.
40
41 I see from your other reply it is a 10-bit file, that would explain why
42 hardware offloading doesn't work - it's not supported on that CPU. Have
43 you tried an 8-bit encoded file to see if the hardware offloading works?
44
45 Dan