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 - ashxbmc - 2018-12-18 Well, I tryed different distros, here are some results: 1. Now i use Xubuntu 14.04.5 with Kodi 17.6 session - smooth playback. 2. Xubuntu 16.04.5 with Kodi 18 session - freezes. 3. Xubuntu 18.04.1 with Kodi 18 session - freezes. 4. Libreelec stable - smooth. 5. Libreelec alpha - same problem. When Vsync on - freezes, when off - smooth, until VsyncOff (ctrl-shift-O OSD) became greater then 40 (10-15 sec.) and then drops down - i see little freeze at this moment. It looks like the problem is Open GL 4 in modern distros. It's time to change J1900 with J3455? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-18 https://www.mesa3d.org/envvars.html <- force GL 2.1 if you think this is the problem. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - ashxbmc - 2018-12-18 (2018-12-18, 08:05)fritsch Wrote: https://www.mesa3d.org/envvars.html <- force GL 2.1 if you think this is the problem.Thanks, I'll try it out. And how do you think what component or lib causes CGLContextEGL::SwapBuffers: last msc time greater than interval in kodi.log? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-18 Yes. The old way which worked much better (sadly) was removed as it was against the standard. The new way of doing things seems to cause issues. With some drivers it works better with others it's quite bad :-( RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - ashxbmc - 2018-12-19 fritsch Wrote:https://www.mesa3d.org/envvars.html <- force GL 2.1 if you think this is the problem.Tryed, dosn't help. (2018-12-18, 20:42)fritsch Wrote: Yes. The old way which worked much better (sadly) was removed as it was against the standard. The new way of doing things seems to cause issues. With some drivers it works better with others it's quite bad :-(Well, I compare debug log of 14.04 - Kodi17.6 and 16.04 - Kodi18.0 and yes - the things are different. I see: Code: ERROR: CYUVShaderGLSL::CYUVShaderGLSL - failed to open file gl_shader_frag_texture_lim.glsl Even on very old Intel machine with Code: GL_RENDERER = Mesa DRI Intel(R) Q45/Q43 It's time to change hardware, it seems. fritsch, did you have any troubles with Vsync on Apollo Lake? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-19 No - all fine here. And comparing 14.04 with anything is just bogus ... 4 year old drivers ... make no sense in compairing. the C1 bug is fixed in recent kernel versions. Use 4.18 or later. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - logo00 - 2018-12-22 Hello, i have a question. Is the intel i5 9600k not supported? Kodi have huge cpu usage. All cores are between 20% - 80 % and the playback is too slow and stucks. With my i5 4670k runs Kodi perfect smooth. My current config (Hardware): I5 9600k MSI MAG Z390M 16Gb DDR 4 RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-22 See the first post. All the mandatory logfiles are missing. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - logo00 - 2018-12-22 oh sorry, here is the log: http://paste.ubuntu.com/p/ZgWXkZSBVr/ I have install kodi fresh but the same problem. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-22 Quote:dpkg -l |grep mesa | pastebinit RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - logo00 - 2018-12-22 (2018-12-22, 20:20)fritsch Wrote:Quote:dpkg -l |grep mesa | pastebinit dpkg -I = http://paste.ubuntu.com/p/WBKDT9PBRf/ Display= libva info: VA-API version 1.2.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. cat= cat ~/.kodi/temp/kodi.log | pastebinit cat: /home/htpc/.kodi/temp/kodi.log: No such file or directory You are trying to send an empty document, exiting. Dmesg= http://paste.ubuntu.com/p/qfgRJMcyjw/ ID= http://paste.ubuntu.com/p/FVZCt58pxg/ Amixer= amixer | pastebinit amixer: Mixer attach default error: No such file or directory You are trying to send an empty document, exiting. Cat Xorg= http://paste.ubuntu.com/p/Zw8xjBZSCG/ I hope its now right sorry i´m a semi noob. thanks for your patient. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-22 Quote:uid=1000(htpc) gid=1000(htpc) groups=1000(htpc),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev) You did not follow the howto - your username is different. means: your htpc named user is not member of video and not member of audio group. Fix that please. Quote:cat= cat ~/.kodi/temp/kodi.log | pastebinit This command needs to be run with the user actually starting kodi! If the file is not there - htpc is most likely not your "kodi user" ... Seems you mixed up the howto with some freestyle of your own (username, etc.) RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - logo00 - 2018-12-23 (2018-12-22, 23:49)fritsch Wrote:Quote:uid=1000(htpc) gid=1000(htpc) groups=1000(htpc),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev) Now I´m logget in with user Kodi. I´m so stupid sorry that i waste your time... I hope now it is alright and you can see my problem so i can solve it. so lets begin the 3rd. Dpkg= http://paste.ubuntu.com/p/qH3xbqnMMq/ Display= DISPLAY=:0 vainfo | pastebinit error: XDG_RUNTIME_DIR not set in the environment. libva info: VA-API version 1.2.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_1_2 libva error: /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so init failed libva info: va_openDriver() returns -1 vaInitialize failed with error code -1 (unknown libva error),exit You are trying to send an empty document, exiting. cat Kodi= http://paste.ubuntu.com/0/ (Dont work) https://paste.kodi.tv/rifanahafa.kodi dmseg= http://paste.ubuntu.com/0/ (also dont work) https://paste.kodi.tv/tecuxideju ID= http://paste.ubuntu.com/p/QhYqHtPjW4/ amixer= http://paste.ubuntu.com/p/xTQTbvDVFQ/ Xorg= http://paste.ubuntu.com/0/ (and another one) https://paste.kodi.tv/miqotiwava Kodi.log ,xorg0 log and dmseg over paste.kodi thx allot RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - wsnipex - 2018-12-23 you don't have the Intel gfx driver installed, libva seems to be the wrong version.. In short, you didn't follow the howto RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2018-12-23 Looks like Ubuntu 16.04 ... |