Kodi Community Forum
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)



RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-24

I am having an issue playing video with XVBA enabled in Video -> Playback settings. Some of my videos/streams won't play correctly, having a pink and green mess on my screen. LiveTV plays fine. If I enable vdpau, and disable XVBA everything plays back fine. Can someone point me in the right direction to troubleshoot this?


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - tekno - 2012-11-24

(2012-11-24, 06:43)beschmid Wrote: I am having an issue playing video with XVBA enabled in Video -> Playback settings. Some of my videos/streams won't play correctly, having a pink and green mess on my screen. LiveTV plays fine. If I enable vdpau, and disable XVBA everything plays back fine. Can someone point me in the right direction to troubleshoot this?

You probably need to be more specific about your hardware particularly the video card


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-24

@beschmid:
It sounds like you are starting xbmc from a window manager like unity or gnome3. Could you enable debug logging and pastebin it somewhere?

Pink and Green Mess normally means the decoder got heavily fucked up. With old catalyst drivers < 12.6 this could be triggered by Terminal switching (ctl alt f1 and back) or even lightdm restart killed the decoder.

Let's see what your logfile tells.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-24

(2012-11-24, 08:29)tekno Wrote:
(2012-11-24, 06:43)beschmid Wrote: I am having an issue playing video with XVBA enabled in Video -> Playback settings. Some of my videos/streams won't play correctly, having a pink and green mess on my screen. LiveTV plays fine. If I enable vdpau, and disable XVBA everything plays back fine. Can someone point me in the right direction to troubleshoot this?

You probably need to be more specific about your hardware particularly the video card

Integrated ATI Radeon 4200




RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-24

@beschmid:
Please supply the logfile. Enabling VDPAU does absolutely nothing, as you have an AMD card. On video start, it tries to create the VDPAU decoder and fails, so it handles it over to Software.

Your card is pretty old, you will need the legacy driver to make it work. But without logfile, debugging is not possible. If you are at it, also state which kernel, distribution you are using and - like said - how you start xbmc.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-24

(2012-11-24, 15:56)fritsch Wrote: @beschmid:
Please supply the logfile. Enabling VDPAU does absolutely nothing, as you have an AMD card. On video start, it tries to create the VDPAU decoder and fails, so it handles it over to Software.

Your card is pretty old, you will need the legacy driver to make it work. But without logfile, debugging is not possible. If you are at it, also state which kernel, distribution you are using and - like said - how you start xbmc.

@fritsch: thanks for responding guys. I am waiting for the debug log to post to pastebin. I will disable VDPAU. Kernel is 3.0.0-27-generic-pae. Dist is XBMCBuntu 11.0.

@fritsch: log http://xbmclogs.com/show.php?id=15399


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-24

@beschmid:
Please disable vdpau and only enable xvba. Retry with a local file and post the log again, please.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-24

@fritsch: I did disable vdpau and enabled xvba before submitting the log. Is the log showing otherwise?


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-24

@beschmid: Yes. The log is started when xbmc is started, so this could be from before. Restart xbmc, play a local stored file and pastebin the log again.

If you can, try this edition: http://members.a1.net/wsnipex/xbmcbuntu-12_xvba-fglrx_legacy.iso thx@wsnipex.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-24

@fritsch:
(2012-11-24, 18:49)fritsch Wrote: @beschmid: Yes. The log is started when xbmc is started, so this could be from before. Restart xbmc, play a local stored file and pastebin the log again

Here is the new log, http://xbmclogs.com/show.php?id=15427

Quote:If you can, try this edition: http://members.a1.net/wsnipex/xbmcbuntu-12_xvba-fglrx_legacy.iso thx@wsnipex.
Would this iso requite wiping everything? The reason I ask is that it took me quite a long time to get everything setup the way I wanted it to be... and I would rather avoid having to wipe the drive. Thanks for your help.




RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - un1versal - 2012-11-24


@beschmid

Yes using that iso is for a full reinstall, backup your userdata directly or use the backup addon.

uNi


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-24

@beschmid:
The log indicates that most of the movies you start are stored on an smb share. As you want to keep the current version, let's see what else you got:

Code:
sudo apt-get install pastebinit
dpkg -l |grep fglrx | pastebinit
dmesg | pastebinit

Yeah, new installation without backup will whipe all data.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-25

@fritsch: Ideally yes, I always enjoy updating things Smile but would like to manage what I have already if I can. The movies are located on my NAS, but you should know that playing a stream off of the SportsDevil addon yields the same pink/green mess.

Quote:dpkg -l |grep fglrx | pastebinit - http://paste.ubuntu.com/1383784/
Quote:dmesg | pastebinit - http://paste.ubuntu.com/1383879/




RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-11-25

@beschmid:
Could you upgrade the fglrx driver to the latest legacy version? A howto you find pages back:
http://forum.xbmc.org/showthread.php?tid=116996&pid=1138272#pid1138272


For Legacy users:
Code:
sudo apt-get install dh-make dh-modaliases execstack libqtgui4 build-essential libc6-i386
1. login in to the xbmc computer via ssh
2. sudo service lightdm stop
# backup signature and control to your home directory
3a. cp /etc/ati/signature /etc/ati/control $HOME
# if you have fglrx-updates fglrx-amdcccle-updates installed, remove it now
# the next command does not harm, it will just tell: package not installed, if you don't have it
# just go on with 3. in this case. This step might remove xbmc and xbmc-bin. We will install it later.
# on xbmcbuntu there is nvidia-current installed. This is not nice to us, when reinstalling fglrx later
# so we remove it, too.
3b. sudo apt-get remove fglrx* nvidia*
3. mkdir 12-6
4. cd 12-6
5 legacy: wget http://www2.ati.com/drivers/legacy/12-6/amd-driver-installer-12.6-legacy-x86.x86_64.zip
5b legacy: unzip amd-driver-installer-12.6-legacy-x86.x86_64.zip
6 legacy: sudo sh amd-driver-installer-12.6-legacy-x86.x86_64.run --buildandinstallpkg
7. sudo aticonfig --initial -f
8. sudo aticonfig --vs=on
9. sudo aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1
(Optional 9b. if you have black bars normally, disable underscan (always after lightdm has stopped): sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0)
# the next step is only needed if fglrx-updates was installed before
10. sudo apt-get install xbmc xbmc-bin
# finally reboot
11. sudo reboot

Your fglrx driver is version 11.8 and totally outdated. As you see on the first page, we require at least 11.11, this howto will make you install version 12.6 legacy


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - beschmid - 2012-11-25

@fritsch: everything went great. I am trying to locate a command to find out current version of video drivers to verify version, but playback with xvba works great. No issues with playback yet. I did run the command "sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0" to get rid of the black bars, but so far the black bars are still present. I tried screen calibration to stretch it out, but wasn't able to get it to stretch the entire height and width of screen. How can I get rid of the black bars and be full screen?

Thanks again for you help. Its quite impressive to witness what people will go through to help others Smile