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) - deadite66 - 2014-09-20 it's a kernel bug, if you add cma=0 to grub it will stop the error until they fix it. haven't had the problem on my xbmc machine but it did effect kde on my desktop. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-09-29 Something for speculating: http://www.phoronix.com/forums/showthread.php?107071-AMD-Is-Working-On-A-New-VA-API-State-Tracker-For-Gallium3D&p=443046#post443046 AMD is implementing VAAPI. RE: Radeon OSS with vdpau (howto) - danofun - 2014-09-29 I'm struggling to achieve proper HDMI audio and vdpau acceleration using the radeon oss driver. I've followed the tutorial on post #1, however, pcm sound is choppy, non-hd bitstreaming works properly but only when hardware acceleration is disabled, and hd bitstreaming does not work with or without the supplied EDID. My card is an XFX AMD 7770. Any help would be greatly appreciated! dmesg | pastebinit http://paste.ubuntu.com/8461379/ cat ~/.xbmc/temp/xbmc.log | pastebinit http://paste.ubuntu.com/8461380/ cat /var/log/Xorg.0.log | pastebinit http://paste.ubuntu.com/8461381/ DISPLAY=:0 vdpauinfo | pastebinit http://paste.ubuntu.com/8461382/ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/8461384/ RE: Radeon OSS with vdpau (howto) - pvautrin - 2014-09-30 (2014-09-29, 08:47)fritsch Wrote: Something for speculating: Could this eventually make kodi work with UVD2 HW which don't support vdpau gl interop? RE: Radeon OSS with vdpau (howto) - gfisher - 2014-09-30 @danofun You are likely affected by this bug I filed. Very little activity on this BR. https://bugs.freedesktop.org/show_bug.cgi?id=77677 Note- I have not tried kernel 3.16x, yet. Maybe it got fixed.. Dedicated 77xx cards dont seem to play well on oss and pure alsa. If you install pulse audio it should work for ac3 and dts5.1 core pass through thanks to fritsch's patches to pulse. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-09-30 @danofun: I could not see anything playing in the xbmc logfile. The rest looks okay. Also enable debugging, play some samples and then post the log. RE: Radeon OSS with vdpau (howto) - danofun - 2014-09-30 (2014-09-30, 05:43)gfisher Wrote: @danofun@gfisher: Thank you for your reply. I do seem to be affected by this same bug. I've upgraded my kernel to 3.16.3 and have not experienced any improvement. (2014-09-30, 08:12)fritsch Wrote: @danofun:@fritsch: I greatly appreciate you taking a look at the logs! The debug log is below. I played 4 files in this order: - .mp3 file that resulted in stuttering/choppy, barely discernible audio. - .mkv containing 6-channel DTS audio stream that was passed through properly and played fine. VDPAU disabled - same DTS .mkv as above resulted in no sound whatsoever. VDPAU enabled - .mkv containing 6-channel DTS-HD Master Audio stream that provided no sound but a flickering "DTS" on the receiver. VDPAU disabled http://paste.ubuntu.com/8465799/ RE: Radeon OSS with vdpau (howto) - florent - 2014-09-30 (2014-08-11, 19:34)bluezed Wrote: Thanks for the very quick reply! I had the same problem and I manage to fix it: to run properly the Radon Open Source driver after a previous installation of fglrx propriatary driver. What I did is: 1) remove the fglrx driver and install Open Souce one following : https://wiki.ubuntu.com/X/Troubleshooting/VideoDriverDetection#Problem:_Need_to_purge_-fglrx But I was still facing problem with Video tearing on XBMC. (No Harware acceleration and 180% of CPU usage in XBMC) I was stuck and read carrefuly the difference of between the "var/log/Xorg.0.log" file: Mine and those posted here. I noticed that the difference was : Code: LoadModule: "ati" So ATI Driver was not use.... and fglrx neither Code: LoadModule: "fglrx" None of the two drivers "fglrx" (because removed) nor "ATI" was taking into account by Xorg. The reason was probably "fglrx" not completly removed or "ATI" Radeon not completly installed. So I run a installation again Code: sudo apt-get install xserver-xorg-video-ati And the magic came! Now in my "var/log/Xorg.0.log" file: Code: [ 37959.948] (II) LoadModule: "fglrx" and on XBMC: no more Video Tearing and 5% CPU usage: Hardware acceraltion is working!!! RE: Radeon OSS with vdpau (howto) - fritsch - 2014-09-30 (2014-09-30, 15:00)danofun Wrote:(2014-09-30, 05:43)gfisher Wrote: @danofun@gfisher: I think you need to have a look at the bug gfisher pointed out. I lack deeper kernel knowledge to fix this issue. RE: Radeon OSS with vdpau (howto) - vmstek - 2014-10-04 Is it possible to to go back to Saucy/Gotham from Trusty/Kodi14? Are the files still available? I have an annoying buffer problems, causing hanging, since upgrading "CActiveAEStream::AddData - timeout waiting for buffer, paused: 0, cache time: 0.000000, free buffers: 0" And there seems to be no fix available. I used a completely clean install, partition wipe, etc. Everything was great with previous versions. After a reboot it runs fine, but use Seek or Chapter skip during playback, or scroll a menu, and the buffer warnings begin. There is plenty of memory available, but only another reboot will correct the problem once it starts. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-10-04 post your logfiles, please. RE: Radeon OSS with vdpau (howto) - vmstek - 2014-10-07 It actually took a couple of days this time to re-occur...I almost began to believe the hard boot fixed it. There are a lot of log entries as I tried to trigger it with seek and scroll actions. http://paste.ubuntu.com/8512267/ http://paste.ubuntu.com/8512272/ http://paste.ubuntu.com/8512276/ http://paste.ubuntu.com/8512300/ http://paste.ubuntu.com/8512282/ RE: Radeon OSS with vdpau (howto) - fritsch - 2014-10-07 Does this also happen with local files? Besides that: Quote:21:46:59 T:140440619742976 WARNING: (null) - one queue is stalled while other does not accept data this is not a good sign. Next week probably is more time -> file a bug on trac.xbmc.org and add me and FernetMenta. Don't expect a reply before next week. RE: Radeon OSS with vdpau (howto) - vmstek - 2014-10-07 (2014-10-07, 07:41)fritsch Wrote: Does this also happen with local files? Besides that: Yes. drv1 - 4 are local mounts and once it starts even low bitrate encodes are affected. RE: Radeon OSS with vdpau (howto) - FernetMenta - 2014-10-07 (2014-10-07, 07:41)fritsch Wrote: Does this also happen with local files? Besides that: trac is only for mainline versions |