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 - the-dreamer - 2015-12-02 fritsch, please don't confound me with somebody else again :-) the sync problems seems to be introduced after r21577. r21577 don't show the issue at all. later releases have sync problems. with the same settings. i have my own xorg.conf in .config only for tearfree. nothing more. the 25fps problems discussed here don't seems to be a problem for me. as i have written, i need to enable tearfree because of chromium. vsync is also always on. sync problems seems to be only exists with audio passthrough. mp2 audio has no sync problems for me. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 Quote:xorg.conf in .config only for tearfree. nothing more. This was proven to exactly cause those sync issues - as we cannot trust the vblank anymore. It is reverted (*) in the latest build I uploaded that morning. * I was convinced by the developer that this would "not cause" any issues - while still blocking like a vblank aware setup ... the field test (pre latest build) has heavily shown the issues. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-02 but why r21577 don't have this issue? even with tearfree on? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 http://forum.kodi.tv/showthread.php?tid=231955&pid=2175667#pid2175667 <- only change :-) Check if current version of today works again RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-02 no it don't. Quote:OpenELEC (unofficial) Version: devel-20151202082538-r21587-g8581404but it works with: Quote:OpenELEC (unofficial) Version: devel-20151118073930-r21577-g3a1af3a as i said: there is something else changed. TearFree might be a trigger for this issue but i doubt the root source. i have also seen, if i set cacheinvideoplayer to false in advancedsettings the latest release will crash kodi very likely. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 That's your personal TearFree setting then ... cause I shipped it only once. The change that might cause (kodi wise) is: https://github.com/FernetMenta/xbmc/commit/adfa2b8c978754f3824b6a0cb46cd44ca9c43692 Please try _without_ TearFree (your self set Tearfree). It only happens with passthrough? or also without passthrough? The above commit changes the delay estimation for the passthrough case and was the last one that was added. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-12-02 yes that is true. my own xorg.conf because of tearings with chromium browser this setting is necessary for me. Quote:OpenELEC (unofficial) Version: devel-20151202082538-r21587-g8581404 sync problem still exists. pcm or mp2 audio seems always fine. only with passthrough. very much with 2.0 dolby (>1000 ms) and hard to notice with 5.1. In all cases audio is out of sync if transport stream has some picture errors. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 Okay - that makes sense - thx. then the passthrough delay estimation has a little bug somewhere. RE: New Era: VAAPI with EGL interoperation - darebee - 2015-12-02 I too am having audio sync issues for anything after the devel-20151118073930-r21577-g3a1af3a build while using passthrough. For me, it is even noticeable for 5.1 audio streams. I will test today's build now. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 Today's testbuild won't repair the passthrough sync issues - they just repair general audio / video sync issue introduced by testing intel's "TearFree" option ... RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-12-02 since build OpenELEC-Generic.x86_64-6.0-devel-20151202120423-r21589-gcf0c417.tar i'm having a lot of handshake problem (black screen, hdmi lost) my setup is: chromebox>avr>tv avr is in standby i will post a debug log asap (my son goes to bed) edit:maybe i found using sync to playback function problem solved RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 Not a single change in that regard ... RE: New Era: VAAPI with EGL interoperation - Jdiesel - 2015-12-02 (2015-12-02, 21:31)Roby77 Wrote: since build OpenELEC-Generic.x86_64-6.0-devel-20151202120423-r21589-gcf0c417.tar I am experiencing similar issues on OpenELEC-Generic.x86_64-6.0-devel-20151128110533-r21582-g0c46ef7. When waking my AVR and display from standby it sometimes takes approximately 60 seconds for anything to register on the display. I just started using these testbuilds so I can't comment if this issues existed in older builds but I will try to replicate the issue and post some logs tonight. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-02 Quote:OpenELEC-Generic.x86_64-6.0-devel-20151128110533 This version's drivers are run by some thousand chromebox users ... not a single complaint concerning AVR/display/on/off until now. Btw. suspend / resume is not supported - it's a kernel thing and kodi has minimalistic support for that. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-12-02 (2015-12-02, 21:32)fritsch Wrote: Not a single change in that regard ... thank you i will try resetting avr cpu |