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 - fritsch - 2015-07-14 I would use gst-launch directly to reproduce. It's a bit hard at the beginning to fiddle out the right params - but that way the intel people will be able to reproduce. Though i am not sure they will fix it for us. As it seems that this stream mixes progressive with interlaced and yadif just copes with that, while the intel vpp gets programmed by us. But we will see. Try to adjust that: Code: gst-launch-0.10 filesrc location="/home/fritsch/1032_20130801154100.ts" ! tsdemux ! vaapidecode ! vaapipostproc deinterlace=1 deinterlace-method=3 ! vaapisink RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14 Hmmmm.... apparently I need an additional plugin for the VAAPI stuff, and I don't see a package for it. I had to install the "bad" plugins to get "tsdemux", but it's still complaining about [WARNING: erroneous pipeline: no element "vaapidecode"] I'll have to mess around more later when the wife isn't wanting to watch TV RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14 Ah, nevermind - has plugins for the newer version of gstreamer. Now it gets to this: Code: gst-launch-1.0 filesrc location=test-usa-svu-1.ts ! tsdemux ! vaapidecode ! vaapipostproc deinterlace=1 deinterlace-method=3 ! vaapisink Which I assume is because I need a driver update? I'm running in a very bare minimum X via startx. No DE This is on Archlinux which I have installed currently. I can rebuild the box on Ubuntu following the tutorial if needed - but not until I have some time later. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 Please stay on topic in this thread. you are missing gstreamer-vaapi packages. RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 Hi fritsch, I tested the current EGL build on an i3-3225 system. I didn't find any information if VAAPI-MCDI and MADI are not fully supported on IVB, but is it normal that the first row has jittering artifacts? This is a debug log with Lancos3 + yadif: http://paste.ubuntu.com/11878573/ and this one is with Lancos3 + MCDI: http://paste.ubuntu.com/11878622/ With yadif, it skips 4 frames every 5-10 seconds which is sometimes visible. With MCDI, it continuously skips frames throughout playback, but this is not visible. The skip count is from the Codec Info OSD. Kernel is 4.1.1-040101-generic libva-intel-vaapi-driver is 1.6.0~pre1-1~vivid xserver-xorg-video-intel is 2:2.99.917+git1506041932.7d30cc~gd~v vainfo: libva info: VA-API version 0.38.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_38 libva info: va_openDriver() returns 0 vainfo: VA-API version: 0.38 (libva 1.6.0.pre1) vainfo: Driver version: Intel i965 driver for Intel® Ivybridge Desktop - 1.6.0.pre1 (1.6.0.pre1) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 No, that's not normal. I use those on my IVB gpu, too. Btw. you use Lanczos3 Optimized _even_ on 1080i50, which is too much for your gpu in any case. Use the "Use HQ scaling when scaling above 20%" setting, please as the howto suggests. RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 It is set to 20%, and I didn't play any 1080i content, just SD LiveTV and maybe 720p LiveTV. So which component do you thinks shows the artifacts? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 To be honest - I have no idea as I cannot reproduce. Does it go away if you disable MADI / MCDI or do you have that issue no matter which content? RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 Yadif has no artifacts (but the skips), no interlacing at all (either playing 1080p or 720p or disabling it completely for SD content) doesn't show artifacts either. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 So, to get that right: Yadif: No artifacts, but skips when OSD is open MCDI/MADI: First line is broken whenever you watch 576i or 1080i with it Normal progressive content: All fine? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 @Hanzoh: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150714201505-r21119-g6adbb32.img.gz Can you try this. Flash it to usb stick and enter "live" on boot screen? Same issue? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 I tested again on my IVB. Build fernet's latest EGL branch and tested all what you said. Not a single issue - even when I force lanczos3 optimized on 1080i(!). No broken first line, no skips. wsnipex is currently rebuilding the ppa. You can update in approxy 1 hour: https://launchpad.net/~wsnipex/+archive/ubuntu/xbmc-fernetmenta-master/+build/7652469 thx @ wsnipex. RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 I tried the OE image with your Transformers 3 sample. Everythings fine with Lanczos3 and MCDI. I guess my Ubuntu got messed up somewhere in the process. Though the jagged first line was for full 16:9 content which I can't play from LiveTV right now, as the VNSI addon (installed from the OE repo) won't remain enabled when I activate LiveTV. If this could get fixed somehow, I would move to this image RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 Just reboot - then would work. Btw. here are some testfiles: http://solidrun.maltegrosse.de/~fritsch/ Edit: Reboot won't work it's a live image. RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 I installed it to disk, but a reboot won't help: http://sprunge.us/FjYI Fresh install from image, then installed PVR VNSI addon and enabled LiveTV. The log is from a fresh reboot. |