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-12-03 xorg.conf you can fixate the modes there with a simple xorg.conf -> but yet again I am not an Ubuntu help desk :-) That howto has totally nothing to do with Ubuntu Desktop ... it works the very same with a server based installation. It just adds modelines. Follow the howto from Post 1, install the kernel from drm-intel-nightly, use oibaf ppa on top and it will just work. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi Fritsch, appreciate your help and understood it's something wich is not supported here in this thread. I did what your recommended... Kernel DRM Nightly Code: wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.79.18_all.deb OIBAF REP Code: sudo add-apt-repository ppa:oibaf/graphics-drivers It installed Kernel and latest driver for Intel. I can now see latest MESA in KODI System information. However still no 50Hz :-( I will now try to mod the xorg.conf as mentioned above and asked in the Ubuntu Forum for help. If you have a link I would highly appreciate. I will post solution as soon as I got it solved. Again thanks for your support and help Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 Post me the modeline that you added manually I will give you an xorg.conf (also post your Xorg.0.log so that I see the output device). RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi Fritsch, thanks. So here is what did work on Ubuntu Desktop: Code: gtf 3850 2160 50 Output: Code: 3840x2160 @ 50.00 Hz (GTF) hsync: 111.10 kHz; pclk: 586.61 MHz Code: xrandr --newmode "3840x2160_50.00" 586.61 3840 4136 4560 5280 2160 2161 2164 2222 -HSync +Vsync Code: xrandr --addmode DP-1 3840x2160_50.00 And finally with Code: xrandr --output DP-1 --mode 3840x2160_50.00 it switched to the 50Hz. I did not find an xorg.conf in /etx/X11. Do I have to initiate that first? Thanks Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 it's in /var/log/Xorg.0.log ... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 Put that to /etc/X11/xorg.conf Quote:Section "Device" I still need your /var/log/Xorg.0.log file cause without that I don't know the name of your DP1 which is an assumption above. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi Fritsch, here is the log file you asked for: http://pastebin.com/LujJDL4V Quote:Put that to /etc/X11/xorg.conf There's no xorg.conf in that folder so I assume to create it, right? Thanks Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 yeah ... Make sure it's DP1 for you not DP-1 (I edited the above post). RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tutu - 2016-12-04 I recently updated and I've noticed the version has now bumped upto Kodi 18.0-ALPHA1 Git:xx. However I noticed it says Compiled: Nov 4 2012 How do I switch from nightly ppa to the kodi 17 stable? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 There is no stable yet ... but once it's there you remove the nightly ppa (ppa-purge) and add the stable ppa and reinstall kodi - done. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi Fritsch, it's working - thanks a lot. However I had to reinstall cause the experimental Intel Kernel did some nasty things :-) It's working with the Standard How-To from 1 Post and add your modified xorg.conf. The only problem I have now is that a 4K Video is not really watchable as CPU on both cores is climbing up to 100% :-) I guess the G3900 is just a little bit too weak for this. Thanks again you made my day :-) Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 I can't say without a Debug Log. Problems with Skylake is: 8bit HEVC works perfectly - but not HEVC-10 bit as it cannot decode them. Post me a mediainfo of that file please and also: DISPLAY=:0 xrandr -q | pastebinit RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi again, unfortunatelly I got another issue which stopped me from further testing. As soon as I switch the Audio to the HDMI/DP it disconnects and does not appear before rebooting the system. When I switch to 1080P I can easily switch to audio. I reinstalled the system, tested with 16.10 and 16.04. Upgraded to latest Intel Kernel and Updated Grafics but result is the same. So Maybe someone here can see an erron on the log files: I rebooted it started to 2160P (60Hz) and the I switched the Audio to DP-1. DISPLAY=:0 xrandr -q | pastebinit http://paste.ubuntu.com/23579588/ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/23579603/ 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/23579604/ cat ~/.kodi/temp/kodi.log | pastebinit http://paste.ubuntu.com/23579605/ dmesg | pastebinit http://paste.ubuntu.com/23579606/ id | pastebinit http://paste.ubuntu.com/23579607/ amixer | pastebinit http://paste.ubuntu.com/23579608/ Thanks Alex RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-12-04 Besides you run a too old kernel ... nothing. Please use LibreELEC (Milhouse) - your issue has zero to do with kodi but is an operating system issue. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - alex.ba - 2016-12-04 Hi Fritsch, ok thanks same with the actual Millhouse release of Libreelec. Maybe there's something wrong with the Mainboard. I will test another one and report back. On the other side with Windows it works... An in regards to Kernel I tested already latest Kernel (Intel Nightly) V4.9 and it had the same issue. Thanks Alex |