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 - 2016-07-29 No Debug Log no issue. That gpu most likely can only do vaapi Bob and bilinear scaling. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Axman - 2016-07-29 (2016-07-29, 12:56)fritsch Wrote: No Debug Log no issue. That gpu most likely can only do vaapi Bob and bilinear scaling. Here is debug log: cat $HOME/.kodi/temp/kodi.log Looks good to me, no errors and no concerning warnings. In debug output during playback I see FPS varies around 23-24fps, and my display is successfully synced to 24p. CPU usage is around 15-20%. "VAAPI - Bob" method works - video playback better now but still not 100% butter. Audio is in sync though which is great! Re: my GPU - would upgrading from HD2500 to HD4000 but staying on Ivy Bridge help improve playback? Or do I need to change architecture to get support for VAAPI-MCDI and VAAPI-MADI? Quote:OverviewFrom GameDebate on 2500 vs 4000 Thanks for helping RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-07-29 Maadi and mcdi have decent quality on hsw first. Ivb 4000 can handle it, but it looks not good. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Axman - 2016-07-29 I see. Learning a lot about CPU Arch limitations and advancements today, as well as VAAPI. http://forum.kodi.tv/showthread.php?tid=252916 is a great place to get info on this, for anyone interested. So in conclusion, to get butter playback on my system I need a new platform (CPU & Motherboard) - Skylake is what makes sense to upgrade to today from a price perspective. But I think I'll put this on hold until HVEC, 4K & HDR content is more mainstream. Thanks for the enlightenment! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - christianha - 2016-08-01 Thanks for the great instructions. I just followed the step by step manual to install Kodi on my Beebox N3150 and so far everything went well!! Only issue I ran into is that external usb HDDs aren’t getting auto-mounted. Strangely when I disconnect a drive an information box stating “Successfully removed storage device” appears. I can manually mount the drives and play videos without any issue. Is anyone else experiencing the same problem? -------------------------------------Log Files----------------------- kodi@beebox:~$ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/21703653/ kodi@beebox:~$ DISPLAY=:0 vainfo | pastebinit error: XDG_RUNTIME_DIR not set in the environment. libva info: VA-API version 0.39.2 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 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/21703662/ kodi@beebox:~$ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/21703670/ kodi@beebox:~$ dmesg | pastebinit http://paste.ubuntu.com/21703676/ kodi@beebox:~$ id | pastebinit http://paste.ubuntu.com/21703688/ kodi@beebox:~$ amixer | pastebinit http://paste.ubuntu.com/21703705/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-01 I posted a udevil workaround somewhere in here. Mind searching for: udevil? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - christianha - 2016-08-01 Thanks Fritsch, I'll have a search. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Kukki - 2016-08-01 Hello I perform apt-get upgrade this morning on my Ubuntu 16.04, now it's 16.04.1, and Kodi displays a full green screen on the TV. The sound is working fine though. (It used to work before I run apt-get upgrade) Could you please review the log and help me out? thanks. (debug log updated, previously with wrong user account) ==== kodi@HTPC-N3150:~# dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/21755561/ kodi@HTPC-N3150:~# DISPLAY=:0 vainfo | pastebinit error: can't connect to X server! libva info: VA-API version 0.39.2 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 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/21755597/ kodi@HTPC-N3150:~# cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/21755685/ kodi@HTPC-N3150:~# dmesg | pastebinit http://paste.ubuntu.com/21755717/ kodi@HTPC-N3150:~# id | pastebinit http://paste.ubuntu.com/21755740/ kodi@HTPC-N3150:~# amixer | pastebinit http://paste.ubuntu.com/21755809/ ==== RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-01 Please follow the How-To. All your logs indicate that you run a configuration that uses root user. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Kukki - 2016-08-01 (debug log updated, previously with wrong user account) ==== kodi@HTPC-N3150:~# dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/21755561/ kodi@HTPC-N3150:~# DISPLAY=:0 vainfo | pastebinit error: can't connect to X server! libva info: VA-API version 0.39.2 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 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/21755597/ kodi@HTPC-N3150:~# cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/21755685/ kodi@HTPC-N3150:~# dmesg | pastebinit http://paste.ubuntu.com/21755717/ kodi@HTPC-N3150:~# id | pastebinit http://paste.ubuntu.com/21755740/ kodi@HTPC-N3150:~# amixer | pastebinit http://paste.ubuntu.com/21755809/ ==== RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-01 Sorry, not a Debug Log. At least play a movie that shows the issue while debug logging is turned on. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - hackno - 2016-08-01 I got the same issue... Care to have a look please? dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/21782265/ DISPLAY=:0 vainfo | pastebinit libva info: VA-API version 0.39.2 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 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/21782297/ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/21782323/ dmesg | pastebinit http://paste.ubuntu.com/21782364/ id | pastebinit http://paste.ubuntu.com/21782395/ amixer | pastebinit http://paste.ubuntu.com/21782429/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-01 If you'd care to post a Debug Log... change your deint method please while watching such a green movie, please. Turn it off and then Auto again, save for all files. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - hackno - 2016-08-01 Solved! deint method was "Auto select". I've tried all the options and only the bob method doesn't work. All the other methods work flawlessly. Strangely, the auto select seems to be selecting bob. Any clue why? Which one should be selected? - Off - VAAPI - Motion Compensated - VAAPI - Motion Adaptive - VAAPI - Bob - Deinterlace RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-08-01 If you can afford it: VAAPI - Motion Compensated there is something fishy with the auto method. |