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 - wsnipex - 2016-03-11 no the problem is those headers are not yet included in my fernetmenta-master ppa. They will be with the next build. in the meantime the impatient can get kodi-inputstream-dev from the team-xbmc nightly ppa edit: meh.. I though IFileTypes.h is inputstream specific. Now it seems even pvr addons need this, so it shouldn't be in the kodi-inputstream-dev package... RE: New Era: VAAPI with EGL interoperation - prospo - 2016-03-11 Just for everyone currently building pvr.hts, it will build but the pushed changes in https://github.com/kodi-pvr/pvr.hts/commit/1ec855483f1643f80c75575f109900be3ab2e9ad have broken the runtime execution. Streams stutter and decode incorrectly. So I would recommend to install the following ppa versions, these will keep the xbmc.pvr api at 5.0.0 and a correctly build pvr.hts which supports it. Code: ii kodi 2:17.0~git20160305.0500-4f9b0bd-0wily all RE: New Era: VAAPI with EGL interoperation - hal2100 - 2016-03-11 (2016-03-10, 21:27)hal2100 Wrote:(2016-03-08, 22:09)fritsch Wrote: Please install gdb and get us a backtrace. Was this in any way helpful? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-11 Yeah - time, the time, the time ... busy with other stuff Disable subtitles for now completely ... RE: New Era: VAAPI with EGL interoperation - alex.ba - 2016-03-12 Quote:Just for everyone currently building pvr.hts, it will build but the pushed changes in https://github.com/kodi-pvr/pvr.hts/comm...be3ab2e9ad have broken the runtime execution. Streams stutter and decode incorrectly. So I would recommend to install the following ppa versions, these will keep the xbmc.pvr api at 5.0.0 and a correctly build pvr.hts which supports it. I cannot confirm. I just build and used this version with the latest update from 10th of March. It's working - there is no stutters etc. Alex RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-12 It highly depends on the backend ... it's constantly broken, and important fixes are only in git and in no stable version. So tvh issues have to be filed with them, as we have no idea which version currently is a stable version. I asked three times which version "is working" and which one is to be suggested ... I could not get an answer ... :-( So, whatever issues you have with tvh -> pvr forum / their github. RE: New Era: VAAPI with EGL interoperation - livs - 2016-03-13 I have a Braswell platform and a TBS tuner. Which is the appropriate source to compile myself OE with EGL and adding TBS drivers? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-13 Not supported. RE: New Era: VAAPI with EGL interoperation - chrissi323 - 2016-03-14 (2016-02-21, 23:41)Phobos666 Wrote: I updated ubuntu to server-version 16.04 and this line (2016-02-21, 23:51)fritsch Wrote: Btw. your issue is something else, the user running that command is not member of video group and most likely you have to reenter the command for getting xserver start permissions from the initial howto. I had the same issue with 16.04, my kodi user is in the video group but it seems that doesn't help. I added a line to /etc/X11/Xwrapper.config and now it works. Xserver is running as root which may raise some concerns but I don't consider it a problem on a dedicated Kodi box. Xwrapper.config Code: allowed_users=anybody I use a BeebOx and did the custom EDID thing to get a picture if it starts up without a connected AVR but it seems this doesn't work with my Onkyo TX-SR 805. If I turn on the AVR after the boot of the box is completed I only get a black screen. A restart of the Xserver fixes that. I don't know yet what the problem is there but I had that working with a NVIDIA card and a custom EDID. As I never had a INTEL based setup I just want to confirm, that it should work as I expect. Does a custom EDID enable to boot a BeeBox without tha AVR turned on and having it put signal through to my AVR as soon as I turn it on? RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-14 For the Xwrapper.config: see the proper fix some pages back (installation of the legacy package). For the custom edid: Try it. I use it succesfully on my core i3 with kernel >= 4.4 and an additional xorg.conf RE: New Era: VAAPI with EGL interoperation - chrissi323 - 2016-03-14 I downloaded 16.04 install media three days ago to set the system up. Maybe the problem is that it isn't final and some things are messed up. I have the legacy package installed and did a dpkg-reconfigure xserver-xorg-legacy. This gave me the line allowed_users=anybody in Xwrapper.config and the error: (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) in syslog. After that I checked that my kodi user is in the video group: video:x:44:kodi Only way to fix that was adding the second line to Xwrapper.config I'll try again with the custom EDID, I indeed missed creating an additional Xorg.conf. Kernel is 4.4.0 so it should be fine but I admit that I have some reading to about Intel graphics and Linux. I always had Nvidia in the past. Just found the custom xorg.conf for Intel on the Openelec homepage. I guess that's a good start. Another thing that I'm missing in the VAAPI builds is the delay for the framerate switching. I guess this due the development state and that it will be back at some point. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-14 It's under Videoscreen now. System -> Settings -> System -> Output something. Edit: Kernel wise I suggest a custom kernel with the 16:235 passthrough patches ... to not kill colors, some are here: http://fritsch.fruehberger.net/kernel/ RE: New Era: VAAPI with EGL interoperation - Markus_23 - 2016-03-14 Hi! Also still don't gave up in testing the egl build , now with a B150 Mobo and a G3900 Skylake Celeron I've been running into similar problems when using daily xenial iso and/or lubuntu beta1 iso. I know it's not a final / polished product and alpha "blabla" (xenial & v17) , but could anybody hint me to a solution with this "permission denied" ? Also I got another problem, when trying to use 15.2 server iso - if everything is installed it seems to work fine, but I can't alter the default refreshrate, it always stays at 60Hz not matter what I try. (xrandr , openbox/autostart , etc.) Also can't find any solution to configure xinit commandline call to use a refreshrate of 50Hz and via openbox autostart (xrandr -d :0 -r 50) it also won't work. Automatic switching the refreshrate in kodi itself works (eg. 24hz Film). Gave up and tried xenial again, with the above mentioned problems. RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-03-14 The solution was already given ... search for legacy in this forum. I installed xenial on one of my Braswell rigs. Concerning 50hz at start: check drm_kms_helper (also search in this forum, I gave a step by step howto) + and xorg.conf that sets the 50hz modeline as default. I am off to work. You can join me in 10 hours at #xbmc-xvba if you need further instructions to not spam this thread with not yet released ubuntu version talk - as this howto uses 15.10. Xorg legacy: http://forum.kodi.tv/showthread.php?tid=231955&pid=2260378&highlight=legacy#pid2260378 drm_kms_helper: http://forum.kodi.tv/showthread.php?tid=231955&pid=2148505#pid2148505 xorg.conf: http://paste.ubuntu.com/15382953/ Make sure to rename HDMI1 (all appearances to HDMIX to match your setup) RE: New Era: VAAPI with EGL interoperation - Markus_23 - 2016-03-14 Hi ! I installed xserver-xorg-legacy and reconfigured it , still same result as mentioned. About that refreshrate problem -> this is indeed ontopic, because it happened to me when using 15.10 server howto. But I will search and maybe joining channel tonight - I also need to work now Thanks for the links |