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) - Questionario - 2014-04-05 Hi, DTS-HD is working for me on some/most files but on some files (not necessarily DTS-HD, even with some DTS) I still have slow/stuttering video. Can someone tell me why and if this is fixable? Here are the logs while I played one of these files: dmesg | pastebinit http://paste.ubuntu.com/7205613/ cat /home/xbmc/.xbmc/temp/xbmc.log | pastebinit http://paste.ubuntu.com/7205615/ cat /var/log/Xorg.0.log | pastebinit http://paste.ubuntu.com/7205617/ sudo DISPLAY=:0 vdpauinfo | pastebinit http://paste.ubuntu.com/7205619/ dpkg -l |grep mesa | pastebinit http://paste.ubuntu.com/7205620/ I also have two more problems: 1.) from the guide I inserted my own edid-file for my receiver but everytime I pull out my usb disk, linux wont start because it says edid version is 0 and needs to be 1. I checked if the file might only be a link to the usb-disk but it does not seem to be. 2.) I have installed plymouth and now have a splash screen but I still get boot error messages, I asked for help in ubuntuforums as it seemed more appropriate but there might not be a solution? http://ubuntuforums.org/showthread.php?t=2213269 I hope I provided all information... EDIT: @allio: you had me scared there for a moment as that is how I upgrade all the time but I checked with uname -a: Linux XBMCBuntu 3.13.5-031305-generic #201402221823 SMP Sat Feb 22 23:24:30 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux It does not seem to have replaced the kernel, are you sure its overwritten? Thanks RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-04-05 (2014-04-04, 23:33)allio Wrote: I feel guilty even asking this here as it's more of a general Linux question, but - how can I stop saucy from trying to replace my manually installed 3.13 kernel with a 3.11.x kernel every time I do a dist-upgrade? I know I can just not upgrade the system, but then I miss upgrades to xbmc and tvheadend. you can safely upgrade that kernel. since 3.13 is higher, your system will (should) default to the latest kernel loaded in the system. besides, it's always safe to have at least one fallback working kernel in your system. if you really want to, you can purge any un-needed kernels Code: apt-get purge linux-header*** RE: Radeon OSS with vdpau (howto) - allio - 2014-04-05 I feel thick - thanks guys. Can confirm that Ubuntu is clever enough to use the latest kernel even if it's not the one that was installed most recently :p RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-05 It would not have replaced your 3.13 anyways. Ubuntu only updates the "real" kernel version to their bumped "linux-image-generic", but as 3.13 is newer anyways, it did not hurt at all. RE: Radeon OSS with vdpau (howto) - gfisher - 2014-04-06 @fritsch thanks for all of the tips, you saved me hours. I got OE to work with Christain's patch. I had to mod the org 3.14 "radeon_display.c" patch and add his new one inside it. Else it went silent "SKIP PATCH". The working patch: https://bugs.freedesktop.org/attachment.cgi?id=96968 It really killed a lot of skips for me. I am happy with it so far. 29.97x1080i is better. Most importantly I can play 24p again, and it is very stable thus far. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-06 @gfisher: Please be more precise. Was that patch enough or did you have to patch something else ontop? Edit: So you added https://bugs.freedesktop.org/attachment.cgi?id=96900 to the patch christian posted on the ML: http://lists.freedesktop.org/archives/dri-devel/2014-March/056529.html RE: Radeon OSS with vdpau (howto) - gfisher - 2014-04-06 https://bugs.freedesktop.org/attachment.cgi?id=96900 is all you need. Assuming you first applied this pll refresh rate patch: https://bugs.freedesktop.org/attachment.cgi?id=96963 = "linux-996-drm-radeon-rework-finding-display-PLL-numbers.patch". From OE 4.0 git in Linux/patches/3.14 I had to combine the two patches by hand to get OE 3.14 kernel to build/take Christian's patch to get my 24p back -that seems to be a welcome improvement aside from a 24p fix. . I will test more.. There is no more code added. RE: Radeon OSS with vdpau (howto) - gfisher - 2014-04-06 (2014-04-06, 07:37)fritsch Wrote: Edit: So you added https://bugs.freedesktop.org/attachment.cgi?id=96900 to the patch christian posted on the ML: http://lists.freedesktop.org/archives/dri-devel/2014-March/056529.html Yes, exactly. RE: Radeon OSS with vdpau (howto) - gfisher - 2014-04-06 My a4 3400 liked his patch. My aq01 is not playing 29.97x1080i well. Rebuilding OE w/o patch now. I will update the bug report Edit: never mind rebuilt WO pll patch and still skips like mad on aq01. Looks like a different issue. Will try older OE build. With 3.13.7. Edit: latest pll patched code OE with 3.14 is best on aq01. Still 29.97x1080i h.264 playback is not optimal, but it is a new chip. My aq01 is not used much. RE: Radeon OSS with vdpau (howto) - nephton - 2014-04-06 Hey guys, First of all: many thanks to everybody contributing in this forum. Especially to fritsch for putting together this guide. I have been playing around with this stuff since many days now and frankly I'm getting frustrated ... I got my HTPC set up by a colleague who used XBMCbuntu Frodo 12.2 with xvba-support and ATi fgrlx drivers. All in 32bit architecture! Everything worked fine. Instead of following the 'never-change-a-running-system' principle I decided to update the whole thing. That's when I found this thread. To cut a long story short: I updated to Ubuntu 13.10 and Kernel 3.13.8 (32bit) and tried the OSS driver as well as the proprietary. I tried tons of ppas but never got the vdpau acceleration to work. And yes, I followed the instructions from page one except one fact as I do not have 64bit installed. (I got a software raid on the same machine and prefer not to give it a try to install everything from scratch and find out if the raid is still alive afterwards) ==> Does any of you know if there is a working setup based on 32bit architecture? I do not expect way more than 'yes' or 'no' ;-) Currently I'm running on xvba again (ppa:wsnipes/xbmc-xvba) with proprietary drivers (fglrx 13.35.5 [Mar 12 2014] with 1 minors) Otherwise I wouldn't be able to watch movies at all. Many thanks for taking the time reading my story. RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-04-06 32bit does work as well. RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-06 Only replace the kernel command to not fetch the two 64bit packages, but the _all and the other two x86 ones. You get that going - I am sure. RE: Radeon OSS with vdpau (howto) - nephton - 2014-04-06 Hi, @wsnipex and fritsch: Many thanks for your quick reply. I'll give it a try and get rid of the amd drivers and the current xvba based xbmc. I'll go once more through the instructions. Would you mind me posting the debug-files in case it doesn't work out? Cheers, Nephton RE: Radeon OSS with vdpau (howto) - fritsch - 2014-04-06 Start the howto from the beginning, please - to stay on topic. RE: Radeon OSS with vdpau (howto) - Ectholian - 2014-04-07 Setting tv to auto fit doesn't help I think I have a problem with my receiver between the television and XBMC.... this is what xrandr -q reports: HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm However, the actual physical dimensions of my tv screen is 819mm x 460mm. Is there any way to force this with KMS? This thread is not really the correct place for this, but I can imagine more ppl have come across this while installing the OSS driver. (If wished, I can post pastebin logs but I did not to that yet in order not to spam the topic ) |