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 - QBJack - 2016-03-21 Cannot switch to v17 that quick... "Use limited range" is NOT enabled. "Dithering depth" is set to 8 "Render method" is auto "HQ Scaler" for above 20% "Hardware acceleration VAAPI" enabled - MPEG-2 VAAPI enabled - MPEG-4 VAAPI enabled - VC-1 VAAPI enabled - prefer VAAPI enabled Deinterlace video is auto Deinterlace method is VAAPI motion adaptiv. Video scaling method is Lanczos3 Not sure what you mean by "Is the GPU driver set to "Full Range, Limited, whatever"" RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 I need a Debug Log I need dmesg | pastebinit I need xrandr --verbose | pastebinit So in your case you upscale all the colors to full range. Let's see what the xrandr tells. It might be that your TV switches to Limited itself when it switches to 50hz. Therefore post the xrandr --verbose command while the LiveTV is playing and _while_ the movie is playing. Edit: v17 is required as no bugfixes are made to this v6 version at all. Also the upcoming v16 OE don't have these features at all. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-03-21 @fritsch, why sync to display could results in like a droning vinyl record. very funny but not useful. it happens even where adjust to screen is not necessary. on live tv for example. is my cpu too slow? n3150. btw. on a rasp pi 2 it worked okay. (milhouse v17 build from 2 days or so. ) RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 if I remember correctly you use a hacked up OpenELEC build with passthrough force enabled for live streams and additional Sync Playback to Display? This will never work correctly as audio runs wallclock. The Pi has special code that makes PT work even with Sync Playback to Display as it can change the speed of the closed hdmi loop which no other system can do. You know the elementary difference between "Sync Playback to Display" and "Adjust Refreshrate to match video"? RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-03-21 yes, i know the difference. i played with both. i only wanted to see, why videos from amazon with disabled sync to displays shows 25 fps (where most videos are 23.97) and when enabled the fps is showed as 23.97 with speeduped video +4.xxx% . so actually no live tv. and the amazon video only have a mp2 audio track. my change is falsing the realtime flag only. i am currently checking with your build if there is a difference. i didn't write until now my experience with the "new" behaviour of this realtime flag, because the current behaviour won't be change in the near future: at first. passthroug is working with my change (falsing realtime) without any problem regarding av sync. when i think about it, i don't have any problem with it. so i still cannot understand the workaround with disabled passthrough in live tv. but the worst behaviour is the reencoding to AC3. the loudness is complete wrong and the lipsync is catastrophic. 1,5 sec and up. after writing this i have also tested your build. the behaviour is the same. but indeed. passthrough was enabled and i have disabled it for now. the droning vinyl record is still present. codec info show mostly sync +10% and avg and error is jumping all the time. actually i don't use really sync to display, so it is no problem for me at all. only to ask you. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 You had this 1080i50 screen right? So for 23.976 fps the "pseudo 25 fps" output is chosen ... 25 / 23.976 == 1,04 RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2016-03-21 yes right. but i was expecting always 23.976 fps in codec info when sync to display is disabled when using inputstream.mpd. other videos are showing always 23.976 when they are 23.976. but i see right now, that the codec info screen has to be opened a longer time to update the fps to the expected 23.976. RE: New Era: VAAPI with EGL interoperation - QBJack - 2016-03-21 dmesg: http://sprunge.us/IQeh xrandr --verbose while playing live TV: http://sprunge.us/TMgC xrandr --verbose while playing mkv movie: http://sprunge.us/cdIM RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 (2016-03-21, 11:56)QBJack Wrote: dmesg:All fine. Two kodi Screenshots please. RE: New Era: VAAPI with EGL interoperation - QBJack - 2016-03-21 TV: http://abload.de/img/screenshot006sbzgb.png Movie: http://abload.de/img/screenshot002wtaa4.png Both black levels are real black (rgb 0:0:0). Hmm... Would like to recheck with a movie on TV with bars at top and bottom, but nothing on live TV at these hours. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 Oki :-) RE: New Era: VAAPI with EGL interoperation - Snippo - 2016-03-21 I managed to compile and install this build on Arch Linux but I have some questions: 1) For deinterlace methods I only get VAAPI Bob/Motion Compensated/Motion Adaptive. Is this correct? The CPU is a G1620. The question I will get is probably: what is the format? Which leads me to the next question: 2) The codec overlay doesn't show all information. So I can't see what the format is or if software or hardware acceleration is used. This might not be an issue specific to this build, but I only used this build for Krypton. Any clue? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 1) yes 2) all fine. This was changed -> Debug Log will tell. From the "drops" I see in your codec screen you run an old version. RE: New Era: VAAPI with EGL interoperation - Snippo - 2016-03-21 I compiled it yesterday so I'm not sure if that is old already? Or is it another problem? On the stable build of Kodi VAAPI deinterlacing didn't work at all so good to know that it works now. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-21 -> Debug Log and the logfiles from post 1... no time for speculating. |