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-01-13 Most likely not. If you want it persistent, check the global config files. Google will help you :-) PS: I don't know better, I learned PA one day prior to writing the Sink. RE: Radeon OSS with vdpau (howto) - uuzi - 2014-01-13 i'm trying to find out about making these settings persistent in the pulseaudio and xbmc irc channels, could not find anything about it in the manpages it really is a weird one, every command that can be used with pactl seems to have it's implementation in pacmd and therefore is in the pa-cli-syntax and can be used in the config files. just the set-sink-formats command does not seem to have a command in pacmd EDIT: i now use a workaround and call a sh script via the upstart service which first calls pactl and sets the parameters and then starts xbmc. works for now. RE: Radeon OSS with vdpau (howto) - uuzi - 2014-01-13 and once again i'm running into problems. I built xbmc with pulse enabled but now I can't seem to enable live tv. whenever I enable TV in xbmc's settings xbmc crashes. xbmc's log shows: Code: 21:58:27 T:139969066665728 NOTICE: PVRManager - starting up i first thought it had something to do with there not being any pvr addons installed, so I installed them via PPA. same problem. then i compiled xbmc-pvr-addons but that just gives me "addon dependancies not met" when i try to install them from zip in xbmc. i also tried compiling xbmc with --enable-pvr but everything results in the same problem. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-13 Not related to this howto. Use the packages this howto provide, all pvr addons are available for easy installation via apt-get. Wsnipex has picked up the --enable-pulse flag, so no need to build one your own anymore. RE: Radeon OSS with vdpau (howto) - doctor64 - 2014-01-13 (2014-01-13, 23:07)uuzi Wrote: I built xbmc with pulse enabled but now I can't seem to enable live tv. whenever I enable TV in xbmc's settings xbmc crashes. Try to disable VDPAU in xbmc settings. It help for me. I already open bug against MESA ( https://bugs.freedesktop.org/show_bug.cgi?id=73480 ) EDIT: sorry, i think you have problem with mpeg2 playback, not with just pvr enable. Should note what at least Mediaportal and PVR backends from PPA working. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-13 @doctor64: Read again. He cannot enable the PVR Manager, cause it freezes when doing so. This happens when no pvr addon is installed and is an xbmc bug. heads up for audio passthrough - arkadi - 2014-01-14 First of all, thank you very much for the audio passthrough DTS MA and Dolby TrueHD, as well as FLAC 5.1, now work nicely, feeding an Onkyo TX-NR5009. Video decoding still has limits, as mentioned. From a couple of 40Mb/s files with MPEG-2 video (with 422 yuv), only one or two plays. CPU usage goes up to 120% (this a dual-core A6-5400K). AMD A6-5400K - Asrock FM2A75 PRO4-M - 8GB DDR3-1866 xubuntu 13.10 - 3.13-rc8 RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2014-01-14 You have that kind of cpu usage with vdpau activated? RE: Radeon OSS with vdpau (howto) - libgradev - 2014-01-14 MPEG-2: Still busted with my card (HD6950) - this is with 3.13-rc8 and Mesa git pulled 12/01. I get a hardlock with a white screen now - x264 content still fine. I will attempt to get some useful debugging output and update the bug tracker asap! @doctor64: check https://bugs.freedesktop.org/show_bug.cgi?id=71796 RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-14 (2014-01-14, 11:29)arkadi Wrote: First of all, thank you very much for the audio passthrough Those limitation I mentioned on the first page. We still have a huge performance issue there, yes. I miss approx 33% speed in the OSS vdpau. For your concrente videos, please open Bugs at bugs.freedesktop.org. RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2014-01-14 Do you have some clip somewhere that crashes for you and i could download? I have some hd mpeg2 samples but those work with my card with vdpau and i get no crashes/lockups. Its true, the biggest one uses ~75% CPU - its a clip with 70 Mb/s stream taken from here (big buck bunny, first segment): http://www.w6rz.net/ All of the other few i downloaded worked with low cpu usage. I have a Radeon HD 8570D - thats the IGP in the A8-6500 APU - in fact its a (twice) modified 6xxx series model, uses the same r600 driver and i compiled mesa, kernel, xf86-ati from git (yesterday i think). RE: Radeon OSS with vdpau (howto) - gangkill13 - 2014-01-14 First of all, thanks for this howto. xbmc works like a charm except the audio. I've got a amd e350. I wanted to reinstall linux + xbmc so i followed this howto step by step. The problem is that the audio lags about 1.5 seconds behind in the video's. It doesn't matter what the source is. I tried various options but i can't find a solution. The TV isn't the problem because my other partition works normally. I hope someone could help me. Here are my debug messages: dmesg: http://paste.ubuntu.com/6749964/ xbmc.log: http://paste.ubuntu.com/6750405/ Xorg.0.log: http://paste.ubuntu.com/6750241/ dpkg -l |grep mesa: http://paste.ubuntu.com/6750301/ RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-14 (2014-01-14, 15:03)gradinaruvasile Wrote: Do you have some clip somewhere that crashes for you and i could download? I have some hd mpeg2 samples but those work with my card with vdpau and i get no crashes/lockups. Its true, the biggest one uses ~75% CPU - its a clip with 70 Mb/s stream taken from here (big buck bunny, first segment): Guys you clearly all know, that the performance of the UVD decoder is not yet ready. It's quite clear that such files - nowhere on a real bluray image - make such problems. Please let's concentrate on the basics, which is: mpeg-2 needs to be solved. We can start the digsize benchmark war when everything is done :-) RE: Radeon OSS with vdpau (howto) - fritsch - 2014-01-14 (2014-01-14, 15:19)gangkill13 Wrote: First of all, thanks for this howto. xbmc works like a charm except the audio. 13:55:58 T:140567694534400 NOTICE: fps: 23.976024, pwidth: 1280, pheight: 688, dwidth: 1280, dheight: 688 13:55:58 T:140567694534400 NOTICE: Display resolution ADJUST : 1920x1080@ 30.00 - Full Screen (16) (weight: 0.251) Post: DISPLAY=:0 /usr/lib/xbmc/Xbmc-xrandr | pastebinit It seems you are running 1080i resolution and should rather switch to 720p RE: Radeon OSS with vdpau (howto) - arkadi - 2014-01-14 (2014-01-14, 12:12)gradinaruvasile Wrote: You have that kind of cpu usage with vdpau activated? Yes, for the MPEG-2 422 files, all around 120% XBMC-CPU. H.264 (bluray and HDTV captures) are fine with around 10% CPU. Roman |