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-10-21 @burgerga: xbmc does not run on your system, as it is not compatible with the version compiled. Code: sudo touch /etc/os-release RE: Radeon OSS with vdpau (howto) - burgerga - 2013-10-21 (2013-10-21, 22:17)fritsch Wrote: @burgerga: Thanks for having a look at it, really appreciate it! I am not sure what you mean with the code snippet though... Anyway, I will ditch my current effort and try saucy instead with the mesa provided by wsnipex. I'll let you know if it works... RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-21 It works, but has no advantages over raring. I want something else for saucy, llvm-3.4 based - to support upcoming kabini with glamor and 3D. RE: Radeon OSS with vdpau (howto) - beschmid - 2013-10-22 (2013-10-21, 05:34)laric Wrote:(2013-10-21, 02:36)beschmid Wrote:(2013-10-20, 15:47)fritsch Wrote: @beschmid: @laric: that was it thank you. RE: Radeon OSS with vdpau (howto) - DustinD - 2013-10-22 First off, thanks for all the hard work you put into create a how to on this. Secondly, I'm a complete Linux newb but I'm determined to learn and learn quickly. I followed the article step by step to get everything up and running (figuring out a few steps easy to you guys just took some digging) and I'm basically ending up with the same performance I've seen with other similar builds which leads me to believe I'm either doing something wrong, or simply expecting too much from this e350 platform.... I've done my best to attach all the requested logs here, but my problem remains that performance just isn't up to par sometimes dipping down to 9 fps on 1080 files. I am streaming these files across the network, which could be part of the performance issue but I don't think so. Thanks for the help, Dustin http://paste.ubuntu.com/6280857 http://paste.ubuntu.com/6280859 http://paste.ubuntu.com/6280860 http://paste.ubuntu.com/6280861 (error here: FAiled to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory) Sorry I couldn't figure out how to get the vdpau to work correctly, maybe gimme a hint if it really necessary? It's Fusion e350 hardware so I'm not sure it will help much. RE: Radeon OSS with vdpau (howto) - Endeavour79 - 2013-10-22 (2013-10-21, 11:07)fritsch Wrote: @Endeavour79, @dermute: You're right. Logfile links in your inbox. RE: Radeon OSS with vdpau (howto) - gfisher - 2013-10-22 @fritsch while playing slow mo you tube video bad build errors for me fix for me-- git clone git://people.freedesktop.org/~airlied/radeontool cd radeontool sudo apt-get build-dep radeontool ./autogen.sh make xbmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05ac 0x05ac 0x00000000 (0) xbmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05b0 0x05b0 0x0002ee00 (192000) xbmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05b4 0x05b4 0x00048828 (297000) xbmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05b8 0x05b8 0x00000000 (0) bmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05bc 0x05bc 0x00000073 (115) xbmc@xbmc-A75F-M2:~/radeontool$ sudo ./radeontool regmatch 0x05cc 0x05cc 0x00000001 (1) xbmc@xbmc-A75F-M2:~/radeontool$ uname -r 3.12.0-rc6 xbmc@xbmc-A75F-M2:~/radeontool$ vdpauinfo display: :0.0 screen: 0 API version: 1 Information string: G3DVL VDPAU Driver Shared Library version 1.0 Video surface: name width height types ------------------------------------------- 420 16384 16384 NV12 YV12 422 16384 16384 UYVY YUYV 444 16384 16384 Y8U8V8A8 V8U8Y8A8 Decoder capabilities: name level macbs width height ------------------------------------------- MPEG1 0 9216 2048 1152 MPEG2_SIMPLE 3 9216 2048 1152 MPEG2_MAIN 3 9216 2048 1152 H264_BASELINE 41 9216 2048 1152 H264_MAIN 41 9216 2048 1152 H264_HIGH 41 9216 2048 1152 VC1_ADVANCED 4 9216 2048 1152 MPEG4_PART2_SP 3 9216 2048 1152 MPEG4_PART2_ASP 5 9216 2048 1152 Output surface: name width height nat types ---------------------------------------------------- B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 Bitmap surface: name width height ------------------------------ B8G8R8A8 16384 16384 R8G8B8A8 16384 16384 R10G10B10A2 16384 16384 B10G10R10A2 16384 16384 A8 16384 16384 Video mixer: feature name sup ------------------------------------ DEINTERLACE_TEMPORAL - DEINTERLACE_TEMPORAL_SPATIAL - INVERSE_TELECINE - NOISE_REDUCTION y SHARPNESS y LUMA_KEY - HIGH QUALITY SCALING - L1 - HIGH QUALITY SCALING - L2 - HIGH QUALITY SCALING - L3 - HIGH QUALITY SCALING - L4 - HIGH QUALITY SCALING - L5 - HIGH QUALITY SCALING - L6 - HIGH QUALITY SCALING - L7 - HIGH QUALITY SCALING - L8 - HIGH QUALITY SCALING - L9 - parameter name sup min max ----------------------------------------------------- VIDEO_SURFACE_WIDTH y 48 2048 VIDEO_SURFACE_HEIGHT y 48 1152 CHROMA_TYPE y LAYERS y 0 4 attribute name sup min max ----------------------------------------------------- BACKGROUND_COLOR y CSC_MATRIX y NOISE_REDUCTION_LEVEL y 0.00 1.00 SHARPNESS_LEVEL y -1.00 1.00 LUMA_KEY_MIN_LUMA y LUMA_KEY_MAX_LUMA y xbmc@xbmc-A75F-M2:~/radeontool$ glxinfo | grep -i interop GL_NV_packed_depth_stencil, GL_NV_texture_barrier, GL_NV_vdpau_interop, GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_vdpau_interop RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-10-22 (2013-10-22, 05:51)DustinD Wrote: Sorry I couldn't figure out how to get the vdpau to work correctly, maybe gimme a hint if it really necessary? It's Fusion e350 hardware so I'm not sure it will help much. Quote:[ 5.769795] radeon 0000:00:01.0: radeon_uvd: Can't load firmware "radeon/SUMO_uvd.bin" looks like you don't have the linux-firmware package installed. RE: Radeon OSS with vdpau (howto) - Claudio.Sjo - 2013-10-22 My 10 cents: on my iMac, I upgraded to 13.10, then I carefully followed the first post and installed frtisch's kernel 3.11.4, I'm testing using the famous 1080 50fps with the two singers posted somewhere here in the thread. The player works very well. As soon as I find a way to remove kernel 3.11.4, I'll install 3.12 and run new tests (please fritsh add firewire modules) RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-22 @DustinD: You missed an important step. Quote:[ 5.769795] radeon 0000:00:01.0: radeon_uvd: Can't load firmware "radeon/SUMO_uvd.bin" which is: Code: sudo apt-add-repository ppa:wsnipex/mesa Erm and you missed also the other rest to install the corect PPA and so on. Quote:Starting XBMC (12.0-RC3 Git:7a6cb7f)I think you better start again from the start, as you want to learn something :-) And you have a full blown ubuntu running Quote:m_displayName : Playback/recording through the PulseAudio sound server Your first attemp to follow a howto has misserably failed - retry. RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-22 @gfisher: Thanks for your feedback, I will forward to the radeon people. Edit: what happens, when you are playing that video and while doing so: sudo ./radeontool 0x05b4 148500 RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-22 (2013-10-22, 05:55)Endeavour79 Wrote:(2013-10-21, 11:07)fritsch Wrote: @Endeavour79, @dermute: I hate reading PMs, especially with logfiles, cause I mostly have to explain every PM to at least 10 people which all have the same problem. So post them in this thread here and make 100% sure, you did not skip a single step of this howto. From what I see: /home/xbmc/startxbmc.sh could be missing (check the howto) RE: Radeon OSS with vdpau (howto) - sveni_lee - 2013-10-22 morning fritsch... I played a littke bit yesterday after I got it work... (headbang) first... I got GUI-Sound, tahts more than last time but when I played a movie with DTS-HD I got no sound. If I select Generic Audio instand of HDMI HDA I've got Sound but only DTS not DTS-HD The Video is much more darker than normal I compared with Openelec 3.1.7 dmesg | pastebinit cat ~/.xbmc/temp/xbmc.log | pastebinit cat /var/log/Xorg.0.log | pastebinit DISPLAY=:0 vdpauinfo | pastebinit dpkg -l |grep mesa | pastebinit When I tried to change some audio-setting and the "Home Menu" were displayed, I've got Sound DTS-HD but only if I have the "Home-Menu" in front... But the sound is flickering and fading dmesg | pastebinit cat ~/.xbmc/temp/xbmc.log | pastebinit cat /var/log/Xorg.0.log | pastebinit DISPLAY=:0 vdpauinfo | pastebinit dpkg -l |grep mesa | pastebinit RE: Radeon OSS with vdpau (howto) - fritsch - 2013-10-22 All looks fine. We have to make some tests via IRC ... you have to wait approx 12 hours :-) Quote:ERROR: CecLogMessage - error opening serial port '/dev/ttyACM0': Permission denied For this error: Code: sudo adduser xbmc dialout RE: Radeon OSS with vdpau (howto) - sveni_lee - 2013-10-22 (2013-10-22, 08:47)fritsch Wrote: All looks fine. We have to make some tests via IRC ... you have to wait approx 12 hours :-) 12 hours is okay for me... I've to work too... regarding CEC, I know... this was the smallest problem for me... but thanks for solution |