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 - puithove - 2015-07-14 (2015-07-14, 18:23)fritsch Wrote: 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. I was able to reproduce the issue via this commandline: Code: gst-launch-1.0 filesrc -v location=test-usa-svu-1.ts ! decodebin ! vaapipostproc deinterlace-method=3 ! vaapisink Playback is smooth (though of course showing the interlacing lines) with this commandline: Code: gst-launch-1.0 filesrc -v location=test-usa-svu-1.ts ! decodebin ! vaapisink I captured the console output from the two test files: http://pastebin.com/PPAQzemZ http://pastebin.com/YQebMza9 It doesn't look exactly the same as we see in Kodi - it actually twitches like it's going back and forward in time, whereas Kodi just skips the frames so it's jerky. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 Settings -> Live TV -> Clear Data and retry. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 (2015-07-14, 22:29)puithove Wrote:(2015-07-14, 18:23)fritsch Wrote: 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. bugs.freedesktop.org please in VAAPI section. Let's see what the vaapi guys tell. RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14 (2015-07-14, 22:30)fritsch Wrote: bugs.freedesktop.org please in VAAPI section. Let's see what the vaapi guys tell. Ok, will do. RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 (2015-07-14, 22:29)fritsch Wrote: Settings -> Live TV -> Clear Data and retry. http://sprunge.us/QDWT Starting at 20:30:58 is the EPG data reset. Other PVR plugins don't work either (installed TVHeadend addon at 20:33:55 But I guess this is getting too offtopic now. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 Jep, needs another bump - will ask @seo what is happening currently. RE: New Era: VAAPI with EGL interoperation - stefansaraev - 2015-07-14 so again this "forced disabled pvr clients" stuff. and regular (and not so regular) joe has no clue he was supposed to "set up" his pvr client. "set up" means "save defaults" as they are provided by the addon. just damn save! meh RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-14 So as a workaround: Go to addon settings and press "save" once :-) Haha. RE: New Era: VAAPI with EGL interoperation - stefansaraev - 2015-07-14 that's by design. broken by design. have a good night RE: New Era: VAAPI with EGL interoperation - puithove - 2015-07-14 (2015-07-14, 22:31)puithove Wrote:(2015-07-14, 22:30)fritsch Wrote: bugs.freedesktop.org please in VAAPI section. Let's see what the vaapi guys tell. Bug filed here in case you want to track it. Let me know if there's anything I should add, or feel free to jump in. https://bugs.freedesktop.org/show_bug.cgi?id=91339 RE: New Era: VAAPI with EGL interoperation - hanzoh - 2015-07-14 So the artifacts are still there in the latest OE build, I uploaded a short video to demonstrate it (MCDI / Lanczos3): https://www.youtube.com/watch?v=ABUnO2fpf2w Sorry for the quality and format, but it took me almost half an hour to upload anything RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-15 @hanzoh: That seems sadly driver related and we can't do a single thing about it ... You should see the issue even worse with: http://solidrun.maltegrosse.de/~fritsch/burosch1.mpg So - I don't see those as heavily as you do. When you disable Lanczos3 Optimized - they should still be there, right? RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-15 (2015-07-14, 09:30)fritsch Wrote: @Hufvudet: https://dl.dropboxusercontent.com/u/55728161/OpenELEC-Generic.x86_64-6.0-devel-20150714084124-r21119-g6adbb32.tar <- can you give that one a try ... should have nothing changed besides a rebase on rc2. Working great for me. One question about dithering. My setup is kodi limited - xrandr full - tv limited and I was reading this by that madvr guru guy madshi: It is true that with a prefect color neutral grayscale, letting madVR render to 16-235 means that madVR doesn't have to dither. However, even black & white movies are usually not 100% color neutral. They often have a slight color tint. And as soon as chroma is anything but exactly color neutral, madVR instantly has to dither. Which is the case for 99.99% of all movies out there. And once madVR dithers, it shouldn't matter too much whether you configure madVR to output PC or TV levels. Yeah, sure, in theory having madVR output 16-235 should be slightly better. But in real life I don't think there's much of a difference between 16-235 and 0-255 output. Of course 16-235 allows the preservation of BTB/WTW, which might be a plus because some displays might be calibrated to show a tiny tiny bit of BTB/WTW or something. I know this isn't madvr, and that we shouldn't get anal about everything, but should one perhaps enable dithering even when sending limited range to tv from kodi? Or I might have misunderstood this completely. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-15 Nope you understood correctly. Try it and tell us after some weeks of testing :-) RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-15 Hahaha, you dare me to see any difference? But I was wondering also, when you enable dithering, is it always "on" when in playback like static noise or is it dynamic in some way? Anyway, it's great that we have this option now. In fact, we have just about every option now for perfect vaapi playback!! |