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 - trsqr - 2015-08-14 (2015-08-13, 06:21)fritsch Wrote: Thx much. Currently travelling for work ... will See when I get time again :-( No prob, writing this from an airport as well... permissions fixed for kodigrind.txt, but the results are not interesting I believe. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-14 Quote:==1433== LEAK SUMMARY: :-) That would prove you wrong in deed. Retry with: --leak-check=full ? RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-14 (2015-08-13, 06:31)FernetMenta Wrote: 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. I was just looking at the memory usage percentage in Kodi system info page. Anyhow the number did not grow when VAAPI was disabled and it did grow when VAAPI was enabled. Also, OpenELEC more or less crashed whene reaching 72%, but Ubuntu + Kodi did not for some reason. I say more or less, as it was possible to move in the menus, but for example it was not possible to start any of add-on that started an external piece of software (such as mrxvt console). RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-14 (2015-08-14, 18:12)fritsch Wrote:Quote:==1433== LEAK SUMMARY: Yes, indeed it seems that the memory is released when Kodi is quit. Though I don't know where I was wrong - I am just reporting what I see. If there are some other printouts in addition to passing the leak-check=full parameter to valgrind that I can collect while observing the growing memory usage percentage I could collect those as well. I'll retry this probably on Monday. Of course it is possible that OE gets stuck due to some other reason and not because of memory. However, the fact that any add-on does not start anymore could point to a memory issue. I did not notice this problem, but was talking to another guy who had the same issue (OE crashing after watching several videos) on the same hardware but 2GB RAM - I just verified that it indeed happens. RE: New Era: VAAPI with EGL interoperation - noggin - 2015-08-15 Is it possible that some TVs correctly interpret the Code: xrandr --output HDMI1 --set "Broadcast RGB" "Full" I've installed the EGL OpenElec build from post 2 of the thread, and created the autostart.sh file. However when I run Kodi I get correct levels on my Sony UHD TV (routed via an Onkyo amp) without the Kodi option for limited output enabled. (i.e. I don't get crushed blacks and clipped whites without the setting, and I do get grey blacks with it) I am running via a Displayport to HDMI adaptor, but my display is reported as HDMI1 not a DIsplayport display in xrandr. Is there an option to check that the xrandr setting I've made in autostart.sh has correctly 'taken'? RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-15 (2015-08-15, 17:45)noggin Wrote: Is it possible that some TVs correctly interpret the Yes , it is. If TV interprets info frame kodi's limited setting does not work. RE: New Era: VAAPI with EGL interoperation - noggin - 2015-08-15 (2015-08-15, 17:55)FernetMenta Wrote:(2015-08-15, 17:45)noggin Wrote: Is it possible that some TVs correctly interpret the Thanks. Looks as if my Sony 2014 UHD set correctly interprets info frames then... RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-08-16 If I build a rig based on G1840 Haswell, as it needs some more power for Plex and some basic nas functions, will I be able to run Kodi too? If I got this correct, everything should work on G1840 the same way as with Braswell, except future HEVC support? RE: New Era: VAAPI with EGL interoperation - noggin - 2015-08-16 (2015-08-16, 08:23)gurabli Wrote: If I build a rig based on G1840 Haswell, as it needs some more power for Plex and some basic nas functions, will I be able to run Kodi too? If I got this correct, everything should work on G1840 the same way as with Braswell, except future HEVC support? My Haswell Celerons (HP260 G1 with 2957U and Asus Chromebox with 2955U) are working fine - so I've no reason to think a Haswell Pentium won't, though others here are better qualified to confirm. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-16 I had a Celeron 1820T based setup in my living room before I got a passively cooled ZBOX CI520 nano. It will be fine with this howto. Btw. HEVC is taking shape at the moment. Fernetmenta has started development https://github.com/FernetMenta/FFmpeg/commits/release/2.7-kodi and Timo (btbn) has continued to work on those patches, here: https://github.com/BtbN/FFmpeg/commits/vaapi_hevc Kodi's part was not hard at all (though testing did not yet happen): https://github.com/fritsch/xbmc/commit/af6300a1cbecc8722c805d4a8b92184146813f14 Seems with this next gen codec VAAPI will go into a nice future, at least HEVC wise. RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-08-17 in the moment I fail on a frehs installation by following the step by step guide from the op with sudo apt-get install kodi kodi-bin -- Die folgenden Pakete haben unerfüllte Abhängigkeiten: kodi-bin : Hängt ab von: libcrossguid1 ist aber nicht installierbar E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete. -- any hint ? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-17 sudo apt-add-repository ppa:team-xbmc/xbmc-ppa-build-depends sudo apt-get update sudo apt-get dist-upgrade sudo apt-get -f install Does this help? RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-08-17 yes fritsch - this helped... thanks a lot for your support RE: New Era: VAAPI with EGL interoperation - wsnipex - 2015-08-17 (2015-08-17, 12:55)Brujo Wrote: in the moment I fail on a frehs installation by following the step by step guide from the op with sudo apt-get install kodi kodi-bin its now fixed in the PPA, no need for the build-deps PPA anymore. RE: New Era: VAAPI with EGL interoperation - sunnyfunny - 2015-08-17 Any Openelec Build with Kodi 15.1 out now? |