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-25 Nearly. Thanks for the cooperation. If you look at the log yourself - you see that every 2 seconds a non existing repo is refreshed .... :-( can you also remove those? Then we most likely will see a faulty state machine transition. Edit: And if you are at it, please post the log with the OE pastebinit tool - that's easier to view on my mobile phone directly. RE: New Era: VAAPI with EGL interoperation - fantasticn - 2015-09-25 (2015-09-25, 17:37)fritsch Wrote: Nearly. Thanks for the cooperation. If you look at the log yourself - you see that every 2 seconds a non existing repo is refreshed .... :-( can you also remove those? Ok, fritsch, you are my hero. I step by step deleted those repos and finally the problem was solved (obviously was depending on the "repository.lambda" which was linking to some ""bitbocket.org".source - I do not know where I got it from or what addon on it was necessary for). Therefore I have to admit that I was wrong and those repos actually can cause trouble. I always thought they were just executed when I try to download some addon. That's why I never deleted them. Hmm... So thank you very much. I now keep waiting for some solution as to the sync problem (seems you guys are already discussing some issues with audio and video sync). I meanwhile keep Kodi at 50Hz avoiding the refreshrate change when enetering fullscreen in LiveTV. THat serves as a workaround. As to pastebin: I tried to upload the log there but it was too big. I do not have a premium account there. So I used dropbox instead. Sorry for that. Best regards and one more time: Thank you very much for your support (though I am an ugly user of some banned addons) :-) FantasticN RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-25 Quote:Ok, fritsch, you are my hero. I step by step deleted those repos and finally the problem was solved (obviously was depending on the "repository.lambda" which was linking to some ""bitbocket.org".source - I do not know where I got it from or what addon on it was necessary for). Therefore I have to admit that I was wrong and those repos actually can cause trouble. I always thought they were just executed when I try to download some addon. That's why I never deleted them. Hmm... Yeah - thx much for reporting back. It is much more honest to come back and actually state the own mistaked :-) you got a +1 on my sheet :-) Quote:So thank you very much. I now keep waiting for some solution as to the sync problem (seems you guys are already discussing some issues with audio and video sync). I meanwhile keep Kodi at 50Hz avoiding the refreshrate change when enetering fullscreen in LiveTV. THat serves as a workaround This is currently work in process. The most tested use case currently is: Passthrough completely disabled. Just PCM audio out and Sync Playback to Display enabled. Also there is a new setting below Adjust Refreshrate to match video, which you could try. This should wait until the Refreshrate switching is done. But yes, you are right - Audio Sync is currently 100% reworked by Fernet and there are rough edges. So a log - with the "state machine errors" I could spot through your logging - would be nice. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-25 (2015-09-25, 16:07)Hufvudet Wrote:(2015-09-25, 15:56)gurabli Wrote:(2015-09-25, 15:54)Hufvudet Wrote: Ah, sorry. I have openelec tunnel view and didn't even think about real linux It us much darker. Or if I enable limited, everything is brighter, depends how you interpret it As it is a plasma screen, backs and whites are very nice with both, but Kodi set to full is nicer, I would say. With ion I need to set full, as with limited it is very washed out. Guess the driver sets there limited. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-25 Choose what you like :-) Washed out is not possible anymore with the new code besides really you output Limited and have a full rgb screen. Make a picture of your TV with this: https://dl.dropboxusercontent.com/u/55728161/graustufen-rgb-0-bis-10_172435.png RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-25 I just realized this: as I use my rig as NAS and a home server too, it is turned on all the time. If I turn off the tv, and I turn it on again, the screen is black, can't get back Kodi, just with a restart. Is there a way to keep HDMI active or to reinitialize it? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-25 sudo systemctl restart kodi or perhaps DISPLAY=:0 xrandr --auto helps? RE: New Era: VAAPI with EGL interoperation - rome - 2015-09-25 It seems like the refresh rate switching is kinda slow, after channel startup I get a screen flash after about 2 seconds. If I hurry up and press the codec menu the refresh rate is changing from 29 to 60. EDIT: also cpu usage seems kinda high. http://sprunge.us/XBOJ RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-25 (2015-09-25, 19:21)fritsch Wrote: sudo systemctl restart kodi Systemctl restart is not good, as it requires keyboard. Maybe a script and mapping it to remote. How do I add xrandr --auto to autostart? RE: New Era: VAAPI with EGL interoperation - Hufvudet - 2015-09-25 (2015-09-25, 18:56)gurabli Wrote:(2015-09-25, 16:07)Hufvudet Wrote:(2015-09-25, 15:56)gurabli Wrote: No problem I tried out, saw it is not working, reverted the settings, and asked here There's your answer. If the screen goes darker when you disable 16-235 in kodi you definitely have a limited range only TV. Like fritsch said, washed is not possible unless you go - kodi limited + TV full range. And since you have a limited range TV the only correct setting, with full range GPU via xrandr, is = 16-235 enabled in kodi. When you disable that you get black crush which might look nice for three minutes until you notice that all detail in shadows is lost. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-25 (2015-09-25, 18:57)fritsch Wrote: Choose what you like :-) Washed out is not possible anymore with the new code besides really you output Limited and have a full rgb screen. Make a picture of your TV with this: https://dl.dropboxusercontent.com/u/55728161/graustufen-rgb-0-bis-10_172435.png Something is strange. System starts, Kodi set to limited before restart. Everything looks bright, test pattern is fully visible, maybe except 0. Looks too bright. I start to play live tv, refresh rate is adjusted, and it is not bright anymore with limited, but like b) below. Switching to full makes it very dark, like c). However, if I play a video where no refresh rate is needed, it remains very bright, like a). a) Kodi set to limited, dithering on, first boot: 0 is dark, everything else is visible, very bright. b) Kodi set to limited, dithering on, but after refresh rate change: 0-1-2 is black, not visible. 3 is visible, but barely, 4 start to be more, 5 is visible. c) Kodi set to full, dithering on, after refresh rate change: no square is visible, everything is black, very dark. To me it looks that b) is the best, but it is achieved only when refresh rate change is needed. Edit: Can I leave dithering on (8) with limited? RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-25 seems that 16-235 config get confusion for many people , also for me as many people know I suggest also to download avs hd 709 test and run basic test, read the pdf attached If i may i suggest to integrate some test in video calibration with manual how to set, maybe a wizard to setup tv remember to calibrate first contrast and brightness from tv, and after from player RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-25 :-) Yeah and a free Toaster for everyone ... RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-09-25 mmmh not bad RE: New Era: VAAPI with EGL interoperation - fantasticn - 2015-09-25 (2015-09-25, 18:26)fritsch Wrote:Quote:Ok, fritsch, you are my hero. I step by step deleted those repos and finally the problem was solved (obviously was depending on the "repository.lambda" which was linking to some ""bitbocket.org".source - I do not know where I got it from or what addon on it was necessary for). Therefore I have to admit that I was wrong and those repos actually can cause trouble. I always thought they were just executed when I try to download some addon. That's why I never deleted them. Hmm... Hi fritsch, activated the new option "sync video to monitor" as you suggested (though I actually thought this option did exist in previous builds as well). But then video is totally jerky and stuttering. Here are the logs: Option "sync video to Monitor" disabled(audio out of sync): http://xbmclogs.com/psbberzzt option "sync video to monitor" enabled (video jerky and stuttering, no audio at all): http://xbmclogs.com/pjx8us23e Regards, FantasticN |