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 - 2017-03-23 (2017-03-23, 17:20)BaGRoS Wrote: When I updated Python then still have 200 GB free space.https://github.com/pyca/cryptography/issues/3282 <- please use the forum search for Cryptography - it's an ubuntu bug and upgrading the package will fix it. Read through that: http://forum.kodi.tv/showthread.php?tid=304613&highlight=Cryptography RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 I nicely asked for sources and information to make use of these great things under arch linux, since there are only binaries for ubuntu but got no answer. Effectively this leaves me with "Use ubuntu or live without the features. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 There is no special things needed for arch linux at all. Just install kodi and use the provided systemd service to get it up and running. This is a howto for Ubuntu. Not a "Ubuntu is the only choice" howto. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 Yes, but to get it to run properly one needs the patched kernel, since the intel driver has a bug in the treatment of the video levels. Also changing the levels with xrand only affects the gui, not the played video. I suppose, this is where the patch comes into play. I am currently build a player to achieve correct colors using 3Dluts. Might it be, you just didn't see my posts above? RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 I think you did not read what the howto provides. We don't change kernels by default. All kernels manually to be installed are "mainline kernels" build for Ubuntu. If you are interested in my personal kernel patches: https://github.com/fritsch/linux/commits/4.6-master pick it, build it and be happy. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 Did nothing but reading for days. Post #2 actually says: "I want to use fritsch's home build kernel with the Video 16:235 mode and I understand what it does." That's me! ..although to fully understand it I am eager to try and see what actually happens to my output. I cannot find a mode where everything "falls into place" as I am used to. I have to fiddle around with brightness and contrast, something I never needed to. I have a JVC X3, so that is actually quite up to specs. Thx for the link, I will try it right away. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 Btw. a normal kernel should and will influence those values. My patch is not needed at all. I just verified with a out of the box 4.10.3 kernel without any patches. I also verified video. You know: Our VAAPI code in v17, with Render Output VAAPI prefered is totally X unaware. It transfers the surfaces via DRM / EGL. If the TV resets on mode change. Try without "Adjust Refreshrate" and see what happens. Also you did not provide any of the logs in the first post - so I cannot even say if your have a kernel with a known bug. To be more precise: "Full" and "Limited 16:235" are fully and 100% mainline. My patches don't change that, it just adds an additional mode to signal Limited Ranged (like the Limited 16:235), but does not scale / clamp color output. And something else: L inux gives you a choice. But it does not serve you stuff on the silver tablet. It was made for people digging into stuff and then use free to use open software the way they want it. It has nothing to do with the couch potatoe is running out of burgers and french fries - just to be clear here. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 Well, using linux for nearly 20 years, at work and at home, so I guess I am good to go.. So your patch signals "limited range" to my Projector, in case it might react faulty? Than I would not need the patch at all, since my projector can only be switched manually between "normal" and "extended" range. So as I exprected the video is directly rendered out, good to know. Does this mean, the behaviour I am seeing is "correct"? I am seeing a change in Kodis interface when using xrandr to change the video level, but there is absolutely no change in a playing video. Used a gray ramp to verify that. I was hoping your patch would change that. Strangely I was seing this behaviour with and without vaapi. Confirmed that using the codec information. SW or HW, no difference. Might have been late last night, so I will fire that up again and have a closer look. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BaGRoS - 2017-03-23 (2017-03-23, 20:25)fritsch Wrote:(2017-03-23, 17:20)BaGRoS Wrote: When I updated Python then still have 200 GB free space.https://github.com/pyca/cryptography/issues/3282 <- please use the forum search for Cryptography - it's an ubuntu bug and upgrading the package will fix it. Yes, I thank You In my post I wrote Quote: RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 No - the behaviour you are seeing is absolutely not correct. The RGB modes are applied after all the rendering has been done. Latest level in kernel, no influence from userspace on these. If you don't get a difference with SW playback then your projector might do "auto contrast" or something. And if you don't start posting logfiles I will simply ignore your posts. You highjack a VAAPI howto for Ubuntu thread and refuse the post the mandatory information. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 (2017-03-23, 21:43)BaGRoS Wrote:(2017-03-23, 20:25)fritsch Wrote:(2017-03-23, 17:20)BaGRoS Wrote: When I updated Python then still have 200 GB free space.https://github.com/pyca/cryptography/issues/3282 <- please use the forum search for Cryptography - it's an ubuntu bug and upgrading the package will fix it. No idea. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 Yep, absolutely no differenc when playing video. Difference clearly visible in the GUI. Playing a ramp of black levels 2-25 I can see all of them flashing when I turn up the brightness. Commands are: DISPLAY=:0 xrandr --output DP1 --set "Broadcast RGB" "Limited 16:235" DISPLAY=:0 xrandr --output DP1 --set "Broadcast RGB" "Full" DISPLAY=:0 xrandr --output DP1 --set "Broadcast RGB" "Limited 16:235" DISPLAY=:0 xrandr --output DP1 --set "Broadcast RGB" "Full" Lemme get the logs... yaourt -Ss mesa | grep installed | pastebinit http://pastebin.com/iqppdjYz DISPLAY=:0 vainfo | pastebinit libva info: VA-API version 0.39.4 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 http://pastebin.com/UzLFAvcJ ..ouch! - guess I might need that one? cat ~/.kodi/temp/kodi.log | pastebinit http://pastebin.com/8YHnD37M dmesg | pastebinit http://pastebin.com/GVAEMPhz id | pastebinit http://pastebin.com/354RdyWJ and since there is no amixer: jack_lsp -tcp | pastebinit http://pastebin.com/X8PbF8rP Will go and get me a bottle of wine now, I won't be long... RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-03-23 I exactly run the same versions you do. Same vaapi 1.7.3, same kernel, same xorg drivers. I have no explanation for your problem. Set your projector to Limited, Disable Adjust Refreshrate To match video. Set kodi to limited. Set xrandr to full. Make sure Prefer VAAPI Render Method is enabled. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - ((( atom ))) - 2017-03-23 Stupid me, just looked closer now, vainfo finds the library, so that looks ok to me.. RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - BaGRoS - 2017-03-23 (2017-03-23, 21:45)fritsch Wrote:(2017-03-23, 21:43)BaGRoS Wrote:(2017-03-23, 20:25)fritsch Wrote: https://github.com/pyca/cryptography/issues/3282 <- please use the forum search for Cryptography - it's an ubuntu bug and upgrading the package will fix it. I write that everything works. I did exactly the same thing with Python but the solution I found on another site. |