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-10-19 Fix your switch / cable. The device has absolutely no problem running at gigabit if the infrastructure is setup correctly. Concerning the intermittant black screens: No Debug Log no problem RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 Hi! I just tested OpenELEC-Generic.x86_64-6.0-devel-20151016183920-r21488-g163fae9.tar but it did not work well (Kodi does not start) since the kernel is too old (integrated intel skylake i5-6500 with HD Graphics 530). With a nvidia gtx950 kodi is starting but at 2160p, interface and videos are stuttering - even without any framedrops. It seems to be fine for 24p source videos but not so for 25fps source videos. kodi switches back to 50hz in a 25hz video even if i set the system refresh rate to 25hz. Anyway i just tested this release: OpenELEC-Generic.x86_64-6.0-devel-20151016183920-r21488-g163fae9.tar Would it be possible to compile it with 4.3-rc6 or at least 4.2 so that i can test my skylake hardware? With the current 4.1 kernel and the i915 kernel boot "hack" i don't get more than 30fps on hdmi 2.0 - and yes - my mainboard has hdmi 2.0 (at least it should) PS: it is actually not kodi that fails with skylake but x11 - thats also the reason why i don't have any kodi logs. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-20 Use the experimental build from one page back. Also latest build from Jarvis folder has 4.3. Official upcoming Openelec final 6.0 won't work on your hw anyways. Quote:With a nvidia gtx950 kodi is starting but at 2160p, interface and videos are stuttering - even without any framedrops. It seems to be fine for 24p source videos but not so for 25fps source videos. kodi switches back to 50hz in a 25hz video even if i set the system refresh rate to 25hz. This has been answered many times. We play the video at the maximum refreshrate r_i for which r_i % fps == lowest value and 2160p is the resolution your display tells us as "default mode". Furthermore all my "Isengard" backport builds are only meant for Intel only. At this time of the EGL patches no nvidia debugging was done. For nvidia choose the Millhouse builds or the Jarvis version. The version which should run on your intel hw is: http://fritsch.fruehberger.net/experimental/ <- again Isengard is old and outdated from dev point of view - Jarvis is the future. RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 Thank you. Seems i messed up the builds. I will test it asap. Thank you again. RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 This version: (Is this Jarvis folder version?) http://fritsch.fruehberger.net/experimental/OpenELEC-Generic.x86_64-6.0-devel-20151017132311-r21495-gb1801a4.tar Does work, has a 4.3-rc5 kernel (4.3-rc6 was released on the 18th ...) but i cannot use 2160p. It switches to the resolution but my tv says "no signal" and a few seconds later kodi switches back. It is the same for 1080p 24fps and 29.xx fps and all 2160p x XXXfps. 1080p 25fps,30fps and 60 fps do work. I deleted all logs, rebooted and tried to switch to 2160p - kodi switched back. The log: http://xbmclogs.com/p5wxvnq0c RE: New Era: VAAPI with EGL interoperation - wsnipex - 2015-10-20 you log says xrandr doesn't report any modes >1080p edit: scrap that, I'm just blind it tries to switch to UHD, but apparently fails Code: 13:55:57 T:140301553141632 INFO: XRANDR: /usr/lib/kodi/kodi-xrandr --screen 0 --output DP2 --mode 0xc6 RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-20 Try manually: xrandr --output DP2 --mode 0xc8 and see what is happening, please and post dmesg | pastebinit after it. I don't see kodi switching at all in your log. RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 Short explanation: As you can see i am using the internally called DP2 port. My board (http://www.asrock.com/mb/Intel/Fatal1ty%20Z170%20Gaming-ITXac/) uses alpine ridge to convert the displayport signal to all full flavourd hdmi 2.0 signal. But randx does not report 2160p 60hz. If i try to use the other hdmi port (the board has two) it reports to use internally called "hdmi3" port and i get no signal at all. RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 (2015-10-20, 14:09)fritsch Wrote: Try manually: xrandr --output DP2 --mode 0xc8 I don't get a signal after manually switching. Had to manually switch back to 4a. dmesg: http://xbmclogs.com/pjpnc5av7 RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-20 I was about to ask, how you convert from DP to HDMI. The place to file this bug is: bugs.freedesktop.org in DRM/intel section - I wish you luck - cause I think the oss driver kernel / xserver has no code yet for this alpine ridge at all. As wsnipex points out kodi does the right job and switches. RE: New Era: VAAPI with EGL interoperation - mbosner - 2015-10-20 Thank you. One last question - is there a binary firmware which i could load? [ 0.218007] i915 0000:00:02.0: Direct firmware load for i915/skl_dmc_ver1.bin failed with error -2 [ 0.218011] [drm:i915_firmware_load_error_print] *ERROR* failed to load firmware i915/skl_dmc_ver1.bin (0) [ 0.218071] [drm:finish_csr_load] *ERROR* The driver is built-in, so to load the firmware you need to [ 0.218071] include it either in the kernel (see CONFIG_EXTRA_FIRMWARE) or [ 0.218071] in your initrd/initramfs image. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-20 Yes skl needs firmware oe kernel needs to include it. That's the pain of early adapters :-) RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-10-20 (2015-10-17, 10:57)fritsch Wrote: For those upgrading to Ubuntu Wily:I've helped a little bit by confirming this bug. We'll see if it helps, but probably no way for Wily :-( RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-20 As long as we have wsnipex - that won't be a problem for us :-) Add one ppa and be done ... sadly the kernel is also not up2date enough - upcoming 4.3 will solve the remaining issues. So: Kernel 4.3 Mesa 11.0.3 libva 1.6.1 ^^ this is what we need and all is fine. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-10-20 So everything will be OK for 16.04 LTS. Until this wsnipex ppa (with custom kernel). |