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) - valdi74 - 2013-10-05 Maybe it will help someone: my computer immediately freezes when I connect device (over HDMI) with no audio capabilities (projector for example) with "radeon.audio=1" option enabled. It's not big problem for me, because I have S/PDIF connection to the AV receiver. I think it is OSS radeon driver bug. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-05 Yes it is, cause of this the radeon.audio=1 is not default. Edit: I mentioned this in the howto, thx for reporting. RE: Radeon OSS with vdpau (howto) - noopiex - 2013-10-05 Unfortunately, still no sound after running xrandr. Is there any way of seeing if this had any effect? I see dmesg reporting the following right after hitting the command: Code: [ 266.369249] HDMI: ELD buf size is 0, force 128 Also disabling dpm didn't do anything, same for EXAPixmaps and even XAA acceleration. Obviously, putting "NoAccel" fixed things ;-) Complete dmesg after removing dpm=1: http://paste.ubuntu.com/6197292/ Xorg.conf: http://paste.ubuntu.com/6197269/ RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-05 you can see /var/log/Xorg.0.log Download: https://dl.dropboxusercontent.com/u/55728161/marantz.bin and save it to /lib/firmware/edid you have to create the /lib/firmware/edid directory. Make 100% sure, the file has exact 256 Byte, if not redownload it. afterwards write to /etc/default/grub: Code: GRUB_CMDLINE_LINUX_DEFAULT="drm_kms_helper.edid_firmware=HDMI-A-1:edid/marantz.bin radeon.audio=1 radeon.dpm=1 quiet splash" This will overwrite EDID and ELD info. Good luck. If you don't get it to work - file a bug on freedesktop, one for the audio and one for the video and locotomif can add his logfiles there, too. RE: Radeon OSS with vdpau (howto) - -DDD- - 2013-10-05 (2013-10-05, 15:43)fritsch Wrote: You have qualified for the next round :-) I think it's not bad for someone who doesn't see the 24p Bug RE: Radeon OSS with vdpau (howto) - noopiex - 2013-10-05 (2013-10-05, 19:20)fritsch Wrote: Good luck. If you don't get it to work - file a bug on freedesktop, one for the audio and one for the video and locotomif can add his logfiles there, too. Unfortunately nothing changed I will file the two bugs separately. Thanks! RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-10-06 I'll give it a try on Monday, and report back. glad to see that I'm not alone! let's make this driver work for everyone!!! RE: Radeon OSS with vdpau (howto) - acandido - 2013-10-06 Unexpected bonus of OSS: VNC actually works with XBMC running... fglrx always showed a black screen in XBMC but worked in openbox, etc. Not actually sure what piece of the puzzle caused this to work, but I'm glad nonetheless. RE: Radeon OSS with vdpau (howto) - jal301 - 2013-10-06 (2013-10-03, 10:52)fritsch Wrote: advancedsettings.xml in /home/xbmc/.xbmc/userdata/advancedsettings.xml should contain (don't create that file / directory as root - use the xbmc user): fritsch, first off - thank you very much for this tutorial. this is absolutely one of the best that i have ever seen - you are thorough beyond dreams. can you help with how to accomplish the above? i'm not quite sure to do it (aside from attempting from root which you explicitly say not to do). please advise. thank you! RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-10-06 okay, so i had some extra time, so here's something of interest... with this setup, i'm not getting an xorg.conf so i copied yours, @noopiex, and yes, setting "NoAccel" does work... but not a good option, as both CPU's are maxed out, and the menu is SUPER SLOW. thanks! @noopiex, can you give me some assistance in posting a log on freedesktop. way beyond my scope. ------------------------------------------ additional note: i'm running ATI Richland [Radeon HD 8470D] i don't see anywhere on the x.org site that says it's supporting Richland, at the moment... could this be an issue? http://www.x.org/wiki/radeon/ RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-06 @noopiex: Concerning the Audio, please also try: Code: sudo service xbmc stop @jal301: It is not reeally difficult, just start xbmc once. Then do: nano ~/.xbmc/userdata/advancedsettings.xml Paste in the content and save the file ctl-o followed by ctl-x RE: Radeon OSS with vdpau (howto) - noopie2 - 2013-10-06 @locomot1f Same here, I didn't have an xorg.conf to begin with either. I used fritsch's from page 266 in the XVBA thread as an example. As you saw, it does work, "NoAccel" does what it says ;-) I didn't file a bug for the flickering yet, because it seems others already filed it. Example: https://bugs.freedesktop.org/show_bug.cgi?id=60389 Steps to post a bug report: 1. Go to https://bugs.freedesktop.org/ and login or create a new account. 2. Now you can file a bug, this is the path I would select, but I could be wrong: Select "xorg", component "Drivers/Gallium/Radeonsi", version "git". 3. Describe the bug and include log files. I wonder, since we have the same flickering issue, does audio work for you? If so, what did you do to get it working? You could be right about HD 8xxx not being supported yet. It's not listed here either: http://xorg.freedesktop.org/wiki/RadeonFeature/ @fritsch: I will try that. RE: Radeon OSS with vdpau (howto) - noopiex - 2013-10-06 @fritsch: Speaker-test does work! So what could be wrong with xbmc? Why would aplay not work either? RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-06 Pretty easy, you have wrong sound settings in xbmc :-) make sure your ~/.xbmc/userdata/guisettings.xml contains: Code: <audiooutput> Especially passthroughdevice and audiodevice are relevant. And about the xrandr command for audio, you have to run it everytime _after_ your xserver is up. RE: Radeon OSS with vdpau (howto) - noopie2 - 2013-10-06 I inserted your "audiooutput" into the xml file, but I already had the correct audiodevice and passthroughdevice selected. Xrandr indeed needs to be hit every time. However, still no luck. Speaker-test works. XBMC doesn't. |