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-04-28 No. On windows only there is a hybrid 10 bit decoder for SKL, but that sucks and is only usable for 1080p. Skylake and Braswell do hevc-8bit fine, though. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-05-01 I have an issue which strangely only affects some movies. Since I have a lot of media with different fps and I really don't want to go through settings all the time, I have set the rerfesh-rate to follow the content. Now for some movies kodi seems to get the rate wrong, resulting in audio-glitches, reapeating every second or so. When I nail the rate to the actual movie fps everything is fine. For now I can live with switching autorate off if a movie is affected, but if it is of interest, I could investigate a little more. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-05-01 And nobody can help you without a Debug Log ... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-05-02 As I wrote: I can live with it, but if it might be of interest, I can dig deeper into the issue. I don't really need help here, to me it's a minor issue, but if it might be a generall one, I would take the time and get the logs, run some tests and so forth.. So should I go and do so, or am I the only one affected? Gesendet von meinem SM-G920F mit Tapatalk RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jant90 - 2017-05-04 I tried to install Kodi as per the instructions in the opening post, and it seems to run great. However I'm wondering what would be the advantage of this approach versus simply installing Kodi on Ubuntu Desktop and install vaapi 1.7.3 from the mentioned ppa? Is it just about taking out the overhead of the desktop environment? Also I'm wondering what is needed for 10bit hardware support in Linux? I'm testing my new ASRock J4205 Apollo Lake system and the 4k 10bit sample files are all played with the software decoder (thus they hardly play at all), they do play hardware accelerated in Kodi on Windows 10, even at 60FPS, 10bit HEVC 4k (Sony_4K_HDR_Camp.mp4). RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fatalkill3r - 2017-05-11 Hi guys Using Libreelec we are able to get 4k 10bit HEVC to work on Apollo Lake. But same 4k 10bit HEVC content fails to work using the steps mentioned here in the first post. Am I doing something wrong or Libreelec has some magic going on underhood ? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-05-11 No magic. Just Kodi agile patches. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BigL-New - 2017-05-12 Is there some PPA with kodi-agile available? I hoped so but cannot find it :-( RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-05-12 No - there is not. All that work will come to kodi mainline once the vpupdates branch is merged. Then you only need mesa 17.1 and no earlier on your system in combination with vaapi 1.7.3 or later and everything will work RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BigL-New - 2017-05-12 Thanks fo info. An timeline for this? Will it happen before final Kodi 18? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fatalkill3r - 2017-05-13 (2017-05-11, 20:09)fritsch Wrote: No magic. Just Kodi agile patches. Fritsch you are awesome. Got 10bit 4k HEVC running on my Apollo Lake with Agile. Thank you. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-05-13 @big-nl: No. Yes. @fatall33t: Great. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-05-14 vpupdates was merged into v18 5 minutes ago. Starting from the next nightly build you will therefore be able to use HEVC-10 bit decoding on VAAPI. Remember: Mesa 17.1 or later and libva/ libva-driver-intel 1.7.3 or later ist needed. For Ubuntu 16.04 and 17.04 there is a mesa stable ppa: Quote:sudo add-apt-repository ppa:paulo-miguel-dias/pkppa Edit: Don't update for now, please. A patch was forgotten and now VAAPI will be skipped - carefully watch github for changes. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - barthand - 2017-05-15 That's great news, thank you guys - you're just awesome! I mean, really - huge respect. Just a question though: I'm using kodi-agile for some time already on J3455-ITX (Apollo Lake) and I can't get my display to recognize 10-bit HEVC it as HDR content. As a result, I can flawlessly decode 10-bit HEVC, but it kinda it misses its point, because display doesn't display it as HDR at all (so all colours seem to be just faded). How can we overcome this one? Is there any way? (2017-05-14, 11:39)fritsch Wrote: vpupdates was merged into v18 5 minutes ago. Starting from the next nightly build you will therefore be able to use HEVC-10 bit decoding on VAAPI. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - DannyElfman - 2017-05-15 Dear Kodi Developpers, First of all, thanks for your amazing work. I've been reading about for a while now, used it back when it was XMBC and now I'm back with it and unfortunately having problems I am randomly having flickering black screen issue. For 2 day in a row, I did not have any for 45 minutes and right now, it keeps flickering, for the past 20 minutes ... last time, it was 5 or 6 times during a movie ... Here are the logs : kodi@player:~$ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/24583020/ kodi@player:~$ DISPLAY=:0 vainfo | pastebinit error: XDG_RUNTIME_DIR not set in the environment. libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 failed to open /usr/lib/x86_64-linux-gnu/dri/hybrid_drv_video.so Failed to wrapper hybrid_drv_video.so libva info: va_openDriver() returns 0 http://paste.ubuntu.com/24583021/ kodi@player:~$ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/24583023/ kodi@player:~$ dmesg | pastebinit http://paste.ubuntu.com/24583024/ kodi@player:~$ id | pastebinit http://paste.ubuntu.com/24583025/ kodi@player:~$ amixer | pastebinit http://paste.ubuntu.com/24583026/ I am running kernel 4.10.0 on a 16.04 LTS Ubuntu on a Gigabyte Brix BACE-3000 NUC-like updated with the latest firmawre. Problem happened with both firmwares. I had harware accelration ON and now I am trying it OFF. No changes. Nothing really in the system log. But the kodi logs definitely sees something happening : "23:16:06.799 T:139899169585536 ERROR: WinSystemX11::RefreshWindow - failed to query xrandr 23:16:08.454 T:139899169585536 NOTICE: VideoPlayer: OnLostDisplay received 23:16:08.542 T:139899169585536 NOTICE: VideoPlayer: OnResetDisplay received 23:16:08.545 T:139899169585536 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader 23:16:08.576 T:139899169585536 NOTICE: GL: NPOT texture support detected 23:16:08.576 T:139899169585536 NOTICE: GL: Using GL_ARB_pixel_buffer_object 23:16:08.576 T:139899169585536 NOTICE: Using GL_TEXTURE_2D " Any idea ? DId I do something wrong ? |