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 - Rumpelstiltskin - 2020-01-18 hi, I wanted to ask you if the tutorial at the first post is different for ubuntu server 19.10 or if it remains identical thanks RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-01-18 Try it and tell us afterwards. I don't maintain it anymore, therefore I have no idea. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-04 I took the new nuc 10i7FNH and I've been trying for a couple of days to install kodi as I had on the old nuc (J5005) but there's no way to make it work. Decode only in software mode, I've been trying to install everything by updating everything but I can't get out of it. I pray the guru @fritsch in a magic - Xorg - mesa - Libva - Kodi log - id - amixer - dmesg RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-04 sTry: sudo apt install intel-media-va-driver-non-free And first make sure to go back to a sane base. Afterwards: export LIBVA_DRIVER_NAME=iHD vainfo | pastebinit If that works, make sure to expose the env before starting kodi, like e.g. Code: sudo sh -c "echo 'LIBVA_DRIVER_NAME=iHD' >> /etc/environment" and reboot. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-04 (2020-02-04, 04:49)fritsch Wrote: sTry: sudo vainfo error: XDG_RUNTIME_DIR not set in the environment. error: can't connect to X server! error: failed to initialize display dpkg -l |grep mesa | pastebinit DISPLAY=:0 vainfo | pastebinit : Code: DISPLAY=:0 vainfo | pastebinit cat ~/.kodi/temp/kodi.log | pastebinit dmesg | pastebinit id | pastebinit amixer | pastebinit -> amixer: Mixer attach default error: No such file or directory cat /var/log/Xorg.0.log | pastebinit RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-04 Too bad. Use libreelec. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-04 (2020-02-04, 21:16)fritsch Wrote: Too bad. Use libreelec. thank you anyway for your time and also because you are always kind and helpful with everyone. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-04 Yeah, please report back if LE works. Try their nightly. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-04 (2020-02-04, 21:42)fritsch Wrote: Yeah, please report back if LE works. Try their nightly.I already know it works because there is another user who has the same nuc and with librelec it works. (https://forum.kodi.tv/showthread.php?tid=351428&pid=2921633#pid2921633) in post 31 :Video and audio playback and nsf shares works. I'm now setting up the rest. Instead look what I saw in my kodi log: Code: 2020-02-04 19:48:12.192 T:27857 NOTICE: VDPAU::CreateContext - creating decoder context since I also have virtualbox (6.1) isn't that kodi is using its libraries? can't I force it to use the "system" libraries somehow? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-04 That log just means, you did not install a proper graphics driver RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-05 (2020-02-04, 22:12)fritsch Wrote: That log just means, you did not install a proper graphics driver nothing to do, I tried to clean it all up again but I can't figure out what's wrong. I'm googling it but nobody's talking about it. My problem is that I can't use ubuntu server installation because as soon as it has to wash on nvme disk crashes the installer. I have to install ubuntu desktop 19.10 and with the taksel utility delete everything and select ubuntu server. Maybe the problem is right here, I do not have a clean installation. Do you know if it is possible to get a "nightly" iso of ubuntu server live install always at release 19.10? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - -DDD- - 2020-02-05 The daily is 20.04 only i think: http://cdimage.ubuntu.com/ubuntu-server/ RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-07 guys, I'm not giving up I tried to put this "i915.alpha_support=1" in the grub and finally something moves : Quote:2020-02-07 21:52:14.474 T:3647 NOTICE: GL_VENDOR = Intelbut I still don't have hardware acceleration but only software. Quote:2020-02-07 21:53:51.892 T:3731 NOTICE: Creating video codec with codec id: 27 Quote: sudo DISPLAY=:0 vainfo RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-08 Full kodi log please. Now it should work. Why do you run vainfo as root? Permission issues? Groups wrong? Please post all logfiles again run as kodi user. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-08 dpkg -l |grep mesa | pastebinit cat ~/.kodi/temp/kodi.log | pastebinit dmesg | pastebinit id | pastebinit amixer | pastebinit cat /var/log/Xorg.0.log | pastebinit DISPLAY=:0 vainfo | pastebinit error: can't connect to X server! error: failed to initialize display with sudo DISPLAY=:0 vainfo | pastebinit I noticed that if I leave this directory empty "/etc/X11/xorg.conf.d/ ", then use intel, if I create the link (/usr/share/doc/xserver-xorg-video-intel/xorg.conf 10-intel.conf ) instead use llvmpipe again |