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
|
buzzing sound issue with Krypton v17 based on Ubuntu 16.04 server - redstorm - 2017-09-18 Hard to pin down whats causing this but every now and then sound is lost and a buzzing sound is played, the kodi.log starts showing errors around ActiveAE. Stopping and starting kodi does not resolve the situation only a full reboot. Can go days without a re occurrence, can happen watching TV , or recorded content. latest occurrence occurred while watching you-tube clips. ERROR: ActiveAE::InitSink - failed to init ERROR: ActiveAE::FlushEngine - failed to flush Logs Kodi http://paste.ubuntu.com/25561342/ dpkg http://paste.ubuntu.com/25561367/ DISPLAY http://paste.ubuntu.com/25561375/ dmesg http://paste.ubuntu.com/25561380/ id http://paste.ubuntu.com/25561398/ amixer http://paste.ubuntu.com/25561403/ aplay -l http://paste.ubuntu.com/25561408/ Hardware is a Asrock Z87 with a Haswell CPU Intel® Core i5-4570S cat /proc/cpuinfo http://paste.ubuntu.com/25561411/ Linux 16.04 Linux xbmc 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8 11:56:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux AVR is a Onyko TX-NR737 connected to a Sony TV via HDMI Sound is configured for HDMI and Passthrough is HDMI device Sync playback to display is OFF as per page 1 when using passthrough audio. kmshelper is configured to load the extracted edid.bin rom when all systems were on and running, enabling booting with AVR/TV off. (instructions in this thread somewhere) video=HDMI-A-3:1920x1080@50D drm_kms_helper.edid_firmware=HDMI-A-3:edid/edid.bin guisettings.xml http://paste.ubuntu.com/25561436/ Install is not using openbox. kodi.service http://paste.ubuntu.com/25561483/ I have turned debug logging on to get a more detailed log when it occurs again. Incase their is not enough info in tracking down what is happening. bug or config issue. Video of the noise when the issue occurs. Video of the issue at hand. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-09-18 Upgrade your kernel, please. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - redstorm - 2017-09-18 (2017-09-18, 09:36)fritsch Wrote: Upgrade your kernel, please. Thanks upgraded to 4.4.0-93 is what you were thinking (staying on LTS) or would you rather i grabbed a 4.11 or 4.12 kernel also had it happen again today watching youtube and stumbled across this as a possible solution. https://ubuntuforums.org/showthread.php?t=1544262 /etc/asound.conf http://paste.ubuntu.com/25565067/ I have removed my asound.conf for now and will see how it goes with a newer kernel. Thanks Red. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-09-18 4.12 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - redstorm - 2017-09-18 (2017-09-18, 15:13)fritsch Wrote: 4.12 thanks. I remember that they asound.conf was for getting sound working if i ran MAME in the same way as i run kodi. have commented it out for now. 4.12.13 kernel installed. Code: Examining /etc/kernel/header_postinst.d. Broadcom wifi driver not supported ,- typical with newer kernels (I don't use it so not an issue) also looks like firmware for Kerbylake, skylake and broxton cpu's is missing, Im on haswell so shouldn't be an issue. Fixed the above issues. patched wifi source and firmware located for the newer Intel chips. will see how it goes. (reminds me of why i like to stay on the LTS release if at all possible ) RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - qp9013625 - 2017-09-20 (2017-09-18, 15:27)redstorm Wrote:(2017-09-18, 15:13)fritsch Wrote: 4.12reminds me of why i like to stay on the LTS release if at all possible ) Instead of upgrading to the 4.12 mainline kernel, you simply could have upgraded to the Ubuntu LTS HWE kernel and graphics stack. The HWE stack provides the new Ubuntu kernels and graphics stacks for the current LTS release. Meaning 16.04.2 has the kernel and graphics stack from 16.10 (kernel 4.8), then 16.04.3 has the kernel and graphics stack from 17.04 (kernel 4.10), then 16.04.4 has the kernel and graphics stack from 17.10 (kernel 4.13) and so on... Doing so is as simple as: Code: sudo apt-get install --install-recommends linux-generic-hwe-16.04 xserver-xorg-hwe-16.04 as outlined on: https://wiki.ubuntu.com/Kernel/LTSEnablementStack RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - redstorm - 2017-09-20 (2017-09-20, 11:32)qp9013625 Wrote: Instead of upgrading to the 4.12 mainline kernel, you simply could have upgraded to the Ubuntu LTS HWE kernel and graphics stack. Thanks ill remember that for next time, all the issues were able to be fixed with minimal effort, ill stick with the mainline kernel till 18.04 lts next year. I don't think the kernel was at fault this time and it was more to do with the long forgotten asound.conf i had lying around. The asound.conf was set to re sample to 48000hz. I have now removed it and played lots of 44100 content and had no further problems. Its possibly a alsa bug, when you play content with 44100hz audio with the below asound.conf every now and then it falls apart. asound.conf I remember compiling kernels around the 3.18 era to fix haswell hdmi bugs. eventually fixed in kernel 3.19 IIRC due to being an early adopter of the Haswell gen CPU's not all was well for quite some time. But thanks to all the work from Fritsch and others we are now in great shape. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - davincino - 2017-09-23 Hi, i got a Deskmini with Kaby Lake and Ubuntu 17.04 Server with Kernel 4.12.14 I followed all steps from first post. But i get one big issue: my usb-keyboard, usb-mouse and 2.4ghz remote doesn't work. Kodi starts up after boot. Kodi log doesn't show any keyboard-issue. Looking with dmesg, my rf-usb-dongle is recognized fine and testing rf-inputs with lirc/irw the buttons works fine. Kodi doesn't seem to be freezed, the clock on upper right side is going straight forward... Looking if there would be any right-issues with user kodi, i wanted to start kodi with root-user. But if i change user in kodi.service to root, i don't get kodi-screen at all, there is only black screen but WITH mouse pointer. Any help is appreciated. Thanks EDIT: LOGs: dpkg -l | grep mesa kodi.log dmesg id amixer vainfo is not installable cause conflict with libva but i think its not important, isn't it? apt install vainfo vainfo depends from libva1 < 1.7.3.1, but 1.8.3-1 is installed RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - TimoJ - 2017-09-24 When using hardware graphic acceleration video skipping performance is much worse than with just CPU. Is this a known "feature" or something wrong in my system? CPU is i7 Haswell with internal Intel graphics, H87 chipset. I mean a situation where you are using fixed 20 second skip and press the button continuously or keep the button pressed i.e. skips are continuously repeating. With VAAPI skipping slowness/delays are still accetable but with VDPAU and Nvidia video card skipping was quite bad, it had long delays/pauses. In Kodi.log there appears a lot of lines like this, with Nvidia card there was much more stuff like loading sharpess etc. Looks like after each skip step these same lines appear, those lines do not appear when using CPU : Code: 14:21:32.993 T:140678391277952 NOTICE: VAAPI::Close RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Stanislav - 2017-10-12 Hi fritsch, I'm currently running ubuntu 16.04 server with your 4.9.6 custom kernel for 16:235 pass-through mode. I noticed recently in your kernel directory 4.13.0-rc7 but pass-through mode does not seem to be implemented there. Why? Is there any reason for me to upgrade beyond 4.9.6? My system is HSW i5 and stuff has been running smoothly. I don't have a 4k tv. Thanks as always for your great work! -- Stanislav RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-10-14 (2017-10-12, 09:45)Stanislav Wrote: Hi fritsch, No need. Just make sure to use vaapi / libva >= 1.7.3 as there was a quality related fix. If you have VC-1 files with adaptive tone, you should backport three additional commits. LE has all of them. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wsnipex - 2017-10-22 after upgrading to ubuntu 17.10 the kodi systemd service needed the following addition to start dbus: Code: --- kodi.service 2017-10-22 12:46:32.320191637 +0200 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-10-22 Thx - added it to the startup file in post 1. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - anthonytex - 2017-11-02 Good morning, i would like to ask what's the best ( quality speaking) deinterlacing method available on ivy bridge and kaby lake thanks everyone and devs for your hard work RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-11-02 (2017-11-02, 13:22)anthonytex Wrote: Good morning, Kaby Lake: VAAPI-MCDI IVB: VAAPI-MADI |