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
|
New Era: VAAPI with EGL interoperation - teki4u - 2015-12-04 links to videos to test and calibrate your TV 1. AVS HD 709 Patterns http://www.forodvd.com/descargas/basic-settings.rar Package contain 5 videos: - Black clipping - APL clipping - White clipping - Flashing Color Bars - Sharpness & Overscan. Only the first 3 are needed. 2. Grayscale Ramp Test: https://dl.dropboxusercontent.com/u/98309225/1-Grayscale%20Ramp%20.mp4 The correct output will show the grayscale ramp having a smooth transition (rather than stair steps) from 16-235, with solid black/white past the dots at the ends. See correct grayscale ramp: https://dl.dropboxusercontent.com/u/98309225/grayscale_ramp_good.png RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-04 Read the first post please. kodi 15.2 is not (!) absolutely not able to transfer decoder video without upscaling the content to full range - which will include sever and heavy banding .... you won't get a single smooth grayramp with that at all. All your calibration is nuts with that version :-( and the Use Limited Range has no single influence on the video data ... I am really out of ideas how I should explain that again and again ... it's all written in the very first post of this howto. New Era: VAAPI with EGL interoperation - teki4u - 2015-12-04 OK and sorry if was offtopic (As i dont use the egl build nor its code anymore) but i needed an explanation (a good specific understandable one) and you just did. That being said ill leave my color setup as it is right now in kodibuntu 15.2. I'll remove the offtopic part. Btw i did read the first 2 posts of this thread when installed the ppa version (which i did after searching for instructions to install kodi in ubuntu server) but then i had to install something else due to hang issues. So now i know that part is broken or doesn't work properly as simple as that. RE: New Era: VAAPI with EGL interoperation - Ney - 2015-12-05 (2015-12-03, 16:49)fritsch Wrote: @Ney: Currently uploading a new release (.tar) - will have pvr.dvblink integrated ... wait until it's fully up and upgrade your existing version after that. Works a charm, thanks a bunch Fritch, disabling the turbo and setting max cstate to 1 makes it run rock solid, and jarvis beta 3 looks real good so far. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-05 (2015-12-05, 20:13)Ney Wrote:(2015-12-03, 16:49)fritsch Wrote: @Ney: Currently uploading a new release (.tar) - will have pvr.dvblink integrated ... wait until it's fully up and upgrade your existing version after that. Yeah. The cstate=1 is a sad thing ... thinking how long this bug is already open :-( RE: New Era: VAAPI with EGL interoperation - crotale - 2015-12-06 (2015-07-12, 20:06)fritsch Wrote: First post fritsch, thanks alot for the detailed instructions in the first post! I just followed them exactly and the setup was working well above expectation. Intel NUC5PPYH, Braswell Pentium N3700 Ubuntu Server 15.10 I migrated from a nVidia ION platform and I have had a lot of issues earlier. This time, I installed the system away from the TV and receiver and expected big time troubleshooting. Guessing the audio setting (optical SPDIF) and copying the old HDMI-CEC settings (I use a PulseEight HDMI-CEC to USB dongle) and then moving the unit to the TV and Receiver. It just worked! I still can't believe I didn't have to do a single thing! The only surprise was that it changed the language/locale to Swedish (which is correct, but I prefer Engligh) upon the next boot. Changed to English and it worked well. However, it reverted to Swedish again. Now restored again to English and I think it holds it that way now. Unfortunately, I didn't extract any logs and I'm not sure where, how and if I should report it as a bug. Thanks again for the great work fritsch! RE: New Era: VAAPI with EGL interoperation - Martijn - 2015-12-06 Check CEC setting in kodi to not switch to TV language RE: New Era: VAAPI with EGL interoperation - jelbo - 2015-12-07 Umm, I updated from OpenELEC-Generic.x86_64-6.0-devel-20151127190458-r21582-g0c46ef7 to OpenELEC-Generic.x86_64-6.0-devel-20151203154456-r21592-g293aec7 by placing that .tar in the .update folder of my Beebox setup. After rebooting it got stuck at a black screen with a cursor. No network connection. I gave the reboot command remotely, so I haven't seen what exactly happened after that. (Managed to roll back using the parallel Lubuntu setup and copying over the extracted KERNEL and SYSTEM images.) RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-12-07 (2015-12-03, 20:15)fritsch Wrote: http://lists.freedesktop.org/archives/libva/2015-December/003748.html <- HEVC 10 bit decoding :-) Next summer's Atom release is going to bring some interesting decoding capabilities. Too bad we need to wait for a year more before these will be in a Core i3 or i5 CPU.. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-07 Who needs a core i3 / core i5? If _all_ the video content is handled by dedicated silicon? RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-12-07 (2015-12-07, 21:34)fritsch Wrote: Who needs a core i3 / core i5? If _all_ the video content is handled by dedicated silicon? Well, if you plan to do something else with your PC than just decode videos... If you're talking about a pure OE machine, then you maybe don't need more power than Broxton can provide. RE: New Era: VAAPI with EGL interoperation - JaccoH - 2015-12-07 There is, atleast for me, a tiny issue with the autostart.sh. If Kodi crashes 'openbox --exit' doesn't cut it for me. Openbox will ask for permission to actually close. This isnt good for the WAF. Is Openbox still needed? should I kill openbox in a different way in autostart.sh or should we do something like: Code: OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` Atleast this way it will restart Kodi. Both not really pretty though! We could also make it two seperate systemd scripts? One for Openbox and one for Kodi? Ah well.. details. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-07 do it differently and check the the return value: Code: OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` That will restart kodi on failure - but shutdown will work properly RE: New Era: VAAPI with EGL interoperation - basher - 2015-12-07 (2015-12-07, 18:02)jelbo Wrote: Umm, I updated from OpenELEC-Generic.x86_64-6.0-devel-20151127190458-r21582-g0c46ef7 to OpenELEC-Generic.x86_64-6.0-devel-20151203154456-r21592-g293aec7 by placing that .tar in the .update folder of my Beebox setup. After rebooting it got stuck at a black screen with a cursor. No network connection. I gave the reboot command remotely, so I haven't seen what exactly happened after that. Is there a upgrade process between the builds? I am currently running on Jarvis OpenELEC build 11/28/15 on my Asrock Beebox 3150. 1. Place tar file in the update folder? 2. Backup settings and re-install? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-07 Placing the .tar and rebooting is enough |