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 - ilovethakush - 2015-11-07 (2015-11-07, 12:34)noggin Wrote:(2015-11-07, 06:22)ilovethakush Wrote: What's the difference between VAAPI Motion Compensated and VAAPI Motion Adaptive and which would you suggest for the chromebox? Thanks a lot, that was very descriptive. I was just thinking to myself that based on what you said it would probably be better to use motion compensated, and then I check the chromebox wiki and the change has already been made, that was fast. One more question, and sorry for my ignorance, I'm relatively new to this. For video scaling method, what's the advantage of having it be "lanczos 3 - optimised" and not "auto"? RE: New Era: VAAPI with EGL interoperation - m_gl - 2015-11-07 (2015-11-07, 16:04)Milhouse Wrote:(2015-11-07, 15:05)m_gl Wrote:(2015-11-07, 13:32)fritsch Wrote: Yes, as said: Sync to display compensates this issue for you by resampling. Think he means just non-omxplayer, because of the ppl sync. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-07 (2015-11-07, 17:15)ilovethakush Wrote:(2015-11-07, 12:34)noggin Wrote:(2015-11-07, 06:22)ilovethakush Wrote: What's the difference between VAAPI Motion Compensated and VAAPI Motion Adaptive and which would you suggest for the chromebox? Auto does use settings that work on most hardware. In the concrete implementation. It would use Lanczsos 3 Optimized for 576 content and it would use Bilinear for 720p. So it's not exactly what we want. Therefore we set our own "defaults". Our settings can't be the defaults for all - cause of poor hw out there - see for example the Baytrail NUCs, which would "suffer" by default if we did. RE: New Era: VAAPI with EGL interoperation - paradix - 2015-11-07 @fritsch: I have been using kodi on ubuntu for few days now together with the kernel you supplied for my Baytrail Zotac CI320. As long as colors are great, than the movie playback is kind of jerky. I don't know how to describe the behaviour exactly, but it is not smooth. It seems like it is a problem with deinterlacing, in the log I was able to find entries that the deinterlacing method was not supported and it fallback to BOB. I tried different VAAPI deinterlacing methods but the playback wasn't good with any of it. May this be because of the CPU or the h264 mkv file I was playing? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-07 Deinterlacing only makes sense whenever you play interlaced content. Never ever set Deinterlacing to On - always keep it on Auto. As you are running a Baytrail ... it is not fast enough to support VPP-MADI in all cases - you should use VAAPI-BOB. I can tell you with a proper Debug Log file or mediainfo of the file. RE: New Era: VAAPI with EGL interoperation - paradix - 2015-11-07 (2015-11-07, 19:53)fritsch Wrote: Deinterlacing only makes sense whenever you play interlaced content. Never ever set Deinterlacing to On - always keep it on Auto. As you are running a Baytrail ... it is not fast enough to support VPP-MADI in all cases - you should use VAAPI-BOB. here is the log --> http://xbmclogs.com/pzhlybr3x As for the rest of the settings, they are as you described RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-07 Yeah - set the Scaling method to "Bilinear" and save it for all files - also too much for Baytrail. RE: New Era: VAAPI with EGL interoperation - paradix - 2015-11-07 Time to change the hardware then. Thnx again ;-) RE: New Era: VAAPI with EGL interoperation - D-an-W - 2015-11-07 Evening fritsch, I plan to do a reset of OE using your build to remove any possible remnants of older versions. Is it simply a case of resetting in OE and copying my 4 *.xml files (NAS passwords, folders etc) back over then rechecking the default settings? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-07 No idea - as OE saves some stuff in kodi directory concerning its binary addons and so on - no guarantees - i'd reconfigure from scratch also. RE: New Era: VAAPI with EGL interoperation - AndyFurniss - 2015-11-08 (2015-11-07, 12:51)noggin Wrote:(2015-11-07, 12:39)fritsch Wrote: Thanks much for the summary. I assume the same. Interesting about the MAC system. I guess the reason the deinterlacers don't rely on vectors is there may not be any for some blocks - I think the encoder can just use intra for any block as it wants. Also it's not just vectors, it's vectors + residual and I guess the residual may affect things. RE: New Era: VAAPI with EGL interoperation - noggin - 2015-11-08 (2015-11-08, 14:37)AndyFurniss Wrote: Interesting about the MAC system. Yep - could be. Though every little helps? Having guide vectors would massively speed up block matching in a deinterlacer to find the right deinterlacing vector, as you could start with the guide vector and work around it? It's a bit like Phase Correlation being used upstream of Block Matching in Alchemist or Quasar? RE: New Era: VAAPI with EGL interoperation - soder - 2015-11-08 I got a question about watching 4k with this version. I got a NUC Braswell, running OE Fritsch, and a new 4k TV. Just when I got it I tested the 4k videos I got and it was all smooth. Now it isn't and the only thing I know I've changed is that I now use the hdmi cable for sound too. Before I used a toslink cable for sound. Can that make the video not play smooth? /Söder RE: New Era: VAAPI with EGL interoperation - AndyFurniss - 2015-11-08 (2015-11-07, 19:53)fritsch Wrote: Deinterlacing only makes sense whenever you play interlaced content. Never ever set Deinterlacing to On - always keep it on Auto. As you are running a Baytrail ... it is not fast enough to support VPP-MADI in all cases - you should use VAAPI-BOB. Exceptions can prove rules :-) There may be times like mixed content (UK HD TV) when forcing on + MADI is the best way. I am thinking here of old threads where it was noticed that auto switching according to the stream flags caused a black frame - maybe that is solved? With MADI in theory at least always on shouldn't hurt progressive as it's MADI so won't blend when not needed. Maybe the OPs Baytrail is less than mine (J1900 + dual ram), but I could run 40mbit 30i h264 OK with MADI and get smooth 60fps with bilinear. Tested before the EGL work = I wouldn't get 60fps when there was an overlay - but that's not really a problem unless you watch TV with an overlay always on :-) BOB is really not very nice for scaled up SD. The bobbing is less noticeable for HD. Random VAAPI question - does kodi just detect intel and refuse to use it for anything else eg. radeonsi_drv_video.so -> gallium_drv_video.so ? RE: New Era: VAAPI with EGL interoperation - noggin - 2015-11-08 (2015-11-08, 15:02)AndyFurniss Wrote:(2015-11-07, 19:53)fritsch Wrote: Deinterlacing only makes sense whenever you play interlaced content. Never ever set Deinterlacing to On - always keep it on Auto. As you are running a Baytrail ... it is not fast enough to support VPP-MADI in all cases - you should use VAAPI-BOB. Yes - the 25p/50i encoder switching in use in the UK on terrestrial HDTV is confusing to many. It's chosen GOP-by-GOP AIUI - and AIUI the choice made by the TX encoder isn't always right... |