Linux Radeon OSS with vdpau (howto) - 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: Linux Radeon OSS with vdpau (howto) (/showthread.php?tid=174854) 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
|
RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-04 @locomotif: Do me a favor and _just_ read. The kernel in the start post is old - more than 4 weeks already. The patch for the artifacts is from today ... So it's obviously not included. I also linked the repository where you find which exact patch is applied with which kernel. So don't confuse others. When @fatalsaint has reported if the artifacts are fixed, I might pick it to a 3.12.1-image RE: Radeon OSS with vdpau (howto) - jaapp - 2013-12-05 (2013-12-04, 22:15)fritsch Wrote: @jaapp: Good catch, report this in the bugreport where it is coming from and provide some logs. I also have no luck for now with my Kabini and 3.13 - but no kernel faults detected. I will, as soon as I have some time (meaning: nobody is using the HTPC). I don't have a development environment to experiment on. RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-05 @fritsch, i'm really not trying to be a nuisance... since i'm still waiting for a fix to my other issue regarding 3.13, i'll just wait to see if you decide to update the 3.12 kernel @deadite66, thanks for the explanation. that makes a lot of sense. maybe when i have some time, i'll play with this a little more. starting to become more time consuming. RE: Radeon OSS with vdpau (howto) - fatalsaint - 2013-12-05 (2013-12-04, 21:34)locomot1f Wrote: i can't get you log files, cause I have no way Oddly enough I'm getting these errors now. I was using 3.13-rc1 and upgraded to 3.13rc2-1 that I patched with the artifact fix and am getting this. I am going to rebuild a previous kernel build with the patch and report back again... it takes my system a while to build a kernel . RE: Radeon OSS with vdpau (howto) - beschmid - 2013-12-05 I updated to 3.13rc2-1, verified I was using 3.13rc2-1, rebooted now will not complete boot cycle. Edit: getting same error as locomot1f reported "*ERROR* radeon: failed initializing UVD (-1)" RE: Radeon OSS with vdpau (howto) - fatalsaint - 2013-12-05 Ok, well, I get those UVD errors on both the 3.12-rc7 kernel and the 3.13rc2-1 kernel. With 3.12rc7 xbmc still starts up on boot just fine, but with 3.13rc2-1 it fails. I can manually restart xbmc and it comes up, which is strange.. in any case - on both kernels I still have the artifacts. AMD A6-6400k w/ Radeon 8470D mesa-git 10.0.1 ati-dri-git 10.0.1 libdrm-git 2.4.49-1 xf86-video-ati-git 20121110-1 Looks like someone already posted in the bug report that it doesn't work for them either. Guess we wait for another patch. I will now try and figure out why xbmc doesn't automatically start with the 3.13 kernel. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-05 Good - make sure to report all those into the bugreports where the patches come from. Thanks for testing. It's a rough time, but we are only at -rc2 now, that can be made working until .13 final, which is the plan :-) RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-12-05 If people are pulling xbmc packages from wsnipex/xbmc-fernetmenta-master be aware there is a bug with 2:13.0~git20131205.0500-ed7431b-0saucy which causes service addons to fail. I had to roll back after taking a package upgrade. Supposedly this is fixed in GIT but just needs to be recompiled on that repo. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-05 Oki, will be auto compiled tomorrow night. RE: Radeon OSS with vdpau (howto) - jaapp - 2013-12-05 fritsch, I'm trying to figure out based on your repo what commits where new in version 3.13-rc2 0.3 since 0.2. Is there some versioning logic going on I can use to find this out? The reason I'm looking for these commits is because I want to figure out what is causing the jerking so I can place a bug report. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-05 @jaap: Only the latest, this one: https://github.com/fritsch/linux/commit/a89d5351ee295035ffce5d7a354edbbdfbff31f7 RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-06 i copied over the HAWAII.bin drivers from here -- http://people.freedesktop.org/~agd5f/radeon_ucode/ seems like they have not made it to the linux-firmware update yet.... also, @fritsch, i complied my own kernel -- (2013-12-05, 04:48)fatalsaint Wrote: Ok, well, I get those UVD errors on both the 3.12-rc7 kernel and the 3.13rc2-1 kernel. With 3.12rc7 xbmc still starts up on boot just fine, but with 3.13rc2-1 it fails. I can manually restart xbmc and it comes up, which is strange.. in any case - on both kernels I still have the artifacts. this is what Alex D. has to say Quote:Make sure you have installed the latest rlc ucode for your chip and make sure you've updated the ucode in your initrd if you are using one. i asked him what this means, as i have no idea... any pointers RE: Radeon OSS with vdpau (howto) - vilnico - 2013-12-06 Hi, first - thanks Fritsch for this, it is really appreciated. Second - I installed according to your instructions, and all worked well, except the shutdown (and I did make sure that I removed the extra characters in that script). Today I did 2 things: - install the HomeRow web interface - sudo apt-get update && apt-get dist-upgrade Now xbmc starts but there is a high idle CPU usage (33% on both CPUs) and it's at 16fps or less if I go to debugging mode (7-10fps). Resolution is at 1024x768, I think it was higher before. If I try and play a video, it crashes or goes back to the home screen. Just navigating the menus bring both CPUs to 100% I did update to the latest kernel (Linux nano 3.13.0-rc2+ #1 SMP Wed Dec 4 17:31:18 CET 2013 x86_64 x86_64 x86_64 GNU/Linux) Let me know if I need to provide more info. Any suggestions as how to solve this? dmesg: http://paste.ubuntu.com/6527448/ xbmc.log: http://paste.ubuntu.com/6527449/ Xorg.0.log: http://paste.ubuntu.com/6527450/ vdpau info: here I'm now getting an error whereas I wasn't getting one before: xbmc@nano:~$ DISPLAY=:0 vdpauinfo | pastebinit Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory Error creating VDPAU device: 1 http://paste.ubuntu.com/6527451/ I did see in a previous post that it may be a sign of missing a few things, I typed: sudo apt-get install xserver-xorg-video-radeon xserver-xorg-video-ati but that was already installed. dpkg -l |grep mesa : http://paste.ubuntu.com/6527456/ RE: Radeon OSS with vdpau (howto) - fatalsaint - 2013-12-06 (2013-12-06, 00:30)locomot1f Wrote: this is what Alex D. has to say The Radeon ucode's are provided, I believe, by linux-firmware. I did install linux-firmware-git to try it out, to update the radeon firmware, but I still get the UVD errors. RE: Radeon OSS with vdpau (howto) - wsnipex - 2013-12-06 @vilnico: you installation is totally broken, start over with a clean install according to the howto |