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-12-29 JSon API was bumped ... all remotes need to adjust. This code just hit kodi's master ... RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-29 For those with the EPG segfaults, these should be fixed after: https://github.com/xbmc/xbmc/pull/8701 is in RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-12-29 (2015-12-29, 12:02)wwessel Wrote: The same issue here. With the latest Jarvis 16.0 build it works. With any 17.0 build (fritsch or Milhouse) I get this behaviour.I've checked and Constellation uses Eventserver (in fact can detect and use both - JSON-RPC and Eventserver). So that's why it works for you. Also their new app - THE remote for Kodi works for the same reason. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-12-29 Maybe my assumption about Eventserver was "too easy" - it's used by both apps and also Yatse uses it. So problem is elsewhere. I've created issue on Yatse forum ( http://yatse.tv/redmine/issues/317 ) and we will see. Tolriq (one of Yatse authors) is also involved in JSon-RPC change in Kodi so he is very well aware of nature of the changes. But right now he thinks if it's something with Yatse or something with Kodi. RE: New Era: VAAPI with EGL interoperation - Tolriq - 2015-12-29 (2015-12-29, 22:56)BigL-New Wrote: Maybe my assumption about Eventserver was "too easy" - it's used by both apps and also Yatse uses it. So problem is elsewhere. I've created issue on Yatse forum ( http://yatse.tv/redmine/issues/317 ) and we will see. Tolriq (one of Yatse authors) is also involved in JSon-RPC change in Kodi so he is very well aware of nature of the changes. But right now he thinks if it's something with Yatse or something with Kodi. I'm the only author And I know quite well Kodi JSON part, the problem is not JSON related and completely Kodi bug there's nothing to adjust on remote for simple basic playing start. Only impact by recent changes is handling specific players and external players. When remote send a player.open with movieid XXX there's nothing to change at JSON part and Kodi should works accordingly. And BTW Event Server can't play movies What I suspect is that Constellation add items to playlist and start playlist this use another way internally in Kodi but both ways are 100% valid and should continue to work. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-29 @Tolriq: https://github.com/xbmc/xbmc/pull/8525 <- seems your remote stops after GetActivePlayers if I see that right (only had a brief look) - totally not my part of expertise - but things won't magically solve itself. RE: New Era: VAAPI with EGL interoperation - Tolriq - 2015-12-30 Well the error reported by the user to me is that he can't start Playback from Yatse or WebInterface. The command send is : {"jsonrpc":"2.0","id":160,"method":"Player.Open","params":{"item":{"movieid":407}}} And there's no reason is does no more work and while it have lot's of chance to be related to this PR (That I did check as you can read there) this should still work correctly and there's nothing to fix on remote side .... The PR do not affect what most remote uses and BTW this is totally my part of expertise with no offense. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-30 From what I see here: http://paste.ubuntu.com/14243616/ the others call open first, while yatse calls GetActivePlayers - I don't see the Player.Open sent in those cut logs. But yeah, when you say all is fine - then I believe you, as said - no idea on that issue / field. RE: New Era: VAAPI with EGL interoperation - Tolriq - 2015-12-30 The getactiveplayer is timed and not related to the call. (And there's Player.Open on every single extract in that log) The only starting call is what I linked and this is what is no more working from the information I have, this is not related to changes needed in Yatse. Changes needed are when you select playusing from Kodi interface or from remotes. If there's really a problem it should be addressed by someone who know, I'll try to test tomorrow normal alpha to see more, but well I'm following and contributing to Kodi JSON part since 2009 and I check every single PR that touch JSON since then so I have quite some background on how all works And to finish on my suspicion since I did not read the whole log until now, the last part that works as I did know use Player.Open with playlist that use another internal path to choose player. {"jsonrpc":"2.0","method":"Player.Open","id":1,"params":{"item":{"playlistid":0,"position":0}}} We have not meet often on Github since not working on same part but I really know what I'm talking about. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-30 I think I was not exact enough: yatse Wrote:18:58:38 T:140531556394752 DEBUG: webserver: request received for /jsonrpc the other thing Wrote:18:51:34 T:140531791292160 DEBUG: webserver: request received for /jsonrpc?Player.Open But yeah - thanks for looking into it tomorrow. RE: New Era: VAAPI with EGL interoperation - Tolriq - 2015-12-30 Completely unrelated they add things to url but it for their internal tracking I guess as this is not valid parameter and is not used in Kodi for any post related commands and not even valid for Json P. Important part is Json on logs as it's what will be interpreted and it's the exact same. RE: New Era: VAAPI with EGL interoperation - Tolriq - 2015-12-30 Tested with current master head and everything works perfectly from Yatse side. So the problem is either specific to this build (don't really have followed this thread) or to the user but I have people at home so can't help more. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-30 @Big-NL: Try latest OpenELEC testbuild from an USB stick - I feel this is a layer 8 issue. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-12-30 @fritsch: I've tried latest OE testbuild (it's OpenELEC-Generic.x86_64-6.0-devel-20151228222415-r21629-ge097d0c from yesterday evening, not from today) and result is the same as it was with previous builds. But i can confirm that problem is with the way that Player.Open is called. If it's used with playlist playback starts (audio and video). if it's direct use it doesn't work. Please confirm if it's correct build i've tested - i ask because you posted today and build is from yesterday at 22:24. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-30 It's a problem in fernet's current master. It works fine with kodi's master ... tested that myself this afternoon with yatse. Funny enough - starting of music / Live TV and so on just works fine. |