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 - noggin - 2016-02-17 (2016-02-17, 20:12)scf2k Wrote:(2016-02-17, 16:41)noggin Wrote: Two may be a bit hopeful - it's 330Mbs 4:4:4, but one and three are 4:2:2 at sensible bitrates for ProRes 4:2:2. Couple of issues with that content. Pro codecs don't have hardware acceleration in normal GPU drivers like VAAPI, as these are optimised for standard consumer codecs. The CPU decode may not be optimised particularly as there are far fewer developers and users working with Pro codecs, and most pro codec work is done on reasonably powerful systems. Also Kodi is really designed for 4:2:0 content not 4:2:2 or 4:4:4... New Era: VAAPI with EGL interoperation - VirtualRain - 2016-02-17 (2016-02-17, 20:04)scf2k Wrote:(2016-02-17, 18:57)VirtualRain Wrote: Hmmm... Thanks, but I'm guessing this is going to cause a failed refresh rate change/handshake on boot. Currently, after a restart I go into settings, select 23.98 for GUI which causes a failed refresh rate change. I then pull/replug the HDMI to get a signal and I'm good to go until a restart. I gather this is still going to require an HDMI cord pull. I'm trying to find a solution that doesn't require my lazy ass to get off the couch Thanks. I'll try that. Can do that by remote control RE: New Era: VAAPI with EGL interoperation - Roby77 - 2016-02-17 I had similar problem , already reported month ago Tried forcing edid no resolve Solved using 60hz for gui instead of 50hz Asap i set up again 50hz problem occurs again (Black screen after oe logo or black screen after stopped a movie so no gui...if i restart kodi via ssh using sysyemctl restart kodi gui works again RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-02-17 (2016-02-17, 22:24)Roby77 Wrote: (Black screen after oe logo or black screen after stopped a movie so no gui...if i restart kodi via ssh using sysyemctl restart kodi gui works again As I mentioned above try switching source on AVR. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2016-02-18 Yes i know it thank you (before using 60hz trick mine was changing tv source or switch on/off avr) Using 60hz i solved(rarely at first 50hz film goes black...i press stop and play again and it starts correctly RE: New Era: VAAPI with EGL interoperation - porkchop999 - 2016-02-18 (2016-02-17, 20:59)VirtualRain Wrote:(2016-02-17, 20:04)scf2k Wrote:(2016-02-17, 18:57)VirtualRain Wrote: Hmmm... Thanks, but I'm guessing this is going to cause a failed refresh rate change/handshake on boot. Currently, after a restart I go into settings, select 23.98 for GUI which causes a failed refresh rate change. I then pull/replug the HDMI to get a signal and I'm good to go until a restart. I gather this is still going to require an HDMI cord pull. I'm trying to find a solution that doesn't require my lazy ass to get off the couch You can also run display port out to hdmi adapter straight to the TV, then audio out through hdmi out to the avr, the avr then doesn't have to do any video switching. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2016-02-18 Did anyone other than me try to force edid ? RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2016-02-18 (2016-02-17, 20:58)VirtualRain Wrote:(2016-02-17, 18:58)fritsch Wrote: Fix the cause of the problem ... not its symptomes -> bugs.freedesktop.org I would guess you have an issue with guisettings.xml - I would delete and let it get recreated and reapply your settings. Mine stays at 23.98 just fine but occasionally gets reset on different builds but easy fix up RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-18 For those, that are in need of kernel 4.4.2 I update those at the usual location. RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2016-02-18 Nice, will install later today RE: New Era: VAAPI with EGL interoperation - movi - 2016-02-19 @fritsch - i followed the changes you have here https://github.com/fritsch/OpenELEC.tv/commits/EGL and I'm kind of confused now about the full range/limited range color settings. Mainly because, at least in my case, they get reported by the TV via HDMI. I remember putting some printks around 4.1 to test exactly if intel does know if i set my tv to limited or full mode, and it identified that info correctly (however i'm not sure if it did anything usefull with that info). What does exactly change in this scenario? I understand the EGL enhancement (nocopy from vaapi to gl and no color conversion in that process), but I don't exactly get if that xrandr command is necessary. Can you elaborate on that more? Or is it only usefull for people whose devices don't have a "set hdmi limited range" option in their tv? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-19 No it's about two things: What the kernel driver does, what VAAPI does and the combination - please read the backlog, search for Limited - I explained that > 10 times I think. On your old installation: TV uses Limited, intel's kernel driver sets it limited, but VAAPI upscaled to full range and your driver downscales again -> two times loss ... RE: New Era: VAAPI with EGL interoperation - movi - 2016-02-20 I'm sorry, I read most of your post on this thread but none give a full picture. The part you write in your post above is understandable to me, but what I don't fully understand is the solution. Is conversionless output only possible when the display is in full range, because otherwise the driver downscales everything? Why not make a passthrough mode for both fullrange and limited then? I'm sorry if my question is kind of disjointed and repeated. RE: New Era: VAAPI with EGL interoperation - mattlach - 2016-02-21 What is the recommended install method now that 15.04 is retired? I tried doing a "do-release-upgrade" on my 15.04 install, and after re-enabling the sources disabled during the upgrade and upgrading all the packages, Kodi fails to load on boot, so I gather something is different in 15.10 as opposed to 15.04. Ideally, I'd wait to do a new fresh install until 16.04 LTS is launched, so I can keep my install for a while, but running on 15.04 which is now an unsupported OS makes me uncomfortable. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-21 (2016-02-21, 03:59)mattlach Wrote: What is the recommended install method now that 15.04 is retired? The first post uses 15.10, upgrades are not supported. I will change to 16.04 soon. movl Wrote:I'm sorry, I read most of your post on this thread but none give a full picture. The part you write in your post above is understandable to me, but what I don't fully understand is the solution. Is conversionless output only possible when the display is in full range, because otherwise the driver downscales everything? Why not make a passthrough mode for both fullrange and limited then? See my custom kernels and the OpenELEC images, those exactly have such a kernel patch, but as this needs installing a custom kernel ... I described a workaround that works "out of the box". |