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 - scf2k - 2015-11-18 lusephur thanks! RE: New Era: VAAPI with EGL interoperation - slag - 2015-11-19 (2015-11-17, 23:43)fritsch Wrote: New build is up. When you say this, if we have an existing setup that is working, do we just have to redo this part or is there more to it? sudo apt-add-repository ppa:wsnipex/vaapi sudo apt-add-repository ppa:wsnipex/xbmc-fernetmenta-master sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install kodi kodi-bin RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-19 I don't know what you consider "working" ... RE: New Era: VAAPI with EGL interoperation - slag - 2015-11-19 (2015-11-19, 18:28)fritsch Wrote: I don't know what you consider "working" ... You have created enhancements that might benefit me, the user. What do I need to do in order to incorporate these enhancements into my existing (working) configuration? I typically follow the "if its not broken don't fix it" method, but if you've improved things for people like me who use passthrough, then I'd like to try this out. I set up an Intel NUC with Braswell chip earlier this month using the first post at that time. I now see you have posted a "new" build. New usually means better or that bugs have been fixed. So without being a Linux guru, my question is how do I incorporate your new build into my existing (working but always room for improvement) configuration? Thanks in advance. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-19 If you follow the howto a simple: Code: sudo apt-get update is enough :-) When I talk of "new packages" I talk about OpenELEC master builds with fernet's latest code. This code is package by wsnipex for the ppa that you installed. If you are a ppa user -> just use the above commands for update and all is fine. RE: New Era: VAAPI with EGL interoperation - ggp759 - 2015-11-20 Forgive my ignorance but is VAAPI with EGL interoperation possible on nvidia shield right now? Are there any builds for it? Thanks alot. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-20 No - it is intel / linux only. For the shield: Use the upcoming v16 nightlies. Koying has implemented zero copy rendering there, too. It is "as fast as it gets" for Android there currently. RE: New Era: VAAPI with EGL interoperation - sijones2010 - 2015-11-21 Only thing i've noticed with this build (coming from 15.2), when i start live TV it plays for a few seconds then will pause and show the buffering message and buffer to 100% before carrying on. The TV is really smooth and this is only a minor issue. I have tried putting in minbuffer setting in the advancedsettings.xml but that makes no difference. I also can not see a trigger point for it, sometimes it won't do a full buffer and sometimes it chooses to do it! Am guessing you'll want a log but wanted to see if anyone else has noticed this? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-21 No Debug Log no issue RE: New Era: VAAPI with EGL interoperation - sijones2010 - 2015-11-21 Hi fritsch, debug log for you http://pastebin.com/9vTgAf7Y New Era: VAAPI with EGL interoperation - teki4u - 2015-11-22 Hello! I own an Asus Chromebox (2gb ram/16gb ssd/Haswel) with latest coreboot firmware, fresh installed this a week ago (Ubuntu server version not OE), followed instructions to the letter including the settings and I've been updating since then plus upgraded to kernel 4.3 mainline as advised. Using NFS. Problem I have ( which reminds me an old annoying bug) is that the box FREEZES while browsing kodi, then Box gets totally unresponsive and is not accessible thru ssh, have to force reboot most of the times. I've had random FREEZES while browsing kodi menus, while playing back a video in the background then browsing menus and once while being opened without been in use for long time. No freezes while watching videos though (without touching it), at list not yet. Videos play fine without drops and skips, tested SD and HD. Also sometimes when the box restart eather manually or automatic after freezing it boots to black screen (I've seen kernel panic error too). Same happened when trying to install Ubuntu server 15.10 with default 4.2 kernel and the workaround was to boot with acpi=off, install, upgrade to 4.3 and then turn acpi=on? (Not sure about acpi=on or just remove the acpi flag), so it might be related and i don't know how to debug that. Question how do I know when box is doing software decoding? In some SD videos for example I notice more cpu usage I guess that's one way to tell. Hope the logs are correct and it shows the issue. MESA: http://paste.ubuntu.com/13421013/ VAINFO: http://paste.ubuntu.com/13421100/ DEBUG LOG: http://paste.ubuntu.com/13421334/ (from kodi.old.log) DMESG: http://paste.ubuntu.com/13421375/ I took a small video, will post link once uploaded to YouTube. Edit: https://youtu.be/nDtqrPLxuP8 T.I.A RE: New Era: VAAPI with EGL interoperation - noggin - 2015-11-22 If you hit 'o' during playback it should tell you which codec is being used for video replay. From memory if it's VAAPI it's hardware decoding, if it's something else (like an ffmpeg or similar) then I think it's software RE: New Era: VAAPI with EGL interoperation - teki4u - 2015-11-22 I always use 'o' to check for drops, skips and other info just not sure when is sw/hw decoding in this case. I've seen ffmpeg VAAPI so what about that one. Hmmm maybe all that show VAAPI in dc: is hw decoded and there rest is sw? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-22 (2015-11-22, 01:21)Veronica Wrote: Hello! I own an Asus Chromebox (2gb ram/16gb ssd/Haswel) with latest coreboot firmware, fresh installed this a week ago (Ubuntu server version not OE), followed instructions to the letter including the settings and I've been updating since then plus upgraded to kernel 4.3 mainline as advised. Using NFS. In your dmesg there I see a kodi segfault at the end - please also upload the crashlog which is in your home directory. Check temperatures, also do a complete memory test (!) of the box via memtest86+. Concerning sw decoding: If you press "o" - hw decoded always has "-vaapi" in the dc line, e.g. dc: ff-h264-vaapi RE: New Era: VAAPI with EGL interoperation - a5ian300zx - 2015-11-22 Hi, I have extractly the same issue as Veronica on my Haswell nuc have tried both javis and isengarde builds but same issue. I will try and get log file up when I get chance. Haswell nuc has latest Bios, 16gb ram, 120gb msata drive. The only thing I noticed was it was reporting the hdd 100% used which is incorrect? Thanks |