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-09-17 Please provide: xrandr --verbose | pastebinit from this setup, please, cause if you don't have the full xrandr in use - the driver will scale twice ... RE: New Era: VAAPI with EGL interoperation - ix400 - 2015-09-17 Hi fritsch, can you please continue to provide the openelec builds? That would be really nice of you! Chris RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 (2015-09-17, 20:26)ix400 Wrote: Hi fritsch, Time does not allow it sorry. For now I don't have implemented an automated system to build those. But it's fairly easy for every one else. Basically, you need to use the mkpkg_kodi scripts from OpenELEC and change the version in package.mk of kodi and kodi-theme-confluence. For the time being you can use my jarvis-egl branch, which will be a good base (it's OE 6.0) for the hw - as we don't have many driver problems there. RE: New Era: VAAPI with EGL interoperation - aesthetiker - 2015-09-17 Perfect! everything is working :-) including pvr (2015-09-17, 19:01)fritsch Wrote: http://fritsch.fruehberger.net/openelec/ RE: New Era: VAAPI with EGL interoperation - ix400 - 2015-09-17 (2015-09-17, 20:29)fritsch Wrote:(2015-09-17, 20:26)ix400 Wrote: Hi fritsch, ... but still way to complicated for me to do this on my own. Maybe you can provide a new openelec build once in a while, in case your time allows it. Maybe once a month or so. Would be cool. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 That should be doable, but only if users start to post debuglogs and are not going on my nerves with unrelated n00b questions :-) RE: New Era: VAAPI with EGL interoperation - ix400 - 2015-09-17 (2015-09-17, 21:02)fritsch Wrote: That should be doable, but only if users start to post debuglogs and are not going on my nerves with unrelated n00b questions :-) ... promised, no complaints without a debug log. Thanks a lot, Chris RE: New Era: VAAPI with EGL interoperation - VirtualRain - 2015-09-17 (2015-09-17, 21:02)fritsch Wrote: That should be doable, but only if users start to post debuglogs and are not going on my nerves with unrelated n00b questions :-) I don't blame you, but you have to admit when you start to promise better video quality, you're going to attract a lot of interest... even noobs want better quality video I echo the request for an occasional OE drop... One a month would be more than enough for those of us wanting to experience your bleeding edge work but minimize the fuss. But I can also wait til this hits the mainstream if that's what it takes. RE: New Era: VAAPI with EGL interoperation - aesthetiker - 2015-09-17 Can someone try PowerOff of htpc with this release? No function when i click on the remote PowerOff anymore. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-17 (2015-09-17, 22:15)aesthetiker Wrote: Can someone try PowerOff of htpc with this release? No function when i click on the remote PowerOff anymore. You are ot here http://openelec.tv/forum/90-miscellaneous/78189-jarvis-shutdown-not-working RE: New Era: VAAPI with EGL interoperation - Milhouse - 2015-09-17 There are OpenELEC Jarvis x86 builds here which I think contain all the latest commits (don't have Intel hardware myself, so that's pretty much untested). If they're confirmed as good maybe this will take some of the load off of fritsch. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-17 Looks good. Thanks @ Milhouse! RE: New Era: VAAPI with EGL interoperation - noggin - 2015-09-18 (2015-09-17, 20:20)VirtualRain Wrote: My Sony TV is a 2015 UHD set. The TV has an HDMI setting for "Auto", "Limited", and "Full". Are you saying the TV ignores this setting, or it just doesn't work properly on "Auto"? I've not tried forcing mine. I have a 2014 set. I just know that in default mode that the VAAPI EGL stuff that fritsch and co have developed here - that allows 16-235 to be preserved by using the GPU in full range AND allows for VAAPI MCDI deinterlacing doesn't work for me in this mode because the TV interprets the xrandr Full setting as Full, when it is there as a 'cheat' (and a very good one) to get Limited all the way through without 0-255 scaling. Quote:FYI, I've currently got things working with OpenElec 5 and Kodi 14.2 with Kodi set to 16-235 (and "Prefer VAAPI render method" disabled), No change to GPU, TV set to "Limited" where I'm getting proper preservation of levels without conversion... I can see blacker than blacks and whiter than whites making it easy to set my TV black level to reference black. Banding is minimal - better than when converting to full range but not as smooth as what I saw in a post on the previous page. Yep - but that's not what is being discussed in this thread. We specifically want to use VAAPI rendering as it lets us do decent quality Motion Compensated Hardware deinterlacing. The work in this thread allows you to use VAAPI rendering and to avoid 0-255 banding - or if you can't at least mitigate it with dithering. If you have "Prefer VAAPI render method" disabled you are going to be using software deinterlacing? If you are only watching progressive sources, this may not be an issue, but lots of us use Kodi for watching Live/Recorded TV, and much of this is interlaced, and MCDI VAAPI deinterlacing is worth having. Quote:Quote: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. BTB and WTW don't really worry me. Yes - they help you calibrate your TV - but any content <16 shouldn't be visible on a correctly calibrated display, so clipping it in the digital domain (whilst not good practice) isn't the end of the world with a well mastered source (though clipping <16 >235 transients can cause issues with scaling at a later date) Scaling artefacts do worry me - as I don't like banding. A little bit of dither helps a lot to mask them. (My first employer patented such a technique...) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-18 http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=2a72f99d24714f2a58f400ef63b913d4cf9080b3 - not good for HSW people. RE: New Era: VAAPI with EGL interoperation - sat4all - 2015-09-18 (2015-09-18, 08:45)fritsch Wrote: http://cgit.freedesktop.org/vaapi/intel-driver/commit/?id=2a72f99d24714f2a58f400ef63b913d4cf9080b3 - not good for HSW people. Intel |