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 - jjslegacy - 2015-07-23 I have to say I have done a decent amount of testing and so far things look great. No real issues here that I have found. I only use the machine for playing uncompressed mkv bluray rips from makemkv so I don't have as much video variety but quality looks great and I am quite impressed. Great works guys - no issues from all my testing. Thanks for the hard work! I usually build openelec myself but adding all this in is beyond my current knowledge so I hope this gets into openelec master someday soon or I have some work to do RE: New Era: VAAPI with EGL interoperation - ggp759 - 2015-07-23 Forgive my ignorance but is there a way to force kodi to output YCbCr( preferably BT.709). This option was giving a great picture quality on my old popcornhour C200. Thanks RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-07-23 No. How should that work with a display driver that only does RGB? RE: New Era: VAAPI with EGL interoperation - ggp759 - 2015-07-23 (2015-07-23, 20:13)fritsch Wrote: No. How should that work with a display driver that only does RGB? Oh i see thanks for that. I have a question. Am using this dev build with the autostart.sh command for full RGB. My HDMI Black Level setting on Samsung TV is at Auto. I get crushed blacks. What is the best thing to do? 1) Set HDMI Black level setting on the TV to Normal( Full RGB) that fixes the problem and choose dithering in Kodi or 2)Leave the HDMI setting on the TV to Auto and choose Limited Range in Kodi? Thanks again. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-23 Which option gives you crushed blacks? Not sure how you're tv works but if you set kodi to limited range you must force your tv to limited also. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-23 Neither of these routes below should give you crushed blacks. But it's important, at least on my Pana st60, that you don't trust auto settings for rgb, at least not when going limited: - Full range with xrandr, tv and kodi + dithering enabled: Best option if I watch my own photos + movies. Super small compromise with movies but dithering takes care of artifacts from expansion. - Full range xrandr, limited kodi + tv: best option if I only watch movies - purest color handling with no expansion. I enable dithering here also. RE: New Era: VAAPI with EGL interoperation - ggp759 - 2015-07-23 (2015-07-23, 22:47)Hufvudet Wrote: Which option gives you crushed blacks? Not sure how you're tv works but if you set kodi to limited range you must force your tv to limited also. (2015-07-23, 22:58)Hufvudet Wrote: Neither of these routes below should give you crushed blacks. But it's important, at least on my Pana st60, that you don't trust auto settings for rgb, at least not when going limited: Thanks for the replies. The reason as you said am getting crushed blacks is that i have my tv setting on auto. The 2 options i wrote are exactly the options you mention. I just could not decide which one was the best. I will take the second one now that you confirm it. Thanks again RE: New Era: VAAPI with EGL interoperation - -zero- - 2015-07-24 I just found an error in kodi-log because of missing upower. Maybe it should be added to the Basic Installation. RE: New Era: VAAPI with EGL interoperation - wwessel - 2015-07-24 (2015-07-23, 22:58)Hufvudet Wrote: Neither of these routes below should give you crushed blacks. But it's important, at least on my Pana st60, that you don't trust auto settings for rgb, at least not when going limited: I tested these settings, too. On my TV the second one seems to be the best, since I'm watching movies only. But I can't see a difference between limited range with/without dithering. @fritsch: Does dithering affect the output in limited range? The description says: Enable dithering when using full range... RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-24 (2015-07-24, 08:58)wwessel Wrote:(2015-07-23, 22:58)Hufvudet Wrote: Neither of these routes below should give you crushed blacks. But it's important, at least on my Pana st60, that you don't trust auto settings for rgb, at least not when going limited: You shouldn't need to enable dithering when outputting limited range, in theory. But from what understand you might need it if you don't have a perfectly mastered source, which you very seldom have. From madshi on this (same thinking should apply to kodi): It is true that with a prefect color neutral grayscale, letting madVR render to 16-235 means that madVR doesn't have to dither. However, even black & white movies are usually not 100% color neutral. They often have a slight color tint. And as soon as chroma is anything but exactly color neutral, madVR instantly has to dither. Which is the case for 99.99% of all movies out there. And once madVR dithers, it shouldn't matter too much whether you configure madVR to output PC or TV levels. Yeah, sure, in theory having madVR output 16-235 should be slightly better. But in real life I don't think there's much of a difference between 16-235 and 0-255 output. Of course 16-235 allows the preservation of BTB/WTW, which might be a plus because some displays might be calibrated to show a tiny tiny bit of BTB/WTW or something. With that said, you can definately see a difference with dithering on/off in full range. In limited range I've only found short passages in a few films where color transitioning appears smoother with dithering enabled. That's why I leave it on. It shouldn't hurt picture quality either way. RE: New Era: VAAPI with EGL interoperation - DaVu - 2015-07-24 IIRC Fritsch said, that dithering is not in use if you are on limited range RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-07-24 is that true fritsch? in that case I take back my ramblings And by "not in use" do you mean not useful or not even activated? RE: New Era: VAAPI with EGL interoperation - movie78 - 2015-07-24 Hardware:Chromebox System:Kodibuntu Helix 14.2 Ubuntu 14.04.2 LTS Linux Kernel: Kernel: Linux 3.19.0-031900-generic Can i follow the steps from the first page to update my system or this doesn't apply to my system. Thanks! RE: New Era: VAAPI with EGL interoperation - DaVu - 2015-07-24 Quote:And by "not in use" do you mean not useful or not even activated? not even activated...but don´t blame if I´m wrrong . I think I just remember this as I talked to him on IRC RE: New Era: VAAPI with EGL interoperation - noggin - 2015-07-24 (2015-07-24, 09:31)Hufvudet Wrote: It is true that with a prefect color neutral grayscale, letting madVR render to 16-235 means that madVR doesn't have to dither. However, even black & white movies are usually not 100% color neutral. They often have a slight color tint. And as soon as chroma is anything but exactly color neutral, madVR instantly has to dither. Which is the case for 99.99% of all movies out there. And once madVR dithers, it shouldn't matter too much whether you configure madVR to output PC or TV levels. There are valid reasons to preserve BTB and WTW content even if your display doesn't show detail at those levels (it shouldn't display BTB - if it does your black level is set-up, though WTW is a slightly different matter) This is because BTB and WTW are there to preserve over/undershoots on transients. If you clip transients (which happens if you clip BTB and WTW and have >235 or <16 transients) you can introduce ringing, particularly if you then resample or similarly process the source image. Not always an issue if you are connected directly to a pixel matched TV. But it can be an issue if are in a more complicated set-up than that. |