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 - fritsch - 2015-11-29 -> bugs.freedesktop.org it's a radeon kernel issue. RE: New Era: VAAPI with EGL interoperation - fsonnlei - 2015-11-29 (2015-11-29, 21:08)fritsch Wrote: -> bugs.freedesktop.org it's a radeon kernel issue. Thank you Fritsch but why radeon when I don't have any gpu besides the igpu on the G1610? Best Frank RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29 That's a very, very good question - see the callstack - radeon is involved? No idea how. Edit: Looking again. It happens very, very early on bootup. OE builds radeon and i915 fixed into the kernel - so it seems they fight against each other. A bug report is good. RE: New Era: VAAPI with EGL interoperation - Steve-o - 2015-11-29 Thank you for your reply. I rebooted the device with the addon disabled and started a 24p MKV movie. For some kind of reason kodi was reproducibly not starting the movie at a 24 Hz refresh but at a 50 Hz refresh. I manually ran xrandr once via ssh, which apparently triggered the detection of the other supported modes (http://paste.ubuntu.com/13562377/) with kodi already running. After that kodi changed to 24 Hz with no problems. For this movie, the error did not occur - sync was fine until the end. I will try to obtain a log next time the sync problem is happing - the log is still attached for the mode change issue. The computer running kodi is running 24/7. I wonder, if the sync errors might happen due to the TV being switched off and on repeatedly in between watching videos? kodi log: http://paste.ubuntu.com/13565156/ RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29 Yes - both possible. For the non existing modes, please see the second post in this thread - it's a driver issue fixed with the driver provided there. Whenever you turn off the TV the output stops - if that's your usecase consider overwriting the EDID information to force the display on. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29 @fsonneli: Quote:22:04 < airlied> fritsch: two gpus, and modules are probed in parallel airlied is the DRM maintainer - so all fine :-) RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-29 (2015-11-29, 20:19)fritsch Wrote: If someone is toying with kernel 4.4-rc2 or later, I reworked the Video passthrough patch: http://sprunge.us/eNAWThanks for new patch - i was applying modifed 4.3 patch but i see that yours is little bit different (but mine also works Your kernel has other OE patch or only passthrough patch as previously? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29 Yours won't work for sure on 4.4-rc2 ... as you easily see it won't even compile as fields have gone. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-29 That's why i've applied MODIFIED patch ;-) (modified by myself to be applicable to 4.4 kernel - i learn quickly . Anyway yours is probably better so right now i compile 4.4-rc2 kernel with passthrough and all other OE patches i've applied to 4.3 kernel (all of them can be applied to 4.4 without changes). RE: New Era: VAAPI with EGL interoperation - fsonnlei - 2015-11-29 (2015-11-29, 23:08)fritsch Wrote: @fsonneli: Thanks a lot!!! Final question: why it doesn't happen in my j1900 nor my 1037u boards? Anyway thanks again. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-29 Race - special timing :-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-30 http://lists.freedesktop.org/archives/intel-gfx/2015-November/081516.html <- now let's press thumbs RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-30 So far so good - only variables names to change There is a hope for inclusion in 4.4 kernel? I hope so. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-30 @fritsch Strange: with you previous patch applied by me to 4.4 kernel everything was as expected (as it was with 4.3 kernel) - with my TV (limited range without manual switch) i had good colours with Limited Range set in Kodi (and also 8-bit dithering). On calibration patterns blacks were ok (everything below 16 was black) and whites were "over range" (blinking bars up to 253, and 254 was 100% white). With you new patch for 4.4 kernel applied to 4.4-rc3 it's first time i get colours how they should be "by the book" for limited range. On calibration patterns everything below 16 is black and for whites everything over 235 is 100% white. But it's with Full Range set in Kodi, with Limited Range all colours are totally washed-out. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-30 I don't understand your second sentence ... |