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 - Ales - 2017-01-17 Hi fritsch, what xorg configuration do you suggest for j4205? How is it about tripple buffering nowadays? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-17 Tell us :-) what differences do you see? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Ales - 2017-01-18 You want me to tell what xorg configuration do you suggest? :-) I remember You were suggesting not to use triple buffering. But video player in Kodi was rewritten and now we have option to select 2/3 buffers in Kodi. You also said that triple buffering is crippled in intel driver. I am using it right now and it seems it works. But is it "safe/performance vise"? I would like to know your actual opinion on this. If I remember it correctly, you were suggesting UXA acceleration method also. I am using SNA and again it seems to work correctly. You definitely have more information about intel xorg driver options than me an I would like you to share your actual opinions please. I appreciate your work and helping to Kodi users! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-18 UXA was suggested as a workaround for broken Broadwell drivers this is not needed anymore. Most people are not using the intel driver at all anymore and switched to Modesetting. For TripleBuffering: It is not needed. But with the 3 buffers in kodi, you can at least savely use it. If all goes well it's just a constant offset to the delay estimation. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - incubus - 2017-01-19 (2017-01-18, 20:49)fritsch Wrote: For TripleBuffering: It is not needed. But with the 3 buffers in kodi, you can at least savely use it. If all goes well it's just a constant offset to the delay estimation. The 3 buffers option in Kodi is for TripleBuffering or does it have another function ? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-19 It's a constant offset applied to measure sync. Nothing too advanced at all :-). With tearfree the number is not known at all, therefore take care. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - incubus - 2017-01-19 Well I understood that TearFree is not recommended with Kodi. I now understand that TripleBuffering is not needed so can be safely disabled. Then, with TripleBuffering and TearFree disabled, are the 3 buffers useful in any means in Kodi ? I mean, can this constant offset improve playback ? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-19 No. It makes no sense in that combination. It's there as we cannot auto detect. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - incubus - 2017-01-19 Ok thank you for this explanation ! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - gurabli - 2017-01-19 I set Kodi to 50 refresh rate, but on system restart it reverts back to 60. Any ideas why or perhaps how to force it on Kodi start to 50? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-19 Nothing to do with kodi. If the mode is not available it won't switch to it, but fallback to the systemdefault. Edit: As you use my howto, just add: DISPLAY=:0 xrandr -r 50 before the command to start kodi RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BigL-New - 2017-01-21 @fritsch - have you rebased your passthrough patch to 4.9 kernel? Now when it's declared LTS it makes sense. And it would be much appreciated :-) RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-21 Here you go: http://sprunge.us/IASE RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - gurabli - 2017-01-21 (2017-01-19, 20:23)fritsch Wrote: Nothing to do with kodi. If the mode is not available it won't switch to it, but fallback to the systemdefault. Thanks fritsch exactly where to put the above line? How should it look properly? I'm using the howto from first post, line by line. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-21 directly in the line before you launch the kodi.bin - not so hard is it? Code: OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` |