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 Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-06-25 You said, that you used the "manual" in the first post - what's broken with this systemd file? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - paaja - 2019-07-31 Just quick info. If some of you have problems with freezing screen while playing videos using AMD Athlon 200GE (or any other Raven Ridge with Vega graphics), you can try kernel and firmware binaries from github M-Bab linux-kernel-amdgpu-binaries that helped me to get rid of this freezing, accompanied with kernel message "amdgpu *ERROR* ring gfx timeout". Even though I was using Ubuntu 18.04 with mainline kernel 5.1.20 with unstable Padoka PPA mesa drivers 19.2, the issue was still there :-(. I tried newest mainline kernel 5.2.x but I couldn't boot with it. Then I tried compiled M-Bab's DEBs with kernel 5.2.x and it saved me a lot of pain :-). You can try it if you have similar problems. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hlloyge - 2019-08-01 Hello! I have Asrock Q1900-ITX motherboard, with 4 GB RAM and 3 x 2 TB HDD and I've put new SSD in, decided that I'm gonna install server 18.04.2, by these instructions. Everything, from installation to final reboot, worked without hiccups. But I get freezes, as I see, randomly. I was just listening to music, and it froze. Before that, I was copying music from older drive to newer, through the File Manager in Kodi, froze after about 30-45 minutes. Drives have been checked, SMART OK, scan shows no bad sectors. Everything stops. I can't SSH to machine, Kore disconnects and tries to reconnect. Picture is frozen, there is no sound. Here are logs, can you see anything there? dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/p/GYsPQkS5Rj/ DISPLAY=:0 vainfo | pastebinit http://paste.ubuntu.com/p/PpqgJs87yx/ id | pastebinit http://paste.ubuntu.com/p/8Sr776brhs/ amixer | pastebinit http://paste.ubuntu.com/p/pnFxHxgNp5/ Manually added, pastebinit didn't work: Xorg https://pastebin.com/RH0jBitj Kodi Old Log (after reboot) https://pastebin.com/SUGCW6pm Kodi log https://pastebin.com/RNcGYsWP RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-08-01 Sadly old known bug: - Disable all the C-States (Alt 1) - Get a newer uptodate kernel (Alt 2) More information: https://bugzilla.kernel.org/show_bug.cgi?id=109051 Apply this manually to 5.3: https://cgit.freedesktop.org/drm-intel/commit/?id=a75d035fedbdecf83f86767aa2e4d05c8c4ffd95 <- seems the best fix I have seen for now, though Alt 1 also works, if you don't care about power consumption. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - asavah - 2019-08-01 (2019-08-01, 20:32)hlloyge Wrote: Hello! Welcome to the wonderful world of Bayfail https://bugzilla.kernel.org/show_bug.cgi?id=109051 TLDR: Not a Kodi problem, your cpu is crap. Thank Intel. Some patches or workarounds from the lengthy link above may help. This has been known for 3 and a half years now, still not fixed. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-08-01 Don't be so pesimistic, they still work on it - see the patch I posted, that's just a very few days old. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hlloyge - 2019-08-01 (2019-08-01, 21:28)fritsch Wrote: Sadly old known bug:I will try to disable C states, but this has to do something with onboard video card; as I said, I had Kodibuntu until now, and it has been working (almost) flawlessly, only I can't use Kodi 18 with it. Here and there video would freeze, but that was, like 3 times a year. Audio would sometimes go buzzing for every GUI click, also, few times a year. I can live with that. This has frozen, like, 10 times in two hours. I've exited Kodi application and dropped to CLI to copy my audio archive from old to new disk which I've installed into computer, and that has been runing 4 hours of estimated 11. So it's either graphic driver's fault, or Kodi as an app. Considering that same app is working on nVidia and ATI cards, drivers. Tomorrow I will try that C1 state, my knowledge isn't good enough to apply patches. I hope it won't raise CPU temp too high. Would something like this help? Zotac GeForce GT 710 1GB PCIE x 1 It can be found cheaply. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-08-02 No. Not all. Add the max cstate and see. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Schenckmeier - 2019-08-03 Hi hlloyge, i made the same experience with this Q1900 board. Put this line in your /etc/default/grub: Code: GRUB_CMDLINE_LINUX_DEFAULT="splash quiet intel_pstate=disable intel_idle.max_cstate=1" don't forget a "update-grub" RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hlloyge - 2019-08-03 (2019-08-03, 16:04)Schenckmeier Wrote: Hi hlloyge,OK. I've added only that max_cstate thingie, and it works well. I was afraid that speedstep won't work, but it works. No freezing in last 48 hours, box is constantly turned on, I've been checking temperatures, everything looks normal... for now. What does that pstate thingie do? Disables speedstep? RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-08-04 It disables internal power states. So, yes it will use more power. Speedstep will, as you see, work properly. If you can, build the above patch. I can do that for you if you need that. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - fritsch - 2019-08-04 For the BYT: http://fritsch.fruehberger.net/kernel/bytfix-5.2/ Download both files in one directory and install them in one go via: Code: sudo dpkg -i linux-image-5.2.1-byt1+_5.2.1-byt1+-10.00.Custom_amd64.deb linux-headers-5.2.1-byt1+_5.2.1-byt1+-10.00.Custom_amd64.deb RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - hlloyge - 2019-08-06 (2019-08-04, 07:49)fritsch Wrote: It disables internal power states. So, yes it will use more power. Speedstep will, as you see, work properly.Thank you very much, but I will wait for official release. It works this way for me, the box doesn't consume much electricity as it is, CPU temperatures are normal, I don't use sleep or standby modes (it is always turned on) anyways. You've been most helpful. Thank you. Now, if anyone knows how to make boot screen logos, to cover the boot process logs, I would be grateful. I've found some in this thread, but it is for older version of Ubuntu, I have 18.04.2, latest LTS. Working lirc with mce remote - fr1day - 2019-08-10 Excellent walkthrough, thank you very much, it worked perfectly for me. The only difficulty I had was getting my mce IR remote to work afterwards and couldn't find the right answer with a search so leaving this here to help others. lirc is not installed by default with kodi on ubuntu server 18.04, so install it with the following. Code: sudo apt-get install lirc lirc-compat-remotes Once lirc is installed, each keypress on the remote caused multiple repeated actions in kodi. For example, pressing KEY_DOWN once on the remote in the main menu would quickly scroll through every item until it reached the bottom. To fix this, the lircd-uinput service needs to be stopped and disabled to prevent it from starting again at boot. Code: sudo systemctl stop lircd-uinput.service The official kodi wiki also recommends disabling lircd.socket as kodi should create its own socket, but this wasn't a problem for me so I left it. When trying to get this to work, I found that installing ir-keytable seemed to cause a conflict and I could only get things working correctly with it removed. RE: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - tutu - 2020-01-07 I've upgraded to 19.10 (eoan). I removed kodi and re-added the nightly ppa. (otherwise instructions followed above as before). sudo apt-get install kodi The following packages have unmet dependencies. kodi : Depends: kodi-x11 (< 2:19.0+git20200107.0307-e9806a39ab-0eoan.1~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. cat team-xbmc-ubuntu-xbmc-nightly-eoan.list deb http://ppa.launchpad.net/team-xbmc/xbmc-nightly/ubuntu eoan main Any ideas on how to fix please? It works if I install the disco version.. workaround for now I guess. Update: installed stable version without issue on eoan for now. |