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 - fatalkill3r - 2017-06-08 Hi Apologies for the confusion. I tested build 0605 and it has kernel 4.12.0-rc4. I am not able to get 4k@60Hz output. In windows its working fine. I also tested build 0606 and result is same. Below are the logs from 0605 - https://pastebin.com/CDh2cDCV I actually by mistake gave incorrect kernel version because I got confused. Below is the screenshot from where I downloaded the Libreleec build. It says Linux NUC 4.11.3. I actually did not verify the kernel version from SSH. https://www.dropbox.com/s/8kw3ky8zo3zd7kg/libreelec_0605.png?dl=0 Thank you. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Milhouse - 2017-06-08 #0605 != #0605x RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fatalkill3r - 2017-06-08 Yesss!! Apologies again Here are further results - 0605 - https://pastebin.com/c46x4jF6 0605x - https://pastebin.com/CDh2cDCV Some progress here. I cannot seem to get automatic detection of 60Hz. On manually adding the mode using xrandr 4k@60Hz is working. How can I make auto detection work ? Is there a way to feed xorg.conf file to libreelec ? Thank you RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-06-08 Put it to /storage/.config/xorg.conf and fine. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - soder - 2017-06-28 Hi. I know this is kind of a question that might not be suited for this thread, but I try it anyways. I got a Intel NUC (nuc5cpyh) with braswell, and I kind of bought it cause I thought it was "future proof" and could do both x264 and hevc in 2160p. I've later learned from you guys in here that it doesn't play hevc in 10bits in HW, making it impossible to play 2160p hevc in 10bit on that NUC. I wonder if there's some other great hardware to use a my HTPC, wíth about the same specs as my NUC, but also play 10bits hevc? Thanks. /Söder RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Axman - 2017-06-28 (2017-06-28, 12:19)soder Wrote: Hi. I know this is kind of a question that might not be suited for this thread, but I try it anyways. I'll apologize in advance, because my answer will disappoint you. Unfortunately, it is based on fresh experience and as such reflects reality: - Braswell is not future proof - you should opt for Kaby Lake now to get HW decoding of HEVC in 2160p - You need bleeding edge Mesa (Intel) drivers and latest Kodi agile (from git), see my post for instructions: https://forum.kodi.tv/showthread.php?tid=231955&pid=2543877#pid2543877 - the 7th Gen NUCs have these CPUs, but unfortunately there are issues with DTS-HD bitstreaming on Linux. I had a Gen 7 i3 NUC and was unable to get passthrough of HD audio working (but hw encoding of the video worked Short answer: Buy a desktop PC (mini ITX H270 board for example, if you want it small) and use a Kaby Lake CPU on it. Then follow step 0 of Fritsch's guide in first post, and follow my instructions from step 1. Then you'll have a future proof system capable of HW decoding 10bit HEVC 2160p, and also full HD audio passthrough support. The result of my search for the ultimate HTPC. For more general advice on hardware picks, I would consult wrxtasy's guide here: https://forum.kodi.tv/showthread.php?tid=252916 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fatalkill3r - 2017-07-11 Hi Fritsch I really appreciate the improvements and enhancements done in kodi deinterlacing and upscaling over the years. Most of the content gets deinterlaced optimally. I found a specific IPTV channel which was not getting deinterlaced correctly. Below is a dropbox link to the channel. Please check it out. Thank you. https://www.dropbox.com/s/va006zh504uuscx/CGTN.ts?dl=0 RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - MicTie - 2017-07-13 Hi, since a couple of weeks (not really sure when it started) Kodi is stopping by itself after 10 minutes of operation. This happens when Kodi is idle (no media played), music is played, but never happened during playing a movie. I am also no aware of any audio-issue, everything seems running smoothly... Besides the (almost) daily Kodi-nightly update, there was no change in the setup, especially nothing related to Audio. I am running the setup as described in this threat. Log-Files show: ERROR: PulseAudio: Failed to connect context NOTICE: PulseAudio might not be running. Context was not created. Here all my system-info and log-files: dpkg: http://paste.ubuntu.com/25080144/ Display: http://paste.ubuntu.com/25080153/ log: http://paste.ubuntu.com/25080163/ dmesg: http://paste.ubuntu.com/25080164/ id: http://paste.ubuntu.com/25080165/ amixer: http://paste.ubuntu.com/25080169/ Thank's for you help! RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-07-13 Your TV turns off and alsa rescans. The pulselog is not related. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - MicTie - 2017-07-13 Thanks! But, I don't think my TV turns off, at least I don't see it ... I am sitting in front seeing some KODI animation while playing some music, and suddenly the screens turns black, next moment I see a screen generated by my AVR It seems ALSA rescans after 10 minutes UPDATE 1: I did some further testing based on your comment, here is my findings 1) if the problem occurs, KODI does not switch off completely, only sound (via AVR) and picture (via AVR and TV) stops 2) if I play some music with TV off, after 10 minutes the sound stops 3) if I play some music with TV off, and also switch my AVR OFF and back ON, music continues playing 4) the 10 minutes seems to be from the 'power-on' of KODI, and not from the 'Power-on' of the AVR 5) if I play a movie for 15 minutes, no problem, if I continue to play music afterwards it switches off after 10 minutes to me it seems that KODI is checking every 10 minutes and suddenly unable to find any output device,and stops playing - although this seems not showing up in the logs UPDATE 2: to pinpoint the culprit (cable, AVR, TV, KODI) I did some further testing: 1) change of HDMI-cable: problem occurs 2) play music via AVR with TV off and disconnected (eliminating TV): problem occurs 3) use different HDMI-ports on AVR: problem occurs 4) use different HDMI-input-device (Media-Player in Standby mode) with AVR: problem does not occur 5) connect KODI HDMI-out directly to TV (eliminating AVR): problem occurs => based on 2) and 5) I conclude the issue is with KODI UPDATE 3 - SOLUTION: (maybe helpful for someone who runs into the same issue) add the following lines to /etc/X11/xorg.conf: Quote:Section "ServerFlags" RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2017-07-13 Please help. I like to execute an application from Kodi EGL. I need a script which close Kodi, execute an application (eg. retroarch) and when the application ended, the Kodi restart via openbox. I tried this, but not working: systemctl stop kodi /usr/bin/retroarch systemctl start kodi Sorry for my bad english. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2017-07-14 (2017-07-13, 17:41)djnice Wrote: Please help. Can I use the kodi-openbox script for this? How to modify these scripts for this EGL version? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - samuellarsson - 2017-07-21 Hi, I'm trying to figure out why Kodi on my Kaby Lake NUC still doesn't use hardware encoding for 10 bit HEVC. Using the nightly build of Kodi. 8 bit works fine. Been reading through some posts here and tried several things; 1. Tested with a LibreELEC live USB, with the same result. 2. Manually built kodi-agile, but no luck there either. Any ideas? Here are my logs: http://paste.ubuntu.com/25139709/ http://paste.ubuntu.com/25139710/ http://paste.ubuntu.com/25139712/ http://paste.ubuntu.com/25139713/ http://paste.ubuntu.com/25139714/ http://paste.ubuntu.com/25139724/ RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-07-21 Not a Debug Log RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - samuellarsson - 2017-07-26 (2017-07-21, 17:53)fritsch Wrote: Not a Debug Log Thanks for the quick reply, and I'm sorry for the delay in my own. Here is a debug report when I reproduce the issue, playing a 10 bit HEVC movie. |