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 - 2016-02-15 As he had the issue with 4.3 before I am not so sure, but worth a try. RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-16 fritsch I have a couple of apple pro res videos with very high bitrate (4.5 and 9.2GB for less than 4 minutes files). And they are unwatchable with kodi. I've tried to play from internal ssd and tweaked buffer settings. Wanna take a look? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 Debug Log or it never happened mediainfo or I am not interested RE: New Era: VAAPI with EGL interoperation - noggin - 2016-02-16 (2016-02-16, 00:01)scf2k Wrote: fritsch I have a couple of apple pro res videos with very high bitrate (4.5 and 9.2GB for less than 4 minutes files). And they are unwatchable with kodi. I've tried to play from internal ssd and tweaked buffer settings. Wanna take a look? Are they 8 or 10 bit? Are they 4:2:2 ? Are they interlaced ? ProRes will rely entirely on CPU for decoding (there isn't a VAAPI ProRes implementation), though not sure if VAAPI rendering will deinterlace. Kodi isn't really optimised for intra-frame codecs (though ffmpeg does support them - though often ffmbc does a slightly better job IME) - so ProRes, DNX HD, DVC Pro HD, AVCi 100 and other broadcast intra codecs (and in fact broadcast inter-frame Long(er) GOP codecs like H264 4:2:2 and MPEG2 4:2:2) are CPU decode only and the rendering probably isn't ideal either? As fritsch said - content information and a log are required to really advise. I usually stick to broadcast software for broadcast codec stuff though. (It would be lovely to be able to watch my ProRes 4:2:2 HQ stuff in Kodi - but I can live without it...) RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-16 (2016-02-15, 21:03)fritsch Wrote: As he had the issue with 4.3 before I am not so sure, but worth a try. Should I try to go back to an older pre-4.3 Kernel? I've filed at bug at bugs.freedesktopp.org. I tried with my old HTPC box, a Gigabyte Brix also using Intel HD graphics (but old, HD2000) using the same HDMI cable and that also works fine. I rebooted and accessed the BIOS on my old TV then connected it to the new TV. I can see the BIOS but again only if I connect to the old TV first. There is nothing relevant there about video settings anyhow (only to use onboard graphics or PCI but I have no PCI). I've checked the television manual There aren't specific settings for connecting to a PC. There is a PC mode for each HDMI input but that seems to only adjust a few picture settings and everything else displays fine. [update] I purchased a DVI to HDMI adaptor and tried through my DVI port on the HTPC. Exactly the same issue as through HDMI. Next steps: 1. My HDMI cables are 1.4 I guess. Would it be worth trying a HDMI 2.0 cable? 2. Drastic but would purchasing a graphics card such as something from nVidia and trying to connect through it possibly help (even when I can't see the BIOS screen)? This one has me totally baffled. I keep thinking its at a hardware level somewhere otherwise the BIOS and grub screens should display but then I'm no expert on any of this. RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-16 (2016-02-16, 00:02)fritsch Wrote: mediainfo or I am not interested (2016-02-16, 00:56)noggin Wrote: Are they 8 or 10 bit? Are they 4:2:2 ? Are they interlaced ? one http://pastebin.com/HiUiFi1r two http://pastebin.com/VwqqzEYi three http://pastebin.com/zecZ9s6Z log http://pastebin.com/ssa629c4 RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 Apple Quicktime ProRes ... RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-16 (2016-02-16, 09:14)fritsch Wrote: Apple Quicktime ProRes ... Should I go to the monastery after this sentence? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 No hw acceleration, it is CPU decoded ... RE: New Era: VAAPI with EGL interoperation - Jorgensen - 2016-02-16 Hi, I am having problems with DTS-HD movies. Lots of skipping. I have watched 2 minutes and every time I saw a skip, I pushed the left Ctrl to mark the skip I saw. I am using pass through, by the way. Find logs below. Code: kodi@NUC:~/.kodi/temp$ cat kodi.log | pastebinit RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 Can you downgrade to a version before the 11th of February? It seems you have the very same issue as I got reported on other platforms. Edit: If you watch again and check via a terminal with "top" then pressing "H" - do you see which Thread spikes and causes those issues? Quote:09:01:33 T:139830127376448 DEBUG: OnKey: ctrl-leftctrl (0x1f0d0) pressed, action is Are you pressing something? EDIT: LOL, sorry - yes I did not read your message. Yes, I thought that those presses produce it :-) so now it's clear, thx - yes player does "hurry" at these positions. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 What you also can try of course: Change Scaling to Bilinear for that file, I think it's too heavy perhaps to do the lanczos3 downscaling for this 4k file. In your codec screen: you see a lot of skips, right? RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-16 (2016-02-16, 10:05)fritsch Wrote: No hw acceleration, it is CPU decoded ... If I turn on info overlay it doesn't show high cpu usage. It looks more like a buffering problem. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-16 No Debug Log no issue ... RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-16 Hey! I posted it several posts ago with media info logs |