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-04 You did not - cause the howto does _not_ use Ubuntu Mate _at all_ - you use the packages from the howto, yeah - but that's it. Now to your issue: Your issue is known and not fixed by intel: https://bugs.freedesktop.org/show_bug.cgi?id=88012 Solution: Install a kernel 3.16.x (yes an old and outdated one). Code: wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.16.7-utopic/linux-headers-3.16.7-031607-generic_3.16.7-031607.201410301735_amd64.deb Then you need to make sure that grub boots exactly this kernel. This is an issue on all Baytrail Quad core systems. RE: New Era: VAAPI with EGL interoperation - paradix - 2015-11-04 Thnx fritsch one can count on your knowledge as usual RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-04 Yeah - though this solution sucks - you can also try to rebuild kernel 4.3 with the patch that we ship in OpenELEC: https://github.com/OpenELEC/OpenELEC.tv/blob/master/packages/linux/patches/4.3/linux-999-i915-use-legacy-turbo.patch using make oldconfig and fakeroot make-kpkg -j4 --initrd --append-to-version "-byt1" linux-image linux-headers will build you the kernel. Before you need to download kernel 4.3, unpack it and apply the above patch (cat | patch) ... You manage this? RE: New Era: VAAPI with EGL interoperation - paradix - 2015-11-04 I'll see if I can manage. Sound doable, if I struggle you will notice RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-04 Yeah - you can just visit me in #xbmc-xvba on freenode after 8 pm UTC and I can help you. RE: New Era: VAAPI with EGL interoperation - fedux - 2015-11-04 @fritsch First I would like to thank you for your amazing work, I really would like to be as good as a half of you in those things! Though I keep practicing!!! Was wondering if this new HW, beautiful solution from my point of view, would benefit of your Openelec "special release". http://www.intel.com/content/www/us/en/nuc/nuc-kit-nuc5cpyh.html Isn't it a wonderful piece of HW?!! RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-04 Lol :-) see first page. It's the same as the Beebox - will work fine. Btw. _all_ ever released Intel hardware with vaapi profits from this new method. See post 1. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-04 (2015-11-04, 08:34)fritsch Wrote: No - not supported. Build it yourself - I don't plan at all to rebuild kernels whenever something stable changes - I gave a howto some pages back. You are welcome to do that yourself - I don't like lazy users.Thanks for info, no problem at all. I wanted to ask where i can find raw patch for passthrough but now i know it from one of your latest posts. So everything is clear and right now i'm compiling my 4.3 kernel (vanilla 4.3.0 with few IMHO important patches from OpenElec github) :-) BTW your Linux master branch has all the OpenElec patches applied? How is it different from vanilla kernel? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-04 No - as you directly see when you press on commits. I only use the passthrough patch - my kernel repo is not up2date. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-04 I've decided to use few more patches which looked to me as important generally or for BeeBox hardware (Nuvoton IR, MCE remote, HDMI audio etc.). My list of patches is as follows: linux-003-no_dev_console.patch linux-011-Thermal-initialize-thermal-zone-device-correctly.patch linux-012-Thermal-handle-thermal-zone-device-properly-during-s.patch linux-013-Thermal-do-thermal-zone-update-after-a-cooling-devic.patch linux-054-nuvoton_revert_d7b290a1056c5564eec8a1b169c6e84ff3.6.114c13.patch linux-057-Removed-MCE-customer-code-restriction-in-rc6-decode.patch linux-990.06-hda-Avoid-outputting-HDMI-audio-before-prepare-.patch linux-999.02-0001-pm-disable-async-suspend-resume-by-default.patch linux-999-i915-implement-passthrough-colors.patch linux-999-i915-use-legacy-turbo.patch My custom kernel is compiled (i've taken config from your rc7), booted and works, so far everything is OK. So if you're interested i can send it to put on your website and maybe someone else would use it. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-04 Nope - building a kernel is for personal education :-) - so you can mark that task on the TODO-list as done. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-04 Rather redone - i'm Linux user for at least 20 years and in the past i've compiled kernel maaany times on many architectures ( for example i've hacked first divx players from brands like KiSS - internally the used Linux as well). But last few years with Ubuntu as mostly desktop user made me so lazy ;-) (and tools have changed also) RE: New Era: VAAPI with EGL interoperation - schmoko - 2015-11-05 I'm seeing sporadic flickering display at all times using OpenElec builds, both Isengard and Jarvis. It seems like a driver issue, the flicker starts with the openelec logo, before X has even loaded. It almost looks like the GPU is overheating. Is this a known issue? I was using a build from 10/04 [1] before I saw the issue, but didn't upgrade until 10/26 [2], so the regression could be anywhere in that (very large) window. I'd be happy to try to bisect if archived builds are available. Reverting to the 10-04 build or the official OpenElec fixes the issue. Hardware is an ASUS Celeron chromebox 2955U, connected via HDMI to a Denon AVR. [1: OpenELEC-Generic.x86_64-6.0-devel-20151004165234-r21363-gd89c515] [2: OpenELEC-Generic.x86_64-6.0-devel-20151025194904-r21541-gda1b74a] RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-11-05 Not that this helps much but I have used a lot of builds including all the ones you mentioned and I have an Asus chromebox like you and a Denon AVR going to a projector but I have not experienced anything like what you mentioned. RE: New Era: VAAPI with EGL interoperation - ilovethakush - 2015-11-05 I have an asus chromebox too, no AVR, just connected to a monitor for now. Never experienced any flickering either on either Isengard or Jarvis. |