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-11-05 No and the new drivers are not yet in the ppa. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 New mesa packages with advanced temporal deinterlacing (for saucy) are now in the wsnipex mesa ppa. Big thanks to wsnipex. RE: Radeon OSS with vdpau (howto) - biau - 2013-11-05 Ok so for people like me who experience audio drops with 24p what can we test? I upgrade to saucy or I try the kernel you've provided here http://forum.xbmc.org/showthread.php?tid=174854&pid=1540463#pid1540463 ? And if I upgrade to saucy which kernl do I use? RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 I updated the kernel on the start page (see history in second post), use that one - no matter if raring or saucy, it will work. The 24p issue is fixed with that one: https://github.com/fritsch/linux/commit/7c6feef46f4fa9085ad63bd8c80604222bbd4be3 which I have included. RE: Radeon OSS with vdpau (howto) - biau - 2013-11-05 Upgrade to saucy done but when xbmc start it use the entire cpu It looks like I have a problem with vdpau: biau@htpc:~$ DISPLAY=:0 vdpauinfo display: :0 screen: 0 Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory Error creating VDPAU device: 1 logs: http://paste.ubuntu.com/6363915/ dmesg http://paste.ubuntu.com/6363918/ xbmc http://paste.ubuntu.com/6363921/ xorg RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-11-05 (2013-11-05, 12:20)biau Wrote: Upgrade to saucy done but when xbmc start it use the entire cpu If this works: Code: DISPLAY=:0 VDPAU_DRIVER=r600 vdpauinfo Put this in the /etc/environment file: Code: VDPAU_DRIVER=r600 RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 Add the ppas again (both wsnipex mesa and wsnipex fernetmenta) do: sudo apt-get update && sudo apt-get dist-upgrade After raring to Saucy update Code: sudo apt-add-repository ppa:wsnipex/mesa RE: Radeon OSS with vdpau (howto) - biau - 2013-11-05 (2013-11-05, 12:30)gradinaruvasile Wrote:no more success with this command:(2013-11-05, 12:20)biau Wrote: Upgrade to saucy done but when xbmc start it use the entire cpu biau@htpc:~$ DISPLAY=:0 VDPAU_DRIVER=r600 vdpauinfo display: :0 screen: 0 Error creating VDPAU device: 23 (2013-11-05, 12:31)fritsch Wrote: Add the ppas again (both wsnipex mesa and wsnipex fernetmenta)Already done, same problem after (but I had to do that because apt-get dist-upgrade did not get the new version of the packages before I remove and re-add the ppa) RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 You are missing something: sudo apt-get install xserver-xorg-video-radeon xserver-xorg-video-ati currently only vesa seems to be loaded RE: Radeon OSS with vdpau (howto) - biau - 2013-11-05 (2013-11-05, 12:44)fritsch Wrote: You are missing something: Thanks, that was the problem, these two packages were no more installed after the dist-upgrade... I've found this in the log: Remove: xserver-xorg-video-all:amd64 (7.7+1ubuntu4), xserver-xorg-video-ati:amd64 (7.2.0+git1310021050.f1dc67~gd~r), xserver-xorg-video-intel:amd64 (2.99.904+git1310111708.e914da~gd~r), xserver-xorg-video-nouveau:amd64 (1.0.9+git1307310858.036423~gd~r), xserver-xorg-video-radeon:amd64 (7.2.0+git1310021050.f1dc67~gd~r) End-Date: 2013-11-05 10:43:43 RE: Radeon OSS with vdpau (howto) - Steve-o - 2013-11-05 Hi fritsch - one quick question: Is it safe already to use another sound sink than HDMI? I am using an USB DAC for audio output. If it might cause some issues, I would stay on the XVBA release a little longer. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 Nope - should work fine. Whipe pulseaudio if you have it. RE: Radeon OSS with vdpau (howto) - Steve-o - 2013-11-05 Ok, thanks a lot for your work! RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 Btw. perhaps to underline this: The xbmc builds are not in any way special. We have some patches more concerning the SDL drop, that is already done here, but still WIP on mainline. Audio / vdpau (despite some deinterlacing dropping logic) is exactly as is in mainline. The basic things of this howto are a) Get vdpau with mesa going (wsnipex mesa ppa) b) Upgrade kernel to get bitstream / audio and 24p playback That's it :-) RE: Radeon OSS with vdpau (howto) - biau - 2013-11-05 After 40 minutes playback in 24p, no sound drop, everything run perfectly. Thanks fritsch and wsnipex! |