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: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 Lol :-) Thanks for the feedback. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-10 Thank you i will try this evening (semi ot... i hope that jarvis bug with remote is solved) RE: New Era: VAAPI with EGL interoperation - Mangoes - 2015-09-10 (2015-09-10, 09:18)fritsch Wrote: Some new images: It doesn't work on Intel Haswell NUC i3. HEVC 2160p and 480p: It only uses decoder ff-hevc (ff-hevc-vaapi is never used), so there's no difference compered to openelec 15 beta (HEVC 480p is fine, 2160p is not watchable with lots of dropped and skipped frames). Furthermore, this build has lots of problems with AVC (which works 100% fine with openelec 15 beta): Bluray remux (created with Makemkv): lots of freezing, dropped and skipped frames Smaller AVC files (i.ex: 4gb files encoded with x264) are fine. Bluray remux with MVC 3D (created with Makemkv): black screen, openelec seems to crash with a black screen as the only way to get back to the menu from the black screen is to power off and reboot. (ff-h264-vaapi is always used). Looking forward to the next build. Many thanks. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 Quote:HEVC 2160p and 480p: It only uses decoder ff-hevc (ff-hevc-vaapi is never used), so there's no difference compered to openelec 15 beta (HEVC 480p is fine, 2160p in not watchable with lots of dropped and skipped frames). No (!) hevc support for HSW on linux. That was answered now ~ 20 times and is written on the first page. Ah and: No log no issue - see the first post. RE: New Era: VAAPI with EGL interoperation - Mangoes - 2015-09-10 (2015-09-10, 15:05)fritsch Wrote: No (!) hevc support for HSW on linux. That was answered now ~ 20 times and is written on the first page. So to summarize (did I get this right?): VP9 is in vaapi for Haswell, but there's no support in ffmpeg vaapi. HEVC is not currently planned in vaapi for Haswell. As I understand it works on windows (?), so haswell users should move to kodi + windows ? Thanks. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 You won't be able to use HEVC > 1080p on windows as well ... so basically you are doomed without real hw support ;-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 (2015-09-09, 23:22)rbej Wrote: I tested Windows version of Kodi 16 (dxva2). Almost identical results like your Vaapi OpenElec 06/09 version. You need to test with ffmpeg 2.8, which I pushed some hours ago ... so you did test with 2.7.x ... nightly will be available tomorrow. RE: New Era: VAAPI with EGL interoperation - neox387 - 2015-09-10 (2015-09-10, 15:04)Mangoes Wrote: It doesn't work on Intel Haswell NUC i3. Tested latest build on my haswell i3 nuc, AVC remux works fine for me. (2015-09-10, 13:59)Roby77 Wrote: Thank you i will try this eveningI added file Lircmap.xml to /storage/.kodi/userdata with: <lircmap> <remote device="devinput"> <power>KEY_SLEEP</power> </remote> </lircmap> to fix my problem where the nuc didn't poweroff. Don't know why maybe in previous builds this command was KEY_POWER instead of sleep. RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-09-10 (2015-09-10, 15:32)Mangoes Wrote: So to summarize (did I get this right?): VP9 and HEVC decoding on Haswell could be implemented as hybrid decoding where the CPU and GPU work together. This can only happen if Intel makes it possible with their Linux drivers. VP9 seems to be happening, but is not there yet (I guess Google is pushing Intel to implement VP9). And yes, ffmpeg and Kodi need VP9 VAAPI patches as well. I'd guess HEVC hybrid decoding is unlikely to happen on Haswell. What's the incentive for Intel to implement this? Better for them if you go and buy a new Intel CPU that can do HEVC HW decoding... Even if it would be happening, it's unclear to me, what level of performance would be available using this hybrid decoding. How much better is hybrid decoding vs. pure CPU-based decoding? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 Quote:I'd guess HEVC hybrid decoding is unlikely to happen on Haswell. I asked Haihao about it (intel's driver maintainer) and he said: No (without further explanation). RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-10 I always feel angry when the consumer society instead of maxing out the hw they sell with great driver support always force people to buy new stuff on less then yearly basis. I guess we can be lucky that Intel did provide some support as they did now. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-10 Mainly in this world it's not about the OSS devs, cause without them - we would not even have this EGL / Mesa stuff. That was done by Chad in his freetime ... All that intel (the official company) currently does is _for_ google and yeah, now you know why VP9 was on the list .... wanted / needed in chromeos. Edit: But hey, we cannot complain at all, when we compare this work with other platforms. I am currently quite happy with intel state on linux. RE: New Era: VAAPI with EGL interoperation - onizuka - 2015-09-10 VP9 vs HEVC.....could we see a mass migration of non commercial encoding supporting VP9 as the preferred codec for this very reason? RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-10 I agree fritsch, I'm also very happy what we have now (thanks to you guys), and it is indeed great. We are lucky we have this Intel platform. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-10 (2015-09-10, 16:47)neox387 Wrote:(2015-09-10, 15:04)Mangoes Wrote: It doesn't work on Intel Haswell NUC i3. Remuxed AVC no problem for me either on i3 haswell nuc. |