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: New Era: VAAPI with EGL interoperation - lexi81 - 2015-11-09 (2015-11-09, 08:55)fritsch Wrote:(2015-11-09, 01:09)ilovethakush Wrote:(2015-11-09, 00:04)schmoko Wrote: This was a constant flickering. The UI was near unusable and video was unwatchable. Changing the fan settings in bios helped to fix my flickering problems as well. Although temps were within specs it still gave problems. Now it runs 10C cooler at 52-62 degrees during/after movie playback. It could be less if I would move it to another place I think. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-09 (2015-11-08, 21:59)fritsch Wrote: No idea ... you are the kernel expert :-)Kind of strange but it seems to work :-) Thanks! To keep things together I'll put it in the message about my kernel. RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-11-09 @fritsch - I like to share my experince within Jarvis, until last weekend I was updating daily and it was based on #1 post of this Thread within Ubuntu 15.04 and Kernel up to 4.1.10 at this stage I was wondering how stable it was running even without the known "full freeze bug" on my BYT and of course within the limitation my Celeron has.. Anyhow I did a complete fresh installation on last saturday again following #1 post and habve now Ubuntu 15.10 & Kernel 4.2.0-17-generic I faced 2 issues #1 the "Full freeze" hit me asap and frequently & #2 which is new for me is to have a kodi crash log in the middle of the night when kodi was not in use - just idle, unforunately without debug enabled :-( For #1 - I will test now Kernel v4.3-wily or step back to v4.1.12-wily to compare the stability again For #2 the last log entry is from 22:19 but the crash log has as timestamp 00:39. there is also a big file at /var/crash/ _usr_lib_kodi_kodi.bin.1000.crash ~17MB As I know here the mandatory Logs: otherwise = no issue :-) dpkg -l |grep mesa | pastebinit - http://paste.ubuntu.com/13209966/ DISPLAY=:0 vainfo - http://paste.ubuntu.com/13209973/ kodi.log - http://paste.ubuntu.com/13209980/ crash log - pastebinit - http://paste.ubuntu.com/13209987/ dmesg - http://paste.ubuntu.com/13210001/ RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-09 The BYT issue has nothing to do with kodi - nothing at all. You can try: http://fritsch.fruehberger.net/kernel/?C=M;O=D on top there are two files with -bt1 in name (headers and image) that use a patch to change BYT's way of using the turbo. RE: New Era: VAAPI with EGL interoperation - Brujo - 2015-11-09 thanks fritsch for fast response - I will test it right now this kernel RE: New Era: VAAPI with EGL interoperation - JBir - 2015-11-09 Hi. I must say, I really enjoy the work that has been put into this, both by you and by Matt to make such an easy and powerful experience setting up the Chromebox with OpenELEC. Many thanks for that. I do have one issue though. I can't get any sound when playing video's from youtube. There are a few stream's from retrospect that doesn't work and a few that does. My setup: Chromebox -> CEC-adapter -> Pioneer AVR -> TV using HDMI and CEC all the way. I have tried all different kinds of settings under the Audio category, using fixed 44.1khz sample rate, optimized and best matched. When gathering the logs I was using Best match and passthrough for all options except AC3 according to the support list from Pioneer. I couldn't upload vainfo since OpenELEC didn't want to recognise the command and instead throws "-sh: vainfo: not found". Log files: dmesg: http://sprunge.us/HRRL kodi.log: http://sprunge.us/NDOQ journalctl: http://sprunge.us/LQeS Just forgot to mention, I installed the Chrombox with OpenELEC 5.0.8, then upgraded to stock 6.0 and it is now running 6.0.95-fritsch and the problem has been there with all versions. I also tried reinstalling the youtube add-on. RE: New Era: VAAPI with EGL interoperation - Matt Devo - 2015-11-09 fritsch, have a chromebox user who's seeing high CPU / low FPS when playing back some local 1080p/h264 content. Happened with the official 5.95.5 beta, and still happening with 6.0.0 as well as the 6.0.95 EGL build. I had him do a full reset and verified that all video settings are correct. Debug log below, has lots of ffmpeg errors. Any insight is appreciated http://pastebin.com/7hQcCDkT RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-09 @MattDevo: In that log a full DB scanning is running - so I don't wonder. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-09 (2015-11-09, 20:49)JBir Wrote: Hi. Known issue with shitty AVRs since a long time. Be it Pioneer, Yamaha or whatever - the issue is only happening with 44.1 khz and a refreshrate > 30 hz, e.g. 1080p60 - here is the upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=75038 Subscribe and tell them: Ey guys it's not yet fixed for me with kernel 4.3.0 As a shortterm workaround I added a patch to OE some time ago to overrule AudioEngine, put this to /storage/.config/advancedsettings.xml Code: <advancedsettings> Edit: If you see in that bugreport I asked Jani if he can specify which patches fixing this issue. I hope he will come back to us - of not, we need to retest with kernel 4.4 and see if it's working. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-09 Concerning the log of MattDevo: Yeah, that's the pain when running an outdated technology "preview" - this get_buffer error was fixed long ago by Fernet in his master branch .. for what it's worth I picked it. Edit: https://github.com/fritsch/OpenELEC.tv/commit/3b2a28968b20dd21aa7693fd679c43ad2cc18917#diff-9a61b430bd944103145c87cbfdde31feR209 RE: New Era: VAAPI with EGL interoperation - -DDD- - 2015-11-09 Hi fritsch, tried your EGL Builds and also the official 6.0 on my Haswell Build - G1840 with Asrock B85M-ITX and have one Issue: No Poweroff after Shutdown every second shutdown: 2015-11-09 - 21:29:35 - OE 6.0 Official - Logfile: log-2015-11-09-20.31.07 ############################################# 2015-11-09 - 21:49:00 - OE 6.0.95 fritsch - worked 21:51 - freeze - Logfile: log-2015-11-09-20.52.47 ############################################# OpenELEC Jarvis build #1107: Generic Milhouse 22:12 - ok 22:14 - freeze - Logs: log-2015-11-09-21.19.26 Logs -> Do you have an Idea what to try or what debugging Options would be useful in this case? Edit1: Same on 5.0.8 - 1st Shutdown ok, 2nd Freeze Edit2: Same on 4.2.1 - maybe i shoult try without tevii s471? But the Card worked perfect on OE 4.0.6 on my previous Board DH77EB RE: New Era: VAAPI with EGL interoperation - grantonstar - 2015-11-10 (2015-11-09, 10:30)fritsch Wrote: Kernel 4.4 looks promissing. Check what the drm maintainer said when doing the PR :-) it's on lkml. Ah, I discovered this. Is it what you are referring to? Once I get everything set up I will let you know how it goes. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 (2015-11-10, 02:28)grantonstar Wrote:(2015-11-09, 10:30)fritsch Wrote: Kernel 4.4 looks promissing. Check what the drm maintainer said when doing the PR :-) it's on lkml. No. Quote:I also had the accidental misfortune to have access to a Skylake on my via: http://lkml.iu.edu/hypermail/linux/kernel/1511.1/00311.html RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 (2015-11-09, 23:28)-DDD- Wrote: Hi fritsch, Have seen that once, too on my N3150 - but only when I had connected a flirc USB device. Can you retry with all USB stuff unplugged? Edit: Btw. the logs you posted are with official OpenELEC - not with my 4.3.0 kernel - so post that issue to the OE forum, please. RE: New Era: VAAPI with EGL interoperation - -DDD- - 2015-11-10 There are logs from official oe, yours and milhouse in the goo.gl link. But i will try later without the k400 usb device, thanks! |