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 - Sunflux - 2015-09-29 I just tested the EGL build with 16-235 + Kodi Full + Dithering + TV Limited... and it's nowhere near as clean as 0-255 + Kodi Limited + TV Limited -or- 0-255 + Kodi Full + TV Full. Both of those two present flawlessly smooth grayscales, however in 16-235 mode I can always see banding. It's far less obvious with dithering enabled, but still there. To be honest, I think what I'm seeing are slight inconsistencies in the dithering pattern that are being amplified when blown up to 4k resolution on my TV. I took a screenshot and, on my computer monitor, the pattern that looked obviously bad on the TV actually looks quite smooth. At least, it does until I zoom in close and scroll side-to-side, where I can make out inconsistencies that form similar banding patterns. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 (2015-09-29, 09:55)Sunflux Wrote: I just tested the EGL build with 16-235 + Kodi Full + Dithering + TV Limited... and it's nowhere near as clean as 0-255 + Kodi Limited + TV Limited -or- 0-255 + Kodi Full + TV Full. Both of those two present flawlessly smooth grayscales, however in 16-235 mode I can always see banding. It's less obvious with dithering enabled, but still there. Thanks for testing all this and the charts btw! RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-29 (2015-09-29, 09:55)Sunflux Wrote: I just tested the EGL build with 16-235 + Kodi Full + Dithering + TV Limited... and it's nowhere near as clean as 0-255 + Kodi Limited + TV Limited -or- 0-255 + Kodi Full + TV Full. Both of those two present flawlessly smooth grayscales, however in 16-235 mode I can always see banding. It's far less obvious with dithering enabled, but still there. Good - that's what I expected :-) At least we now have a "better out of the box experience" for everyday joe. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 And btw nr. 2 @Sunflux. While you're at it. Did you test with dithering enabled/disabled when going: Driver 0-255 -> Kodi Limited -> TV Limited -> CORRECT (Best) I know we say dithering should help with bad rips/banding in source but do your tests reveal any difference? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-29 We first need to find such a bad rip - perhaps the sample from last time is a candidate? RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-29 I just completed a bunch more tests. I'm wrong about the dithering being the cause of the remaining banding I'm seeing in 16-235 mode. I took a series of screenshots, and the screenshots (and dithering) applied in 0-255 + Kodi Full + TV Full (which shows no banding), is identical to the screenshot I get from 16-235 + Kodi Full + TV Limited. So, I think the banding is being introduced further down the line - perhaps by the video driver? It could be the TV, but it's extracting the same color region in both examples, so I don't think that's it. Ideal modes: 0-255 + Kodi Full + TV Full + Dithering On = perfectly smooth but heavily dithered image 0-255 + Kodi Limited + TV Limited + Dithering On or Off = perfectly smooth image* * I cannot see any visual difference between dithering on or off, however the non-dithered screenshot is 27kb, and the dithered screenshot is 33kb, so something is happening. Also, the heavily dithered screenshot is 494kb, so you can see how much it's doing. I think if there's going to be any actual difference made to a bad rip, you're going to have to be in 0-255/Full/Full mode, since that's already heavily processed all around. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 And if you try this with 0-255 + Kodi Limited + TV Limited: http://workupload.com/file/2KEkdaeY (from Divergent) Any visual difference at all with dithering on/off? The banding is scary in that sample so this might be a TOO bad sample. Ideal would maybe be a sample with minor banding in source or rip. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-29 Sorry, there's absolutely no change to the banding in 0-255 + Kodi Limited + TV Limited whether dithering is on of off. However, there is a modest improvement in 0-255 + Kodi Full + TV Full. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 Do you have any other movie/video with a lot less, but still some proven banding in the source? Divergent is so far out that nothing helps. And thanks again for testing. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-29 The thing is, I don't think the dithering filter is being applied as a general smoothing - it's being applied specifically when the dynamic range is being changed. In 0-255 + Limited + Limited, no change to the original video is occurring, so there's nothing to dither. If it were going to dither anything, it would be my greyscale test (which is very much dithered in 0-255+Full+Full), but there's essentially no visual difference. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 Perhaps one of these: https://www.google.se/?gfe_rd=cr&ei=NFMKVrL5KZGr8wf6r4f4DQ&gws_rd=ssl#q=blu+ray+review+minor+banding RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 (2015-09-29, 11:28)Sunflux Wrote: The thing is, I don't think the dithering filter is being applied as a general smoothing - it's being applied specifically when the dynamic range is being changed. In 0-255 + Limited + Limited, no change to the original video is occurring, so there's nothing to dither. If were going to dither anything, it would be my greyscale (which is very much dithered in 0-255+Full+Full), but there's essentially no visual difference. Then that's interesting! @fritsch? RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-09-29 Here's an enlarged example of the greyscale test. The top image is 255+Full+Full+Dithering (dynamic range expanded). The bottom image is 255+Limited+Limited+Dithering (dynamic range untouched). Note that I've exaggerated the contrast to make the dithering more obvious. Dithering is clearly not doing anything in the bottom example, and I'm inclined to believe that is the intended behavior. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-29 Quote from madshi / madvr guru: --- 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. /unquote --- Could it be that a grayscale test isn't optimal for testing dithering in 255-limited-limited? The above reasoning would be in line with your grayscale test. That's why it would be interesting to see results with real source with minor banding inherent (not perfect grayscale). Correct me if I'm wrong. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-29 We will find out :-) I asked Lauri to answer the post above in detail. Let's wait a bit. From the Code it is applied - but we will see and get information from the author. |