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-11-10 Just released OpenELEC-6.0.96-fritsch edition which contains the get_buffer workaround and some further usable backports ... that you can see in my egl-isengard branch. I hope we are done now. I will rebuild Jarvis-Version later, after fernet has rebased. Then we can go right away into v16 beta direction :-) RE: New Era: VAAPI with EGL interoperation - fantasticn - 2015-11-10 Hi fritsch, I am constantly updating my three PCs with your OpenElec Jarvis Nightlies. Unfortunately I have to report that with the current build OpenELEC-Generic.x86_64-6.0-devel-20151104072854-r21538-gb57169c I am now - again - having problems with my iMac 27". System is starting but Kodi is not comming up (black screen). I can access the system via SSH, but not via webinterace. I have attached the log (previously deleting all those addons which I recall you do not like): http://pastebin.com/M4P0JuE8 However, I think it is again connected to the kernel build. I am not an expert but I think you updated to version 4.4.0. I now tried Milhouse latest release OpenELEC-Generic.x86_64-6.0-Milhouse-20151107222924-#1107-ge1c98c8 and it is working fine. He is still using kernel 4.3.0. Any time the kernel is updated it seems something is missing for my iMac thought it consists of Intel CPU and AMD/ATi GPU :-( Brgds, FantasticN RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 Nope - running kernel 4.3.0 also. Though I don't test on non intel hardware. RE: New Era: VAAPI with EGL interoperation - JBir - 2015-11-10 (2015-11-09, 21:20)fritsch Wrote: Known issue with shitty AVRs since a long time. Be it Pioneer, Yamaha or whatever - the issue is only happening with 44.1 khz and a refreshrate > 30 hz, e.g. 1080p60 - here is the upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=75038 Lovely! That got the sound working, even though it is a hack I'll contribute to getting that bug solved in any way I can. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 New rebased Version of OpenELEC master + fernet's latest master branch online at the usual place. I removed the older versions as they are obsolete: http://fritsch.fruehberger.net/openelec/v16_videoplayer_testing/ RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-11-10 (2015-11-10, 16:32)fritsch Wrote: Then we can go right away into v16 beta direction :-) Sounds great, looking forward to it RE: New Era: VAAPI with EGL interoperation - scf2k - 2015-11-10 I was using latest 6.0 release, with the limited colour range off. Today I tried OpenELEC-Generic.x86_64-6.0-devel-20151110195330-r21567-g685e6e7 build. By default limited range setting was on, tv picture looked normal though. I tried to turn if off and picture became too dark. I boot into installed 6.0 version and tried to enable limited range - image became lighter. In other words brightness depending on setting and iso in ligher->darker order: 6.0/limited > 6.0/full > devel/limited > devel/full. Is it expected? Also Im not sure does my TV support full range or not. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 The official OpenELEC version from www.openelec.tv is in no way to be compared / confused with the version in this thread. The builds posted here, use: "Passthrough 16:235" Mode by default in combination with kodi's Limited Range Setting. All Video colors are transfered untouched to the TV, which should be Limited Range. All Pictures are scaled to 16:235 range within kodi and then output without further scaling. To add, if you disable "Use Limited Range" in this kodi version, the Video data is expanded to 0..255 and banding is cared for by adding dithering. Pictures and menu are output as full rgb (0..255) and not touched. If your TV is limited range - disabling that "Use Limited range" setting makes kodi look much too dark. If your TV is full range - it should look okay - as our kernel mode does not interfer, it just lets everything you set out onto the display. Official OE release uses: A fucked up mode, called "Limited 16:235" - where the driver rescales everything it gets to 16:235 by its own while it is assuming full range input (!). So it is perfectly clear, that when you enable "Use Limited Range in kodi", that kodi scales to 16:235 but then _the driver_ does that again ... you end up with a super bright menus. For the Video output of VAAPI that does not count - as this nightmare code has blown up the Limited to full range by itself while the surfaces were copied. (Read the first post, please). If you run the ubuntu tutorial version without a "Passthrough 16:235" kernel - you should set the kernel to Full Range and then use kodi's setting to choose the Range as described in the first post. In short: Official OpenELEC should not be used if you care a single bit about colors ... RE: New Era: VAAPI with EGL interoperation - scf2k - 2015-11-10 Thank you for explanation. So I understand it should be full with official and limited with devel. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-10 Not really ... it's not so easy. I explained that in great detail in this thread .... I don't want to repeat further and further ... use my build and be happy or read the thread. RE: New Era: VAAPI with EGL interoperation - scf2k - 2015-11-10 While playing with devel build (in live mode) I've got black screen twice. Once during boot, and once after starting second video. Will try to reproduce and provide logs. RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-11-11 I wonder if this black screen is the same as my scrambled screen caused randomly when refresh rates changed RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-11-11 do you have avr ? ( i resolve when it occurs toggling on off my avr) btw for me seems, for what i tested until now, less black screen AND faster refresh rate switch RE: New Era: VAAPI with EGL interoperation - jjslegacy - 2015-11-11 I do have an avr but just cycling it doesn't always fix it RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-11-11 Debug Log of all of you is needed ... I see now 4 posts here that help us absolutely nothing ... |