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 - mattlach - 2015-10-11 (2015-10-11, 19:15)fritsch Wrote: Use team kodi ppa instead of fernetmenta. Pvr addons are packacked by wsnipex for this howto here, so they actually are compatible. Ahh. I didn't notice that. I installed Janbars PPA to install the kodi-pvr-mythtv-isengard package. I will try removing it, and testing what is in wsnipex PPA instead edit The kodi-pvr-mythtv plugin packaged by wsnipex works beautifully. Thanks for pointing that out. RE: New Era: VAAPI with EGL interoperation - BigL-New - 2015-10-11 (2015-10-11, 11:09)fritsch Wrote: I don't plan to provide patched kernels for ubuntu. As said - this thread is about testing VAAPI features - providing a kernel and keeping it up2date is a lot of maintainance. Those that don't use OpenELEC can do that easily byself - as the kernel patch was pushed on my github:In my case make-kpkg needs sudo. Anyway thanks for this - now i've 4.3-rc4 with pass-though :-) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-11 (2015-10-11, 19:41)BigL-New Wrote:Use fakeroot instead of sudo, please. I typed that out of head .... and forgot that.(2015-10-11, 11:09)fritsch Wrote: I don't plan to provide patched kernels for ubuntu. As said - this thread is about testing VAAPI features - providing a kernel and keeping it up2date is a lot of maintainance. Those that don't use OpenELEC can do that easily byself - as the kernel patch was pushed on my github:In my case make-kpkg needs sudo. Anyway thanks for this - now i've 4.3-rc4 with pass-though :-) RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-11 (2015-10-10, 10:47)fritsch Wrote: Limited Range just replaces the shader. It's even less it uses the same shader but with other coefficients. Temperatures seem fine. After a 2hr 1080p movie with ac3 decoded to pcm it runs at 75C. Not cool, but not too hot as well. The debug log I uploaded was right after boot, it runs at 60C then. Although I said I had it only happen with limited, it happens on full as well. Not sure how I managed to run a couple of days on full without any crash. It happens as easily as on limited now. It seems the guy fps is related, when running on 24hz it crashes all the time. Even before a frame of video has been displayed. Do you want another debug log? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-11 Jep - and as it crashes I also want the crashlog, please - should be in the home directory. Also dmesg | pastebinit directly after the "crash" would be good. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-11 (2015-10-11, 19:45)fritsch Wrote:(2015-10-11, 19:41)BigL-New Wrote:Use fakeroot instead of sudo, please. I typed that out of head .... and forgot that.(2015-10-11, 11:09)fritsch Wrote: I don't plan to provide patched kernels for ubuntu. As said - this thread is about testing VAAPI features - providing a kernel and keeping it up2date is a lot of maintainance. Those that don't use OpenELEC can do that easily byself - as the kernel patch was pushed on my github:In my case make-kpkg needs sudo. Anyway thanks for this - now i've 4.3-rc4 with pass-though :-) I updated the howto for rc5. If you already have build, do: git fetch origin git clean -xfd git checkout -b v4.3-rc5-passthrough origin/v4.3-rc5-passthrough And then continue with cp /boot/config-`uname -r` .config make oldconfig (Press return until finished) sudo apt-get install fakeroot kernel-package make-kpkg --append-to-version "-passthrough" -j4 --initrd linux-headers linux-image RE: New Era: VAAPI with EGL interoperation - jteeuw - 2015-10-12 (2015-10-11, 22:00)fritsch Wrote:(2015-10-11, 19:45)fritsch Wrote:(2015-10-11, 19:41)BigL-New Wrote: In my case make-kpkg needs sudo. Anyway thanks for this - now i've 4.3-rc4 with pass-though :-)Use fakeroot instead of sudo, please. I typed that out of head .... and forgot that. I have completed the above commands successfully, but when I run uname –r I get the following : root@htpc:~/linux# uname -r 4.3.0-040300rc4-generic RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 (2015-10-12, 15:11)jteeuw Wrote:After compiling you need to install the resulting .deb files from ../ with sudo dpkg -i(2015-10-11, 22:00)fritsch Wrote:(2015-10-11, 19:45)fritsch Wrote: Use fakeroot instead of sudo, please. I typed that out of head .... and forgot that. RE: New Era: VAAPI with EGL interoperation - jteeuw - 2015-10-12 (2015-10-12, 15:15)fritsch Wrote:(2015-10-12, 15:11)jteeuw Wrote:After compiling you need to install the resulting .deb files from ../ with sudo dpkg -i(2015-10-11, 22:00)fritsch Wrote: I updated the howto for rc5. If you already have build, do: Thanks! RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-12 @fritsch as you wished. dmesg: http://sprunge.us/ihRV debug log: http://sprunge.us/DVQY va-info: http://sprunge.us/JBTU RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 Quote:[ 67.327004] [drm] GPU HANG: ecode 6:0:0x00c2c0c6, in Vaapi-Output [600], reason: Ring hung, action: reset-> bugs.freedesktop.org and file a new bug under DRM/Intel RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-12 (2015-10-12, 20:07)fritsch Wrote:Quote:[ 67.327004] [drm] GPU HANG: ecode 6:0:0x00c2c0c6, in Vaapi-Output [600], reason: Ring hung, action: reset-> bugs.freedesktop.org and file a new bug under DRM/Intel Any specific info I need to tell them? The GPU crash dump is 0kb, anything I can do about that? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 [ 67.327019] [drm] GPU crash dump saved to /sys/class/drm/card0/error <- bzip this error and upload it to the bugreport, also include dmesg > mydmesg.txt RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-12 But a 0kb gpu crash file won't be of use would it? (sorry edited my previous post, after you replied without hitting F5) RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 cat /sys/class/drm/card0/error > ~/mypersonalgpuhang.txt bzip2 ~/mypersonalgpuhang.txt |