XBMC Community Forum
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and 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)



RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-05-02 21:47

Okay. Heard many times about releases greater than 12.1 bring such high loads. Could never reproduce that myself. You could file a bug at the inofficial bugtracker (http://ati.cchtml.com). I hope someones reads these bugs at all :-(

wsnipex had the same problem some time ago. He fixed it with purging the old fglrx installation and installing catalyst 12.4 from scratch iirc.


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - weemaaan - 2012-05-02 22:29

Thanks wsnipex & fritsch got it sorted. The only problem now is that both shutdown and restart options will only exit xbmc.


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-05-02 22:37

@weemaaan
create the file /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla
with the following content:
Code:
[Actions for xbmc user]
Identity=unix-user:xbmc
Action=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesk​top.udisks.*
ResultAny=yes
ResultInactive=yes
ResultActive=yes

And to make it complete, if you want to mount and umount usb sticks, that are connected during a xbmc sessions
do:
Code:
sudo adduser xbmc users

and create the file /etc/udev/rules.d/11-media-by-label-auto-mount.rules
Code:
# Start at sdb to avoid system harddrive.
KERNEL!="sd[b-z][0-9]", GOTO="media_by_label_auto_mount_end"

# Import FS infos
IMPORT{program}="/sbin/blkid -o udev -p %N"

# Get a label if present, otherwise specify one
ENV{ID_FS_LABEL}!="", ENV{dir_name}="%E{ID_FS_LABEL}"
ENV{ID_FS_LABEL}=="", ENV{dir_name}="usbhd-%k"

# Global mount options
ACTION=="add", ENV{mount_options}="relatime"
# Filesystem-specific mount options
ACTION=="add", ENV{ID_FS_TYPE}=="vfat|ntfs", ENV{mount_options}="$env{mount_options},utf8,gid=100,umask=002"

# Mount the device
ACTION=="add", RUN+="/bin/mkdir -p /media/%E{dir_name}", RUN+="/bin/mount -o $env{mount_options} /dev/%k /media/%E{dir_name}"

# Clean up after removal
ACTION=="remove", ENV{dir_name}!="", RUN+="/bin/umount -l /media/%E{dir_name}", RUN+="/bin/rmdir /media/%E{dir_name}"

# Exit
LABEL="media_by_label_auto_mount_end"

Now Reboot.

Shutdown, logout, suspend, etc. should be fine afterwards. Also mounting and umount of usb drives should now be possible.

@wsnipex:
Perhaps we should add this into the howto? As the polkit console commands are not there anymore?


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - weemaaan - 2012-05-02 23:34

Fritsch, still the same but now on start up xbmc will load then quit and load up again. I think I will try with a fresh install tomorrow and see if that will iron out any kinks.


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - fritsch - 2012-05-03 08:31

@weemaaan
Yeah, it really sucks that the only part, that can go wrong is the catalyst installation :-). Btw. does Shutdown and Usb-Stick mount work with the above files?


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - wsnipex - 2012-05-03 13:10

added the polkit stuff to the howto. Tried to add the udev rules too, but that would make the post >10000 chars, which is the max Confused
Instead I put a link to the post here,


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - weemaaan - 2012-05-04 22:14

@fritsch, just did a fresh install following the guide inc your new additions and it's working fine now. Thanks


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - Jan0sh - 2012-05-05 00:25

Hi there!
for anyone who had updated from 11.10 to lts via do-releasupgrade
make sure u readd the right ppa from wsnipex.
and do an apt-get updated && apt-get upgrade

to make sure u install the RIGHT xvba reade XBMC


12.04 seem to have an own XBMC in their repos which will force an installation of it within the update process.
So U have to reinstall th xvba ppa.

after that the cpu is down @ 25% as bevor in 11.10 ubuntu

the high cpu utilization befor ist a result of the use of non pached XBMC


greetz from germany


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - jkutya - 2012-05-07 20:48

My older system was ASrock ION 330 - and SAMSUNG 46B6000 TV. I used XBMC live - VDPAU with studio level conversion (RGB low), and HDMI black level "low" on the TV - and everything was fine.
But now I switched to ASrock E350 Brazos system with VAAPI - and seems, the studio level RGB conversion didn't works - HDMI low level is grayed out on TV.
There is no RGB "low" . That meens, there is no real black.
My question is: Is it the same for all of E350 users - and is there any solution?
Sorry for my english - greetings from Hungary


RE: Howto Install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs - wsnipex - 2012-05-07 22:48

Afaik Vdpau studio level is a reduced colorspace(16-235)

ati supports various color levels. At least: RGB 4:4:4, 4:2:2 and YcbCr 4:4:4 and 4:2:2
it can be changed in amdccle and maybe also via aticonfig.
YcbCr 4:4:4 might be what you want.

But a lot of TVs support full RGB(often called PC mode) or even Yuv. If not, adjust brightness and saturation.