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-30 I am just testing the patches on my TVs, there is still a bug. On first boot I have a totally "bright" picture. I need to switch to full range first and then switch to Video Range - after that all is fine. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-30 Tested: Kodi logo is more bright Aeon Nox seems to be little bit bright BUT after playing 1080p it's correct i can't test avshd pattern cause files stays on buffering 100%, i'm trying to see if is nas problem edit:ok see fritsch post about brightness edit2:also auto works correctly RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-30 (2015-09-30, 23:22)Roby77 Wrote: Tested: Currently videos without Audio don't play. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-09-30 (2015-09-30, 22:07)fritsch Wrote: Yeah - it was Lauri. I only had to fix the hunks for kernel 4.1.x.Could you provide custom kernel to install on Ubuntu along with new packages from ppa? If so more people could test (at least me and as i understand my TV was root reason ;-) ) RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-09-30 (2015-09-30, 22:43)fritsch Wrote: I am just testing the patches on my TVs, there is still a bug. On first boot I have a totally "bright" picture. I need to switch to full range first and then switch to Video Range - after that all is fine.If you think it's a bug and it can be corrected on kernel level maybe it's worth to check. If not maybe simplest solution is to switch internally in OE to Full and then to Limited at startup And for ppa instuctions add second xrandr line to autostart file. RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-10-01 (2015-09-30, 22:43)fritsch Wrote: I am just testing the patches on my TVs, there is still a bug. On first boot I have a totally "bright" picture. I need to switch to full range first and then switch to Video Range - after that all is fine. Strange that it just worked for me? RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-10-01 (2015-10-01, 00:03)Hufvudet Wrote:(2015-09-30, 22:43)fritsch Wrote: I am just testing the patches on my TVs, there is still a bug. On first boot I have a totally "bright" picture. I need to switch to full range first and then switch to Video Range - after that all is fine. Depends on TV of course. RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-10-01 You don't have ?: Stark Kodi > Logo and Skin are bright than usual> start a film (you notice that black screen of the film is too bright and i notice it really with sd content)> stop film and now all is ok ? This with my tv that can do auto, full and limited (the problem occurs with auto and limited) RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-10-01 No I didn't have that problem. But nevermind, as long as 2 out of 3 so far have that problem I guess there is a bug. I'm just a guy with a lucky TV. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-01 For Ubuntu when you fully followed my howto, do: Code: mkdir lauri Afterwards change the script you are using from post 1 to: Code: OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` If you have a fully bright image, this might be your workaround: Code: OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'` Kodi Settings: Use Limited TV Settings: Limited / Auto Note: Provide without enduser warranty. This is _again_ a development thread and not something for handholding beginners. If you are a beginner use OpenELEC. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-10-01 I'm guessing this Passthrough change cannot be applied to OE Isengard? The system I'd need this for is my primary family system, and I'm not sure I trust Jarvis for that yet. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-01 It's a no brainer ... would only cost my time :-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-01 I have uploaded new Jarvis Builds. Those use passthrough by default and also set kodi to Use Limited Range by default (the setting). As a workaround I implemented what I scatched up for Ubuntu above: On start shortly set to Full and then to Passthrough ... as this workarounds the kernel bug we still have for me. Will upload Isengard after they are build. If someone can convince Kabelbw to get me more upload without Horizon shit - I'd be thankful. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-01 @Sunflux: Uploaded in the isengard folder. Please give it a test. On my system it works as expected. RE: New Era: VAAPI with EGL interoperation - Sunflux - 2015-10-01 That's weird. I don't get the passthrough option. http://pastebin.com/z42RRbDE KodiFamily:~ # xrandr --output HDMI1 --set "Broadcast RGB" "Video 16:235 pass-through" X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 139 (RANDR) Minor opcode of failed request: 13 (RRChangeOutputProperty) Value in failed request: 0x44 Serial number of failed request: 39 Current serial number in output stream: 40 |