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: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - atcusb - 2016-08-09 Thanks Fritsch, I saw comments around the removal of Intel EGL drivers and jumped to the wrong conclusion. I then panicked that my next apt-get exercise that I was just about to upgrade, was going to remove EGL from my beebox.... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2016-08-10 Hi (again)! I just want to see if I got it all right now. =) I use OpenELEC 6.0.398-Intel_EGL and hasn't updated to OpenELEC 7.x and therefore also not Kodi 16. When I asked about a EGL-version based on Kodi 16 I got the answer Kodi 17 was "the shit" and you pointed to some download server with EGL-version of Kodi 17. Am I correct that all your nice work are built in to the main OpenELEC 8.x/Kodi 17 releases (nightlies) now? If I still want the 4K on a Braswell that's what I need to install? Thanks. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-10 Yes. Take care of xrandr settings. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2016-08-10 (2016-08-10, 10:48)fritsch Wrote: Yes. Take care of xrandr settings. Is that since it's moved to the main Kodi 17 build? I think that auto start feature wasn't needed after a while in your custom builds? BTW, where do I find the OpenELEC nightly builds? EDIT: Also, where can I find the older versions like OpenELEC 6.0.398-Intel_EGL, if I need to go back to the working version I got now. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-10 Do your research, please. This is no support Hotline. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2016-08-10 (2016-08-10, 12:55)fritsch Wrote: Do your research, please. This is no support Hotline. Of course not, but I find it very hard to find old URL's to download pages, since there's almost 300 pages. I hope I can get some help finding these. EDIT: I found OpenELEC-Generic.x86_64-6.0.398-Intel_EGL.img at http://kodi.wiki/view/Chromebox#OS_and_Kodi_Installation and https://dl.dropboxusercontent.com/u/98309225/OpenELEC-Generic.x86_64-6.0.398-Intel_EGL.tar Also, I've been away from all this kind of HTPC tech talk (since I've become a father) and during that period there is LibreELEC and I don't understand if OE is no more or not.. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tudstudent - 2016-08-11 Fritisch, can you explain how I should interpret this setting: Quote:Adjust display refresh rate to match video: On Start / Stop In my imagination this should mean that when my video is 1080i Kodi is outputting 1080i to the TV. However when I press "info" on my Samsung TV it keeps showing: 4K@60Hz. Is there something wrong in my set-up? Or do I miss the point of this setting? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-11 1) kodi never switches down only up, so not all for you. 2) kodi only outputs progressive, our nice deinterlacers are used to accomplish that. 3) check the thread where I suggested to run kodi in 1080 cause of our inferior gui scaler. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tudstudent - 2016-08-11 I think I messed up 2 things: 1: Adjustment of refreshrate (which is done, checked it during watching a bluray, TV report 4K@24P (prob rounded up, because kodi says 23,9..) 2. Adjustment of resolution (Kodi runs on 4K and all content seems to be adjusted to this resolution) Going to investigate your suggestion on 1080. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - cabal2k - 2016-08-12 (2016-07-03, 16:21)Sunflux Wrote: Meh. Not doing at ALL well with the July 1st Milhouse LE build. Getting frequent dropped frames on simple videos. Using a HP Chromebox. All VAAPI options enabled. Adjust refresh rate enabled. Sync audio/video disabled since it should not be needed on this hardware. Scaling to Auto, delinterlacing set off. (2016-07-04, 13:15)Sunflux Wrote: Okay, using the recommended settings... I'm mainly looking for the frequent dropped frames every 20-30 seconds... I have exactly the same problems (25p and 50i/p are unwatchable too) with kodi builds after 15.2. The 6.0.398-Intel_EGL build is the last that plays fine. System: Intel NUC5CPYH, 8GB RAM, SAMSUNG F series File info: Code: 20:18:40 T:139730083624704 DEBUG: ffmpeg[7F1571FFB700]: Probing matroska,webm score:100 size:2048 These are the differences in logfile: Kodi 17.0-BETA1: Code: Starting Kodi (17.0-BETA1 Git:b6f74c3). Platform: Linux x86 64-bit Kodi 15.2: Code: 20:18:28 T:139730843793280 NOTICE: Starting Kodi (15.2 Git:02e7013). Platform: Linux x86 64-bit So there are surely sync issues in that file (and thousand others) and the actual method to sync those leads to massive video stuttering. On 6.0.398-Intel_EGL there is no noticable stuttering. And for the record LibreELEC 7.0.2 - Kodi 16.1: Code: 21:11:38 T:139912193603648 NOTICE: Starting Kodi (16.1 Git:c327c53). Platform: Linux x86 64-bit Watchable but fairly far behind 15.2 EGL. Of course I can post the complete debug log, but these are the parts where the different behavior of CDVDPlayer and CVideoPlayer are visible. Or maybe its a difference in ffmpeg. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-12 Please link such a 25p Sample, we want to test. Preferrably Dropbox. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-12 I found a sample: http://fritsch.fruehberger.net/samples/sample-stutter-bsw.mkv <- same issue with that one? (Edit: Be careful with the content - I don't know who posted it ... it's nothing for kids) RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - cabal2k - 2016-08-13 Thank you for your answer. I'll try step by step over the weekend with your file and try to reproduce it with Big Buck Bunny. The files I have are all TV episodes with cut out commercials (copyrighted material), so I'm going to transcode BBB to 25fps, demux the file cut the video and audio and remux it. I think I then have a non copyrighted postable file with the same structure as the others. I don't know how Kodi tries to keep audio and video in sync. I guess with 15.2 DVDPlayer "slides" the audio and now with 17.0 VideoPlayer drops frames. Has this method changed in the actual builds? I thought CDVDPlayer/CVideoPlayer was just a name change? I have no clue why Kodi on Android plays the files without glitches ... I'll investigate that issue further and keep you updated. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-13 Android works by luck, it takes another codepath, especially in combination with passthrough it's just hacked together as one cannot trust neither the audio delay nor the video display. Besides that, we are currently investigating a solution and on my system it fixed the issue: http://sprunge.us/BZJd it is discussed here: https://github.com/xbmc/xbmc/pull/10284 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - cabal2k - 2016-08-13 (2016-08-13, 13:41)fritsch Wrote: Besides that, we are currently investigating a solution and on my system it fixed the issue: http://sprunge.us/BZJd it is discussed here: https://github.com/xbmc/xbmc/pull/10284 Thank you! That sounds promising! I'll try these patches. LibreElec building already in progress ... Time to watch "The Strain" on amazon the next hours |