XBMCbuntu - HDMI Audio and Ubuntu Problems
#1
My original goal was to create an easy way to launch various old school console emulators from one central location that would make browsing and playing the games simple and nice looking. Playing other types of media was also part of the goal but all of this has turned into a nightmare for me.

An overview of my setup:
Dual Boot Ubuntu 12.04 (Installed XBMC12 RC3) and XBMCbuntu 11 Eden
Intel® Core™2 Quad CPU Q6600 @ 2.40GHz × 4
3 GB RAM DDR3
500 GB HD
Ati Radeon HD 3870 (Interesting that System Details on Ubuntu shows the drivers as Gallium 0.4, HDMI sound output works in Ubuntu 12.04 after changing the Sound Settings to the card)

First I wanted to run XBMC from my Ubuntu 12.04 desktop computer in the living room, but everytime I clicked the application after installing nothing would happen. So then I decided to say screw it and try XBMCbuntu as secondary partition (so dual booting with Ubuntu 12.04), but I quickle ran into the HDMI sound problem. I have an ATI Radeon 3870HD in the computer but it is connected to the HDMI cable via a DVI-to-HDMI converter capable of sound output - the sound works in Ubuntu 12.04 but I have no idea what I did to make it work, I just changed the sound settings around, installed and reinstalled multiple drivers and voila sound worked. But I was unable to get the same success in XBMCbuntu and so I decided to give running XBMC on Ubuntu another go.

So I tried to load XBMC from terminal but I kept getting an error that it was unable to create application. I then purged the installation and got the RC3 of XBMC 12 and installed that, now when I run "xbmc" from terminal I get the following output:

Code:
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
ERROR: Unable to create GUI. Exiting

Last night it gave me a Segmentation Fault error. And when I ran dmesg as suggested by some threads I read I got this:

Code:
[14722.995406] journal commit I/O error
[14722.995411] journal commit I/O error
[14722.995414] journal commit I/O error
[14722.995435] journal commit I/O error
[14722.995439] journal commit I/O error
[14722.995475] journal commit I/O error
[14722.995511] journal commit I/O error
[14722.995516] journal commit I/O error
[14722.995520] journal commit I/O error
[14722.995527] journal commit I/O error
[14722.995611] journal commit I/O error
[14722.995616] journal commit I/O error

I am at a loss at what to do with XBMC and I am considering giving up on this project altogether, which is a shame as the way some people configured and got theirs to work with running old school games and emulators looks amazing and would love to have that addition to the living room. I have also sunk the whole of last week into trying to get this project off the ground and everytime I make a breakthrough its only to find out more problems than I expected.

I should add that in an attempt to get sound to work on XBMCbuntu I installed PulseAudio Volume Control.

If anyone could help me out that would be amazing! Whether solving the audio issues on XBMCbuntu or getting XBMC to run on Ubuntu.
Reply
#2
Excuse me, but...since when is a dvi to HDMI adapter sound capable? DVI stands for "digital visual interface" so it never can be sound capable. You'll get a picture of course, cause it's digital. But AFAIK you'll never get sound with dvi.

If I'm wrong so please give me a link to which adapter is in use for this. I'm very interested in a product that should not exist.
Reply
#3
DVI is electrically identical to HDMI and the plug itself doesn't care what is multiplexed onto the digital stream the wires carry. There were some soundcards that had an option where you could get audio out their DVI connector, which with a DVI/HDMI cable will send audio to the TV. I think these have largely gone from the market now (with HDMI becoming more prevalent on graphics cards). Still kiwusek may have such a setup. (If he doesn't then that would explain his problem.)
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#4
http://en.wikipedia.org/wiki/Digital_Vis...patibility

I have the proper connector (twas a pain in the ass to track down) and I have audio output on the Ubuntu after doing a whole slew of things, but the main thing that worked was after installing the drivers I had an option in my volume settings for the Radeon to be used as an output device. I have that option in XBMCbuntu since install but no configuration of options with the passthrough outputs sound. I even tried using "Custom" for both the device and passthrough and setting it to "hw:1,3" (Radeon) and "plughw1,3" but now luck.
Reply
#5
aplay -l
aplay -L
ls -l /proc/asound
full debug log.
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#6
Okay this is everything on the Ubuntu 12.04 where the audio works:

aplay-l

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

ls -l /proc/asound

Code:
total 0
dr-xr-xr-x 6 root root 0 Jan  9 02:35 card0
dr-xr-xr-x 3 root root 0 Jan  9 02:35 card1
-r--r--r-- 1 root root 0 Jan  9 02:35 cards
-r--r--r-- 1 root root 0 Jan  9 02:35 devices
lrwxrwxrwx 1 root root 5 Jan  9 02:35 HDMI -> card1
-r--r--r-- 1 root root 0 Jan  9 02:35 hwdep
lrwxrwxrwx 1 root root 5 Jan  9 02:35 Intel -> card0
-r--r--r-- 1 root root 0 Jan  9 02:35 modules
dr-xr-xr-x 2 root root 0 Jan  9 02:35 oss
-r--r--r-- 1 root root 0 Jan  9 02:35 pcm
dr-xr-xr-x 2 root root 0 Jan  9 02:35 seq
-r--r--r-- 1 root root 0 Jan  9 02:35 timers
-r--r--r-- 1 root root 0 Jan  9 02:35 version

I am not sure how to get the full debug log but that is all that came up with the last command.

XBMCbuntu 11.10 Eden

aplay -l

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC1200 Digital [ALC1200 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

ls -l /proc/asound

Code:
total 0
dr-xr-xr-x 6 root root 0 2013-01-09 03:01 card0
dr-xr-xr-x 3 root root 0 2013-01-09 03:01 card1
-r--r--r-- 1 root root 0 2013-01-09 03:01 cards
-r--r--r-- 1 root root 0 2013-01-09 03:01 devices
lrwxrwxrwx 1 root root 5 2013-01-09 03:01 HDMI -> card1
-r--r--r-- 1 root root 0 2013-01-09 03:01 hwdep
lrwxrwxrwx 1 root root 5 2013-01-09 03:01 Intel -> card0
-r--r--r-- 1 root root 0 2013-01-09 03:01 modules
-r--r--r-- 1 root root 0 2013-01-09 03:01 pcm
dr-xr-xr-x 2 root root 0 2013-01-09 03:01 seq
-r--r--r-- 1 root root 0 2013-01-09 03:01 timers
-r--r--r-- 1 root root 0 2013-01-09 03:01 version
Reply
#7
firstly you can get a full debug report by following the instructions here:

http://forum.xbmc.org/showthread.php?tid=34655

2, are you still getting the journal commit errors? If so, is your hard drive dying?

3, what video drivers are you running? FOr AMD graphics you should be running fglrx - check /var/log/Xorg.0.log - it will tell you which drivers you are running. The standard fglrx drivers on 12.10 will NOT run on yor hardware, AMD, true to form, have put you in a backwater. However as far as I know it should be OK on 12.04. To be sure, also give us the output of dpkg -l fglrx
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#8
There are definitely some things you have to fix first:

1. Run an fsck on your partition, it looks like it's broken somehow (or your HDD is dying).

2. Install the fglrx drivers as nick suggested. You seem to be running the open-source drivers (hence the Gallium name).

I would also suggest you disregard Eden and focus directly on the new RC builds.
Reply

Logout Mark Read Team Forum Stats Members Help
XBMCbuntu - HDMI Audio and Ubuntu Problems0