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 - Snippo - 2016-03-21 Alright, I'll post them when I get home. RE: New Era: VAAPI with EGL interoperation - Swifty - 2016-03-21 @fritsch Can you advise at all on an issue I'm having with audio and PVR? I use an STB which has to switch over to the relevant channel when I start a channel in Kodi (I think this is where the issue is caused). Usually when switching between SD/HD the video playback starts in Kodi but there is no audio, then after a second or two the video playback freezes until I hit stop. I can then launch the exact same channel (STB now doesn't have to switch) and it plays fine.. I think the issue is that there is no audio at the start of the PVR stream as the STB is 'mid switch' then when the channel is tuned Kodi doesn't pickup the audio stream. I've attached a log - I managed two successful tunes, and then the last tune failed (for reference things go downhill at 20:23:43 in the log). Any idea how I can get around this issue? (can't get rid of the STB unfortunately!) Log is here: http://xbmclogs.com/pjammrtti Thanks! RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 Sorry no idea. RE: New Era: VAAPI with EGL interoperation - Snippo - 2016-03-22 Here are the logs. Pastebinit didn't work for some reason so I used something different. kodi.log: http://pasted.co/5dfef35e dmesg: http://pasted.co/38554646 journalctl -S "today": http://pasted.co/ba9158fb vainfo: http://pasted.co/8e35e315 The drops only start after about 20 seconds, which can also be seen in the debug log. Edit: and pacman -Qs mesa: local/glu 9.0.0-4 Mesa OpenGL Utility library local/libtxc_dxtn 1.0.1-6 S3 Texture Compression (S3TC) library for Mesa local/mesa 11.1.2-1 an open-source implementation of the OpenGL specification local/mesa-demos 8.3.0-1 Mesa demos and tools local/mesa-libgl 11.1.2-1 Mesa 3-D graphics library Let me know if I forgot something. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-22 Quote:22:58:53 T:140231554627328 DEBUG: Previous line repeats 1243 times. You have a problem with your backend. Please ask in the tvheadend forum. RE: New Era: VAAPI with EGL interoperation - Snippo - 2016-03-22 Thanks for the help. I opened an issue on the TVHeadend tracker but I think the problem might be in the addon. Kodi v16 stable works fine but the latest nightly version has the same problem (using the same TVHeadend version). RE: New Era: VAAPI with EGL interoperation - negge - 2016-03-22 It seems like Kodi is seeking at certain intervals or something, hence the "demux send speed" calls. RE: New Era: VAAPI with EGL interoperation - wookl - 2016-03-23 BDMV and iso videoes does not cache from nfs, I have enabled cache of everything to my ssd on a nuc5cpyh with 120gb ssd, mkv caches, but bdmv and iso caches 0 B. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-23 -> trac.kodi.tv please RE: New Era: VAAPI with EGL interoperation - negge - 2016-03-23 fritsch Wrote:You have a problem with your backend. Please ask in the tvheadend forum. This has nothing to with the backend. Kodi triggers "SetSpeed()" on the PVR addon all the time for some reason which causes hiccups. It is not supposed to be called all the time, only when fast-forwarding or rewinding. I'm assuming this could be related to the inputstream work done recently. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-23 No report from any other backends. RE: New Era: VAAPI with EGL interoperation - negge - 2016-03-23 Probably because they don't use SetSpeed(). RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-23 Or probably they use it in a correct way? RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2016-03-23 (2016-03-23, 14:18)negge Wrote: It is not supposed to be called all the time, only when fast-forwarding or rewinding. It is, see ffmpeg demuxer how to handle this. RE: New Era: VAAPI with EGL interoperation - negge - 2016-03-23 Well, it didn't do that before, right? |