Need help installing XBMCbuntu on Acer Revo R3700 please

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
pumkinut Offline
Posting Freak
Posts: 881
Joined: May 2006
Reputation: 9
Post: #11
Try creating an /etc/asound.conf file with the following information:
Code:
pcm.!default {
   type plug
   slave {
       pcm "hw:1,3"
   }
}
So you do the following:
Have this page open.
SSH into your XBMC box.
Type "sudo nano /etc/asound.conf"
Copy and paste the code above.
Type CTRL+x and then "y" to save.
Reboot
Make sure audio output is set to HDMI, and that the devices are set to custom with "plughw:1,3" for both output device and passthrough device.
(This post was last modified: 2012-04-07 20:10 by pumkinut.)
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #12
(2012-04-07 20:10)pumkinut Wrote:  Try creating an /etc/asound.conf file with the following information:
Code:
pcm.!default {
   type plug
   slave {
       pcm "hw:1,3"
   }
}
So you do the following:
Have this page open.
SSH into your XBMC box.
Type "sudo nano /etc/asound.conf"
Copy and paste the code above.
Type CTRL+x and then "y" to save.
Reboot
Make sure audio output is set to HDMI, and that the devices are set to custom with "plughw:1,3" for both output device and passthrough device.

This is super hacky and you shouldn't need to do it in recent versions of Ubuntu. Those channels on the NVidia card that were muted (MM)? Turn them on. Also make sure your volume is up. Anything S/PDIF or PCM should be on.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
find quote
Finchy Offline
Senior Member
Posts: 161
Joined: Dec 2010
Reputation: 0
Post: #13
How do I turn them on? I couldn't work out how to do it in Alsamixer. And are they not just for the spdif output? Or will they still relate to the HDMI audio out?
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #14
Press the 'm' key to toggle mute. I've never seen a channel show up as "HDMI" under Alsamixer. It usually just shows each digital output as s/pdif.

Here's a screenshot of mine

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
find quote
Finchy Offline
Senior Member
Posts: 161
Joined: Dec 2010
Reputation: 0
Post: #15
Thanks for that, I've got to leave it for tonight as the missus is moaning so got to go out! Will continue tomorrow! Smile
find quote
pumkinut Offline
Posting Freak
Posts: 881
Joined: May 2006
Reputation: 9
Post: #16
(2012-04-07 20:33)Plaguester Wrote:  
(2012-04-07 20:10)pumkinut Wrote:  Try creating an /etc/asound.conf file with the following information:
Code:
pcm.!default {
   type plug
   slave {
       pcm "hw:1,3"
   }
}
So you do the following:
Have this page open.
SSH into your XBMC box.
Type "sudo nano /etc/asound.conf"
Copy and paste the code above.
Type CTRL+x and then "y" to save.
Reboot
Make sure audio output is set to HDMI, and that the devices are set to custom with "plughw:1,3" for both output device and passthrough device.

This is super hacky and you shouldn't need to do it in recent versions of Ubuntu. Those channels on the NVidia card that were muted (MM)? Turn them on. Also make sure your volume is up. Anything S/PDIF or PCM should be on.
It's not "super hacky", and it is needed more than you think. Look at all the audio threads, and then look at how many are solved by adding an asound.conf file under /etc. It's a pain, but in a lot of cases it's necessary. Things like this should be a thing of the past when Frodo hits the scene, assuming AE makes it in.
* pumkinut crosses fingers
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #17
Quote:It's not "super hacky", and it is needed more than you think. Look at all the audio threads, and then look at how many are solved by adding an asound.conf file under /etc. It's a pain, but in a lot of cases it's necessary. Things like this should be a thing of the past when Frodo hits the scene, assuming AE makes it in.
* pumkinut crosses fingers

Yes, it is hacky. On a standalone Ubuntu system, this hasn't been needed since 9.04. I also did not say that it doesn't work for XBMC. But it doesn't work for all programs and browser plugins (I recall it not working for Flash in 9.04). While it's possible that XBMCbuntu is broken in this regard, I highly doubt it.

If the channels are all unmuted and the volume is up, all you should have to do is pick the correct device. If it *still* doesn't play, then try switching the Audio Output type to Analog or Digital (rather than HDMI) and choosing the output device again.

You should be able to get audio out of ALSA via "aplay -l", "alsamixer", and "speaker-test -D plughw:X,Y" without going through PulseAudio. XBMC and Ubuntu use PulseAudio to configure ALSA. You can check pulse by doing "cat /dev/urandom | pacat" (use ctrl-c to quit). If something isn't working you can check the pulse audio configuration from the command line like this:

Code:
$ pacmd list-sinks

# It's a lot of information, to save it to a file to upload to pastebin...
$ pacmd list-sinks > output.txt

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
find quote
skweezer Offline
Member
Posts: 68
Joined: May 2011
Reputation: 0
Post: #18
Disable On board Audio through the bios then follow these instructions. Thats how i got audio to work. Make sure you unmute in alsamixer.
http://wiki.xbmc.org/index.php?title=HOW...controller

Also, regarding overscan. You can adjust overscan in xbmcbuntu from the NVidia Panel settings. (a slider you can change till you get it right)
(This post was last modified: 2012-04-08 00:32 by skweezer.)
find quote
pumkinut Offline
Posting Freak
Posts: 881
Joined: May 2006
Reputation: 9
Post: #19
(2012-04-07 23:19)Plaguester Wrote:  On a standalone Ubuntu system, this hasn't been needed since 9.04.
Funny, I need an asound.conf file for my brand-spanking-new XBMCbuntu install on an Intel H67 chipset mini-ITX board using the Intel IGP and audio over HDMI. Without the asound.conf I either have to choose correct passthrough audio or menu sounds. With the asound.conf file, I get both.
find quote
Finchy Offline
Senior Member
Posts: 161
Joined: Dec 2010
Reputation: 0
Post: #20
(2012-04-07 20:10)pumkinut Wrote:  Try creating an /etc/asound.conf file with the following information:
Code:
pcm.!default {
   type plug
   slave {
       pcm "hw:1,3"
   }
}
So you do the following:
Have this page open.
SSH into your XBMC box.
Type "sudo nano /etc/asound.conf"
Copy and paste the code above.
Type CTRL+x and then "y" to save.
Reboot
Make sure audio output is set to HDMI, and that the devices are set to custom with "plughw:1,3" for both output device and passthrough device.

Excellent! That has fixed it for me! Many thanks! Big Grin

Now...does anyone know where the setting is to take off the clicks and whooshes when I navigate around!
Damn! Spoke too soon! I have effects, but no audio. It's still getting the "failed to initialise audio" error.
(This post was last modified: 2012-04-08 16:22 by Finchy.)
find quote
Post Reply