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) - sa1x - 2014-04-18 Have one problem with this guide: getting 100% cpu load, extream slow xbmc menu and xbmc is crashing when starting a video. Got an A4-3400 so cpu should not hit 100. Somehow I guess it has something to do with X not realy using the radeon oss. Happens with both offical beta ppa and wsnipex ppa - also tested the linux headers from fritsch. Xorg.0.log: http://paste.ubuntu.com/7274083/ Any idea? RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-18 Provide all the logs, the first post wants. RE: Radeon OSS with vdpau (howto) - sa1x - 2014-04-18 Oh sorry here the missing logs dmesg http://paste.ubuntu.com/7274335/ xbmc.log http://paste.ubuntu.com/7274336/ vdpauinfo http://paste.ubuntu.com/7274338/ dpkg http://paste.ubuntu.com/7274346/ RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-18 You don't have any Audio devices. Did you do the useradd command? Are you member of the audio group? What does id show? What does aplay -L show? RE: Radeon OSS with vdpau (howto) - sa1x - 2014-04-18 shit, fealing stupid now... i checked the history, guess the usermod command i copied got swallows by the adduser password promt... thanks for this realy fast help RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-18 Workaround for "I want to boot with my AVR and TV off" 1.) Boot with the TV AVR powered on, make sure everything is working 2.) Copy the currently in use EDID into a file 2a) Find out which device is connected Code: for f in /sys/class/drm/card*; do echo $f && cat $f/enabled; done Sample Output: Quote:/sys/class/drm/card0-DP-1 2b) copy firmware somewhere, make sure use the correctly connected head (in that case card0-HDMI-A-1) Code: sudo mkdir -p /lib/firmware/edid 3) edit /etc/default/grub and add to the existing GRUB_CMDLINE_LINUX_DEFAULT drm_kms_helper.edid_firmware=HDMI-A-1:edid/edid.bin Make sure to get the HDMI-A-1 string correct in both the forced enable and the workaround. Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi='!Windows 2012' drm_kms_helper.edid_firmware=HDMI-A-1:edid/edid.bin video=HDMI-A-1:e" RE: Radeon OSS with vdpau (howto) - pyrodex - 2014-04-18 (2014-04-18, 13:30)fritsch Wrote: Workaround for "I want to boot with my AVR and TV off" fritsch thanks for this little tidbit and I was curious if this could help me remove my HDMI Detective Plus from my configuration since I tend to leave the HTPCs on in idle and shut down the surrounding components. On my TV configuration which is merely a samsung into the HTPC I get video after a reboot of the HTPC with the TV off but when I power up the TV to use it I don't get audio. I tried rebooting the system with the TV on and the EDID in place but still get video and no audio. Any help or thoughts here? Logs below: dmesg: http://paste.ubuntu.com/7275899/ xbmc.log: http://paste.ubuntu.com/7275900/ Xorg.0.log: http://paste.ubuntu.com/7275901/ vdpauinfo: http://paste.ubuntu.com/7275902/ dpkg w/mesa: http://paste.ubuntu.com/7275903/ RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-18 Nope. No idea - works for me (with Samsung TV). Edit: Same issue on my second test system. So handle with care :-) RE: Radeon OSS with vdpau (howto) - pyrodex - 2014-04-18 Ironically after removing the EDID and keeping the HDMI straight to the HTPC it worked so far after multiple reboots with the TV being off. I am going to play with it for a few days and see what happens. Ideally it makes the configuration much easier so maybe worth it. RE: Radeon OSS with vdpau (howto) - deivid - 2014-04-18 (2014-04-18, 11:07)sa1x Wrote: Have one problem with this guide: getting 100% cpu load, extream slow xbmc menu and xbmc is crashing when starting a video. This happened to me when I had no libglamor0, try running Code: apt-get install libglamor0=0.6.0-0ubuntu4 Code: dpkg -l | grep vdpau RE: Radeon OSS with vdpau (howto) - dermute - 2014-04-19 Hello, my XBMC did run very well with Ubuntu 13.10. But I upgraded to 14.04 and it doesnt work anymore. I did all the steps of page 1 again. The xbmc menu ist just lagging as hell and starting a video ist not possible, because xbmc crashes. Can you please help me to solve this issue? I already delete my .xbmc folder, but this didnt helped. I've full load on both CPU cores triggered by xbmc too :/ dmesg http://paste.ubuntu.com/7283796/ xbmc.log http://paste.ubuntu.com/7283797/ Xorg.0.log http://paste.ubuntu.com/7283798/ vdpauinfo http://paste.ubuntu.com/7283805/ dpkg http://paste.ubuntu.com/7283808/ and additional xbmc_crashlog http://paste.ubuntu.com/7283813/ Thank you! RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-19 sudo apt-get install xserver-xorg-video-ati you did not purge wsnipex mesa prior to upgrading sudo ppa-purge ppa:wsnipex/mesa then reinstall this ppa to upgrade. Currently you are missing a correct gpu driver. RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-04-19 ppa-purge won't work after release-upgrade, as ppas get automatically disabled. try this: dpkg -l | grep saucy then uninstall any mesa related libs from the output above, then add my mesa ppa and install those libs again RE: Radeon OSS with vdpau (howto) - dermute - 2014-04-19 Aww thank you. Fritschs hint was enough My XBMC is up and running again, thank you RE: Radeon OSS with vdpau (howto) - deivid - 2014-04-19 My cpu usage went down from 10-15% to 3-5% when I went from saucy to trusty. Why? |