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 - camelreef - 2017-12-15 (2017-12-15, 11:40)fritsch Wrote: That's not for libva - that's for general rendering. But funny - please remove only this line - same artefacts?I'll remove the DRI option line and test. I'm also planning on getting the drm debug logs from the kernel today and do the key pressing thing when there are artefacts on screen. Sorry, I've been kept away from the machine yesterday, but I'm still on it! Interest is not lost! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-15 (2017-12-15, 11:40)fritsch Wrote: That's not for libva - that's for general rendering. But funny - please remove only this line - same artefacts?Right, everything stock (kernel, libva, mesa, dri, libva), but X running the intel driver with DRI2 (not 3) and not the modesetting driver, and I'm getting artefacts within a minute). Let me add more recent things in there, one by one, and I'll report. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-15 (2017-12-15, 11:40)fritsch Wrote: That's not for libva - that's for general rendering. But funny - please remove only this line - same artefacts?I should change the test film, I'm getting way too familiar with Wonder Woman, however nice she looks! From pure stock:
Right... With that said, on to kernel drm debug and key pressing with hidden debug logging turned on! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - sibu - 2017-12-15 (2017-12-15, 09:21)fritsch Wrote:Thank you for your reply. I think I have an encrypted /home directory. However I can access all files normally. What I also noticed, when I want to start Kodi using the command(2017-12-15, 00:07)sibu Wrote: I installed Kodi on my Asrock Beebox in 2016 using this How-To. Everything worked well until today, after I updated the packages using apt-get dist-upgrade and updated the Kernel (because of a bug that seemed to be fixed in a new kernel). Code: kodi --standalone Code: KODI_HOME=/usr/share/kodi/ kodi --standalone Segmentation fault (core dumped) Crash report available at ..." And the crash rebort is identical to this one: https://paste.ubuntu.com/26185439/ Is my profile corrupted or something? Do you need any additional log files? UPDATE: I fixed it! Seems like Kodi was not installed properly. I saw this thread and executed Code: sudo apt install kodi RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 @camelreef I just came home and tested the complete sample on my ASRock J4205. No problems at all. I use intel driver + DRI3 + a drm-tip kernel from some time ago. I am starting to think that something else on your system (running next to kodi) causes your issue by either blocking the CPU or even causing interference - DVB card? Some server process acting up? I watched the complete 15 minutes. I also opened the OSD randomly, as the Codec-Info - no issue. Poor fox, nice eagle - funny how they got the camera on top of her (they told the eagle is a her). What an eagle fight - like Karate kid. Now I got hungry ;-) Mesa 17.2.2 xserver-xorg-video-intel: 2:2.99.917+git1711090734.37a682~oibaf~z <- I recompiled fabio's latest version (but should work with everything else) Kernel: drm-tip intel (2 weeks ago) xserver: 1.19.5-0ubuntu2 vainfo: Driver version: Intel i965 driver for Intel® Broxton - 1.8.3 NFS-share via 5 GHz AC Bridge DTS-HD passthrough enabled. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - theghost3131 - 2017-12-17 Hi Do you know why I get this error ? 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) I already tried a lot of solution but everytime, I continue to get this error under Kodi 17.6 and Ubuntu 17.04 / 17.10 .... I'm not sure if VAAPI is used or not even if the cpu stays around 10% instead of 95% like before. If I fix this issue that will be perfect. Thnak you in advance for your advices. NB: I already tried to add video and audio group like I saw somewhere in this forum but nothing changed. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 (2017-12-17, 20:35)theghost3131 Wrote: Hi Post all the log from page one and I can tell you - else I cannot. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - theghost3131 - 2017-12-17 mhhh how can I get the log ?, sorry to be a noob on that, otherwise that will be with pleasure RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 Just please read the very second line of this thread, it's called: Reporting issues and under that is a simple list, see here: https://forum.kodi.tv/showthread.php?tid=231955 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - theghost3131 - 2017-12-17 (2017-12-17, 20:44)fritsch Wrote: Just please read the very second line of this thread, it's called: Reporting issues and under that is a simple list, see here: https://forum.kodi.tv/showthread.php?tid=231955ok sorry to missed that. I hope I done correctly the log otherwise tell me if something is missing: dpkg -l |grep mesa | pastebinit DISPLAY=:0 vainfo | pastebinit cat ~/.kodi/temp/kodi.log | pastebinit dmesg | pastebinit id | pastebinit amixer | pastebinit http://paste.ubuntu.com/26203510/ 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_40 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/26203511/ http://paste.ubuntu.com/26203513/ http://paste.ubuntu.com/26203514/ http://paste.ubuntu.com/26203515/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 Two things: 1) disable VDPAU in kodi settings 2) sudo usermod -a -G cdrom,audio,video,plugdev,users,dialout,dip,input kevin 3) sudo reboot After the reboot, please post kodi.log (in debug mode) again, after you played a movie. Also post dmesg | pastebinit after that again - as your kernel log is full of port scanning activities - I cannot see anything in that. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - theghost3131 - 2017-12-17 (2017-12-17, 20:52)fritsch Wrote: Two things:Ok I done the 1) 2) and 3) This is the result of dmesg | pastebinit: http://paste.ubuntu.com/26203749/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 Don't paste logs inline - don't cut logs - I need a Debug Log from the beginning. Turn on debuglogging, stop, kodi, start kodi. I have already seen your Exodus and Piracy addons ... but thought we would come along with that ... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - theghost3131 - 2017-12-17 I don't use this pluggin "Exodus", I only tried it ones to see how it works. Maybe I forgot to remove it if you see it ... I use everyday only trackTv which is very usefull. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-17 Quote:20:06:49.104 T:140145846708608 INFO: Available videomodes (xrandr):20:06:49.104 T:140145846708608 INFO: Output 'XWAYLAND0' has 1 modes You run kodi on wayland (namely xwayland) - which is 100% not what this howto wants you to do. VAAPI won't work in xwayland. Two options for you: a) Follow the howto and keep v17 as you have it, but use X11 instead of wayland b) Upgrade to the nightly of kodi via the kodi nightly ppa. Additionally also install ppa:wsipex/vaapi which patches the vaapi drivers to properly work sudo apt-add-repository ppa:team-xbmc/xbmc-nightly sudo apt-add-repository ppa:wsnipex/vaapi sudo apt-get update sudo apt-get install kodi kodi-wayland sudo apt-get dist-upgrade Now start kodi again. |