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) - ryszardzonk - 2013-10-27 (2013-10-26, 16:19)fritsch Wrote: mesa: http://sprunge.us/cLTI libvdpau compiled fine with those patches, but it seems I would have to look closer at how the portage install script in gentoo works for that package hence mesa failed at finding newer version of the library. might have to do something with multilib profile and compiling separately stuff for 32 and 64 bit and having some header not install properly libvdpau patches did not apply for vdpauinfo. I am not a programmer but it seems for that at least something along those lines would be needed instead --- a/vdpauinfo.cpp 2013-10-27 00:24:41.788666715 +0200 +++ b/vdpauinfo.cpp 2013-10-27 00:26:45.209668378 +0200 @@ -344,6 +344,7 @@ {"DIVX5_MOBILE", VDP_DECODER_PROFILE_DIVX5_MOBILE}, {"DIVX5_HOME_THEATER", VDP_DECODER_PROFILE_DIVX5_HOME_THEATER}, {"DIVX5_HD_1080P", VDP_DECODER_PROFILE_DIVX5_HD_1080P}, +{"H264_HI10", VDP_DECODER_PROFILE_H264_HI10}, }; const size_t decoder_profile_count = sizeof(decoder_profiles)/sizeof(Desc); PS Anyways is that even possible that adding these few lines would make hi10p decode on present UDV hardware?? RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-27 Make sure to apply that stuff on the git revision, where I based them on. Yes, this is exactly the point here. Current UVD has support for "hi10p" decoding by only specifiing those two additional fields. But, yeah - was just as information. xbmc needs adjusting to use that new profile. RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-10-27 Upgraded mesa and changed scaling to bilinear. Audio glitch still there. http://paste.ubuntu.com/6311041/ http://paste.ubuntu.com/6311023/ http://paste.ubuntu.com/6311024/ http://paste.ubuntu.com/6311025/ http://paste.ubuntu.com/6311026/ RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-27 Please describe in words what is happening. I can only see two disconts, one after changing refreshrate and one after the scaler is up. RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-27 The new kernel gets better results. Kernel is 3.12.0rc6+ 0.7 This is the new table, with VC-1 working as well Code: qvdpautest 0.5.2++ RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-10-27 did you hear the audio clip i posted yesterday? recorded from TV headphone out so not brilliant quality. weird audio glitch starts at 5 seconds and ends at 11 seconds. RE: Radeon OSS with vdpau (howto) - ryszardzonk - 2013-10-27 I use git for as long as I remember so no problem there Anyway I actually took a liberty at looking at the error and it seems mesa just askes for "to high" libvdpau version Trivial fix in third patch for mesa should take care of that checking for VDPAU... no configure: error: Package requirements (vdpau >= 0.8.0 x11-xcb xcb-dri2 >= 1.8) were not met: Requested 'vdpau >= 0.8.0' but version of VDPAU is 0.8 Code: configure.ac | 2 +- RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-27 I cite myself: Quote:I will especially update, when I get feedback on the vdpau Mailinglist (bumped versions are only to be seen prototypical). RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-27 (2013-10-27, 11:36)deadite66 Wrote: did you hear the audio clip i posted yesterday? That is a quite long clitch. I think filling a separate bug on freedesktop could be the way to go. This "clitch" how you call it - no idea what this might be, despite some bad signal. Which Sync Playback Method do you use? RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-27 (2013-10-27, 11:36)deadite66 Wrote: did you hear the audio clip i posted yesterday? According to Linux Audio file with ID3 version 2.3.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Monaural With Firefox: Noise starts at second 5 and ends at 7 The sample is very good before and after. During those 2 secs it's distorted, something like guitar dubber effect. With XBMC Noise starts at second 5 and lasts till second 10 The sample is very good before and after. During those 5 secs it's distorted, something like guitar dubber effect. I hope it helps RE: Radeon OSS with vdpau (howto) - ryszardzonk - 2013-10-27 Still something is wrong Code: /bin/sh ../../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -m32 -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.0.0-devel\" -DPACKAGE_STRING=\"Mesa\ 10.0.0-devel\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.0.0-devel\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -DHAVE_LIBEXPAT=1 -I. -I../../../src/gallium/auxiliary/util -I../../../include -I../../../src/gallium/include -I../../../src/gallium/auxiliary -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0304 -fvisibility=hidden -I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -march=native -pipe -Ofast -DNO_DEBUG -DNDEBUG -fomit-frame-pointer -DG_DISABLE_ASSERT -ftree-vectorize -findirect-inlining -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -fprefetch-loop-arrays -minline-stringops-dynamically -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c -o vl/vl_mpeg12_bitstream.lo vl/vl_mpeg12_bitstream.c RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-27 Yes - and this is not topic of this thread here. http://sprunge.us/BKSX and a complete one: http://sprunge.us/bTDZ RE: Radeon OSS with vdpau (howto) - nichiren - 2013-10-27 (2013-10-27, 11:36)deadite66 Wrote: recorded from TV headphone out so not brilliant quality. From what I can hear from these crappy laptop speakers, that sounds a lot like the seemingly sporadic audio glitch I keep getting. I haven't investigated the matter yet, so far it appears random, but it might as well be periodical. It did not happen before switching to 3.12 kernel. While watching a TV show episode, about 45 minutes, it occurs a few times and last just a few seconds each time. The best I can describe it is as if some kind of distortion effect is applied to the audio. I haven't noticed anything in normal xbmc.log to coincide with the occurrences, but I haven't had time yet for a debug log either. RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-10-27 (2013-10-27, 11:41)fritsch Wrote: Which Sync Playback Method do you use? as recommended in the guide. 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) EDIT: problem goes away if "Adjust Refreshrate to match video: Off" RE: Radeon OSS with vdpau (howto) - gfisher - 2013-10-27 @deadite66 You might try mainline kernels for xubuntu64 to rule out patches causing issues for you. http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-headers-3.12.0-031200rc6-generic_3.12.0-031200rc6.201310191635_amd64.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-headers-3.12.0-031200rc6_3.12.0-031200rc6.201310191635_all.deb http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc6-saucy/linux-image-3.12.0-031200rc6-generic_3.12.0-031200rc6.201310191635_amd64.deb It played well on my a4 3400 as did 3.11.4 also. Adjust refresh rate is a good thing if the panel can handle fps output. 24p is amazing. |