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 - BtbN - 2015-08-26 Color errors should be fixed now, for anyone who is testing my branch. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-08-26 (2015-07-23, 20:13)fritsch Wrote: No. How should that work with a display driver that only does RGB? Is an Intel fault and maybe in the future it will be implemented or it's a mission impossible ? Editpeaking about ycbcr RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-26 (2015-08-26, 15:57)Roby77 Wrote:(2015-07-23, 20:13)fritsch Wrote: No. How should that work with a display driver that only does RGB? Computer graphics and in particular OpenGL operate in RGB. This is a given. Converting the output signal to ycbcr makes no sense at all. You would just introduce more non-lossless conversions. Finally the display outputs colors in RGB. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-26 (2015-08-26, 14:07)onizuka Wrote:(2015-08-26, 07:32)fritsch Wrote:(2015-08-25, 22:56)cford1905 Wrote: Will this also work on the NUC Broadwell 5th generation? I'd be more than happy to help with testing when the time comes. No Chance for 4k@60 with hybrid ... RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-26 (2015-08-26, 15:16)BtbN Wrote: Color errors should be fixed now, for anyone who is testing my branch. Thumbs up. I hope fernet will pick this work in his local ffmpeg fork together with the kodi stuff so that the ppa gets hevc support. I will have no laptop with me the next 10 days. Thank very much. RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-26 (2015-08-26, 15:16)BtbN Wrote: Color errors should be fixed now, for anyone who is testing my branch. Confirmed. All the color errors I reported earlier are now gone. Thanks again! RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-26 (2015-08-26, 18:29)fritsch Wrote: I hope fernet will pick this work in his local ffmpeg fork together with the kodi stuff so that the ppa gets hevc support. done RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-26 (2015-08-18, 22:29)fritsch Wrote:(2015-08-18, 21:54)trsqr Wrote: I did a further testing with the OpenELEC build in post #2 and Braswell N3050 hardware with 2 gigs of RAM. I was able to play 20+ videos and when starting a new one, kodi crashed with following in dmesg: With all the VAAPI HEVC goodies in, I made an interesting observation. I cannot see this problem when seeking within a HEVC encoded video. However, enough seeks inside an H.264 encoded video and memory is full -> Kodi is killed. dmesg: http://paste.ubuntu.com/12201737/ Kodi crashlog: http://paste.ubuntu.com/12201766/ RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-26 (2015-08-26, 21:57)trsqr Wrote:(2015-08-18, 22:29)fritsch Wrote:(2015-08-18, 21:54)trsqr Wrote: I did a further testing with the OpenELEC build in post #2 and Braswell N3050 hardware with 2 gigs of RAM. I was able to play 20+ videos and when starting a new one, kodi crashed with following in dmesg: Maybe it was mentioned in some footnote of this thread. I can't help much if log starts with Quote:Starting Kodi (15.2-RC1 Git:2015-08-25-13bd256-dirty) RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-26 (2015-08-26, 23:27)FernetMenta Wrote: Maybe it was mentioned in some footnote of this thread. I can't help much if log starts with I built that according to instructions I got from fritsch yesterday, so he knows what's in there. However, the same issue can also be seen with H.264 clips on the OpenELEC build he has linked to post #2 (and on a system that's set up according to post #1). There are logs attached in an earlier post with that OE build. I just thought that it was an interesting observation that this does not happen when playing a HEVC video. RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-26 (2015-08-26, 23:50)trsqr Wrote:(2015-08-26, 23:27)FernetMenta Wrote: Maybe it was mentioned in some footnote of this thread. I can't help much if log starts with I have written all the EGL code and I did not port it back to 15.x. There is a good chance that errors happened on this task. If you can reproduce with my master, I will look into it but I don't waste time on 15.x. Just an offer. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-27 Yes. As mentioned before, bugs are only accepted for the ppa. OE IMG is provided as is to get an easy preview. So please reproduce with v16. RE: New Era: VAAPI with EGL interoperation - trsqr - 2015-08-27 (2015-08-26, 23:57)FernetMenta Wrote: I have written all the EGL code and I did not port it back to 15.x. There is a good chance that errors happened on this task. If you can reproduce with my master, I will look into it but I don't waste time on 15.x. Just an offer. I've tried before using the ppas here and did see the same. Also fritsch confirmed he saw the same decrease in memory after seek in post #326 though obviously I don't know which version he was running at the time. I will reproduce this asap early next week using the ppas in post #1 and link the logs here. RE: New Era: VAAPI with EGL interoperation - BtbN - 2015-08-27 VAAPI HEVC hwaccel is now in mainline ffmpeg. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-27 Hurray btw did master's libva drivers made 4k work for you on the N3700, too? |