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 - fritsch - 2015-11-01 (2015-11-01, 22:11)-zero- Wrote: I had problems with ubuntu 15.10 and kodi. Mmmh: /usr/lib/x86_64-linux-gnu/libcurl.so.4 is provided by libcurl3 @wsnipex: anything we need to change? RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-01 (2015-11-01, 21:20)fritsch Wrote: No. As now said 150 times ... this passsthrough patch is not in 4.3-rc7 and it will never be anywhere upstream. Cause they intel folks don't like the passthrough approach. Thanks for info and thanks for kernel - i've build my own with previous rc versions (thanks to your giudes). I asked because i just have missed these 150 times ;-) Not good IMHO that intel folks don't like the passthrough approach - at least on my TV (which started whole passthrough thread) with stock kernel with HDMI set to Full and Kodi set to limited everything looks really weird. It's good enough (but not as good as with passthrough) with both HDMI and Kodi set to Full. So I'll wait for final 4.3 kernel, add pasthrough patch (or use your patched version if you will kindly provide it) and it will make me happy Kodi user :-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-01 final 4.3 kernel won't have anything at all that you might need ... but if you sleep better with a final tagged version :-) just wait. Intel wants to solve it differently: In userspace ... they want that the application can tell the kernel that some window / content / frame whatever should be handled differently. But no code at all is written and no user space application was adjusted and most likely won't be for the next 2 years RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-11-02 (2015-11-01, 23:40)fritsch Wrote: final 4.3 kernel won't have anything at all that you might need ... but if you sleep better with a final tagged version :-) just wait.For sure i will - i know that final 4.3 won't have anything related to this thread but i like things to be current and final :-) (2015-11-01, 23:40)fritsch Wrote: Intel wants to solve it differently: In userspace ... they want that the application can tell the kernel that some window / content / frame whatever should be handled differently. But no code at all is written and no user space application was adjusted and most likely won't be for the next 2 yearsI see their point of view - solution on kernel level is maybe to general and hardware-dependent (specially for multiplatform apps like Kodi) but their approach is unreal in real world. I prefer solution which is available right now and works really well. So thank you guys once more for your work on Kodi and on this thread. For sure i'll make donation straight to you (i know at least fritsch and wsnipex). RE: New Era: VAAPI with EGL interoperation - geofred1993 - 2015-11-02 Do you plan to add advanced video scalers like superxbr and nnedi3? Could you integrate sharpeners like adaptive-sharpen? This is a working glsl shader: https://gist.github.com/bjin/e22e96861669e897cf65 It would be amazing to get these features in the new video player. RE: New Era: VAAPI with EGL interoperation - Matt Devo - 2015-11-02 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 RE: New Era: VAAPI with EGL interoperation - andytseng - 2015-11-02 Hi there, I just wanted to pop in and say thanks for the work! I'm a noob and can't really help with testing, but I picked up an ASRock Beebox N3000 to replace an old windows-based HTPC. I tried installing the generic openelec build, but got the error: "Failed to start xorg. Is your GPU supported?" Downloaded the 1026 img from this thread and installed it with no problems. Everything's working great for me. Just wanted to add the data point and say Thanks! RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 (2015-11-02, 01:38)geofred1993 Wrote: Do you plan to add advanced video scalers like superxbr and nnedi3? If you properly PR them - why not. We currently have more work that we can do in 5 years - so if you need a feature please implement it and PR it. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 (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 Just PR them and I will pick them. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-11-02 Wonder if we should upgrade from Vivid to Wily, or we can continue use the PPA with Vivid? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 Read the first page, please - and tell me afterwards what should be formulated more clearly. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-11-02 (2015-11-02, 09:24)fritsch Wrote: Read the first page, please - and tell me afterwards what should be formulated more clearly. I'm very sorry, but for new install it is clear that Wily is required. For those of us, who are running for longer time now on Vivid and using the PPA, it is not clear that we should upgrade to Wily or do a clean new install of Wily. Maybe please add this information to make things clear? I believe this will work: sudo do-release-upgrade -d I'm not sure what happens after a release upgrade with the custom Intel driver I installed on Vivid? RE: New Era: VAAPI with EGL interoperation - the-dreamer - 2015-11-02 (2015-11-01, 18:35)fritsch Wrote: As I needed edid overwriting myself today here is a short howto on how to boot completely without TV / AVR but having correct EDID information. This will work for intel and radeon: Hello fritsch, when you boot your system with overriden edid have you also discovered that the /proc/asound/card0/eld* is not setted. Monitor and eld valid is zero. Therefore no functional sound in kodi. the last days i tried to get this work. i have many debug logs viewed and came to the conclusion that the intel/drm driver seems to try to get the edid from the monitor for sound even if a valid edid file is given. the eld and SAD is always correct. but the message "monitor has basic sound support" is not displayed. My root problem is, that the intel driver/chipset has a problem with my Pioneer pdp 434. it is not detected at all. neither on the n3150 asrock board nor on my intel notebook. The Amd (replaced a4-5000 board) and nvidia driver is working. with some hacks i got audio working when monitor is off and avr on during boot. Also when monitor is off / avr on and "xrand -- set audio off; xrand --set audio on" will get sound working. last weekend i tried the OE6 build with isengard from page #1 to get rid of some ugly kernel crashes and try the EGL/videoplayer work. One crash is still happen when system will power off. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 "-d" is not needed. From the howto given, do the following: Code: sudo apt-get install ppa-purge Now do the ubuntu release upgrade. After the reboot do: Code: sudo apt-get install deborphan Now to make sure nothing is missing, do the install command again: Code: sudo apt-get install ssh python-software-properties software-properties-common xorg alsa-utils mesa-utils git-core librtmp1 lirc libmad0 lm-sensors libmpeg2-4 avahi-daemon libnfs8 libva1 vainfo libva-intel-vaapi-driver linux-firmware dbus-x11 openbox pastebinit After a Code: sudo reboot Everything should be fine. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-02 (2015-11-02, 10:53)the-dreamer Wrote:(2015-11-01, 18:35)fritsch Wrote: As I needed edid overwriting myself today here is a short howto on how to boot completely without TV / AVR but having correct EDID information. This will work for intel and radeon: This only happens on N3150 - sadly, it works on core i3. Please file a bug at bugs.freedesktop.org supply them drm.debug=0xe and describe the issue. Afterwards please Post a link to the bugreport here. Before you do this, can you please try with this edid: https://dl.dropboxusercontent.com/u/55728161/edid-samsung-marantz.bin 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? |