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 - icebaer - 2015-10-12 (2015-10-11, 18:12)fritsch Wrote:Installed the current 4.3-rc5. But the problem still exists.(2015-10-11, 14:29)icebaer Wrote: Hi there,See the kernel discussion. Install a 4.3-rc4 or the kernel 4.2 I provided. Refresh rates won't change, though set it to "on start/stop" Is there anyrhing else i can provide. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 Yes your kodi Debug Log as always :-) And DISPLAY=:0 /usr/lib/kodi/kodi-xrandr | pastebinit RE: New Era: VAAPI with EGL interoperation - icebaer - 2015-10-12 Log is linked in the above post. Since i changed "only" kernel without any visible change in behavior regarding this issue, i did not post a new log. But I will. When executing the DISPLAY command i get an error when calling it in a ssh session. What do i have to do to execute xrandr from ssh or within kodi session? RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 It's not a Debug Log ... and the dmesg is from the old kernel it's a one liner: DISPLAY=:0 /usr/lib/kodi/kodi-xrandr | pastebinit RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-12 Sorry for being a n00b, but I'm having trouble with that gpu dump. I can't seem to find the created txt file......... RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 After this: Code: cat /sys/class/drm/card0/error > ~/mypersonalgpuhang.txt It is in your home directory as mypersonalgpuhang.txt.bz2 - this one you can upload to the bugreport. Obviously you need to reproduce the crash one time, before you can capture this error state. RE: New Era: VAAPI with EGL interoperation - icebaer - 2015-10-12 Yes, no debug log no help. You're right ;o) Here we go.... hopefully.... kodi.log > http://paste.ubuntu.com/12765890/ mesa > http://paste.ubuntu.com/12765877/ dmesg > http://paste.ubuntu.com/12765892/ xrandr > http://paste.ubuntu.com/12765896/ Been playing two other files now. Both normally play fine in 24p. RE: New Era: VAAPI with EGL interoperation - lexi81 - 2015-10-12 (2015-10-12, 21:39)fritsch Wrote: After this: Thanks, just found it. Didn't think of looking in the storage folder. I reproduced before creating the dmesg log and gpu dump. #LearnedSomethingNew bugreport @freedesktop : https://bugs.freedesktop.org/show_bug.cgi?id=92441 RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-12 @IceBear: Please upgrade to tomorrow's kodi build - it fails to switch refreshrates in deed ... I run latest master and it works so I think it's already fixed after ppa will be rebuild. Edit: Quote:21:21:49 T:140464150071360 INFO: Output 'HDMI3' has 1 modes Something is wrong here ... Do you use it was I told it via the howto or do you start it from your desktop? I cannot see that exactly - if kodi is run from desktop, you need to add --standalone so that it allows refreshrate switching RE: New Era: VAAPI with EGL interoperation - Eisi2005 - 2015-10-13 @fritsch have you planed to build an isengard version with latest master ? I have the same problem like IceBear. RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-13 Not possible at all ... Isengard uses a fully different code path for refreshrate switching and such things ... this has not changed since several months. OE 6.0 will be broken on Braswell anyways - but this is as said a kernel issue. Edit: Post your Debug Log and show me "the same" issue and the other guy is running Ubuntu with Jarvis Alphas RE: New Era: VAAPI with EGL interoperation - icebaer - 2015-10-13 (2015-10-12, 21:52)fritsch Wrote:Only 1 mode indeed is not very muchQuote:21:21:49 T:140464150071360 INFO: Output 'HDMI3' has 1 modes Though xrandr shows me more valid modes. But i ran it in a XFCE-user-session, not an openbox-kodi session. Don't know if it makes any difference. Kodi will be started as described in the howto. With an openbox session and an autostart script like this Code: DISPLAY=:0 xrandr --output HDMI3 --set "Broadcast RGB" "Full" RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-13 Okay -> System -> Settings -> Video Hardware Output: Can you change refreshrate there? If not - check to see if you can change the "Display" in that config. I have seen heads added twice in there, but only one with multiple refreshrates. RE: New Era: VAAPI with EGL interoperation - icebaer - 2015-10-13 Gonna check that this evening. Because i had one learning this morning... connecting via VNC doesn't work, if no physical display is connected RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-10-13 (2015-10-13, 08:59)icebaer Wrote: Gonna check that this evening. This can be workarounded with drm_kms_helper and an initrd hack. I let that document in the old radeon oss thread. This in combination with forcing the Display to digitally on will make it work, even when booting without screen. There exists a nice OpenELEC howto in the OE wiki, also. |