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 - 2018-01-06 (2018-01-06, 21:40)mirtouf Wrote: https://paste.ubuntu.com/26334303/Something is definitely wrong with your setup. You don't use encrypted LVM /home by chance do you? See my reply above to export the driver name to match i965 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-06 The above error normaly really only happens if you are not member of video group. I hope you rebooted after you added your user to this group? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mirtouf - 2018-01-06 I confirm the kodi user is part of the video group, I did not change my setup since I was using a N3150-ITX mainboard, I changed the hardware today without altering the software configuration. The /home is not encrypted. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-06 No ideas left. Try LibreELEC from an USB stick and see what works here. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-06 Argh! Yes obviously: Quote:[ 0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.4.0-104-generic root=/dev/mapper/kodi--vg-root ro quiet splash video=HDMI-A-3:1920x1080@60D drm_kms_helper.edid_firmware=HDMI-A-3:edid/edid.bin vt.handoff=7 Upgrade your kernel! Install 4.14.12 from ubuntu mainline. Download the all headers and the two 64 bit generic deb files and install them RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mirtouf - 2018-01-06 Will do but kernel 4.13 failed also. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-06 the kernel does not enumerate the GPU correctly. Modesetting does not seem to be active. Next step is: Try libreELEC - something is really fishy here. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mirtouf - 2018-01-06 I found the problem, xserver-xorg-video-intel is to be installed and the edid trick cannot be used meaning my AV receiver shall be started before I start kodi. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-06 (2018-01-06, 23:39)mirtouf Wrote: I found the problem, xserver-xorg-video-intel is to be installed and the edid trick cannot be used meaning my AV receiver shall be started before I start kodi.Works for me with 4.14 on J4205. I will add to also post /var/log/Xorg.0.log to the reporting of bugs sections. I checked your kodi.log and here it looked like the intel driver was already in use. Good it works now. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mirtouf - 2018-01-06 Yeah, checking /var/log/Xorg.0.log helps. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - schrackin - 2018-01-07 Hey, i would like to use ALSA with HD audio passthrough instead of PulseAudio, but unfortunately, it doesn't appear on the audio device list. Could you please tell me, how i can fix this problem? As far as i can remember it used to work on my machine. I used this guide to install and setup my htpc. Ubuntu server 16.04.3 HW: H97M-D3H CPU: i3-4160 HDMI connection between the PC and the Onkyo TX-NR809 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-07 The howto on the first page does not install pulseaudio. I can not help you without providing all the log files from Post 1. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - schrackin - 2018-01-07 Okay, it could be that i rather used pulse audio to passthrough dts/dd audio streams. i tried to collect the required logs: dni@ubi-htpc:~$ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/26340191/ dni@ubi-htpc:~$ DISPLAY=:0 vainfo | pastebinit libva info: VA-API version 0.40.0 libva info: va_getDriverName() returns -1 libva error: va_getDriverName() failed with unknown libva error,driver_name=(null) vaInitialize failed with error code -1 (unknown libva error),exit You are trying to send an empty document, exiting. dni@ubi-htpc:~$ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/26340192/ dni@ubi-htpc:~$ dmesg | pastebinit http://paste.ubuntu.com/26340193/ dni@ubi-htpc:~$ id | pastebinit http://paste.ubuntu.com/26340194/ dni@ubi-htpc:~$ amixer | pastebinit amixer: Mixer attach default error: No such file or directory You are trying to send an empty document, exiting. dni@ubi-htpc:~$ cat /var/log/Xorg.0.log | pastebinit http://paste.ubuntu.com/26340202/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2018-01-07 Your user is not member of video nor audio (see useradd on the first page) Quote:uid=1000(dni) gid=1000(dni) groups=1000(dni),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),110(lxd),115(lpadmin),116(sambashare) RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Preacher - 2018-01-13 Hi, all. Older poster here. Former XBMC->Kodi install (2:17.6+git20171114.2125-final-0trusty) on a Ubuntu (14.04.5 LTS) Zotac box was getting a bit long in the tooth, so decided to go for some new silent hardware (Gigabit GB-BXBT box) and follow this guide. Everything worked pretty much perfectly, give or take the odd mistake I made. However, this new setup doesn't appear to be as stable. When I was first configuring the display options (setting overscan values) to resize the display port sometimes the screen would blank then bring the Kodi logo up, as though Kodi itself had restarted - but forgetting the overscan values so the picture was off-display. I've also noted that although the screen fits the TV fine when media isn't playing, when something's playing those overscan values aren't honoured - the date/time and subtitle menu is offscreen again. But that's a moot point - the issue I have is Kodi seemingly restarting itself when not playing (returning to a blank screen), and crashing when it does - actually freezing the box itself part-way through the episode I'm watching: the image appears frozen onscreen and the box no longer responds to pings. Unfortunately this means I don't have a proper debug log (nothing is written). I've uploaded information about my setup to pastebin: http://paste.ubuntu.com/26379132/ error: XDG_RUNTIME_DIR not set in the environment. libva info: VA-API version 0.40.0 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/26379133/ http://paste.ubuntu.com/26379134/ http://paste.ubuntu.com/26379135/ http://paste.ubuntu.com/26379136/ http://paste.ubuntu.com/26379137/ http://paste.ubuntu.com/26379138/ Hope those will shed some light. I'm not convinced it's the kodi build, it seems I'm using the same on my Zotac and that's pretty stable, but hopefully those logs can be of help. If not - any other commands I can run, or information I can provide? |