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: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-11 It's on Intel's 01 github repo. Needs manual compiling. It's hybrid and useless for 4k vp9. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - DakDF - 2017-01-11 (2017-01-11, 18:29)fritsch Wrote: It's on Intel's 01 github repo. Needs manual compiling. It's hybrid and useless for 4k vp9. Thank you RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Tortuga - 2017-01-11 Last night I followed the tutorial, and have a working Kodi install on Ubuntu Server on my NUC5PPYH. However, I have no PVR addons. I believe I misread the text. It says in either case (Fernet's Master or Unstable) you need the nightly ppa to install PVR addons. In the code block it almost sounds like the unstable branch accounts for the PVR addons. When I went through the tutorial, I just installed the unstable ppa. If I need to go back and install the nightly ppa as well, that's no problem. Do I then need to re-install kodi.bin or both kodi and kodi.bin, or do I need to purge the unstable and change completely over to the nightly? I'd like to stay on 17 RC2, rather than 18. Thanks for the help! Over the last few days, I've read probably 75% of this thread. There's so much great info! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BaGRoS - 2017-01-12 How can I go back to the stable version? Now I have a 18.0-ALPHA 1 EDIT: Best way, back to v17... 메가 서명. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Tortuga - 2017-01-12 (2017-01-11, 21:23)Tortuga Wrote: Last night I followed the tutorial, and have a working Kodi install on Ubuntu Server on my NUC5PPYH. However, I have no PVR addons. I believe I misread the text. It says in either case (Fernet's Master or Unstable) you need the nightly ppa to install PVR addons. In the code block it almost sounds like the unstable branch accounts for the PVR addons.I figured it out and have 17 RC2 with the PVR addon I need. Also, for those with the black screen issue (refresh rate change produces black screen until switching AVR inputs - for example) I installed kernel 4.7.6 stable, and that seems to work. There's a pretty large range of kernels affected by that issue, so I'm hoping this one works, and isn't negatively impacting me. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Tortuga - 2017-01-12 (2017-01-12, 00:25)BaGRoS Wrote: How can I go back to the stable version? Now I have a 18.0-ALPHA 1Since I just did this, lol, I can probably help... Code: sudo apt-get install ppa-purge That will remove the nightly ppa. Then, if you don't already have it, you have to install the unstable ppa and likely reinstall kodi. Code: sudo apt-add-repository ppa:team-xbmc/unstable I hope this is right. It's not exactly the process I followed, as I had previously installed the unstable ppa with kodi. So I didn't have to reinstall (it doesn't appear so anyway). RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-01-14 First I'd like to say Hi to everyone and thank you for all your hard work and contributions! I bought J3455-ITX (Apollo Lake) and I'm struggling to enable VAAPI on Ubuntu 16.10. I tried already different kernels (stock 4.8.0, 4.9.2, intel-drm-4.9.0), installed Mesa 13.0.3 from PPA, updated to libva 1.7.3 from this PPA. This is my output from vainfo run in terminal in Unity: Code: libva info: VA-API version 0.39.4 This obviously results in Kodi (v17 RC2) using software decode. I know it's not strictly related to Kodi itself, but this is only topic out in the wild that treats about Apollo Lake and VAAPI. Many thanks in advance! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-14 Provide the logfiles from first post RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-01-15 (2017-01-14, 15:36)barthand Wrote: First I'd like to say Hi to everyone and thank you for all your hard work and contributions! (2017-01-14, 15:38)fritsch Wrote: Provide the logfiles from first post Here are the logs: Code: dpkg -l |grep mesa | pastebinit Code: DISPLAY=:0 vainfo 2>&1 | pastebinit Code: cat ~/.kodi/temp/kodi.log | pastebinit Code: dmesg | pastebinit Code: amixer | pastebinit Thanks! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-15 Your disk is broken: Quote:[ 8985.568297] Buffer I/O error on dev dm-0, logical block 119573233, async page read RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-01-15 (2017-01-15, 09:42)fritsch Wrote: Your disk is broken: Thanks for pointing it out! Well, that's a bit surprising, because it's my newly created RAID5 array out of recently bought disks. But anyway, do you think it has anything to do with VAAPI not working? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-15 If the drivers is stored at this logical block :-) Try: Code: sudo apt-get install --reinstall i965-va-driver Now try again. If it does not work, try with sudo - to see if it's a permission issue. For the broken disks, check Code: cat /proc/mdstat RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-01-15 (2017-01-15, 10:29)fritsch Wrote: If the drivers is stored at this logical block :-) Understood :-) but my OS is installed on USB stick. (2017-01-15, 10:29)fritsch Wrote: For the broken disks, check Well, seems fine to me. Code: Personalities : [raid6] [raid5] [raid4] [linear] [multipath] [raid0] [raid1] [raid10] These errors happened only once (never noticed them before and after) and for this single case, they are wrapped in timeframe of 4 minutes, then no more... Hmmm, will need to investigate this further. (2017-01-15, 10:29)fritsch Wrote: Try: After reinstalling, vainfo (without DISPLAY=:0) in SSH terminal returned the following (although please note: can't connect to X server in first line): Code: error: can't connect to X server! BUT - with DISPLAY=:0 it returns same error as previously. Code: libva info: VA-API version 0.39.4 With sudo, results are exactly the same, although there is one additional line printed in beginning: Code: error: XDG_RUNTIME_DIR not set in the environment. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-01-15 Yeah. Follow the how-to please. Cannot help you further. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-01-16 (2017-01-15, 13:37)fritsch Wrote: Yeah. Follow the how-to please. Cannot help you further. I followed the how-to from the first post and results were unfortunately the same (vainfo returning correct output only when DISPLAY was not actually pointing to running X server), I almost lost hope, but finally I get it working. :-) Conclusion had to be that probably X server is somehow not loading i965 drivers. I looked up /var/log/Xorg.0.log, searching for either intel or i965 - nothing was there. So what I did was to add the file /usr/share/X11/xorg.conf.d/20-intel.conf, with the following content: Code: Section "Device" Then you should just restart the X server, observe how i965 drivers are loaded in Xorg.0.log and finally - enjoy the proper output from vainfo (and obviously HW-accelerated videos in Kodi!). Hope it helps someone! (I got stuck on that for several hours...) Just to remind you: all of this happened to me on Ubuntu 16.10 Desktop. Thanks fritsch for all your help again! |