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) - feersum - 2013-11-05 I have been using XBMC for 3 years or so to playback mythtv recordings from an HDPVR on an E350 - going from mythbox and mythtv 0.23 to PVR addon and 0.26 - previously using the fglrx driver At the time the only recordings that played well were 720/60p (I remember interlaced didnt work at all) so I set the cable boxes to output 720/60p These seemed to playback fine - and according the on-screen video diagnostics I seem to remember being close the 60 refresh rate Ive just updated to the OSS driver as described here and noted comments about 36 fps limit - even though the qvdpautest indicates an H264 decoding rate above 60 - and the diagnostics show Im getting around 40-50 - but obviously many frames are being skipped which I think I can detect visually compared to fglrx (although less CPU is being used) Just wondering what the issue is with the fps limit and what would be needed to up the speed to 60 or if its ever going to be at all possible to run at 60 with oss driver Thanks for any information RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-05 Decoding 720p60 is near the limit of current E350 performance with oss vdpau drivers. Additionally you need to upscaled (bilinear or even lanczos) which costs some other cycles. Tell your cabel box to put out 1080i50 and do the deinterlacing yourself with the new temporal algorithm and save yourself the upscaling. The AMD devs are aware of this 33% performance miss - but all good ideas until now did not come to a solution sadly. Never the less - feature wise OSS vdpau can do far more than fglrx could ever do (Codec wise and concerning deinterlacing). RE: Radeon OSS with vdpau (howto) - beschmid - 2013-11-06 @fritsch - the command #sudo do-release-upgrade is gives me the info below, any ideas? An unresolvable problem occurred while calculating the upgrade. This can be caused by: * Upgrading to a pre-release version of Ubuntu * Running the current pre-release version of Ubuntu * Unofficial software packages not provided by Ubuntu If none of this applies, then please report this bug using the command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. Restoring original system state Aborting Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done RE: Radeon OSS with vdpau (howto) - handleunknown - 2013-11-06 So for the kernel I see in the 'readme' that there was specific patches added, what are these patches and will they be necessary for the official release for 3.12? Also last question to confirm, stock XBMC will run fine? w/o SDL preferablly RE: Radeon OSS with vdpau (howto) - feersum - 2013-11-06 (2013-11-05, 22:54)fritsch Wrote: Decoding 720p60 is near the limit of current E350 performance with oss vdpau drivers. Additionally you need to upscaled (bilinear or even lanczos) which costs some other cycles. thanks very much for the quick update - should have said was previously using your great xvba updates (self compiling from github) prior to oss upgrade RE: Radeon OSS with vdpau (howto) - gfisher - 2013-11-06 @fritsch i tried unstable nightly https://launchpad.net/~team-xbmc/+archive/unstable and it works! no crazy menus like wsnipex/fernet menta. to remove xbmc i only removed bin. not autoremove. Code: sudo apt-get remove xbmc xbmc-bin thanks G RE: Radeon OSS with vdpau (howto) - nitroboost - 2013-11-06 (2013-11-06, 01:07)beschmid Wrote: @fritsch - the command #sudo do-release-upgrade is gives me the info below, any ideas? grep Broken /var/log/dist-upgrade/apt.log This is likely because of the xorg video drivers. You should be fine removing the ones it's complaining about, running the upgrade, then running the post install commands fritsch has provided, but toss xserver-xorg-video-all onto the install list. Make sure to do this all before rebooting, and you should be in business. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-06 (2013-11-06, 05:04)gfisher Wrote: @fritsch i tried unstable nightly https://launchpad.net/~team-xbmc/+archive/unstable and it works! It is buggy and crashsome? I rather think something with your drivers is broken. Running it since more than three days with my primary usecase livetv (1080i50, 576i). And remember: Every crash has a crashlog. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-06 (2013-11-06, 02:13)handleunknown Wrote: So for the kernel I see in the 'readme' that there was specific patches added, what are these patches and will they be necessary for the official release for 3.12? Also last question to confirm, stock XBMC will run fine? w/o SDL preferablly Read again I linked you to my kernel github (kernel patches). Mainline v13 since > Alpha 9 will work fine. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-06 (2013-11-06, 08:11)nitroboost Wrote:(2013-11-06, 01:07)beschmid Wrote: @fritsch - the command #sudo do-release-upgrade is gives me the info below, any ideas? Use sudo apt-get install ppa-purge and ppa-purge the wsnipex mesa and the oibaf ppa that you have prior to doing release-upgrade. Afterwards do the release upgrade and add them again. RE: Radeon OSS with vdpau (howto) - Iamroot - 2013-11-06 Thanks for all the great effort here and I was able to have the XBMC up and running. The problem I have is I didn't get the audio working when playing an on line video sudo aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 Card 0 is what I'm expecting to get the sound as I'm using DVI from the video card. Another strange I can see is when I open the audio page during playing the online video, the audio source listed as "Undetermined-Stereo(1/1)" . I can't change it , so not sure if it is the root cause. Any suggestion will be appreciated. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-06 Please post your xbmc.log, aplay -L and aplay -l and also cat /etc/group all into a pastebin RE: Radeon OSS with vdpau (howto) - gfisher - 2013-11-06 (2013-11-06, 10:38)fritsch Wrote:(2013-11-06, 05:04)gfisher Wrote: @fritsch i tried unstable nightly https://launchpad.net/~team-xbmc/+archive/unstable and it works! Sorry. I should clarify. On the unstable ppa built 4 days ago. Opening movies in the beginning while it was getting fanart if i pressed play it crashed to desktop (never happened on this op build before). Also the screen saver kicks in saying it did not get that input from key or something while watching a show, moving mouse fixed that.. I assumed these bugs were from the merge you mentioned. :-) I watched a show last night and it looks good. Temporal deinterlacing is very high quality. Thank you so much. I am not sure why unstable worked but this fernetmenta ppa did not? Again this could be part of the merge and I appreciate that. I will switch ppa back to this one and if it does not work clean install. It is very possible drivers are messed up. Thanks RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-06 Now I understand you correctly. Drivers are fine. You said crashing directly after you mentioned the new "temporal" deinterlacing. Now it makes sense. Yes this merge window is an evil one :-) RE: Radeon OSS with vdpau (howto) - Iamroot - 2013-11-06 (2013-11-06, 15:43)Iamroot Wrote: Thanks for all the great effort here and I was able to have the XBMC up and running. sudo aplay -L |pastebinit http://paste.ubuntu.com/6370684/ sudo aplay -l |pastebinit http://paste.ubuntu.com/6370690/ cat /etc/group |pastebinit http://paste.ubuntu.com/6370701/ cat xbmc.log |pastebinit http://paste.ubuntu.com/6370706/ BTW, "Undetermined-Stereo(1/1)" may not be the issue. I tried to play another Movie, which can show a DTS 5.1 as audio source. But still no sound. Thanks for the help |