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 Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-08 I am nearly sure it's a misconfiguration of how you start your XServer. Looks like a user session. Change the kodi start file to start: xterm instead of kodi - then type those commands in there, please RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-08 HI! here I am, I installed from zero ubuntu server (without switch from desktop and then turn it with tasksel into server) and I managed to make it go. The difference in the guide in your first post is this : Quote:sudo apt-get install ssh software-properties-common xorg xserver-xorg-legacy alsa-utils mesa-utils git-core librtmp1 libmad0 lm-sensors libmpeg2-4 avahi-daemon libnfs12 libva2 vainfo intel-media-va-driver-non-free linux-firmware dbus-x11 udisks2 openbox pastebinit udisks2 xserver-xorg-video-intel and I left this direcotry empty -> /etc/X11/xorg.conf.d I just have a little flicker now and then and the image seems to suffer from slowdowns but it's already a good start. dpkg -l |grep mesa | pastebinit DISPLAY=:0 vainfo | pastebinit cat ~/.kodi/temp/kodi.log | pastebinit dmesg | pastebinit id | pastebinit amixer | pastebinit cat /var/log/Xorg.0.log | pastebinit RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-08 Cool :-) RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Rumpelstiltskin - 2020-02-09 (2020-02-08, 17:13)fritsch Wrote: Cool :-) I admit defeat... I don't understand why if I create a config like this /etc/X11/xorg.conf.d/20-intel-graphics.conf : Quote: once I run kodi he leaves with the "GL_VENDOR = VMware, Inc." do you have any ideas you'd like to suggest? Xorg.0.log Kodi.log If instead I change to modesetting (in the driver section) then it works but I suffer so much from tearing Quote: Xorg.0.log Kodi.log RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-09 Okay. The reason is simple: xserver-xorg-video-intel does not support this new GPU and you are running on modesetting by default. If you force intel, it will fallback to SW rendering. Good :-) Thanks for the hint. I will update the howto that intel xorg driver is deprecated on too modern intel chipsets. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-09 @Milhouse did you patch the intel driver on LE to include the GPU IDs? Or do you use modesetting by default? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Milhouse - 2020-02-09 (2020-02-09, 13:31)fritsch Wrote: @Milhouse did you patch the intel driver on LE to include the GPU IDs? Or do you use modesetting by default? We aren't patching any GPU IDs, or applying any other patches to the Intel driver. Not sure about "modesetting by default" - @lrusak, this is more your part of the ship... This is /etc/X11/xorg-i915.conf in latest LibreELEC (master):
RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - PKOneTwo - 2020-02-20 empty RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - XBMCWin - 2020-02-24 Hi fritsch, it's been a long time since I posted here as my whole setup is still working perfect. However, I now acquired a 4K TV and wanted to use this as a chance to reset my HTPC and freshly reinstall kodi following your instructions. There are some open points, I wanted to check with you. My CPU is an Intel Haswell Core i5-4570T with an in-built Intel 4600 GPU. According to Intel, it can do 4k @ 24 Hz but I wanted to ask you how you evaluate the hardware. Also, is this a generation, where I should directly use Ubuntu 20.04? I will probably not watch Live TV, just stream some videos from hard drive (is x265 an option with this hardware?) and access some Kodi apps (Mediatheken etc.) Thanks! RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-24 It's haswell generation, therefore no native hevc acceleration. From cpu pov it's faster than kodi needs it for menus, etc. But the missing hevc capability makes it a show stopper, especially for 4k with 10 bit content. So if you think buying it new, don't. Even low prices gemini lake apus can do more video wise. If h264 is your only usecases, it is perfectly fine, including 4k 60, but h264 only. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - XBMCWin - 2020-02-24 Thank you so much! That's the HW, I own right now, so nothing I would buy. Are there any cheap options out there that can do native HEVC and 10bit? Also, can Kodi downsample Dolby Atmos for example if a device doesn't support it? I know that it works for DTS but I'm not sure if Dolby Atmos is the same. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-24 DTS-HD, TrueHD including Atmos is no problem for Haswell. A cheap GPU is more expensive than buying an Asrock J5005. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - XBMCWin - 2020-02-24 (2020-02-24, 08:47)fritsch Wrote: A cheap GPU is more expensive than buying an Asrock J5005. Thank you! So the easiest option would be to just buy the Asrock J5005 and a case? That would be future-proof? I'm anyway thinking about replacing the Old HW (it's loud and consumes a lot of energy). RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2020-02-24 Nothing is future proof! RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - XBMCWin - 2020-02-24 That's true. Let me ask you this way: getting it, installing 8 Gigs of RAM - will I be fine for 4K x265 and Dolby Atmos decoding / downsampling? That would be "future-proof" for me now. Also, some online reviews said that the EFI basically prevents installing any other OS on that device. Have you heard of this before or is there anything specific, I should keep in mind before buying it? Forget that, I should learn to read. Thanks again! |