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 - Matt Devo - 2015-11-02 (2015-11-02, 08:46)fritsch Wrote:(2015-11-02, 03:18)Matt Devo Wrote: fritsch, before you roll out your "final" OE6+EGL build, would you mind adding some patches (from the kernel bug tracker) to 4.3 to fix the thermal management on resume from suspend? Affects quite a few boards, chromeboxes in particular. I'm building/testing now and will submit a PR to you when confirmed done RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 your original marantz.bin i have already tried with the same result. as i see now wake-on-lan not working yet on my system. i will give more info in the evening. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 (2015-11-02, 10:59)fritsch Wrote: Edit: "Concerning your one crash still happens" - as long as I don't see the issue I cannot help ...which crash are you talking about, what crashes? as i can reproduce it very clear: booting tv off / avr on. turning tv on. do my hacks to get audio "xrandr". shutdown system. following picture i get on tv: http://de.tinypic.com/view.php?pic=10h0d2f&s=9#.VjctzaERPEU System is not shut down and is not responsable anymore. this is happening with the OE 6.0 Beta 5 and also with the OE devel build from page #1. not sure how to get more logs because system is also not reachable anymore (network is shutted down already). when connected via ssh the crash is not showed in journalctl -f because it happend after closing network. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 @MattDevo: Thanks for the PR - pushed it. I hope they will add it to 4.3.1 @the-dreamer: Nice - this does only happen if you use drm_kms_helper when overwriting EDID? It does not happen when you don't use it? If it always happens on shutdown, even without edid forced, open another bug at freedesktop and supply the screenshot - thanks. Edit: Looking at the backtrace, please file it with intel/drm on freedesktop, please - one should not be allowed to crash the kernel no matter what happens. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 i need to use kms_helper otherwise i don't get any connected device anytime. and this happen when my tv is involved by 95 % . when it is left off everything is fine. no crash. in the evening i try to get more logs regarding detecting my tv. As i have written, my notebook "haswell icore 7" is also not detecting my tv. only my avr when tv is off. Nvidia/AMD doesn't have this problem. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Yes, please file that bug an also the initial bug with the intel people - there must be a solution out of the box for your hardware, please. This dump fixing won't solve it for the other 100 joes arround with the same issue :-). So please head over to bugs.freedesktop.org or contact vsyrjala in #intel-gfx. On the longterm when I leave to Mars or Venus - no one will maintain such hacks anymore - therefore everything needs to go upstream and fixed properly. RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 I will do. i was looking already in the sources and in two weeks i have some time i will try more debugging. maybe there will be also a patch from me if i am successful regarding edid.bin. btw: in the oe devel build from page #1 are there known problems regarding autostart.sh? it is not executed any more even when systemctl enable kodi-autostart is executed. fyi: my notebook is not running linux. and won't be running it in the feature. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Nothing I have changed in that regard. Edit: What has your notebook to do with it? RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 it has an intel chipset and also don't like my tv. i remember: once i have started a live kodibuntu and didn't detected my tv. i didn't discover that time the reason. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Btw. you also don't have a BIOS screen when using that TV? But its VGA Port works, right? :-) Which model is it? RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 The notebook is not showing anything via HDMI. and it is not detected in windows. but this is not really the topic here. first i thought the hw (intel) is not liking the tv. but now i see under linux that the n3150 is able to show something on tv. The n3150 is showing bios via hdmi and vga. vga is working all the time. i believe to remember that the syslinux message is also showing. these are some older logs with oe 6.0 beta 5 image. i think the cpio ("*ERROR* Requesting EDID firmware "edid/edid.bin" failed (err=-2)") stuff are missing there. it is fixed now but here you can see during boot with avr on / tv off sound is working and otherwise it is not when tv is on: http://sprunge.us/UjLW ->avr on / tv on http://sprunge.us/SLbG ->avr on / tv off "[drm:intel_dump_pipe_config] audio: 1, infoframes: 1" output came from "->has_audio" which should be always true when drm properties is HDMI_ON which i could trace back to the xrandr --set audio on. but it don't. ELD is always valid with 8 SAD. when the system is booting with working sound and iam enabling the tv it will preserve the audio operational state. but when xrandr is called the audio is dropped. i think because it will rely on the original edid data from line which shouldn't be because i have given the edid.bin. as i have written, i will do more logging in the evening and add a bugreport on freedesktop RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Yes - please open the bug, that needs fixing upstream. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Small hint: https://github.com/OpenELEC/OpenELEC.tv/commit/cf9f41c8af81d9a410ae9baa0bfb24992fdb94ad RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-11-02 (2015-11-02, 10:57)fritsch Wrote: "-d" is not needed. Thank fritsch, very helpful, as always! I will proceed accordingly! One more question: I have two friends for whom I installed the system on n3150, they do not know a lot about all this. They are on Vivid, and they do a dist-upgrade few times a week. Will they brake their Kodi if they don't upgrade to Wily? Or it would be better if I do the upgrade to Wily for them asap? RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 thanks for hint. but currently i am not sure if the braswell support is fully in the 4.1.12 kernel inside. with 4.1.6 there was some known crashes when hdmi is not connected but forced enable. "wait for vsync timeout" for example. in the evening i will try. |