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 - danz0l - 2012-11-12

Are the untested builds in line with nightly frodo releases ?

The reason i asked is that the recently added tv shows from home doesn't auto refresh on new stuff added and i found a workaround for it by going into videos / Library / Recently added episodes and clicking there.

I posted my solution here in the linux forums but jmarshall said that this had actually been fixed in the nightly builds. I've upgraded to NOV 10 ppa untested and the problem still persists and wondered how equally matched these builds are with the usual nightly frodo builds.

Everything else now appears extremely stable but i was just curios.


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

Hi all,

today I discovered that my system had problems with playback of FLAC audio. I experience a sort of "frame drop", but with audio.

May the problem be related to the HD audio issue of AMD drivers?

First of all my configuration:
HTPC with:
Ubuntu 12.04 up to date as 12/11/2012
AMD Catalyst 12.6.
XBMC Frodo via wsnipex's PPA, up to date as 12/11/2012.
XBMC autologin. XBMC remote on my Android phone,
The HTPC is connected via HDMI to a Denon AVR-1611. Denon is connected to the TV via HDMI, and to a simple 2.0 speaker configuration.
The Denon does not decode flac format.

Doing some investigations, I noticed that my Denon detect the sample rate of flac songs as 48 kHz, but they are 96 kHz. Then, I searched in the log file and I found this:
Code:
15:22:20 T:140708098033536  NOTICE: Enumerated ALSA devices:
15:22:20 T:140708098033536  NOTICE:     Device 1
15:22:20 T:140708098033536  NOTICE:         m_deviceName      : hdmi:CARD=Generic,DEV=0
15:22:20 T:140708098033536  NOTICE:         m_displayName     : HD-Audio Generic
15:22:20 T:140708098033536  NOTICE:         m_displayNameExtra: HDMI
15:22:20 T:140708098033536  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
15:22:20 T:140708098033536  NOTICE:         m_channels        : FL,FR
15:22:20 T:140708098033536  NOTICE:         m_sampleRates     : 32000,44100,48000
15:22:20 T:140708098033536  NOTICE:         m_dataFormats     : AE_FMT_S16NE,AE_FMT_S16LE
15:22:20 T:140708098033536  NOTICE:     Device 2
15:22:20 T:140708098033536  NOTICE:         m_deviceName      : @:CARD=SB,DEV=0
15:22:20 T:140708098033536  NOTICE:         m_displayName     : HDA ATI SB
15:22:20 T:140708098033536  NOTICE:         m_displayNameExtra: ALC892 Analog
15:22:20 T:140708098033536  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
15:22:20 T:140708098033536  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE
15:22:20 T:140708098033536  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
15:22:20 T:140708098033536  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
15:22:20 T:140708098033536  NOTICE:     Device 3
15:22:20 T:140708098033536  NOTICE:         m_deviceName      : iec958:CARD=SB,DEV=0
15:22:20 T:140708098033536  NOTICE:         m_displayName     : HDA ATI SB
15:22:20 T:140708098033536  NOTICE:         m_displayNameExtra: ALC892 Digital S/PDIF
15:22:20 T:140708098033536  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
15:22:20 T:140708098033536  NOTICE:         m_channels        : FL,FR
15:22:20 T:140708098033536  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,192000
15:22:20 T:140708098033536  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE

So the HDMI device has a maximum sample rate of 48000.

Is it normal or is it related to the driver issue?


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

Artax : You can see what the audio receiver reports by reading cat /proc/asound/cardX/eld#Y (where X is a soundcard and Y is the audio output; ELD should mean "EDID Like Data")... but it can be incomplete.
I've the same problem with my Harman-Kardon using an IvyBridge+PantherPoint integrated graphics.

Sounds like some bug.


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

Maybe the bug is related to ATI card, so I continue the debug here. If you prefer I can search another location.


Output of aplay -l.

So I assume that HDMI output it is card0, device 3, subdevice 0. Output of cat /proc/asound/card0/eld#0.0.

Output of cat /proc/asound/card0/codec#0.

Any idea?


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

Beware Trinity CPUs need Quantal ?buntu 12.10 for HDMI sound to work. Built a A6 5400k sys. Tried many ?buntu 12.04LTS versions with ati12.10 but the kernel is too old for those devices (aplay -l no HDMI at all listed). It appears kernels 3.4 or higher are needed for HDMI sound, not an easy find for me. Xvba daily-tested works great on Xubuntu64 12.10 with fglrx from repo. One small note - Synch playback to display forces major under scan for 720p24 h.264. Likely the older 1080P Sony panel is the reason. Unchecked it is full screen. 720p60 h.264 plays full screen if enabled. No big deal just reporting it as solvable strange behavior.


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

The problem Artax describes is probably a XBMC bug, I've the same issue with an Intel system (using intergrated graphic card and HDMI audio)... so it's probably not VGA related.

This is a 24/96 FLAC (free distribution as far as I can tell) : http://www.hdta.info/demo/HMRW2496.flac


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

(2012-11-13, 07:51)gfisher Wrote: Beware Trinity CPUs need Quantal ?buntu 12.10 for HDMI sound to work. Built a A6 5400k sys. Tried many ?buntu 12.04LTS versions with ati12.10 but the kernel is too old for those devices (aplay -l no HDMI at all listed). It appears kernels 3.4 or higher are needed for HDMI sound, not an easy find for me. Xvba daily-tested works great on Xubuntu64 12.10 with fglrx from repo. One small note - Synch playback to display forces major under scan for 720p24 h.264. Likely the older 1080P Sony panel is the reason. Unchecked it is full screen. 720p60 h.264 plays full screen if enabled. No big deal just reporting it as solvable strange behavior.

Interesting catch about Trinity APUs needing quantal, can anyone confirm this?

regarding your underscan:
Code:
sudo service lightdm stop
sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
sudo service lightdm start



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

I've tried with a different sound card (a FiiO E-10), analog output directly to AVR-260... and it's THE SAME so it's probably an XBMC bug, not HDMI or audio/video card related... as far as I can tell.
"standard" MP3 or WAV up to 44.1/16 are fine through.


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

is there a bug tracker for this release incase issues relate to this build that could be cured in nightly ?


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

IIRC this is based on the FernetMenta branch though there is no bug tracker per say you can follow the commits like you do any github project.

https://github.com/FernetMenta/xbmc/commits/master

uNi




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

if there is an issue related to VIDEO, you can report it as issue here: https://github.com/FernetMenta/xbmc/issues

everything else should go to trac, because those are upstream issues.


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

Yeah, wsnipex, your 1.000 post Smile


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

wohoo, I'm not gonna post anymore now.

...uhm wait...

/fail Wink


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

@wsnipex. Clean installs were done of xubuntu 32 and amd64 12.04.1 and Ubuntu 12.04.1 AMD64. (Kernal 3.2xx). ASUS Bios w/ disabled HD audio to force hdmi audio. Uses less watts too. Tried alsa daily, w/wo grub params for radeon,w/wo pavucontrol... tried radeon default and fglrx 12.10 installed with debs. Driver went in fine, but aplay -l listed no sound devices. Also noted -boot errors for *hda-codec out of range cmd* on all 12.04.1 live disks. Xubuntu 12.10 (kernel 3.5xxx) booted no hdaxxxx errors, installed and had HDMI sound listed out of the box. Installed Fglrx from repo. Fglrxifo looked good. A play -l HDMI sound now listed. It works now. This chip is so new, I don't want others to waste the time that I did. Google was not my friend this time and the Ubuntu/Xubuntu home pages did not mention trinity issues for HDMI audio. But i am grateful the kernel team wrote this apparent new support into newer kernels. The new apu seems to work well. Hopefully others can confirm this. The kernel 3.4 minimum was posted on askubunu. Found this after finally trying Quanal. 8( I prefer LTS.

Thx. I will try under scan code. But isn't that the same as using the GUI/panel underscan, run from sudo amdcccle? which I did.

*Edit/update - your code fixed that, but the codecs were updated today, too. Thx.*


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

Should have read this first I guess.. http://www.phoronix.com/scan.php?page=article&item=amd_a10_5800k&num=2