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 - VirtualRain - 2015-09-17 (2015-09-17, 09:03)fritsch Wrote: @VirtualRain: Everything is fully explained in the very first post. Even with nice pictures ... I did read the first post and digested as much as I could That's where I saw you recommend VAAPI render method in conjuction with video levels setting. Or did I misread that? As for pros/cons, everything comes with compromises of some kind, I'm just trying to understand what I might be in for. It's also not clear what the benefits are for regular x264 content. Are there any or is this just about HEVC and 4K! Just trying to be clear about what benefits/compromises I'm looking at. Sorry if I seem like a noob, your knowledge is deep in this area, mine... RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 Quote:For those that may need to see a before and after, Here is the standard OpenElec build"Top" vs. fritsch and company's (New Era Of VAPPI) build "bottom". ^^ does this answer the question Edit: Yes, this is fixed - no need anymore to copy the decoded material with the cpu - the vaapi render method can be used without issues. RE: New Era: VAAPI with EGL interoperation - VirtualRain - 2015-09-17 Thank you. I re-read the first post again, and figured you were addressing this in the second paragraph about scaling to RGB. Thanks for the gradients... That looks exciting! Hopefully will look as good on my Sony x850C TV. I will give this a try on the weekend. Appreciate all the great work you and other members of the community do! RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 Don't forget the second post - there is the xrandr thingy you need to do manually ... the rest works out of the box. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 New builds online, rebased PVR API, so seo's addons will be installable again. Btw. the next days will get very rough for this code as a lot of architectural changes will come in. So take care with upgrading. RE: New Era: VAAPI with EGL interoperation - VirtualRain - 2015-09-17 (2015-09-17, 09:17)fritsch Wrote: Don't forget the second post - there is the xrandr thingy you need to do manually ... the rest works out of the box. Right. I'll be using the OpenElec package... I gather that Xrandr thingy forces the Intel GPU to pass the full range without conversion so you don't lose any BTB or WTW? Or do I misunderstand? RE: New Era: VAAPI with EGL interoperation - VirtualRain - 2015-09-17 (2015-09-17, 09:18)fritsch Wrote: New builds online, rebased PVR API, so seo's addons will be installable again. Do you advise waiting for a week or so before jumping in then? Or just "Giver!" ... What are your thoughts on timing getting into this? I'm not in a rush, but interested to check this out if it's not going to lead to a bunch of issues. RE: New Era: VAAPI with EGL interoperation - Engelsen - 2015-09-17 (2015-09-17, 09:18)fritsch Wrote: New builds online, rebased PVR API, so seo's addons will be installable again. THX MAN!!! Updating NOW! .. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 (2015-09-17, 09:30)VirtualRain Wrote:(2015-09-17, 09:18)fritsch Wrote: New builds online, rebased PVR API, so seo's addons will be installable again. Use the Isengard build, which is provided as is and will have max compatibility with kodi 15.2 and OpenELEC 6.0. RE: New Era: VAAPI with EGL interoperation - Engelsen - 2015-09-17 Hey Fritsch, PVR-Clients are installable now ... But there is no picture coming up .... LOG: http://sprunge.us/PPUS excerpts from log: Quote:09:43:10 T:139923826874112 ERROR: OutputPicture - failed to configure renderer RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 Most likely a current rebase issue - won't have a chance to take a look before tonight. @FernetMenta: Forgot to pick something while rebasing? RE: New Era: VAAPI with EGL interoperation - Engelsen - 2015-09-17 (2015-09-17, 10:12)fritsch Wrote: Most likely a current rebase issue - won't have a chance to take a look before tonight. Ok, no problem! RE: New Era: VAAPI with EGL interoperation - aesthetiker - 2015-09-17 Thank you fritsch! will look foward to use the new build with working pvr functionality RE: New Era: VAAPI with EGL interoperation - noggin - 2015-09-17 (2015-09-17, 09:15)VirtualRain Wrote: Thank you. I re-read the first post again, and figured you were addressing this in the second paragraph about scaling to RGB. Thanks for the gradients... That looks exciting! Hopefully will look as good on my Sony x850C TV. I will give this a try on the weekend. If the X850C is a Sony UHD set like mine, then you may find one of the techniques mentioned in this thread doesn't work. This is because newer TVs like the Sony correctly interpret Info Frames in the HDMI signal, so can't carry Limited range video with a GPU that thinks (and signals) it is running in Full range. This means the xrandr "Full" + 16-235 level setting within Kodi won't work properly, as instead of thinking the input is "Limited" the new Sony TV sees the HDMI infoframe saying "I'm Full Range" and thus treats the input as 0-255 not 16-235, but because the video within the signal is actually 16-235 (just incorrectly flagged as 0-255 for the few displays that interpret those flags) it goes wrong and you get set-up (i.e. grey) blacks, and desaturated colours. In this situation you have two options. Stick with Full level output (not an issue if you switch between Limited and Full sources with an AVR as this should pass through the info frames that the TV follows), however disable the 16-235 settings in Kodi, and run with dithering enabled to help mask the banding otherwise caused by 16-235->0-255 range extension, or run the HDMI output in "Limited" mode (i.e. don't do the xrandr thing to change the GPU output range) and also make sure Limited levels in Kodi are disabled but again ensure dithering is enabled to hide the banding. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 (2015-09-17, 10:37)Engelsen Wrote:(2015-09-17, 10:12)fritsch Wrote: Most likely a current rebase issue - won't have a chance to take a look before tonight. Yeah it's already fixed in fernet's master ... sadly - the rebuild has to wait. |