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 - djnice - 2016-05-11 Sorry, this is the full log: link I will try the OpenELEC. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 (2016-05-11, 07:02)fritsch Wrote: Verify with OpenELEC as suggested above to minimize user error. I tried with your OpenELEC, and the result is similar to Kodi nightly: OpenELEC full range: link OpenELEC limited range: link Settings: VAAPI, no dithering. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-12 And now turn off vaapi please. What happens? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 (2016-05-12, 08:14)fritsch Wrote: And now turn off vaapi please. What happens? And enable VDPAU or only software decoder? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 I tried with both settings: Kodi nightly software decoder: link Kodi nightly VDPAU: link And yes, the details are fine, only VAAPI softens the picture. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-12 (2016-05-12, 08:54)djnice Wrote: I tried with both settings: Cool. Please apt get install mpv and play it with that player with -vo vaapi Parameter. Paste the terminal output please, same issue? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 Not working... djnice@ubuntu:~$ mpv -vo vaapi /media/usb/01560.m2ts Playing: /media/usb/01560.m2ts (+) Video --vid=1 (h264) (+) Audio --aid=1 (dts) [vo/vaapi/x11] couldn't open the X11 display ()! Error opening/initializing the selected video_out (-vo) device. Video: no video ALSA lib pcm_dmix.c:1029snd_pcm_dmix_open) unable to open slave [ao/alsa] Playback open error: No such file or directory [ao/oss] Can't open audio device /dev/dsp: No such file or directory Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for 4294967295, skipping unlock [ao/jack] cannot open server couldn't open play stream: No such file or directory [ao/sndio] can't open sndio default [ao] Failed to initialize audio driver 'sndio' Could not open/initialize audio device -> no sound. Audio: no audio Exiting... (Errors when loading file) RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-12 Are you sure, that you start that from a running desktop with the user logged in? The procedure is as follows: a) Find out, that other players that use VAAPI decoding are also affected xor are not affected. b) If all players you tested are affected, file a bug with the VAAPI people on bugs.freedesktop.org where you provide the screenshot comparison. They then will ask you to test with gstreamer. If you followed my howto in post 1 - the user is "kodi" and it has to be in the video / audio group. if you cannot connect to the X display then you have configuration issue on top. Edit: And something else to care for irritated users: VDPAU obviously works cause it won't open on intel gpus and kodi falls back to SW - so VDPAU is the same as SW decoding on intel vaapi hardware. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 I'm not a linux expert, but I followed the guide from first post, I tried with superuser, but the error is same. I'm sad because we could not solve the problem, and I will sell the hdmi capture device tomorrow. I hope, somebody will improve the VAAPI picture quality, because so linux htpc not an option in quality... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-12 As your user is NOT kodi you did not follow the howto from post 1 ... Also: Post the sample (in that format it is now) you are using for testing somewhere, please. If it is too large, use dd to cut out a 50 MB part, e.g. Code: dd if=yourmovie.mkv of=50mbsample.mkv bs=1M count=50 You can retry to use mpv with: Code: mpv --hwdec=vaapi yoursample.mkv There are plenty other things to test ... like disabling VAAPI Output in Video-> Acceleration So please also try: Video -> Acceleration: Prefer VAAPI output disabled RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 The Video -> Acceleration: Prefer VAAPI output disabled is solved the problem! link RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-12 Thank you very much! This let's us investigate the issue. So it's not a decoder issue, but a rendering issue. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-12 Thank you! This is the sample file: link RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - djnice - 2016-05-17 (2016-05-12, 10:59)fritsch Wrote: Thank you very much! This let's us investigate the issue. So it's not a decoder issue, but a rendering issue. When is it expected to improve this issue? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-17 Next year - currently moving, not working on kodi at all. |