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 - Sunflux - 2015-09-22 (2015-09-22, 13:19)fritsch Wrote:(2015-09-22, 13:13)Sunflux Wrote: Wow, how did I miss this thread? The banding was always a serious annoyance to me - such that I'm using the CPU copying method and have forced limited range color spaces. Well, I just wasn't sure if it would actually do anything / have any benefit on low-end Chromebox hardware (ie. no HEVC support), and I also wasn't sure if it could be applied as a standard update without issue, or needed a fresh installation. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 Mmh, if you would read the first post again, could you tell me if I could have missed something there concerning features? I think the resolved banding, the less pressure on resources (Fan noise) are reasons enough ... You can easily upgrade with the supplied .tar: http://fritsch.fruehberger.net/openelec/isengard/ - _if_ you are already running 5.95.5 without any changes ... Do me the favor and also read the second post concerning the Color Settings that you might have to do in OpenELEC (one setting) dependend on if your TV is Limited or full range. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-22 Yes, I was just checking that out. Currently to avoid banding, I'm doing the following: * Not using the VAAPI copying method. * In autostart.sh, I force full color space. * In Kodi settings, I enable limited color space (to fix up the dark GUI - has no effect on video). * In my television, I force limited color space. This has the effect of leaving limited range videos as unchanged limited range while being sent over a full range color space. This would normally make blacks grey, which is why I force the TV back into limited range. Using the CPU copying method, this prevented any color space conversions and prevented banding from occurring. You state: No adjustment of autostart.sh for full range is needed anymore - it is done automatically Check your "Use Limited Range setting" if you feel everything is too dark. Now, assuming my TV stays fixed to "limited" color space (needed for my other CE devices on the same input, and I don't trust the reliability of its automatic detection), am I safe letting Kodi go back to automatic operation (remove the autostart.sh line?) Or, should I force it into Limited space via autostart, or does the Kodi menu option do more than just adjust the GUI now? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 I wrote a systemd service that sets the screen to full range automatically. No need for autostart.sh hacks. Btw. I described this in detail here: http://forum.kodi.tv/showthread.php?tid=231955&pid=2109014#pid2109014 Only thing you need to do: "Use Limited Range" in kodi ... and keep Prefer VAAPI Render Method _ON_ - as it is also described in the first post ... and was explained at least 5 times throughout this thread. Start reading here: http://forum.kodi.tv/showthread.php?tid=231955&pid=2109014#pid2109014 RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-22 Okay, as usual you're right! Upgraded fine, VAAPI enabled, graduations look flawless just like I had before, but now with an even more power efficient method. On one sample 1080p file, CPU copying uses around 8-14% CPU power, but just 2-8% with VAAPI. Must say... Kodi/OpenElec appliances are basically my favorite tech devices out there! Between all the customizations, hacking my display EDID, modifying Confluence to include home menu options for my security cameras (and putting the year of a movie on the pop-up info bar - why isn't this done already??)... it performs better than any other media solution out there! RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 (2015-09-22, 14:08)Sunflux Wrote: Okay, as usual you're right! Upgraded fine, VAAPI enabled, graduations look flawless just like I had before, but now with an even more power efficient method. Btw. as you are a new tester right now. Your screen also goes blank every some seconds while watching something? RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-22 Assuming a few minutes watching is enough, no, not so far. However has something changed with lipsync? Did you remove OE's internal 175ms delay? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 Yes - cause some users here said: It's not needed anymore. You still need it? In cause you need it, put it to /storage/.kodi/userdata/advancedsettings.xml Code: <advancedsettings> RE: New Era: VAAPI with EGL interoperation - aesthetiker - 2015-09-22 Tried last Jarvis release maybe update first page and add PVR addons are incompatible. Back to older release. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-22 Yup, seems like the 175ms is still needed for me. Put it back in, and everything's fine again. (Not sure I need the default 50ms delay - is that a stock OpenElec item?) I think some users have *never* needed a delay on 24hz material (even before now), although no one has adequately explained why. At least as far as my experience, I need it on this Marantz Receiver + Sony TV combo, and in another room I also need it on a Marantz Receiver (2 different models built 7 years apart) and Pioneer TV combo. I've also needed a similar delay on a Dune media player, so Kodi is not unique... but do not need it on a PS3 playing Blu-rays, or a Sony dedicated Blu-ray player. Strange, huh? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 (2015-09-22, 14:38)aesthetiker Wrote: Tried last Jarvis release maybe update first page and add PVR addons are incompatible. Back to older release. The ones from this morning? They should work -as the bump is already in. Make sure you tried the latest and greatest ... RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 (2015-09-22, 14:38)Sunflux Wrote: Yup, seems like the 175ms is still needed for me. Put it back in, and everything's fine again. Yeah - same here with my Marantz. I will drop this removal then and will readd it. I plan to do a final Isengard build when kodi release 15.2 and OpenELEC release version 6.0 RE: New Era: VAAPI with EGL interoperation - exploit - 2015-09-22 (2015-09-22, 13:20)fritsch Wrote: Did you try to set it to blank and reset its settings to default? Yes, i tried all screensaver's options (Disable, dim, black etc.) even installed two more from OpenELEC repository - no luck. Running right now Ubuntu 15.04 with KODI - no probs (except the problem with PVR add-on) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-22 (2015-09-22, 14:44)exploit Wrote:(2015-09-22, 13:20)fritsch Wrote: Did you try to set it to blank and reset its settings to default? Cool or not cool :-) Perhaps a custom setting was hosed ... I will report back on my system tonight. RE: New Era: VAAPI with EGL interoperation - aesthetiker - 2015-09-22 EDIT: Ok update over ssh works! New Image up and running.All PVR add ons are in the gui on status invalid Ok that could be the problem. I can't install the latest error invalid. dependencies not satisfied. Tried to install from .zip same issue. Thank you for any tips. (2015-09-22, 14:40)fritsch Wrote:(2015-09-22, 14:38)aesthetiker Wrote: Tried last Jarvis release maybe update first page and add PVR addons are incompatible. Back to older release. |