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 Leia v18 nightly based on Ubuntu 18.04 server - DaVu - 2021-12-21 The thread title says it all. This thread is for Ubuntu 18.04 and 20.04. There's no need to mention that 21.04 installations aren't supported by this thread. If things didnt work for you, then you might have missed something from the how-to. As I tried it myself for the first time, I missed some steps as well. It might also be, that Ubuntu changed something in their minor releases (20.04.1 oder 20.04.2) or a Kernel change or whatever. I highly guess your problems with 20.04 can be solved. But ofc it's up to you to try it again. If you are happy with LibreELEC, then this is totally fine. LibreELEC is especially made for ppl who don't want to fiddle around with Linux much. The last Kodibuntu release was based on Lubuntu 14.04 if I'm not mistaken. So that's pretty old nowadays . The last Kodi release for that was Kodi 14. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Preacher - 2021-12-28 (2021-10-28, 11:52)hlloyge Wrote: I've installed Ubuntu Server 21.04 (2021-11-28, 10:28)hlloyge Wrote: Anyway, I hope we will get updated how-to when next LTE of Ubuntu Server comes out Actually sounds like you're best-placed to begin a howto for 21.04. I think it'd be well-received, as I found the information in this thread pretty useful for installing my 16.04 boxen way back when. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Klojum - 2021-12-28 (2021-12-28, 20:42)Preacher Wrote: Actually sounds like you're best-placed to begin a howto for 21.04. You sure? Ubuntu 22.04 LTS daylies are already available, and its final ETA is in less than 4 months. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - DaVu - 2021-12-28 Yeah, I also guess a LTS support thread might be way better I guess we all can fiddle something together when 22.04 is released. This is not rocket-science and I also guess we are do adobt a lot of the work fritsch did RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Preacher - 2021-12-29 (2021-12-28, 20:48)Klojum Wrote: You sure? Ubuntu 22.04 LTS daylies are already available, and its final ETA is in less than 4 months.Yup, I'm sure he's best-placed to begin a howto for 21.04 ... but now you've mentioned that, I'm not so sure that it's needed now! (2021-12-28, 21:31)DaVu Wrote: Yeah, I also guess a LTS support thread might be way better I recall back in the XBMCbuntu days that Ubuntu was considered *the* distro of choice as it was the best-supported (by the Kodi Krew) and most widely used that most issues people had already encountered. At the time, I'd built a Ubuntu server to replace my ageing Fedora box, but struggled to turn it into a media player (all my servers run headless so I know little about how X works). Instead, I scrubbed it all and followed the XBMCbuntu guide to build XBMC on a Zotac headless box - this which went without a hitch, other than some fiddling to get audio passthrough working with HDMI. I added services later, so changed the approach to getting a media centre first THEN making it a server. I also followed Fritsch's guide when building the 16.04 replacement. There's no doubt many have benefited from his guide, as it forms a typical FAQ for common issues (getting desktop working, fixing sound permissions, etc) and heads them off at the pass - which in turn reduces the support overhead when yet another question about remote controls and/or systemd arises. So.. yup - a 22.04 guide would be hugely beneficial, and very welcome (time permitting). I know good guides take some time to write and also become a bit of a support overhead when it needs tweaking/updating, but the returns are tenfold - and will form a good focal point for shared knowledge. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hlloyge - 2022-01-07 (2021-12-28, 20:42)Preacher Wrote: Actually sounds like you're best-placed to begin a howto for 21.04. I think it'd be well-received, as I found the information in this thread pretty useful for installing my 16.04 boxen way back when.He he, if I had one more box like this one, maybe I would give my all to do it, but you know, wife wants her Netflix, so I can't really do it on current one. Maybe I'll try installing it at work, I have somewhat newer PC there - could make crude how-to, but I will need help with that. But not until final version of server comes out. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - maspiter - 2022-01-09 Steps I followed on Ubuntu server 20.04 LTS based on the guide: sudo apt-get update sudo apt-get install software-properties-common xorg xserver-xorg-legacy alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 avahi-daemon libva2 vainfo i965-va-driver linux-firmware dbus-x11 udisks2 openbox pastebinit udisks2 xserver-xorg-video-intel sudo apt-get dist-upgrade sudo dpkg-reconfigure xserver-xorg-legacy Now edit /etc/X11/Xwrapper.config and add the following into a new line at the end of the file: needs_root_rights=yes sudo mkdir -p /etc/X11/xorg.conf.d cd /etc/X11/xorg.conf.d/ sudo ln -s /usr/share/doc/xserver-xorg-video-intel/xorg.conf 10-intel.conf sudo adduser kodi (ony when not created during setup) sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input,render kodi create the file /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla and add: Quote:[Actions for kodi user] Create the following file and put the listing into it: /etc/systemd/system/kodi.service Quote:[Unit] sudo rm display-manager.service (already exists so replace) sudo ln -s /etc/systemd/system/kodi.service /etc/systemd/system/display-manager.service sudo apt-add-repository ppa:team-xbmc/ppa sudo apt-get update sudo apt-get dist-upgrade sudo apt-get install kodi sudo mkdir -p /home/kodi/.config/openbox sudo touch /home/kodi/.config/openbox/autostart sudo chown kodi:kodi /home/kodi/.config -R now we write the following into the created /home/kodi/.config/openbox/autostart file Quote:OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` BONUS:Splash screen sudo vi /etc/default/grub end edit the following lines to include quiet and splash GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="quiet splash" sudo update-grub from: https://github.com/solbero/plymouth-theme-kodi-animated-logo sudo apt install fakeroot plymouth-label fonts-ubuntu git clone https://github.com/solbero/plymouth-theme-kodi-animated-logo.git cd plymouth-theme-kodi-animated-logo sudo ./build.sh sudo dpkg -i plymouth-theme-kodi-animated-logo.deb RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Klojum - 2022-01-09 (2022-01-09, 01:58)maspiter Wrote: Steps I followed on Ubuntu server 20.04 LTS based on the guide: Just to be complete, exactly which Intel hardware do you have this running on? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - wsnipex - 2022-01-09 the /etc/security/limits.conf change is useless(won't work) when kodi is started via systemd service. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2022-01-09 Yes, change the kodi service to include in the Service section: LimitNICE=-1:-1 That should do it. Kodi uses this to give the Audio thread more priority (among others, which get less priority). Negative value "more oomph". RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - maspiter - 2022-01-09 It is running on a Mitac pd10ai motherboard with Intel N3350 which has HD 500 Graphics integrated. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - maspiter - 2022-01-09 (2022-01-09, 17:04)fritsch Wrote: Yes, change the kodi service to include in the Service section:Thanks! My linux knowledge is limited so I admit blindly following the guide . RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - DaVu - 2022-01-09 @fritsch Good to see you alive RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Preacher - 2022-01-14 (2022-01-09, 22:13)DaVu Wrote: @fritschDitto! Good to see you back again! RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - taorn - 2022-05-04 Hi there Any tip before proceed to upgrade from 20.04 to 22.04? Thanks in advance!! |