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 - fritsch - 2015-09-27 I just tested turning off the TV completely and compared xrandr --verbose before and after the switch and after switching it on again. Full Range is kept. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-27 (2015-09-27, 18:56)fritsch Wrote: I just tested turning off the TV completely and compared xrandr --verbose before and after the switch and after switching it on again. Thanks Fritsch. I don't know what can it be then. I also see xrandr --verbose that after turning tv back it is still full range. But the picture in Kodi is bad. Please tell me what steps to do and which and when to get logs that you can see and check what is happening. RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-27 (2015-09-27, 16:54)fritsch Wrote: This is fixed in for example: http://fritsch.fruehberger.net/openelec/linux-headers-4.2.0-rc8vsyr1+_4.2.0-rc8vsyr1+-10.00.Custom_amd64.deb / http://fritsch.fruehberger.net/openelec/linux-image-4.2.0-rc8vsyr1+_4.2.0-rc8vsyr1+-10.00.Custom_amd64.deb which I am running on my BSW. Which linux-headers-all deb file to use with the two kernel files you linked? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 Upgrade the kernel as said. Then revisit. Then use your iphone and make a picture - so we can see. Furthermore provide DISPLAY=:0 xrandr --verbose | pastebinit Now continue with the kernel. Reboot, reproduce, come back. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 mkdir lala cd lala wget http://fritsch.fruehberger.net/openelec/linux-headers-4.2.0-rc8vsyr1+_4.2.0-rc8vsyr1+-10.00.Custom_amd64.deb wget http://fritsch.fruehberger.net/openelec/linux-image-4.2.0-rc8vsyr1+_4.2.0-rc8vsyr1+-10.00.Custom_amd64.deb sudo dpkg -i *4.2.0*deb If you end up without network, check /sys/class/net/ if the device name has changed and change it accordingly in /etc/network/interfaces .... as you run a server this should be peanuts for you. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-09-27 (2015-09-27, 19:04)fritsch Wrote: mkdir lala In my case after upgrading to this kernel my network device changed name from p1p1 to eth0. So probably best thing to do before reboot is to add additional lines to /etc/network/interfaces. And as nothing is wrong with multiple configurations best is to have options for both names. In my configuration it looks like this in /etc/network/interfaces: auto lo iface lo inet loopback auto p1p1 iface p1p1 inet dhcp auto eth0 iface eth0 inet dhcp RE: New Era: VAAPI with EGL interoperation - gurabli - 2015-09-27 (2015-09-27, 19:04)fritsch Wrote: mkdir lala It seams that the kernel you linked solved the problem. xrandr --verbose confirm it is RGB full. Kodi is set to Limited, and Dithering is turned ON (8), picture is excellent. It remains good even after turning off and turning on the tv. I need to compile drivers for the usb tv card again. I have a budget phone now, no sense to make pictures But will get my dslr and make few shots. I had to change the network interface indeed. I'm running a small home server, but I'm very n00b, learning a lot. Its a very simple one, but makes everything I need. Edit 2: One n00b question: I need to select this kernel at startup each time in advanced. How can I make this the default kernel? I solved this. EDIT: sorry, the log: http://paste.ubuntu.com/12593438/ and dmesg: http://paste.ubuntu.com/12593447/ RE: New Era: VAAPI with EGL interoperation - rome - 2015-09-27 Here is a video of my problem. After the flash cpu usage goes up. https://www.dropbox.com/s/nhbpad8wjo36pl1/20150927_140716.mp4?dl=0 RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 Post your Debug Log ... the video does not help :-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 What is this flashing up, btw.? Something your SKIN introduces? It does not happen with Confluence, right? Ah lol "flashing up" <- the little flash during playback ... yeah provide the Debug Log and also dmesg | pastebinit - I think it's the same issue Gundula had today .. we will see. RE: New Era: VAAPI with EGL interoperation - rome - 2015-09-27 here you go and yes it happens with confluence. kodi http://sprunge.us/MEBj dmesg http://sprunge.us/PiHc The refresh rate is changing to late. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 Those logs are _after_ it happened? I see absolutely nothing :-( RE: New Era: VAAPI with EGL interoperation - rome - 2015-09-27 yes they are after. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-09-27 Happens only with hdhomerun, right? Some errors in video stream: Quote:14:18:48 T:140005397755648 ERROR: ffmpeg[7F558BFFF700]: [mpeg2video] Invalid frame dimensions 0x0. If you disable VAAPI - all fine? RE: New Era: VAAPI with EGL interoperation - rome - 2015-09-27 If I disable vaapi its fine but the refresh rate doesn't switch, it stays at 29.97. EDIT: yes with hdhomerun, I can also reproduce with tvheadend. |