How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - 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: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs (/showthread.php?tid=116996) 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
|
RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-28 Just for kicks I decided to set up a separate Intel system running on HD2500 (vs. HD4000 as previously tested on my main XBMC rig) and playing the problematic MKV file with VAAPI enabled. This is also running in a "pure" Fluxbox session, which as expected made no difference from when running under the Cinnamon WM. For the record, Fluxbox (and IceWM, XFCE4 et al.) does not play along nice with this multi-screen setup and consistently launches XBMC on the wrong output port and the wrong refresh rate; even when force-feeding the same xrandr settings (and obviously using the same xorg.conf as before). Nevertheless, the segmentation fault issue behaves the same regardless of running in a dual-output config or not, so it is not a showstopper for debugging this problem. XBMC debug log: http://pastebin.com/8gTZtq7y GDB backtrace: http://pastebin.com/fRTgVTRd Let me know if further output is needed. I can also provide a sample of the MKV file on Dropbox. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-28 Please retry with a version, that has at least: https://github.com/xbmc/xbmc/commit/930071d1 RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-28 Shouldn't XBMC 13.0-ALPHA7 Git:36da37f, from Aug 15th, already have this commit? (ref. the original debug log for the primary XBMC system in post #2530 – http://forum.xbmc.org/showthread.php?tid=116996&pid=1489868#pid1489868) I realize the Xvba build for the 2nd test system was, unfortunately, not completely up-to-date as there was limited time today to test & check this. However, this test was run primarily to rule out any WM interference. In any case, I will probably be able to run a new test with upgraded packages from the PPA–and attach a new GDB trace together with the log tomorrow; to make sure this commit is included. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-28 Short question: Does this only happen with that vc1 file? Quote:13:27:08 T:140164432111360 DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:679322.736667, should be:480000.000000, error:-199322.736667 I think ffmpeg kills, what the demuxer still has, but only looked shortly. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-28 Long shot: Code: diff --git a/lib/ffmpeg/libavcodec/mpegvideo.c b/lib/ffmpeg/libavcodec/mpegvideo.c Edit: unref is better than free. Edit2: only unref should care for it Edit3: construct memleak, but let's see if it crashes :-) RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-28 So far the issue has been reproduced with two MKV rips, both are VC-1, and have been generated by MakeMKV. The MKVs work perfectly fine with VAAPI disabled. Sometimes the files even launch with VAAPI enabled as well, but they always segfault within 5 tries (on the main HD4000 system and on the 2nd one which I tested today running HD2500–as can be seen in the debug output) RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-28 Yes, i see this. I also think to know what is happening. I changed my Post above a bit, please recompile and leave that free of the zombie pictures out there please. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-28 Ok, I will hopefully have time to check out the git source and comment out the 'free_frame_buffer(s, &s->picture[i]);' in lib/ffmpeg/libavcodec/mpegvideo.c and recompile it tomorrow. (the test system is sitting at my workplace, so I do not have access to run XBMC from here) RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-28 For me it looks like an ffmpeg bug. Upstream is far further already. The use refcounting for mpeg (which is als part of vc-1 concerning the context) now. So not sure what to do - but test first. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-28 If I have time I can also try to compile XBMC with external ffmpeg (from git) support. Would be nice if this could be changed on-the-fly with a config option, though–instead of requiring a recompile. (But I assume there are quite a few ffmpeg tweaks in use by XBMC for it to bundle its own version of it.) RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-29 Don't! That will introduce other problems. You might have luck for vaapi, but for vdpau it is a no go to do so. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Drag0nFly - 2013-08-29 I've now compiled XBMC from git and applied your change to lib/ffmpeg/libavcodec/mpegvideo.c XBMC still segfaults; however without the zombie picture reference. Debug log (with GDB backtrace prepended)– http://pastebin.com/8ve6FA05 Not testing external ffmpeg as you adviced against it. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - bobfandango - 2013-08-31 (2011-12-15, 17:47)wsnipex Wrote: [ A bad SD card forced me to rebuild my system. After going through these instructions once again, I find that the video and audio settings mentioned in Step 9 (and illustrated at http://youresuchageek.blogspot.com/2012/06/xbmc-install-and-config-howto-for-linux.html) are not to be found anywhere! I figure these menus must be hidden somehow (though I don't believe they were before), but I cannot figure out how to un-hide them. Opening the sub-menu to the left did not give me any options that were useful. Thoughts? RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - fritsch - 2013-08-31 press "left" and choose "Advanced" ... new settings categories. RE: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - bobfandango - 2013-08-31 As I said, I tried pressing left. Then it dawned on me.... I was in the Aeon Nox skin. The advanced option is not available there. Putting it into Confluence was the trick. Thx |