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: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-11-25 All in - since a very long time :-) will become live with final release of version 17. Btw. I think I have written that in the first post - didn't I? Edit: Millhouse ships it in his V8 builds RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Oshan Ruiz - 2016-11-25 Looking now I believe you did: :-) >Now we install xbmc-nightly Krypton v17 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mattlach - 2016-11-26 Hmm. I've had this up and running using 16.04 and this guide since the June or so. Has been working beautifully, but I just ran into a problem today. I had been lazy and not updated the Kodi box for a while, so I did a full update using apt-get (which installed a TON of stuff). Upon reboot I'm faced with a graphical login screen and an error message "Unable to start session". Does anyone know what might have been wrong? I'm thinking something in the update might have overwritten one of the config files? (though I was never prompted for this) I appreciate any suggestions. Thanks, Matt RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mattlach - 2016-11-27 (2016-11-26, 23:53)mattlach Wrote: Hmm. I think I found the problem. Something in the update changed the /etc/systemd/system/display-manager.service symlink to point to /lib/systemd/system/lightdm.service instead of the /etc/systemd/system/kodi.service as shown in the guide. Going to reset the symlink back to the where it is in the guide, reboot and see if this fixes it. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Oshan Ruiz - 2016-11-27 >I've had this up and running using 16.04 and this guide since the June or so. Me too Brah! >so I did a full update using apt-get (which installed a TON of stuff) Can you get a debug file? Might be difficult in the state of your box. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mattlach - 2016-11-27 (2016-11-27, 00:02)mattlach Wrote:(2016-11-26, 23:53)mattlach Wrote: Hmm. Yep, that solved it. Not sure why this symlink was overwritten but some update did it on all three of my HTPC's. Luckily it is easy to fix, if anyone else has the problem. 1.) Either SSH in or locally do CTRL-ALT-F1 to go to first text console 2.) Log in using your credentials 3.) issue following command Code: sudo ln -sf /etc/systemd/system/kodi.service /etc/systemd/system/display-manager.service Note the added "f", this means "force" and overwrites the incorrect symlink. 4.) Reboot. After this you should be back in business. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - mattlach - 2016-11-27 (2016-11-27, 00:13)oshan Wrote: >I've had this up and running using 16.04 and this guide since the June or so. Already solved it. See above! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - gurabli - 2016-11-27 The recent update marked Tvheadend pvr client incompatible. I guess a fix will come soon. Are there still so significant changes in Kodi v17 beta that makes pvr add ons incompatible from time to time? EDIT: the new nightly from fernet"s ppa fixed the PVR issue, now it is working again. Sent from my Xperia Z3 Compact RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Brujo - 2016-11-27 With the last nightly update I have some issues. 1. After update kodi started in windowed mode -> fixed it with "Settings > System > Video output full" 2. When I play a movie it just stop after ~10 min. The TV Screen get black (TV shows "no signal") and no Sound. Kodi.bin process is still runing when I check from shell. dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/23544630/ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/23544638/ dmesg | pastebinit http://paste.ubuntu.com/23544642/ id | pastebinit http://paste.ubuntu.com/23544645/ amixer | pastebinit http://paste.ubuntu.com/23544654/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - cerbere - 2016-11-29 edit: ok I found the culprit, this is the HDMI cable inside the wall from the projector to the AVR that makes everything wrong....now when i look at both ends of that cable and those 19 little cables inserted into the hdmi plugs, I want to scream, it's a gigantic mess, but truth is that it doesn't seem so easy to do that cleanly, I wish i could do it myself.... greetings, any movie I play the image flickers, stutter ?, jumps, on worst days screen can go black for like 5 seconds, sometimes blue, but I can still hear the sound. In this log, during "bug's life" play, the display went full black, then blue i lost the video output then get it back after like 20s. Faulty hardware ? I had the issue before installing this fresh install, tried a few kernels, I'd be glad to try and test things ! Last login: Tue Nov 29 09:28:51 2016 kodi@bhtpc:~$ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/23552372/ kodi@bhtpc:~$ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/23552374/ kodi@bhtpc:~$ dmesg | pastebinit http://paste.ubuntu.com/23552376/ kodi@bhtpc:~$ id | pastebinit http://paste.ubuntu.com/23552377/ kodi@bhtpc:~$ amixer | pastebinit http://paste.ubuntu.com/23552379/ kodi@bhtpc:~$ DISPLAY=:0 vainfo | pastebinit libva info: VA-API version 0.39.2 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 http://paste.ubuntu.com/23552412/ kodi@bhtpc:~$ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - gurabli - 2016-12-02 (2015-11-01, 18:35)fritsch Wrote: As I needed edid overwriting myself today here is a short howto on how to boot completely without TV / AVR but having correct EDID information. This will work for intel and radeon: Fritsch, the howto to boot with TV off will prevent Intel N3150 to turn on my TV when a system restarts? Right now I have a Pulse-Eight CEC adapter connected to the N3150 box running on Ubuntu Server 16, and if I do a system restart, then my TV is turned ON. I'm not sure if this is normal or related to CEC or to this howto? EDIT: Just saw that the latest LibreELEC test builds by Milhouse are based on Kodi v18. If I use the ppa:team-xbmc/xbmc-nightly then I will also update to Kodi v18 or stay on v17? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-02 No idea. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-03 Hi, i just installed Ubuntu 16.04 and followed your instructions on first page. It's all working :-) however it's not possible to change to 2160p with a refresh rate of 50Hz. As you can see on the Attachements the TV and the system itself is able to process that (made that screenshot on the same system on Windows 10). However in Linux no 50Hz possible. I installed the Intel driver and also setup this repository to update: sudo apt-add-repository ppa:wsnipex/vaapi It upgraded the driver but did not help -- no 50Hz possible. Is there maybe another driver from Intel that is capable to do this? Or is this a general issue from Linux? With 1080P no problem I can change to any refresh rate. The System is connected with HDMI 2.0 no adapter or long cable used. Thanks Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-03 Too old kernel for your hardware. Use drm-intel-nightly and latest and greatest you can find somewhere, including newest intel drivers. We don't support that hardware as we don't have it and therefore have no idea what bits are missing exactly. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-03 Hi, ok thanks fritsch for your help. In the meantime I found an article here: http://www.arunviswanathan.com/node/53 I installed an ubuntu desktop (also 16.04 with same kernel) and tried these steps and it worked. Unfortunately it looses this settings after reboot. So the driver in gerneral is capable to do that only the monitor is not recognized properly. So maybe it's easier than I thought...I just have to add a custom mode permanently. Do you have an idea how to do that? Thanks Alex |