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 - cford1905 - 2015-08-13 Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS). RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 (2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS). No logs, no issue. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 (2015-08-13, 01:23)trsqr Wrote: I mentioned yesterday that there seems to be some strange behaviour when it comes to memory usage of kodi. With the OpenELEC build from post #2 it crashes after watching n videos (where n seems to be something between 50 and 100 in my system). After each video, kodi seems to consume more memory according to system info page. The system became unusable when memory usage was at 72%. Thx much. Currently travelling for work ... will See when I get time again :-( Edit: kodigrind.txt is not accessible. RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-13 how do you measure memory usage? you know that Linux may consume mem for its own purposes and give it to apps on request. this memory is not flagged as free mem. RE: New Era: VAAPI with EGL interoperation - pxpert - 2015-08-13 (2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing (2015-08-12, 15:06)fritsch Wrote: Yeah +1 - the mesa extension is missing. Either build mesa git (master) or pick the patches wsnipex ships in his repository. Hi, Thanks for your support, this is my full kodi log http://pastebin.com/mgXMThgm As you can see, I'm already using mesa GIT release (10.7.0-devel - 26/07/2015), so I dunno why this extension is missing... RE: New Era: VAAPI with EGL interoperation - cford1905 - 2015-08-13 (2015-08-13, 06:19)fritsch Wrote:(2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS). Here are the logs that you mentioned in post 1. To clarify, KODI doesn't crash. http://paste.ubuntu.com/12069345/ http://paste.ubuntu.com/12069350/ http://paste.ubuntu.com/12069352/ http://paste.ubuntu.com/12069357/ RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 (2015-08-13, 09:52)pxpert Wrote:(2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing Not a Debug Log (but many, many banned addons installed). Please follow the howto for Ubuntu, which is the topic of this thread. We have no clue what gentoo currently does. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 (2015-08-13, 10:00)cford1905 Wrote:(2015-08-13, 06:19)fritsch Wrote:(2015-08-13, 03:52)cford1905 Wrote: Followed the guide in the first post (Ubuntu server 15.04 nuc i5). Everything seems to be working well. One thing that I noticed, however, is that when playing a video there are micro-hangs of about 1/4 second every 10 or 15 seconds. Strangely enough these go away about 15-20 minutes into the movie (local files on my NAS). Same issues with local files? RE: New Era: VAAPI with EGL interoperation - pxpert - 2015-08-13 (2015-08-13, 13:05)fritsch Wrote:(2015-08-13, 09:52)pxpert Wrote:(2015-08-12, 14:26)wsnipex Wrote: your mesa is most probably missing the NV12 extension. But since you cut the log, I'm just guessing Aaah sorry, here is it, with debug enabled! http://pastebin.com/yu21Dqbt RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 Nope - no idea. Please use Ubuntu as this is what the howto is about ... On gentoo you are alone. Start with debugging permissions, then mesa compile flags and so on ... RE: New Era: VAAPI with EGL interoperation - pxpert - 2015-08-13 mmmh... could it be due to missing gles1 and gles2 support in mesa? I'll tryito recompile mesa with them and let you know PS. do you know if latest stable mesa (10.6.2) can handle that extension? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-13 No it does not have it. Please - this is not a gentoo support thread ... use the howto cause that's what this thread is about. P1: http://cgit.freedesktop.org/mesa/mesa/commit/?id=56f1f47eda881d6281e9c7531bc17e72b25d9bb9 P2:http://cgit.freedesktop.org/mesa/mesa/commit/?id=fd865d56d2229d8c5d7ea893ac1dba525d88e647 RE: New Era: VAAPI with EGL interoperation - pxpert - 2015-08-13 Compiling latest GIT mesa (which required and update to llvm 3.6.2), and enabling glesX seems to have solved the problem. Now it plays smootly! Thanks for your support (and your patience ) RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-13 We don't use gles with X11, we use OpenGL. RE: New Era: VAAPI with EGL interoperation - cford1905 - 2015-08-14 (2015-08-13, 13:06)fritsch Wrote:(2015-08-13, 10:00)cford1905 Wrote:(2015-08-13, 06:19)fritsch Wrote: No logs, no issue. Thanks for geting back to me. I tried with the same video from my local Downloads folder. The issue stopped completely. It looks like an issue with non-local files. I also tried playing other videos from my NAS and had the same issue. Issues were exactly the same as in my original post. Could it be a buffering issue? Before updating I was running on Kodi 15 on Ubuntu Server 14.04 and did not have any issues. I read in someplace that there were some issues with samba in 15.04. I'm currently using kernel 3.19. Does it make any sense to go up to 4.1? |