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 - 2014-03-22 ?? all packages are installed - what is missing? RE: Radeon OSS with vdpau (howto) - Cheddoleum - 2014-03-23 Followed the instructions to the letter, on an nfsroot system, it's looking great; except of course I get the "stop bug". One interesting thing: it does not crash on stop playback if any of the following are true: * Debug logging enabled (i.e. debug overlay displayed over video) * The info overlay displayed * I stop with the onscreen controls instead of simply hitting the stop button * I stop immediately after skipping or while paused, when the video position overlay is showing * Menus are displayed when I press stop In other words, it happens to me pretty consistently in unadorned fullscreen playback, but not at all if there's any kind of XBMC overlay on the video when I press stop. (I wonder if subtitles would have the same effect.) Pardon me if someone's already pointed this out, thought it might be a useful detail. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-03-23 That howto mesa packages _don_t have mesa 10.1 - so they don't have the stop bug. Are you sure you used saucy? RE: Radeon OSS with vdpau (howto) - unicron1980 - 2014-03-23 (2014-03-19, 20:49)unicron1980 Wrote:(2014-03-19, 09:08)FernetMenta Wrote: Most likely this issue: https://bugs.freedesktop.org/show_bug.cgi?id=71753 I did some more testing and 25fps and 29.97 are also not okay with OE4b2. 25fps is being decoded too fast and toggles between 25.02 and 25.05. The result is that the counter of missed frames is increasing, which seems logical as the vblank is running at 50Hz. 29.97fps interlaced is being decoded too slow, usually around 58fps, instead of 59.94fps. 23.976fps is decoded too slow, usually around 23.92/23.95, but sometimes also goes to the high 22's. This results in skipped frames. I verified with OE3 and there the decoded fps is spot on, giving respectively 25.00fps, 59.94fps and 23.98fps. In OE4 I tried all kind of combinations of hardware and software decoding, with and without the VDPAU mixer, but the results stay the same. I guess every framerate goes wrong and either is too slow, or too fast. Seems like the clock that is used for decoding in general on my fusion e-350 goes crazy. I had a look at the new radeon oss source code, but to be honest I have no idea where to begin. RE: Radeon OSS with vdpau (howto) - Cheddoleum - 2014-03-23 (2014-03-23, 21:00)fritsch Wrote: That howto mesa packages _don_t have mesa 10.1 - so they don't have the stop bug. Yes, with kernel 3.13.6-031306-generic (latest non-rc mainline). You're right, looks like 10.03 mesa libs, if I'm checking correctly. Different problem, perhaps? It's just as described: on stop playback xbmc crashes; no errors in the main xbmc logs. Enabling debug prevents it as I mention above, so a debug log isn't available. If you allow the video to end normally it doesn't crash xbmc. The crash log doesn't show anything very dramatic to the untrained eye, but it's here. RE: Radeon OSS with vdpau (howto) - talvins - 2014-03-23 Please, is anyone can tell me why I don't have libvdpau1 and linux-firmware from wsnipex when I have libg3dvl-mesa and libwayland-server0 from this depot (see http://pastebin.com/V4QMYTwa & http://pastebin.com/8hpGu1jA) Code: libvdpau1: Result is that I have 1,6fps on XBMC... (2014-03-22, 23:27)fritsch Wrote: ?? See above : it's not the good version I think and I have less than 2fps ! (works perfectly before with xvba version and catalyst drivers) RE: Radeon OSS with vdpau (howto) - fritsch - 2014-03-23 From your log, I see that you are not running as xbmc user - looks like wrong group membership, you also did not provide the logs the howto wants. And next time you want xvba - I take care, that you get xvba. RE: Radeon OSS with vdpau (howto) - talvins - 2014-03-24 (2014-03-23, 22:28)fritsch Wrote: From your log, I see that you are not running as xbmc user - looks like wrong group membership, you also did not provide the logs the howto wants. So, now I have a xbmc session as you want and here is all my log : dmesg -> http://pastebin.com/LnxD4rvT cat ~/.xbmc/temp/xbmc.log -> http://pastebin.com/FdTxk8HY cat /var/log/Xorg.0.log -> http://pastebin.com/MdLq2Z69 DISPLAY=:0 vdpauinfo -> Code: display: :0 screen: 0 And I still don't understand why apt does not take the linux-firmware from wsnipex depot. Thanks. RE: Radeon OSS with vdpau (howto) - adolchristin - 2014-03-24 (2014-03-22, 23:24)fritsch Wrote: Again: ckoenig is helping is to get the "stop bug" fixed: http://lists.freedesktop.org/archives/mesa-dev/2014-March/056384.html Great news, thanks for the update fritsch. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-03-24 (2014-03-24, 17:03)talvins Wrote:http://snapshots.openelec.tv - you did not stick to the howto at all, you did not add the relevant user and did not give it the right permissions. This howto assumes a basic linux knowledge. OE has everything out of the box and give an easier experience for you.(2014-03-23, 22:28)fritsch Wrote: From your log, I see that you are not running as xbmc user - looks like wrong group membership, you also did not provide the logs the howto wants. RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-03-24 I've been trying to switch my system from S/PDIF to HDMI for sound... setup reasons. I've not had the best luck with getting the sound to cooperate. The sound will start off playing correctly, then at any random time it will start to degrade, and get scratchy. I've searched the forum for this, and I've seen things about it. things to try (sync A/V, set to fixed 48.0, etc.) but nothing seems to correct this. I've also seen the issue about Upower, as you'll see in my log I get a few of those... but I did not see an answer to this solution. can someone help point me in the right direction? here's... Johnny! -- http://pastebin.com/VSjLPrmz oh! I can reproduce this error, without fail, when i play a music file, and set 'ProjectM' for visualization. that's how i was able to get the log. otherwise, when i play a video... i could go 5min - 30min before the distortion will show up. once it starts though, it will keep coming back quicker and quicker... make me think it's a buffering issue... RE: Radeon OSS with vdpau (howto) - tomtomme - 2014-03-24 from first post: Quote:- The same speed as with the fglrx implementation (currently awaiting rebuild - should be in 10.0.3 + patch) Sounds great, but I do not understand it What does "+ patch" mean here? Is this included in mesa 10.0.3 and/or 10.0.4 and/or 10.1 and/or 10.2 or just in an ubuntu ppa? If so, where can non-ubuntu users find this patch? and which "rebuild"? Of mesa or gotham and when will it be rebuild? sry if I am too impatient RE: Radeon OSS with vdpau (howto) - fritsch - 2014-03-24 It's all already in. We have everything, that we need, I forgot to update. wsnipex packaged it into the 10.0.3 mesa packages. See changelog: https://launchpadlibrarian.net/164830407/mesa_1%3A10.0.2~saucy_1%3A10.0.3-1~saucy.diff.gz RE: Radeon OSS with vdpau (howto) - talvins - 2014-03-24 How can you say that ? 1/ I have different linux distrib on my many PC. 2/ My first distro was a slackware 20 years ago 3/ I followed all the step (yes, I add xbmc, yes I add permissions and yes doing cut/paste !). The ONLY thing I do differently is to start xbmc with xsession, using only xbmc-standalone. Do you really, honestly, think that can be a problem ? RE: Radeon OSS with vdpau (howto) - fritsch - 2014-03-24 1/ 2/ does not really matter - as you have a problem that the other 7931 unique users don't have 3/ clearly says that you did not follow the howto. So what's your issue - I am no consultant to fix selfmade installation problems. |