How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: General Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/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 - Hotz87 - 2012-07-29 12:08
After the update yesterday i have a extrem high cpu use and everything takes very long to open.
Any hint what i can do to fix this? The log looks normal.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - DavidGGG - 2012-07-29 13:50
(2012-07-27 10:31)fritsch Wrote: Btw. If someone has a real good idea on how we could make this thread more readable. I would be thankful.
I actually started a topic on the subject of too long threads a month ago.. Most of what is written there are things that require some php work. But one relatively easy fix might be if you were allowed to expand you first post so that it summarizes the thread even better. I saw you said the number of characters is limited but that I think should be possible to change either in the forum admin settings or by a simple php hack.
I'm glad you acknowledge the problem though. I am an unusually stubborn person and I think that it was it takes to actually read all of this thread - I think most people just won't. And don't get me wrong, I really appreciate the work and helpfulness of fritsch and friends. But the thread is gigantic and it gets in the way of its usefulness. Anyway, I don't think it should be debated in this thread, but feel free to discuss it e g in the one I started.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - erhnam - 2012-07-29 17:10
(2012-07-27 15:19)wsnipex Wrote: @ernham: you probably should switch to the stable ppa xbmc-xvba
I used the normal packages in this release but thanks for pointing it out!
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - freakwenc - 2012-07-30 00:43
wsnipex I've been using the unstable build on an old pc with ati hd3650 agp 8x card. up until I started to mess around with pvr I found no real problems with your build and was wondering why the xvba part is not in the master code.
I installed tvheadend on a media server I have built and can access it from a laptop and it runs perfectly fine but trying it on my old pc it runs fine until I load a HD channel, no matter what I do after watching 1 HD channel whatever HD video (streamed/saved file/TV channel) I choose it will always fail to load the video either looping a second of the previous HD channel or showing Green 'junk' on screen and this will happen with all HD content until I restart the pc.
All I can think this is related to is the xvba driver as it only happens when that is active. I'm taking a big guess at it's probbably not clearing the graphics card once closing a channel properly is causing it to crash.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-30 08:14
wsnipex went on holidays and I have to represent him for the next 5 days till I go to hoildays myself :-). As my job is really demanding at the moment, I won't be able to respond in the usal frequent manner.
xvba is meant to be merged into xbmc upstream, but a lot of things have to happen, so that we (especially fernetmenta) can do this: X11 changes, player changes, vdpau changes, xvba changes - and don't forget we are still waiting for xvba-sdk 0.75 to implement mpeg-2 and mpeg-4 VLD support.
Concerning your tvheadend problem:
1.) Could you please pastebin a xbmc.log with debugging turned on?
2.) "xvba driver" <- we don't need this special driver xvba-va-driver, xvba-video, xvba-driver (or whatever they are called) anymore as we are directly using what AMD ships with their drivers libamdxvba.so. We also patched the old way VAAPI.c so that xvba is used right away when compiled in to make it easier for the users.
Can you recheck your VSync Settings? I asked several xvba users including myself and none could reproduce the 100% Load with the latest packages. Sometimes it helps to completely purge fglrx and reinstall it (the windows way).
In the time wsnipex won't be here, there will be no updated xbmc-xvba-testing packages. Happy Holidays to all.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - guilmxm - 2012-07-30 10:43
I would like to ensure something about 5.1Level Video with ATI's driver and i am looking for a video sample in 5.1 that is known not to work without the option (sudo aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1), anyone can help ?
I observed something strange in my installation, when is set Level5.1 support and grep /etc/amdpcsdb, i can find the key set "HWUVD_H264Level51Support=V1"
But each time the Xsession is restarted, the amdpcsdb is automatically updated and the key does not exist anymore...so i am not sure it really works...
I have mkv encoded in 5.1Level (i see it with mkvinfo) but they perfectly work with or without the ATI key set.
Thks for you help ^^
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-07-30 10:48
You have to make sure, that no X is running when you change this value. If you followed the howto:
Should do all what you need.
Samples are here:
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Benoe - 2012-07-30 11:09
I try to make audio to output on all (or at least on HDMI and Analog) devices in stereo in the same time. I have and asound.conf from an Nvidia system, where it works perfectly, but on the Zacate system there is a delay between HDMI and Analog playback.
Even when I choose one or the other separately, analog out is not in sync with video.
Does anyone have a working asound.conf for this problem?
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - guilmxm - 2012-07-30 11:12
Thank you very much for you help i appreciate, i'll try that as soon as possible ^^
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - guilmxm - 2012-07-30 13:43
I have tested and it works like a charm, in deed X11 has obligatory to be stopped before applying the L5.1 ATI key... i'll pay attention to that ^^
And provided video sample confirmed my test.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - skeletorjus - 2012-07-31 08:04
edit: everything here is now resolved! Turned out I that my Hamony-remote was responsible for XBMC exiting, and Airplay was fixed by installing avahi-daemon.
I'm running the xbmc-xvba-build on an AD10.
Due to a Yamaha receiver which doesn't relay correct EDID from the TV (and the ATI-drivers not being overly impressed with that fact), I have to run a HDMI-cable straight from the AD10 to the TV. This is fine until i decide to change input on the TV which causes XBMC to crash to the desktop.
The log doesn't produce anything of interest, so it's hard to track down exactly what causes this.
Is this a known problem, and is there a fix for this? Needless to say it's getting quite tiresome having to restart XBMC manually every time I've used my TV for anything else.
I used this guide to set up my system:
Also, I can't for the life of me get Airplay to work. I've ticked all the boxes, and the log indicates that Airplay-support is running, but none of the devices I've tried detects the HTPC. I've installed libshairport1 alongside XBMC.
For reference I'm running on a Zotac AD10, Catalyst 12.6 driver, and the latest build of xbmc-xvba. I can check the version number after work if it's needed.
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - guilmxm - 2012-07-31 10:43
Hi, for your airplay issue, i had some trouble recently i think because of an upgrade, i advise you to:
- enable debug airplay by adding this line into your ~/.xbmc/userdata/advancedsettings.xml
- ensure you installed avahi-daemon and libshairport, and that avahi-daemon is running:
sudo apt-get install avahi-daemon libshairport1
sudo service avahi-daemon status
- deactivate and reactivate airplay service and check xbmc log, if you see:
ERROR: Unable to load libshairport.so.0, reason: libshairport.so.0: cannot open shared object file: No such file or directory
Then you have to apply this:
cd /usr/lib/x86_64-linux-gnu/ && sudo ln -s libshairport.so.1.0.0 libshairport.so.0
and deactivate / re-activate and re-test.
Have you activated UFW as the firewall in your system ? (sudo ufw status) if you did and haven't authorized your local network it could off course prevent your device from being seen by your iphone/ipad
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - skeletorjus - 2012-07-31 15:39
(2012-07-31 10:43)guilmxm Wrote: @skeletorjusYou're a legend!
I was missing the avahi-daemon, and installing it fixed it! Thanks a bunch!
In a moment of clarity I actually figured out the other problem as well. It was actually the Harmony remote that, when switching activity, sent out a command to shut down the AD10 by default - which in reality just closes XBMC. So it actually behaved as it should. After reconfiguring the remote to not turn on or off the AD10 everything is perfect!
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - guilmxm - 2012-07-31 16:54
You're welcome, Great you resolved both of your issues
Could you share your audio AD10 configuration please if you have a 5.1 (or more) sound system connected ? (i installed recently for someone an AD10 but without a 5.1 sound system behind so i could only test using 2.0 using HDMI)
- Systems sounds are working ? as well as any other 2.0 or 5.1 source ?
- Content of your ~/.asoundrc
- Configuration in XBMC (audio type, audio device and passthrough)
Thks a lot
RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - skeletorjus - 2012-07-31 17:34
(2012-07-31 16:54)guilmxm Wrote: Could you share your audio AD10 configuration please if you have a 5.1 (or more) sound system connected ? (i installed recently for someone an AD10 but without a 5.1 sound system behind so i could only test using 2.0 using HDMI)I actually sort of addressed my sound setup in my original post, but decided to leave it out because I didn't find it relevant.
Unfortunately (for both of us) I ended up just using analog sound. The reason for this is the damn Yamaha receiver. Long story short, HDMI works when I plug it straight from the AD10 to the TV, but not when going via the receiver, which just game a the POST-screen in wrong resolution and then just a black screen. After a couple of days scratching my head and cursing the planet while editing xorg.conf I narrowed it down to a bug (or terrible feature) in the Yamaha firmware which made it not relay the EDID-info from the TV correctly.
Trying to use a raw dump of the TV's EDID instead of whatever the receiver was insisting the AD10 to use turned out to be futile, so I just ended up giving up the whole thing, plugged the HDMI cable straight to the TV and took the sound from the AD10's audio jack to the receiver.
I realize that all this is totally irrelevant for you, so I'm sorry that I made you read all that. I just had to get it out there to defend my old school solution.
I can however say, as you mentioned, that sound in itself was plug'n'play with HDMI. I have no way of testing 5.1, but you could try this:
Try audiotype 5.1, audiodevice (and passthrough) "HD-Audio Generic hdmi (ALSA)". It might also be worth trying custom audiodevice "plughw:0,3" if that doesn't work. Be sure to run alsamixer and check that all levels are OK there before you start troubleshooting something that is muted
This is mostly based on a post on a forum for OpenELEC (http://openelec.tv/forum/68-audio/15084-fusion-zotac-zbox-nano-ad10-audio-issue) but I think it should apply for this build of XBMC as well.
Again, sorry for the mostly meaningless wall of text along with some guesswork at the end, but pretty much comes with the territory when we're talking about sound and video in Linux