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-08-25 Then the impatient need to figure out howto compile btbn's vaapi_hevc ffmpeg branch with the correct compile flags. After that they need to compile fernetmenta's master branch with the top commit of my master branch picked while this kodi compile is told to use the just before compiled ffmpeg which resides in e.g. /opt RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-08-25 Will this new VAAPI code also work with a N3700 processor at 4K@60p or is this different from N3150 ? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-25 In theory it should work. But Timo uses a N3700 Nuc - and for him 4k HEVC videos just decode into green :-( - it might have to do with the internal GPU memory reservation, which is not changeable on the NUC Pentium. Which device do you own? RE: New Era: VAAPI with EGL interoperation - AndreaSpooky - 2015-08-25 To me specs like - OpenElec support - Hw Hevc support - remote control full use (also for switch on/off of the device) - full usb3 support (unlike android stuff) are what i'm looking from a mini pc. Since this nice breaktrough with hevc support happened... ...should I get a BeeBox N3150? Currently I'm on a celeron chromebox, but can't play properly some hevc stuff...and also that remote control opportunity seems nice, finally. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-25 This is offtopic -> Please ask your question in the hardware forum. RE: New Era: VAAPI with EGL interoperation - jeey - 2015-08-25 Getting some random HW freeze on NUC5PPYH (brasswell) with the openelec image, seems like the kernel logs are not logged by default, any way to find the source of problem? System freezez typically after around 48hours since poweron, and needs hard powerdown to recover. RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-08-25 (2015-08-25, 20:24)fritsch Wrote: In theory it should work. But Timo uses a N3700 Nuc - and for him 4k HEVC videos just decode into green :-( - it might have to do with the internal GPU memory reservation, which is not changeable on the NUC Pentium. none but I wanted to buy an Intel NUC NUC5PPYH but now I think I would rather take a ASRock Beebox N3150 to be sure. RE: New Era: VAAPI with EGL interoperation - cford1905 - 2015-08-25 Will this also work on the NUC Broadwell 5th generation? I'd be more than happy to help with testing when the time comes. RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-26 Ok, some results testing with a NUC5CPYH, which is a Braswell N3050 based device. N3050, like N3000 and N3150 has 12 EU GPU, whereas N3700 has 16 EU GPU. 2160p24 ( http://trailers.divx.com/hevc/KAZU_(SUBTITLES)_4K23.98p_HEVC_10Mbits.mkv ) This video plays perfectly, no glitches. 2160p30 ( http://demo-uhd3d.com/fiche.php?cat=uhd&id=67 ) This video has purple artifacts during the first 5 seconds, and at times when the scene is changed. Mostly it's good though. Bit rate more than 50 Mbit/s at several times. Debug log: http://paste.ubuntu.com/12195647/ 2160p30 ( http://demo-uhd3d.com/fiche.php?cat=uhd&id=101 ) This video has every now and then green or purple artifacts covering almost the whole screen. Debug log: http://paste.ubuntu.com/12195613/ 2160p60 ( http://www.libde265.org/hevc-bitstreams/bbb-3840x2160-cfg02.mkv ) The video plays, but there is significant skipping. I didn't get any picture at first with libva-driver-intel 1.6.0, but after updating to latest master it was fine (ie. only stuttering). CPU usage is below 30% at all times. All in all, really promising results. Looking forward to see all these improvements trickle into the stable products in the coming months. Not sure the N3050 will ever be able to decode 4k@60, but it could not render 4k picture at that frame rate anyway due to HDMI 1.4a. Will be interesting to hear what BtbN will be able to squeeze out of his N3700. dmesg: http://paste.ubuntu.com/12195682/ vainfo: http://paste.ubuntu.com/12195683/ RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-26 (2015-08-25, 22:56)cford1905 Wrote: Will this also work on the NUC Broadwell 5th generation? I'd be more than happy to help with testing when the time comes. No - Broadwell does not have a HEVC decoder ... it was only released to make money without any value compared to a HSW. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-26 (2015-08-26, 00:43)trsqr Wrote: Ok, some results testing with a NUC5CPYH, which is a Braswell N3050 based device. N3050, like N3000 and N3150 has 12 EU GPU, whereas N3700 has 16 EU GPU. Thanks much for tihs feedback. Yes, some files currently still have issues color wise - Timo already got a sample. So in case of the greenish issues I am quite positive that we can work that out. Edit: please do a git pull - I bumped FFmpeg once again and picked the latest work of Timo (you need to rerun configure so that ffmpeg gets rebuild) RE: New Era: VAAPI with EGL interoperation - icebaer - 2015-08-26 You guys are really doing a great job!!! The current state is really looking very promising. But what is there left to do, to get it to a stable state? Are there any features yet to implement or is there "only" bug fixing left? RE: New Era: VAAPI with EGL interoperation - BtbN - 2015-08-26 The only issue left i'm aware of is it showing distorted colors on some samples. I can't find any possible reason for this within the ffmpeg code. Gstreamer refuses to play all affected samples entirely, which makes me suspect it's a bug in libva or at another level in ffmpeg. What all affected samples have in common is that they make use of delta_luma/chroma_weight/offset. The samples that play fine have those set to zero at all times. I have nothing to compare against where they play fine, which makes it hard to judge if the values passed are correct and libva is screwing up, or i'm passing the wrong values. Anyway, the patch is currently in the process of beeing reviewed and i'll try to get it into master this week. As it's time for another release, ffmpeg 2.8 should follow soon, with vdpau and vaapi hevc decoding. RE: New Era: VAAPI with EGL interoperation - onizuka - 2015-08-26 (2015-08-26, 07:32)fritsch Wrote:(2015-08-25, 22:56)cford1905 Wrote: Will this also work on the NUC Broadwell 5th generation? I'd be more than happy to help with testing when the time comes. With that said.....will migrating (begrudgingly) from OPENELEC to Windows at least give us something for 10bit HEVC 4kp60 with Broadwell? (At least us folks who have i3 and above.) Is it matter of Intel to be willing to provide the essentials for LINUX hybrid HEVC decoding in the Broadwell spec? Thanks for your efforts! RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-08-26 error sorry |