Kodi Community Forum

Full Version: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
fmafma let's move further discussion to https://github.com/FernetMenta/xbmc/pull/119
If there are problems left, I am interested in fixing it
FernetMenta, any chance you can assist me? I don't think my audio problem should be too hard to resolve, I just need a suggestion or two!
@Kieron:
Post xbmc.log and use the HD Audio Generic device afterwards.

Set Speaker numbers to 2.0

Disable _all_ the HD Codecs (DTS-HD, TrueHD, AAC), disable Play Stereo on all speakers.
Keep only DTS and AC3 and those also only _if_ you have an receiver that can use them.
@Kieron
Under system setting audio output choose HDMI
Assuming you use HDMI for sound to TV speakers unselect ALL capable receivers else it gets no sound for me.
Under audio output device choose the sound device supported. Mine is- pulse audio sound server. Passthrough output device is set to- error no devices found, assuming no receiver. Play GUI sounds Never..

That works on one amd apu I have. I use xubuntu 12.10 and that uses pulse audio.

If you only use HDMI you might want to disable onboard sound in BIOS to force HDMI only. That helps a lot and uses a lot less watts from the wall.
Thanks for the replies guys.

I do have all codecs turned off, I have made that mistake many times before - I've been using XBMC for a while now. Speakers are also set to 2.0.

Thing is I only have two Audio Output Device options - [HD-AUDIO GENERIC, ALC892 DIGITAL S/PDIF] and [HD-AUDIO GENERIC, ALC982 ANALOG]. Neither of them give me any output.

As you can see below, HDMI audio is detected in alsamixer:

Image

Here is the relevant part of the xbmc.log:

Code:
22:19:58 T:140277057939328  NOTICE: -----------------------------------------------------------------------
22:19:59 T:140277057939328   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
22:19:59 T:140277057939328  NOTICE: Found 1 Lists of Devices
22:19:59 T:140277057939328  NOTICE: Enumerated ALSA devices:
22:19:59 T:140277057939328  NOTICE:     Device 1
22:19:59 T:140277057939328  NOTICE:         m_deviceName      : @:CARD=Generic,DEV=0
22:19:59 T:140277057939328  NOTICE:         m_displayName     : HD-Audio Generic
22:19:59 T:140277057939328  NOTICE:         m_displayNameExtra: ALC892 Analog
22:19:59 T:140277057939328  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
22:19:59 T:140277057939328  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE
22:19:59 T:140277057939328  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
22:19:59 T:140277057939328  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
22:19:59 T:140277057939328  NOTICE:     Device 2
22:19:59 T:140277057939328  NOTICE:         m_deviceName      : iec958:CARD=Generic,DEV=0
22:19:59 T:140277057939328  NOTICE:         m_displayName     : HD-Audio Generic
22:19:59 T:140277057939328  NOTICE:         m_displayNameExtra: ALC892 Digital S/PDIF
22:19:59 T:140277057939328  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:19:59 T:140277057939328  NOTICE:         m_channels        : FL,FR
22:19:59 T:140277057939328  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,192000
22:19:59 T:140277057939328  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
22:19:59 T:140277057939328  NOTICE: load settings...
I did have audio output with bad video output before starting this guide. Now video is fine, but I have no audio

I will at some point turn off onboard sound to save power though, great tip.
do the following:

Code:
sudo apt-get install pastebinit
cat ~/.xbmc/temp/xbmc.log | pastebinit

thx.

Lol - sorry, I think I slowly get your problem. You have absolutely no chance to change the Audio device in xbmc, right? Cause you run a version 13 Alpha? That has changed settings? Press "left" in the settings (on your keyboard) and choose "Advanced" to get the the more detailled settings.
I can't provide the full log I'm afraid as it contains a fair bit of personal info.

I am using 13beta, it's the version that was installed when I removed 12, changed to ppa:wsnipex/xbmc-xvba and reinstalled.

I can change the audio output device, as I mentioned the only options are [HD-AUDIO GENERIC, ALC892 DIGITAL S/PDIF] and [HD-AUDIO GENERIC, ALC982 ANALOG].

With Confluence, I've tried pressing left whilst in the settings menu but nothing happens? Can't find any documentation about a hidden advanced settings window in Gotham either. Could you explain a little further? Thanks

EDIT:

I have switched to the other suggested ppa and am now running 12.2 stable. Same problem unfortunately. XBMC isn't noticing the 3rd HDMI device... http://paste.ubuntu.com/5668964/

The problem is this:

Alsa detects 3 devices:

Code:
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

XBMC does not:

Code:
22:19:33 T:140649210218368  NOTICE: -----------------------------------------------------------------------
22:19:33 T:140649210218368   ERROR: CAESinkOSS::EnumerateDevicesEx - Failed to open mixer: /dev/mixer
22:19:33 T:140649210218368  NOTICE: Found 1 Lists of Devices
22:19:33 T:140649210218368  NOTICE: Enumerated ALSA devices:
22:19:33 T:140649210218368  NOTICE:     Device 1
22:19:33 T:140649210218368  NOTICE:         m_deviceName      : @:CARD=Generic,DEV=0
22:19:33 T:140649210218368  NOTICE:         m_displayName     : HD-Audio Generic
22:19:33 T:140649210218368  NOTICE:         m_displayNameExtra: ALC892 Analog
22:19:33 T:140649210218368  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
22:19:33 T:140649210218368  NOTICE:         m_channels        : FL,FR,BL,BR,FC,LFE
22:19:33 T:140649210218368  NOTICE:         m_sampleRates     : 44100,48000,96000,192000
22:19:33 T:140649210218368  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
22:19:33 T:140649210218368  NOTICE:     Device 2
22:19:33 T:140649210218368  NOTICE:         m_deviceName      : iec958:CARD=Generic,DEV=0
22:19:33 T:140649210218368  NOTICE:         m_displayName     : HD-Audio Generic
22:19:33 T:140649210218368  NOTICE:         m_displayNameExtra: ALC892 Digital S/PDIF
22:19:33 T:140649210218368  NOTICE:         m_deviceType      : AE_DEVTYPE_IEC958
22:19:33 T:140649210218368  NOTICE:         m_channels        : FL,FR
22:19:33 T:140649210218368  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,192000
22:19:33 T:140649210218368  NOTICE:         m_dataFormats     : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE
22:19:33 T:140649210218368  NOTICE: load settings...
ooops
You might try to disable spdif/on board sound in bios. it will force the os to use HDMI. That cures tons of sound issues aside from saving power. I dont use alsa only. But I did. You can try. (From another thread)

Run from terminal.
sudo alsamixer -c 0. Edit here. You can try 1. 0 is good for me.

There's no option to raise/lower volume, but you can un-mute by hitting 'm'. If you see a box at the bottom of the terminal window with 'mm' in it, you're muted. If it contains '00', you're un-muted.

Ubuntu with fglrx gets crazy with sound when too many options are present from my experience. Xubuntu needs pavucontrol to enable HDMI sound with spdif at the same time.

Edit. My a play -l only shows device 3 HDMI 0. But alsamixer 0 only shows spidf. This box is ECS and has onboard disabled. HDMI works great.
Hi gfisher. Thanks for the input.

I did try to unmute, it was the first thing I did. It's definitely unmuted. Running the command you suggested didn't seem to do anything other than open alsamixer as usual.

Will try to disable in BIOS later on tonight. It's strange that it was working just fine before.
AMD just released Catalyst 13.4.
http://www.phoronix.com/scan.php?page=ne...rce=feedly

Are there improvements regarding our beloved xbmc on linux?
Are you running Ubuntu minimal? You might try xubuntu desktop. It really configures hardware out of the box and works with most players: Totem, vlc, xbmc, flash. All work out of the box. I like chrome on my boxes. Too much content out there. You can install xubuntu with persistence on a USB thumb drive or better try a USB hard drive if you have one to format for install and boot as a trial. Just remember to create user account xbmc so that the op guide works. I have 3 xbmc xubuntus running strong. It takes the sound, auto mount, etc. guesswork out of the equation.
hello,
I want to apologize for my English.
I installed XBMC HTPC without OS. I got it about a month.
I can not really setup plugin.
but considering that this remake and loaded Ubuntu + XBMC
I want to make it as a NAS and MMC in one.
torrents and Blueray disk backup because I have BD-RW
best controlled through the Web interface

or we can recommend installing what?
thank you
@Kieron:
I think your PC boots too fast - there is no hdmi device found by audio engine, cause it seems to be not up yet. Try to run it from something like the xubuntu desktop. If it works there, we can find a workaround to wait for udev.

@Artax:
Please read the first post, i will cite it for you:

Quote:What you need:
on AMD GPUs:
- fglrx binary driver(amd catalyst) >= 11.11 (>=fglrx 2:8.911) - 12.10 recommended on precise - installed as debs (see step 2 below) on AMD (integrated) GPUs
Every driver after 12.11 (xorg 1.12 only) and 12.9Quantal(xorg 1.13 shipped with Ubuntu 12.10) is broken. It causes 100% CPU usage with enable vsync.
There is currently no driver that can be installed for Ubuntu 13.04 - don't use this version.

@tomy159:
Try OpenELEC (www.openelec.tv)
For all the Raring Users:
- Disable Adjust Refreshrate to Match Video
- Disable Sync Playback to Display

and keep your Refreshrate on 60hz. It seems AMD only tests their driver sync on 60hz and therefore this is at least working (with all the bad it brings, when playing 50fps or 24fps content with this refreshrate !111!!) .... (sooo einen hals hab ich)