Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111) +---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52) +---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955) Pages:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
|
RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-06 Hi. I use a NUC with Braswell with LibreELEC and Kodi 17, and I wonder why some hevc videos only get SW and not HW like some other. When I try the Jellyfish clips I only get SW (and lag) but other (like from mobile phone 4k, or the animated Bunny clip) works. When HW, it's like ff-hevc-vaapi (HW) but other times ff-hevc (SW). Are there some hevc videos the NUC (Braswell) can't play with HW? /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-06 8bit fine 10bit SW only RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-06 (2017-03-06, 22:43)fritsch Wrote: 8bit fineOk, and on http://jell.yfish.us 8bit is in h264 and 10bit hevc. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-07 h264 4.2.0 fine in general h265 10 bit not fine on Braswell RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Axman - 2017-03-08 For anyone interested, I've put in some effort lately to get proper hw decoding of HEVC content working in Kodi, both 1080p and 2160p, 8 bit and 10 bit. I've tried this on a Braswell NUC (Celeron CPU), a Kaby Lake i3 NUC and a Kaby Lake i5 desktop. I followed fritsch' guide on p1 to the point, but had to: 1. install newer mesa drivers from Padoka PPA 2. build latest Kodi-agile from source - see docs for instructions. Use build commands `cmake .. -DENABLE_VAAPI=1 -DENABLE_CEC=0 -DCMAKE_BUILD_TYPE=Release` and then `cmake --build . -- VERBOSE=1 -j4`. Use `j2` if you're on a dualcore system, like the Celeron or i3. 3. update the autostart script to use `/usr/bin/local/kodi` rather than `/usr/bin/kodi` Then I was able to get flawless playback and HW decoding on both Kaby Lake platforms, of both 8 and 10 bit content. I got 1080p HEVC hw decoding working well for the Braswell NUC, but not 4K (h265 nor h264). Very happy to have this bleeding edge system working flawlessly, with true HD passthrough of 7.2 channel audio! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-08 (2017-03-07, 07:43)fritsch Wrote: h264 4.2.0 fine in general OK. I had some 10 bit movies in 1080p h264. Checking info during play in Kodi shows me (SW) also on these. The movie BFG was kind of laggy to, but Frozen in 10 bit also in (SW) my NUC manage to play without any lag that I could see. Is 10 bit (h264 and h265 (hevc)) somethat will work on Braswell in the futue, or is it a dead end for my Braswell NUC? I got a friend with a Odroid C2 and i had no problem with hevc 10 bit and the jellyfish clips.. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-08 Quote:Is 10 bit (h264 and h265 (hevc)) somethat will work on Braswell in the futue, or is it a dead end for my Braswell NUC?No. The HW does not support hevc-10 bit ... no silicon - was first integrated into Apollo Lake. Odroid C2 can do it. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-08 (2017-03-08, 22:40)fritsch Wrote:Quote:Is 10 bit (h264 and h265 (hevc)) somethat will work on Braswell in the futue, or is it a dead end for my Braswell NUC?No. The HW does not support hevc-10 bit ... no silicon - was first integrated into Apollo Lake. But does it support h264-10 bit? Cause I only get SW... /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-09 No hardware supports h264 10 bit. (besides one rockchip in minor quality). I have a feeling that I answered those question two thousand times during the years ... Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-09 Ok. What about HDR then? Are they coded in some special way? I got some HDR samples (Exodus and Life of Pi) that are HDR but in .MP4 (not sure of codec), that's unplayable on my Braswell, that my friend play on his C2. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-09 ?? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-03-09 (2017-03-09, 15:13)soder Wrote: Ok. What about HDR then? Are they coded in some special way? I got some HDR samples (Exodus and Life of Pi) that are HDR but in .MP4 (not sure of codec), that's unplayable on my Braswell, that my friend play on his C2. (2017-03-09, 16:54)fritsch Wrote: ?? HDR clips. Are they coded just normal, like in h265/h265 and 8/10 bit? Or are there something else in that kind of videos, that needs something special from the hardware? Like I said, the only HDR clips I've tried was .mp4 (don't know what codecs usually used for that container, since I mostly use .mkv with h264/h265). Anyway, these samples didn't work very well for my on my Braswell, but they worked on the C2. That'x why I wondered if HDR clips was special in some way the Braswell didn't handle, but the C2 did, or if it's might be that the samlpes just in 10 bit that my Braswell don't handle. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-10 Just post the mediainfo of that file and all speculations suddenly ends. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - paradix - 2017-03-12 I just switched to Ubuntu 16.04 and Kodi 17, of course following the installation infos from post #1 I run it on a ZOTAC CI320 with a BYT CPU and I can't get a flawless image. Are there any hints o how to setup Kodi video acceleration settings to get a smooth image? I saw some hints on the BYT CPUs but this are from 2015 and I suppose some changes could have been made on the Intel drivers and Kodi itself. I would appreciate any help/hints on that. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-12 If you don't post the logs post #1 wants to have no one can help you. |