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 - Hufvudet - 2015-09-06 Hey fritsch, any news in the OE build relevant to a haswell owner? Thanks for your work as always. RE: New Era: VAAPI with EGL interoperation - rbej - 2015-09-06 N3700 Braswell (NUC5ppyh). today openelec build. OpenElec VAPPI (Linux) vs MPC-HC with Lav filters (Windows) - Sintel hevc 4k 30fps smooth but some drops. Mpc-hc with Lav filters playing better. - Tears hevc 4k 30fps smooth but some drops. Mpc-hc with Lav filters playing better. - Bunny h264 4k 60fps smooth. On Mpc-hc with Lav filters is unplayable. Drops, skips, slowmotion. - TV recording hevc 4k 60fps SMOOTH!!!!. On Mpc-hc with Lav filters is unplayable. Drops, skips and very, very slowmotion. Very good job!!!. Cpu usage in all test files 5-12% One is strange. Why 60fps files playing better than 30fps??. Blinnear scaling enabled. I try on/off vsync, sync playback to display, adjust display refresh rate to match video. No results. 30fps files still sometimes droped. 60fps files is ok. RE: New Era: VAAPI with EGL interoperation - DennisTA - 2015-09-06 @rbej Have you also tested 4k@60Hz with HEVC? RE: New Era: VAAPI with EGL interoperation - DennisTA - 2015-09-06 @fritsch: I've tried the same videos with the Intel NUC5CPYH (Intel Celeron N3050 - Braswell) and have the same results. Scaling method is already set to bilinear and I did not open codec info while playing the videos. The drops are every time at the same position with both PCs. Could you provide me one testfile which runs well on the N3150? Maybe my Files are broken or something. Meanwhile I will start an test with the Pentium NUC5PPYH (Intel Pentium N3700 - Braswell). RE: New Era: VAAPI with EGL interoperation - DennisTA - 2015-09-06 (2015-09-06, 11:41)rbej Wrote: N3700 Braswell (NUC5ppyh). today openelec build. Same result here. It's all in all the same as with the N3000 and N3050, but not so many skips while playing BBB @60Hz. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 @DennisTA: If it occurs always at the same position, please post me a Debug Log - that way we can see if something _in_ the file goes wrong. @rbej: Also only open the codec info only from time to time ... with our zero copy approach we are far superior to any other player out there ... performance wise. Concerning testfiles: http://forum.kodi.tv/showthread.php?tid=231955&pid=2089922#pid2089922 <- I use those and: http://www.libde265.org/downloads-videos/ RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 And btw. For this testing, please disable "Sync Playback to Display" as other players most likely don't use it ... btw. if we drop / skip that has a sense: audio sync related. So in that regard no drops / skips does not have to mean: all fine (when Sync Playback is disabled). Consider a 3 minute video and every 30 seconds we would go 50 ms out of sync. After 2 minutes we would drop once heavily and then repeating without Sync Playback to display no drop / no skip. While this setting constantly adjusts video / audio. RE: New Era: VAAPI with EGL interoperation - rbej - 2015-09-06 (2015-09-06, 11:59)DennisTA Wrote: @fritsch: +1 Confirmed on my NUC5PPYH (N3700). RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 Debug log needed - let's see what ffmpeg tells us. RE: New Era: VAAPI with EGL interoperation - DennisTA - 2015-09-06 Sent by e-mail. RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-09-06 (2015-09-06, 09:52)fritsch Wrote: @fab67: Thanks for your feedback. I try this samples on my asrock beebox N3150 Sintel 1080p and 4k LG 4K - View the Feeling 4k30fps HEVC Exodus : Gods And Kings 4k30fps H264 Jurassic World 4k30fps H264 ... I don't see 4K@60fps 8bit HEVC sample on demo-uhd3d.com ( only 4k60fps 10bit HEVC) . Has Someone a link to share ? All samples are fine for me but the "problem" is that even with some skip the "Intelligent Frame Creation" from my 4K TV (panasonic ax800) correct this and I don't see any stutter. The only time I see some stutters is when I set scaling algorithm to anything other than bilinear ( with a lot of skips ). I also try 3840*2160@30, 2560*1440@60 and 1920*1080@60 output to see the difference To be honest I don't see any difference between 2160p and 1080p with 4k samples, the upscaling from the TV must be pretty good. Conclusion I stay at 1080p@60. What would be great is the possibility to set separately the scaling algorithm for upscale and downscale e.g. upscale with lanczos3 and downscale with bilinear. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 4K-TCL-H265.mp4 and LG_4K_View-the-Feeling.mp4 are 8 bit on this page RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 (2015-09-06, 12:30)DennisTA Wrote: Sent by e-mail. It was resynced every 200 ms. Cause A/V sync went nuts. Your tested sample was: 4096x1744 - so a real 4096 sample. Same happens with 3840x2160? I think in your case "Sync Playback to Display" together with Adjust Refreshrate to match Video will help as we can skip frames and won't run into the player resync that heavily. If the decoder is too slow nothing will help. I think other players also skip those frames away but don't tell. RE: New Era: VAAPI with EGL interoperation - fab67 - 2015-09-06 (2015-09-06, 12:40)fritsch Wrote: 4K-TCL-H265.mp4 and LG_4K_View-the-Feeling.mp4 are 8 bit on this page only 30fps not 60fps RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-06 Yes - 30 fps. I think this is HEVC content I would suggest on the braswells. 60hz will always be hard to accomplish. Btw. I see a dropping issue with 4096x1174 - which looks like something in the driver is computing too low values - not sure yet. But we will find out. |