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-14 Quote:If I also have the DVI connection to my monitor connected, no DTSHD or DolbyTrueHD, gets to the AVR. But all the other formats do passthrough. That's a bug. I have seen that on the bugtracker. It seems only one EDID / handshake is used. Could you disable the other monitor via xrandr? Does dts-hd magically start working then? Check that one: https://bugs.freedesktop.org/show_bug.cgi?id=72648 Concerning the 16..235 is not that easy, sadly - a bit read up here: http://forum.xbmc.org/showthread.php?tid=179163 Edit: Try overwriting the EDID for both monitors - see howto on how to do it for one monitor and make the same for the other Sound problem - alcyone4169 - 2013-12-14 Good Evening, I got a problem with my analog sound output. For the devices named in the xbmc-logfile, the sound with "Device 1" (HDMI) is clean, but when using the "Device 2" (ALC898 Analog) the sound shows some small drops and is not clean. As I do not want to use the HDMI sound all the time (TV shall be off while only hearing music) I need the analog output to be clean. First installed all according to the first page, now installed Kernel 3.13_RC3 from the ubuntu ressources. I unfortunately cannot find any difference regarding the sound issue. The same for removing "radeon.audio=1" from the grub command. Here are the logs: dmesg http://paste.ubuntu.com/6574000/ x-server http://paste.ubuntu.com/6574002/ xbmc http://paste.ubuntu.com/6574021/ vdpau http://paste.ubuntu.com/6574027/ dpkg -l http://paste.ubuntu.com/6574029/ "glxinfo | grep -i interop" does give an error: "Error: unable to open display" Did anyone find this strange sound errors as well? Mainboard is a http://www.asus.com/Motherboards/E2KM1IDELUXE/ Any idea what could be the problem? Thanks in advance! RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-14 Cannot see anything in the logs. Despite your analog device only has one samplerate, 48khz. and it's DISPLAY=:0 glxinfo |grep -i interop Edit: Not sure, what you mean with clean. If you use a heaphone jack, better use the onboard plug. Btw. this Analog Sound issue is not related in any form to that howto. Edit2: Make sure to disable eventually interfering Microphone ports. RE: Radeon OSS with vdpau (howto) - alcyone4169 - 2013-12-15 I had to switch off the "auto-mute mode" in the alsamixer to get rid of the sound drops. No everything is working very well. Thanks a lot for the idea with the "interfering ports" and for this very good howto! RE: Radeon OSS with vdpau (howto) - dubsides - 2013-12-15 just wanted to report that with 3.13.RC3, wsnipex test ppa; and fernetmenta, my mpegs no longer crash, YAY!!!! /Radeon 4550 /hadn't checked in a while so don't know what fixed it RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-15 The upstart script I posted in this howto has a big problem. Upstart does not read /etc/security/limits.conf and also limit nice -1 -1 it ignores cause of the way we start xbmc. The simplest solution I have found for now, is using slim login manager. If someone else has a better idea, please state. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-15 Puh, it was easier than I thought, thx to non existent documentation. Add limit nice 21 21 to your /etc/init/xbmc.conf directly under the respawn, so that it looks like: Code: # xbmc-upstart RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-15 (2013-11-30, 21:27)metheos Wrote: My ASUS E35M1-I DELUXE required different settings in advancedsettings.xml to get the cpu and gpu temperatures correctly. couple of things i found -- syntax: my sensors were found in reverse, so I had to change things around to read like this: Code: <gputempcommand>sensors|sed -ne '1h;1!H;${g;s/k10temp.*temp1: \+\([-+][0-9]\+\).*/\1 C/p}'</gputempcommand> you'll also notice the correction with \(+-) so that it will correctly display the temperature if it drops below 0 degrees celsius RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-15 Yeah - if my cpu temp would drop below 0 degrees ... RE: Radeon OSS with vdpau (howto) - metheos - 2013-12-16 (2013-12-02, 09:24)fritsch Wrote: @metheos: No clue. I don't see anything in the logs. Never seen something like this in that combination. I'm happy to report that I installed 3.13 rc3 and now my passthrough audio is working great for all supported formats. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-16 Nice - but still curious, as normally AC3 and DTS are really comfortable formats, that every milk bottle can play. Make sure to adjust the init script, that will care for Underruns. RE: Radeon OSS with vdpau (howto) - libgradev - 2013-12-16 (2013-12-15, 18:51)dubsides Wrote: just wanted to report that with 3.13.RC3, wsnipex test ppa; and fernetmenta, my mpegs no longer crash, YAY!!!! Were you actually getting GPU Lockups though? I've looked through your dmesg output on the bug report and it looked like a different issue... I'll try an updated stack later, regardless, see if it helps at all! XBMC with Radeon OSS using vdpau on debian - EricV - 2013-12-16 Here is a small recepice for debian. Over the week-end everything needed has been added. Its quite easys to get a working config on debian: 1) Install xserver-xorg-core from sid (1.14.5-1) 2) Install open source radeon driver from sid (7.2.0) 3) install mesa source from experimental (10.0.0.0-1) 4) Apply the following patch to enable gallium3d for mesa from bug <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656719> : <http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=220;filename=mesa_9.2.2-1.1.debdiff;att=1;bug=656719> 5) rebuild from source 6) take the 3.13.-rc4 kernel code and upgrade you favorite kernel 7) get xbmc source from fernetmenta git tree 8) configure with ./configure --enable-external-libraries --disable-external-ffmpeg --disable-vaapi --disable-crystalhd --enable-pulse. the disable-external-ffmpeg is needed for any ffmpeg version later than 2.1 (I opened a bug already but no fix yet. 2.0.2 is ok) EDITED: Note I use pulse because I still use analog audio amplifier and need to downmux anyway. If you want to use passtrough or ActiveAE, do not enable pulse. EDITED 2: Now the deb-multimedia package should work out of the box as the bug that was causing XBMC to misbehave with ffmpeg 2.1.1. has been fixed in ffmpeg git and deb-multimedia packages. Enjoy RE: Radeon OSS with vdpau (howto) - wsnipex - 2013-12-16 don't tell people to enable pulse when we always advise against that. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-16 Wsnipex is fully right here. We don't have a pulseaudio sink in xbmc yet. So choosing pulse here will a) disable ActiveAE b) disable passthrough completely. Futerhmore the pulse code was not tested nor futher developed (despite some song changing bugs I fixed 6 months ago). Edit: hacks with pavucontrol I don't consider as sane workarounds. |