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: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-02 @PeterV: Normally aticonfig is just a symlink to amdconfig or the other way round - so both should work. What does: ls -l `which aticonfig` tell? RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - csmager - 2012-07-02 (2012-07-01, 21:55)fritsch Wrote: @csmager:Thanks - will do this. I think I've narrowed it down to x264 files with FLAC 5.1 audio tracks. They either exhibit this skipping back to previous frames from the get-go, or on the second run. Once it's happened, it affects all files that are decoded using xvba until X & fglrx are restarted. I'll cut a couple of the files down to a minute or so and paste a log when I get a chance. RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - MTroi - 2012-07-03 (2012-06-25, 09:58)MTroi Wrote:(2012-06-23, 15:24)FernetMenta Wrote: Maybe DPMS kicks in (default is 10min) because you have no screen saver. I would either activate the screen saver or deactivate DPMS. Just to let you guys know: I did a fresh installation of Ubuntu 12.04 LTS Minimal while following the steps on page 1 and the problem hasn't occured yet. Thanks for the detailed step-by-step guide. RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - dandel - 2012-07-04 There might still be issues with broken 4.1 content that actually should be decoded as 5.1 content... with the va driver if you have the 5.1 support enabled, you could fix it with this patch... I suspect that a similar patch could be worked into this... Code: diff --git a/src/xvba_buffer.c b/src/xvba_buffer.c Ubuntu Pastebin link RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-04 @dandel: Thanks for posting my own patch. This is for the xvba-va-driver. This one has absolutely nothing to do with our xvba branch. xvba-va-driver is a wrapper that translates vaapi to xvba. So applications that do not have direct xvba support can use vaapi and are therefore translated to xvba. xvba-va-driver is not maintained since over a year - though i am planning to push in mpeg-2 and mpeg-4 support when they are available. RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - laric - 2012-07-05 I just installed following the steps in post 1. And now I am getting the same old problem. If I turn off my tv and have it off and start it later then I have no sound. i have to reboot my xbmc pc to get the sound back. Then everything works just fine until I turn the telly off again. I love xbmc but hate this problem. Is there any work around for this? Below is my amd card from lspci. 01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Turks [Radeon HD 6570] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 0403 Flags: bus master, fast devsel, latency 0, IRQ 46 Memory at d0000000 (64-bit, prefetchable) [size=256M] Memory at feac0000 (64-bit, non-prefetchable) [size=128K] I/O ports at d000 [size=256] Expansion ROM at feaa0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: fglrx_pci Kernel modules: fglrx, radeon 01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI Turks HDMI Audio [Radeon HD 6000 Series] Subsystem: ASUSTeK Computer Inc. Device aa90 Flags: bus master, fast devsel, latency 0, IRQ 45 Memory at feafc000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: snd_hda_intel Kernel modules: snd-hda-intel RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-05 @laric: Upgrade to fglrx 12.6. This should fix the hdmi sound issue. See: http://forum.xbmc.org/showthread.php?tid=116996&pid=1138272#pid1138272 RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - laric - 2012-07-06 (2012-07-05, 20:55)fritsch Wrote: @laric: Thanks RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Just4U - 2012-07-08 Thanks for the wonderful suggestions to install XBMC PVR Xvba. I didn't have any problems following the guide. I have a few questions though 1. If I need to just install XBMC Xvba instead of XBMC PVR, what repository I need to use in Step 3 2. Also if we follow the steps in Page 1, does it come with fglrx 12.6 or do we need to follow the above link to install it? RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-08 @Just4U: 2. Nope. fglrx 12.6 is not installed by default, as AMD stopped supporting some devices HD2XXX, HD3XXX, HD4XXX. You can use the above instructions to update fglrx, if your video card is supported. If the original version works for you, keep it. 1. Our direct upstream is xbmc-pvr. So all of our versions include PVR. You can easily disable everything PVR related within xbmc - so it does not harm. RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Just4U - 2012-07-08 Hi fritsch, Thanks for info. I have a AMD Radeon HD 6450A 512MB graphics card in my Lenovo Q180. So does H264 Level 5.1 works with default fglrx driver if we follow the first page steps? RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Rachel - 2012-07-08 not sure where to report this bug properly, but i've encountered it after installing one of the builds in post #1 of this thread; specifically this one: https://launchpad.net/~wsnipex/+archive/xbmc-xvba-testing as i actually have nvidia, not ati, hardware, but was asked/recommended to try it by an xbmc developer to solve a problem with framerate consistency. I expect it's a general xbmc-12.x issue rather than specific to the Xvba stuff this thread's about - but it is the build from here I'm trying, so posting bug initially here: Issue is with auto-switching of refresh rates: Some videos for which the refresh rate should be changed, do not trigger that refresh rate change until after a few seconds of playback. The pattern I've been able to find so far is that this only seems to affect videos marked as having a variable frame rate. (Handbrake uses a variable frame rate as part of its High Profile preset; and has done for at least a couple of years. Even if the frame rate isn't actually going to vary.) Thing is, at least according to mediainfo, a headline refresh rate is provided anyway, so surely even if it is marked as variable, it should start with the given frame rate as a starting presumption? I think older versions - in particular up to 11.0 eden - did do this as I'm only starting to see this problem now. I had been seeing it on only one fairly old encode before, where that headline frame rate was actually listed (oddly) as 24.998fps; whereas most PAL-type videos show exactly 25.000fps. So even on eden that video started, then changed refresh rate (actually just back to the same one as it's the closest). But with the new build, it's doing it for all such variable-frame-rate recordings. After that initial refresh rate change, playback continues normally for the duration. It's just that it seems to be waiting to see if it really needs to change refresh rate for such videos. Obviously this is pretty disruptive to the viewing experience. edit: context: System is Ubuntu 12.04 64-bit installed on 2010 mac mini server connected by HDMI to a Panasonic Viera TV. The only deviations from the Ubuntu standard packages are the ppas: ubuntu-x-swat/x-updates (for nvidia 302.17) and wsnipex-xbmc-xvba-testing (for this build of xbmc) Everything's up to date. RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Rachel - 2012-07-08 sorry, forgot logs (and above message gets too long with them anyway): Code: 20:40:42 T:139736038475520 NOTICE: ===== PLEXBMC START ===== you can see both "Display resolution ADJUST" lines here. After the second one, playback continues perfectly. This video is interlaced and I have deinterlace mode weavex2 enabled; but the same problem affects progressive 25p encodes too. mediainfo on the file being played above: Code: rachel@twilight:/media/Vault/Plex$ mediainfo Movies/The\ Hollow\ Crown/Henry\ IV\ Part\ 1\ \(2012\).mp4 (audio trimmed to keep in message size limit) RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - FernetMenta - 2012-07-09 Rachel, please report this issue here: https://github.com/FernetMenta/xbmc/issues?direction=desc&page=1&sort=updated&state=open Although its the same build we don't want to hijack the ati thread. Please post full debug logs, preferable posted on xbmclogs.com RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-09 (2012-07-08, 21:48)Just4U Wrote: Hi fritsch, Thanks for info. Yes. To also playback "wrongly" encoded Level 41@high files, that are out of spec, meaning too many ref-frames, you have to use the xbmc-xvba-testing ppa. For correct encoded Level51 Files, even the eden version is enough. You can verify this with mediainfo. If the resolution is 1080p and there are more than 4 reframes, it is not Level41 File, but it is Level51. |