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 - un1versal - 2012-11-25

@fritsch

What's the HD audio limitation of ATI cards in Linux with the amd drivers? Is there any? Are there any cards that have this limitation if any?

uNi


crysyal hd / appletv - tekno - 2012-11-25

I wanted to report back the following:

Running XBMC XBVA support on Apple TV 1 with Xbmcbuntu . Crystal HD was tested and working in Eden

UNinstalled XBMC Eden , installed XVBA repo and XBMC XVBA
System reports XBMC 12.0 Beta 1 GIT:UNKNOWN(Compilied Nov 24, 2012)

I now get HDMI sound with all system alerts. I only had to select HDMI , which does not appear when launched from GUI BTW, but makes me very happy otherwise. "Custom" is gone however which is what brought me to this thread. I dnt need it now with properly working HDMI.

There is however no Crystal HD option in video playback settings. I tried HD playback and was obviously not getting CrystalHD support.

Thanks in advance


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

Tekno: I already told you that crystalHD is disabled in the xvba branch.
You need mainline nightlies for now: https://launchpad.net/~team-xbmc/+archive/xbmc-nightly



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

(2012-11-25, 10:55)uNiversal Wrote: @fritsch

What's the HD audio limitation of ATI cards in Linux with the amd drivers? Is there any? Are there any cards that have this limitation if any?

uNi

Amd on linux can only do 2 real channels. This is enough for DTS (5.1) and AC3 (5.1) that decode 6 channels virtual over two real ones. But nothing more.
This is not a hardware, but a software (fglrx) limitation.

Cause of this:
Only enable AC3 and DTS in the Audio Settings. Keep LPCM, TrueHD, DTS-HD, AAC disabled. And don't check play stereo on all speakers, as it also won't work.




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

I dont have amd hardware (yes I understand the "problem" is fglrx limitation in this case AMD probably butt kissing MS) just asking because of another thread and a comment that if you want HD audio you need windows.

I wouldn't use windows on a HTPC even if that meant HD was not a option. (just to stick it to Microsoft :p).

uNi


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

I have soms serious audo/video sync issues with the new frodo xbmc. I've use the guid mentiond in de the first post with the Catalyst 12.9 Quantal.

Performance seems great, ony about 20% CPU usage. But when playing a video, it seems a bit laggy and there are some little freezes noticeable. (verry small freezes). Perhaps these freezes are the couse of the problemes.

AMD e450 board with optical audio output (HDMI gives the same lag).

The settings in xbmc
Playback
[*]Render method - auto
[*]allow hardware xvba
[*]Adjust display refreshrate to match video - always
[*] pauze during refresh rate (0 - 20 sec) i've tried everyting in between 0 - 20.
[*] sync playback to display
[*] a/v sync method : Drop dupe


Audio
[*] optical and HDMI (same issue)
[*] 5.1 speaker
[*] audio output : HDA ATI SB ... digital S/PDIF
[*] passtrough: same

Found some errors in de logfile
Code:
14:45:26 T:139748491401088   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
Code:
13:01:55 T:139746860840704 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
13:01:56 T:139746835662592 WARNING: Previous line repeats 9 times.

dont know if this has anything to do with it. But would like some assist please



---
I've uses the guide from the 1st post combined with some generals tweaks from the xbmc wiki.
My system is AMD e450 with ubuntu 12.04 minimal



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

@Beninho:
please post complete logs. And i want to have this one:

Code:
sudo apt-get install pastebinit
DISPLAY=:0 /usr/lib/xbmc/xbmc-xrandr | pastebinit

Also make sure, that you change the UMA size in bios to have 512MB for the GPU, should be looking like this:
https://dl.dropbox.com/u/55728161/umasize512.jpg

Additionally please use the latest package wsnipex provides in his testing ppa.


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

@fritsch

Thanks for having your atention solving this problem.

Pasebin:
http://paste.ubuntu.com/1385104/

my complete crach-log:
https://dl.dropbox.com/u/3523108/xbmc_crashlog-20121125_130704.log

Will update to the latest package from wsnipex now, and change UMA size in bios.

*update*
Latest xbmc from wsnipex are on the system.
UMA size set on 512 in bios.


Issue is not solved with the adjustment in the bios.
When I start a video file, it needs a lot of buffering and gives a number the short freezes at the beginning in playback. I think those freezes (0.5 - 1 sec) are the cause of the sympons. But maby there's an underlying issue wich causes the freezes in the beginning.

screenshot with info:
https://www.dropbox.com/s/zt4osl0n3hk1gh9/2012-11-25%2014.01.51.jpg


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

@Beninho:
xbmc-xrandr: all is fine - perfect.

Please disable VDPAU and VAAPI in Video -> Playback

You don't have by any chance set "Deinterlace" to On and saved this for every video? -> Set this to Auto and save for all files.
The files you tested are all 720p and are upscaled to 1080p, can you try to change the scaleing to Nearest neighbour or Bilinear?

Code:
sudo apt-get install gdb

let it crash again and post the crashlog.

Please upgrade to the latest version in wsnipex ppa:

Code:
# if not already done, else skip the next command
sudo apt-add-repository ppa:wsnipex/xbmc-xvba
#continue here
sudo apt-get update
sudo apt-get install xbmc xbmc-bin

The wsnipex ppa is currently in a safe state as master is rather safe and in good shape. So there will be frequent updates that bring upstream fixes.

@wsnipex: Could you copy this beta1-xvba5 release to the normal ppa repo?


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

copied


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

@wsnipex: thx, that was fast - i will edit the above post.


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

(2012-11-25, 15:34)fritsch Wrote: Please disable VDPAU and VAAPI in Video -> Playback
Already disabled
Quote:You don't have by any chance set "Deinterlace" to On and saved this for every video? -> Set this to Auto and save for all files.
The files you tested are all 720p and are upscaled to 1080p, can you try to change the scaleing to Nearest neighbour or Bilinear?
I did by any chance set it on deinterlace and saved for every video Nod. But switched it off en set scaling to Nearest neighbour.


ppa:wsnipex/xbmc-xvba was and remains source.

The new crashlog.
https://dl.dropbox.com/u/3523108/xbmc_crashlog-20121125_152736.log




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

@Beninho:
It cannot work, if you had deinterlace forcefully set to on, why should one do such a thing? This happened now twice ... deinterlace is to make full pictures out of half pictures. If you don't have half pictures, you cannot combine them to full pictures - ever tried to form a circle pizza out of two full circle pizzas?

Keep it AUTO and save it for all files. The scaling was just a test - the fusion is fast enough to do default upscaling, so set it back to AUTO, too.

This is not even a complete crashlog :-) retry.


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

@fritsch.

I've HAD previous set deinterlace on, but already switched it to off. But now it is saved on auto. Sorry for the lack of dots and comma's.

Bottem line is, that deinterlace is set to auto.

New log file Smile think this ons's more complete. Angel

http://paste.ubuntu.com/1385447/




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

this log does not have debugging turned on and doesn't show any file being played