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 - anthonytex - 2017-11-02 (2017-11-02, 19:12)fritsch Wrote:Thanks a lot!(2017-11-02, 13:22)anthonytex Wrote: Good morning, RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - bernid - 2017-11-04 I've just installed kodi 17.5 on Ubuntu server (with the apollo lake Intel 4core celeron processor J3455). It works but I observe huge CPU usage of kodi process during video playback (about 30-40% 1080p) and 10% when Kodi is idle. I use setting from first post. I have some different (as described in the firs post) deinterlace options: Off, Deinterlace, BOB, VAAPI Motion compensated, VAAPI Motion adopt, VAAPI BOB. How can I do to relieve the CPU? Regards, mesa http://paste.ubuntu.com/25886880/ DISPLAY=:0 vainfo http://paste.ubuntu.com/25886881/ cat ~/.kodi/temp/kodi.log http://paste.ubuntu.com/25886882/ dmesg http://paste.ubuntu.com/25886883/ id http://paste.ubuntu.com/25886884/ amixer http://paste.ubuntu.com/25886885/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-11-04 Sadly not a Debug Log - I cannot find anything in there. Btw. for me: 25% when watching 1080i50 content with VAAPI-MCDI. Idle: 5% to 10% when idleing. Here comes the important part (IDLE): Quote:fritsch@j4250:/sys/devices/system/cpu$ cat cpufreq/policy*/scaling_cur_freq It runs on the very lowest frequency. Therefore the "percentage" is not worth much without checking the clocks. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - bernid - 2017-11-04 (2017-11-04, 17:20)fritsch Wrote: Sadly not a Debug Log - I cannot find anything in there.Sorry I didn't see that the path to the log was different. Please see: http://paste.ubuntu.com/25887510/ Quote:It runs on the very lowest frequency. Therefore the "percentage" is not worth much without checking the clocks. but 10-15% CPU usage when iddle isn't strange? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-11-04 (2017-11-04, 18:09)bernid Wrote:(2017-11-04, 17:20)fritsch Wrote: Sadly not a Debug Log - I cannot find anything in there.Sorry I didn't see that the path to the log was different. Nope. Nothing to be afraid of. If you have too much time, check this: https://www.kdab.com/hotspot-gui-linux-perf-profiler/ and report back RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Ectholian - 2017-11-04 Quick question: should i still use the ppa:wsnipex/xbmc-fernetmenta-master ppa or is it these days better to stick with the official team-xbmc ppa ? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - bernid - 2017-11-04 (2017-11-04, 18:29)fritsch Wrote: Nope. Nothing to be afraid of. If you have too much time, check this: https://www.kdab.com/hotspot-gui-linux-perf-profiler/ and report back Thanks. I'm considering using one machine for home Media Center (Kodi) and the same machine for home router/firewall/file server and other services. Kodi would be installed on Ubuntu server and other features would be installed on virtual machine runing on host-Ubuntu. I'am afraid that Kodi's relatively high CPU usage could be an issue when VM will demand more CPU power.... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - wsnipex - 2017-11-04 (2017-11-04, 21:46)Ectholian Wrote: Quick question: should i still use the ppa:wsnipex/xbmc-fernetmenta-master ppa or is it these days better to stick with the official team-xbmc ppa ? I haven't updated that for a long time. Everything you need is in the nightly ppa. Or the stable one if you want v17.5 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Ectholian - 2017-11-05 Thank you, it seemed like that but wasn't sure. Appreciate it. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - rvas18 - 2017-11-07 Ugh.... I was messing around trying to see if a distro upgrade would fix my live tv video stuttering. I had been previously using the nightlies builds on 16.04 with good success. I upgraded to 17.10 (do-release-upgrade) My system is a J4205, 8gb ram, ssd, some hdd's. Nothing fancy. No Kodi log since it does not appear to be starting. My TV is a 4k Hisense 55H7B (kind of curious about the best settings for my tv). My dockers seem to be running fine. REVERTING THIS SEEMS TO HAVE FIXED MY ISSUE: I have previously setup "Want to boot with AVR / TV powered off? Have a look here: https://forum.kodi.tv/showthread.php?tid=231955&pid=2148505#pid2148505" to try troubleshooting a issue if I let the power settings put my TV to sleep where it would never wake back up without a reboot (didn't work - GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=DP-2:1920x1080@60D drm_kms_helper.edid_firmware=DP-2:edid/edid.bin" is the grub line). I went through the initial setup and verified everything. The one issue I ran into is the "apt install kodi kodi-bin" line. Now it wants to install kodi and kodi-x11 and will not let kodi-bin be installed due to a conflict. Is this a wayland thing? Either way here are my logs (sans kodi and amixer): dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/25912672/ DISPLAY=:0 vainfo | pastebinit error: can't connect to X server! libva info: VA-API version 0.40.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gn libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/25912673/ dmesg | pastebinit http://paste.ubuntu.com/25912676/ id | pastebinit http://paste.ubuntu.com/25912677/ amixer | pastebinit amixer: Mixer attach default error: Invalid argument You are trying to send an empty document, exiting. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - jant90 - 2017-11-11 I was wondering if there are any useful or exiting new features or fixes in libva-intel-driver 2.0.0 that was released recently. It just made it to the stable repositories over at Arch Linux , so I am able to update it conveniently. Now I know it's a different distro but some of the instructions in the OP were useful to get Kodi running and outputting perfectly on my machine (running Manjaro on a J4205) as well. So I believe this thread is also relevant for other Linux distros running Kodi with Intel hardware acceleration. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-11-11 (2017-11-11, 16:50)jant90 Wrote: I was wondering if there are any useful or exiting new features or fixes in libva-intel-driver 2.0.0 that was released recently. It just made it to the stable repositories over at Arch Linux , so I am able to update it conveniently. Now I know it's a different distro but some of the instructions in the OP were useful to get Kodi running and outputting perfectly on my machine (running Manjaro on a J4205) as well. So I believe this thread is also relevant for other Linux distros running Kodi with Intel hardware acceleration. No :-) - Nothing we need at all. 2.1 will be useful as then we also can provide VAAPI for AMD. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - bernid - 2017-11-22 Hi, I've just installed newest ubuntu server+Kodi on upsquared board. Unfortunately starting kodi ends with the crash. I use HDMI video output (DP is not used). What should I check? Code: ############## Kodi CRASH LOG ############### RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - yasij - 2017-11-22 (2017-11-22, 16:58)bernid Wrote: Hi,X isn't started when you're launching kodi. You need to start X first. I believe X isn't installed by default on Ubuntu Server, so you might need to install it. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - t123thomas - 2017-11-28 Hi Guys, just need your input, my current intel GPU can't decode HEVC, 10bit, hence I wish to change to one that can, I found this one on ebay, see link below, before go ahead and make purchase, I thought I run the idea by you expert if it worth the efforts, appreciate any input. Thanks https://www.ebay.ca/itm/Intel-I5-7500-ES-2-7GHz-3-3GHz-6MB-4Core-65W-A0-Socket-LGA1151-QKYM-Processor/352040150615?_trkparms=aid%3D222007%26algo%3DSIM.MBE%26ao%3D2%26asc%3D20170831090034%26meid%3D1adce394899f4f61a78d3f832c2943bf%26pid%3D100005%26rk%3D2%26rkt%3D6%26mehot%3Dag%26sd%3D302543304405&_trksid=p2047675.c100005.m2219 |