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) - gfisher - 2013-11-16 skipping frames fix/issue. affected videos 1080ix29.97 abd 720px59.94, h.264 or mpeg2. vertical sync blank causes skips/slight judder for me. xrandr shows my sony supports 59.94. System ->Video->Playback: VDPAU: On Prefer VDPAU Mixer: ON VAAPI: off Adjust Refreshrate to match video: On Sync Playback to Display: On Sync Method: Video Clock (Drop/Dupe) I have no tearing. compositing off. vertical blank sync - none. 0 skips! no judder log; http://pastebin.com/rLPdEY6z vertical blank sync - let driver choose 46 skips. some slight judder log; http://pastebin.com/x0pQ927y vertical blank sync - none = perfect playback of all videos so far. I presume this is not expected behavior. my system a4-3400, gpu overclocked 800mhz, dual channel pc1600 8g tuned. xubuntu 64 desktop. hdmi stereo to set. RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-16 (2013-11-16, 20:15)deadite66 Wrote: you don't have the right kernel pyrodex. So that was the issue. Thanks for the double check! Now with this setup I have a few concerns: 1) I've followed the XBMC startup steps and it doesn't startup properly. I have to login as XBMC user and then start it by hand. Any thoughts for a fix? 2) With the added mesa repo will this ever be merged into future ubuntu releases or will this repo be the future for this configuration? If it is the future who is going to maintain it for updates and so forth? 3) With the added XBMC repo will we be able to use mainline XBMC repo down the road or could I install XBMC nightly from xbmc.org just as well? 4) With the kernel will these customizations eventually be merged into ubuntu's release? The reason why I asked is I tried ubuntu's mainline kernel for 3.12.X and that was my issue. Thanks in advance for the feedback. RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-11-16 (2013-11-16, 21:26)pyrodex Wrote: Now with this setup I have a few concerns: fritsch answered some of those questions here. http://forum.xbmc.org/showthread.php?tid=174854&pid=1548991#pid1548991 RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-16 (2013-11-16, 21:36)deadite66 Wrote:(2013-11-16, 21:26)pyrodex Wrote: Now with this setup I have a few concerns: Thanks again deadite66! Any assistance on the auto-startup? Trying to make it wife friendly if she has to reboot the system. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-16 The setup shown in Post 1 implements an auto starting xbmc, that just restarts itself, if it crashes. No need to do anything manually. RE: Radeon OSS with vdpau (howto) - john.cord - 2013-11-16 Current nightly 11-16 fixed the scraping bug... RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-16 Ok so I've fixed startup and worked out that but have noticed one side effect when doing the startup. The HDMI interface isn't available after a reboot until I close XBMC once and restart it. I tried to put a 5 second delay startup in xbmc-standalone but no luck. Any thoughts on this by chance to resolve the issue? RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-16 don't change the standalone script. Check startxbmc.sh or the upstart script, which already waits for udev-trigger. RE: Radeon OSS with vdpau (howto) - gfisher - 2013-11-17 Ok, I played several types of videos in xbmc today. h.264, mpeg2, xvid, 59.94p, 30fps, 29.97p, 29.97i, 23.97p. I cannot get tearing to occur on the oss driver at all. And I have *vertical blank sync* - none. Playback is much better, only a few skips/judders, good av sync. I am happy with this. Is *vertical blank sync* now obsolete/redundant on oss? It took some digging to find a possible justified reason: http://xorg.freedesktop.org/wiki/RadeonFeature/#index2h2 anti-tearing flags- EnablePageFlip, SwapBuffers in my xorg.0.log i have: [ 24.996] (II) RADEON(0): KMS Pageflipping: enabled [ 24.996] (II) RADEON(0): SwapBuffers wait for vsync: enabled Prior to OSS, I had horrible tearing with this APU on fglrx. It was especially bad on youtube. Now with oss that is gone. Good riddens! So isn't *vertical blank sync* - none, the correct choice for this mesa/oss driver? RE: Radeon OSS with vdpau (howto) - wsnipex - 2013-11-17 let driver decide is probably best, did you try that too? RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-17 None: Disables vsync Always Enabled: Forces some special things Let Driver Decide: Keeps whatever the driver has. RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-11-17 @pyrodex, just curious, do you have the A6 Black Edition? i noticed that you have not said anything about any artifacts on the XBMC GUI. can you tell me what you get when you run: Code: lspci | grep VGA just to satisfy my curiosity. RE: Radeon OSS with vdpau (howto) - gfisher - 2013-11-17 @wsnipex. I tried- let driver decide, always and none. I was using always per the op and fglrx days. @fritsch, thanks. Not sure why *none* fixes my minor skips for 59.94. But as always, I will keep digging for the answer. For now I will enjoy the awesome picture quality/temporal deinterlacing, skip/judder free playback. Luckily I have no tearing with it off. RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-17 (2013-11-17, 15:13)locomot1f Wrote: @pyrodex, I am running the A6-3500 unit. Code: xbmc@bedhtpc:~/.xbmc/addons$ lspci | grep VGA After working out my stupid install issues, which were my fault, I have played with it all night long and so far haven't had an issue with artifacts. I did do some tweaking in the settings and don't sync my display refresh with the video and so far no issues. Let me know if you need anything else. EDIT: Now that I think of it the ONLY issue I have noticed versus my Windows setup is that it seems slightly more darker than originally. I may have to tweak brightness/contrast to help but it was a quirk I noticed. RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-11-17 @pyrodex -- no, for some reason, i thought your A6 might have been running Richland -- something above Radeon HD 6xxxD. fyi -- under Settings -> System -> Video Output down at the bottom, there is the option to "Use limited colour range(16-235) this might help your color issue. |