1 |
On 09/11/2014 10:34 AM, Grant wrote: |
2 |
> When you get a chance, I'd be interested to know which opengl package |
3 |
> has vaapi/vdpau USE and also your output for: |
4 |
> |
5 |
> # eselect opengl list |
6 |
> |
7 |
> - Grant |
8 |
> |
9 |
|
10 |
Hi Grant, |
11 |
|
12 |
I haven't forgotten, just been really busy with work. |
13 |
|
14 |
Here's some info - |
15 |
|
16 |
Card: |
17 |
|
18 |
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 |
19 |
(rev 0c) |
20 |
Subsystem: Intel Corporation Device 2055 |
21 |
Kernel driver in use: i915 |
22 |
|
23 |
|
24 |
opengl & mesa: |
25 |
|
26 |
~ # eselect opengl list |
27 |
Available OpenGL implementations: |
28 |
[1] xorg-x11 * |
29 |
~ # eselect mesa list |
30 |
i915 (Intel 915, 945) |
31 |
[1] classic |
32 |
[2] gallium * |
33 |
i965 (Intel GMA 965, G/Q3x, G/Q4x, HD) |
34 |
[1] classic * |
35 |
r300 (Radeon R300-R500) |
36 |
r600 (Radeon R600-R700, Evergreen, Northern Islands) |
37 |
sw (Software renderer) |
38 |
[1] classic |
39 |
[2] gallium * |
40 |
|
41 |
USE flags: |
42 |
USE="-ldap -ipv6 -gnome -kde X lirc python mmx sse sse2 ssse3 sse3 sse4 |
43 |
sse4_1 sse4_2 aac alsa mp3 rtmp vorbis x264 xvid threads theora vaapi |
44 |
libass opengl flac mad jpeg png gif xv mpeg qt3support cec dvd ass |
45 |
consolekit" |
46 |
|
47 |
Some installed versions: |
48 |
# equery list opengl mesa ffmpeg |
49 |
* Searching for opengl ... |
50 |
[IP-] [ ] virtual/opengl-7.0-r1:0 |
51 |
|
52 |
* Searching for mesa ... |
53 |
[IP-] [ ] media-libs/mesa-10.0.4:0 |
54 |
|
55 |
* Searching for ffmpeg ... |
56 |
[IP-] [ ] media-video/ffmpeg-1.2.6-r1:0 |
57 |
|
58 |
# emerge -pv opengl mesa ffmpeg mplayer2 |
59 |
|
60 |
These are the packages that would be merged, in order: |
61 |
|
62 |
Calculating dependencies... done! |
63 |
[ebuild R ] media-libs/mesa-10.0.4 USE="classic egl gallium llvm |
64 |
nptl -bindist -debug -gbm -gles1 -gles2 -llvm-shared-libs -opencl |
65 |
-openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau |
66 |
-wayland -xa -xvmc" ABI_X86="(64) (-32) (-x32)" VIDEO_CARDS="intel |
67 |
(-freedreno) -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon |
68 |
-radeonsi -vmware" 0 kB |
69 |
[ebuild R ] virtual/opengl-7.0-r1 ABI_X86="(64) (-32) (-x32)" 0 kB |
70 |
[ebuild R ] media-video/ffmpeg-1.2.6-r1 USE="X aac alsa bzip2 |
71 |
encode hardcoded-tables iconv libass mmx mp3 network rtmp sdl ssse3 |
72 |
theora threads truetype vaapi vorbis x264 xvid zlib -3dnow -3dnowext |
73 |
-aacplus (-altivec) -amr -avx -bindist -bluray -cdio (-celt) |
74 |
-cpudetection -debug -doc -examples -faac -fdk -flite -fontconfig |
75 |
-frei0r -gnutls -gsm -iec61883 -ieee1394 -jack -jpeg2k -libcaca -libsoxr |
76 |
-libv4l -mmxext -modplug (-neon) -openal -openssl -opus -oss -pic |
77 |
-pulseaudio -schroedinger -speex -static-libs {-test} -twolame -v4l |
78 |
-vdpau (-vis) -vpx" ABI_X86="(64) (-32) (-x32)" FFTOOLS="aviocat cws2fws |
79 |
ffescape ffeval fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart |
80 |
trasher" 0 kB |
81 |
[ebuild R ] media-video/mplayer2-2.0_p20130126 USE="X a52 alsa |
82 |
cdio dts dv dvd dvdnav enca faad gif iconv jpeg lcms libass lirc mad mmx |
83 |
mng mp3 network opengl png postproc rar rtc sdl shm speex sse sse2 ssse3 |
84 |
theora unicode vorbis xscreensaver xv xvid -3dnow -3dnowext (-altivec) |
85 |
(-aqua) -bluray -bs2b -cddb -cpudetection -debug -directfb -doc -dvb |
86 |
-fbcon -ftp -ipv6 -jack -joystick -ladspa -libcaca -md5sum -mmxext -nut |
87 |
-oss -pnm -portaudio -pulseaudio -pvr -quvi -radio -samba (-selinux) |
88 |
-symlink -tga -v4l -vcd -vdpau -xanim -xinerama -yuv4mpeg" 0 kB |
89 |
|
90 |
# uname -a |
91 |
Linux htpcbedroom 3.14.14-gentoo #3 SMP Sat Aug 30 14:51:20 PDT 2014 |
92 |
x86_64 Intel(R) Celeron(R) CPU N2820 @ 2.13GHz GenuineIntel GNU/Linux |
93 |
|
94 |
As you can see, ffmpeg is built with vaapi and threading support. I'm |
95 |
pretty sure mplayer2 uses ffmpeg. I also seem to remember kernels >3.13 |
96 |
are required, as is mesa >9.2 (in the case of the NUC.) |
97 |
|
98 |
I don't remember why I switched to mplayer2 now, but quite a while back |
99 |
I was having a problem with mplayer and someone on IRC somewhere said to |
100 |
try mplayer2. It solved whatever issue I had and I've been using it |
101 |
since. Wish I could remember what it was though... |
102 |
|
103 |
As I said, CPU usage as reported by top while playing 1080p with |
104 |
mplayer2 was 80-90% so it must be doing it on the CPU. I tried playing a |
105 |
1080i recording with mplayer with 5 channel audio and it takes 5-10%. I |
106 |
know for sure xbmc and mythtv are using vaapi and it works beautifully. |
107 |
|
108 |
|
109 |
Dan |