can NOT get any audio on Acer Revo R100 running xbmcbuntu
#1
Ok. So i'm actually just getting frustrated now. I have been fighting with XBMC 11 since yesterday. I have tried the numerous suggestions i have found to get it working, but whenever i try to watch any video it just says "failed to initialize audio device". At this point i'm not really sure what to do any more, so i turn to you.
my aplay -l shows the following
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia_1 [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

If i do the sound test, i am able to get sound out of PLUGHW:1,7 but using those as custom hardware devices does nothing.

i have no .asoundrc file, and i'm really not sure what is supposed to be in it. Can anyone give me a hand with troubleshooting this? I've reached the end of the road for my own brainpower it would seem.
Reply
#2
I'd also like to note, that none of my devices in alsamixer are muted.
Reply
#3
Edit you /etc/asound.conf file to contain the following (assuming plughw:1,7 is indeed the correct one):

Code:
pcm.!default {
   type hw
   card NVidia     *or you could try using the card number instead (1)*
   device 7
}
ctl.!default {
   type hw
   card NVidia    *or you could try using the card number instead (1)*
   device 7
}

Save & reboot and set your XBMC to use plughw:1,7 in the audio settings and see if that helps.
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#4
I also have the same problem this is my aplay -l output

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0

Have tried many ideas in the forums but havent found one that works. (I have unmuted relevant things in alsamixer and saved them)..
I have gone back to pre-eden until some one can figure this out for definite (unless I can get one last answer from anyone) I am willing to try another fresh install but just ONE more time .
Check out my Fanart.tv stuff!
...........I also accept disc requests if image not on fanart.tv database !!!!
Reply
#5
I used these instructions to get it working on my revo 3700

http://wiki.xbmc.org/index.php?title=HOW...controller

Was a total pain in the ass, and had to try this several times as well as other suggestions before i got it to work.
Also had a look at this thread, and followed bits of this.
http://forum.xbmc.org/showthread.php?tid=127428

Not sure what i actually did differently to all the other times i tried. So sorry i can't really help much.
Reply
#6
Thanks for the ideas. DaMiZa, your suggestion did not help unfortunately. I get the same error.
When i do the sound test and get sound to go through on plughw:1,7 it only tests the left channel for some reason. I wonder if this is a bypass for the TV?
Currently my Acer Revo RL100 is plugged into a cheap reciever, but i never had any issues with it before this. It is relatively new, it was just not the most expensive. Tongue
Also, skweezer, i did find those posts before and i have tried everything in them. I still have not been able to get it to work. Sad
Reply
#7
Not sure if this helps at all, but this was in /home/<username>/.xbmc/temp/xbmc.log after i had tried playing the last video file...


15:59:29 T:2650344304 NOTICE: Creating audio device with codec id: 86018, channels: 2, sample rate: 48000, no pass-through
15:59:29 T:2650344304 ERROR: PulseAudio: Failed to connect context
15:59:29 T:2650344304 ERROR: PulseAudio: Failed to create context
15:59:29 T:2650344304 ERROR: Unable to open audio mixer
15:59:29 T:2650344304 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
15:59:29 T:2650344304 ERROR: Unable to open audio mixer
15:59:29 T:2650344304 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
15:59:29 T:2658737008 NOTICE: Creating 720x368 pixmap
15:59:29 T:2658737008 NOTICE: (VDPAU) Total Output Surfaces Available: 4 of a max (tmp: 4 const: 4)
15:59:29 T:2658737008 NOTICE: (VDPAU) Creating the video mixer
15:59:29 T:2658737008 NOTICE: fps: 23.976024, pwidth: 720, pheight: 368, dwidth: 719, dheight: 305
15:59:29 T:2658737008 NOTICE: Display resolution USER : default: 1360x768 @ 60.00Hz (21)
15:59:29 T:3017471760 NOTICE: Using GL_TEXTURE_2D
15:59:29 T:3017471760 NOTICE: GL: Using VDPAU render method
15:59:29 T:3017471760 NOTICE: GL: NPOT texture support detected
15:59:29 T:3017471760 NOTICE: GL: Using GL_ARB_pixel_buffer_object
15:59:35 T:3017471760 NOTICE: CDVDPlayer::CloseFile()
15:59:35 T:3017471760 NOTICE: DVDPlayer: waiting for threads to exit
15:59:35 T:2677013360 NOTICE: CDVDPlayer::OnExit()
15:59:35 T:2677013360 NOTICE: DVDPlayer: closing audio stream
15:59:35 T:2677013360 NOTICE: Closing audio stream
15:59:35 T:2677013360 NOTICE: Waiting for audio thread to exit
15:59:35 T:2650344304 NOTICE: thread end: CDVDPlayerAudio::OnExit()
15:59:35 T:2677013360 NOTICE: Closing audio device
15:59:35 T:2677013360 ERROR: Unable to open audio mixer
15:59:35 T:2677013360 NOTICE: Deleting audio codec

To my very untrained eyes, PulseAudio seems to be whats going wrong... any thoughts?
Reply
#8
Based on the fact that you do get output when doing the aplay command, I'm assuming your probe mask is correct (or at least partially correct), but If you want to double check that you have the right card/device, you can run grep eld_valid /proc/asound/NVidia/eld* which should output something like the following (this was on my system, your output will likely be a little more lengthy, but you want to look for the line that returns a 1, as it is the device responsible for HDMI audio on your NVidia card that has recognized that there is a connection - either to your amp or TV - and is the one you want):
Code:
/proc/asound/NVidia/eld#0.0:eld_valid      0
/proc/asound/NVidia/eld#1.0:eld_valid      0
/proc/asound/NVidia/eld#2.0:eld_valid      0
/proc/asound/NVidia/eld#3.0:eld_valid      1
eld#0.0 will have a probe_mask of 0x101
eld#1.0 will have a probe_mask of 0x102
eld#2.0 will have a probe_mask of 0x104
eld#3.0 will have a probe_mask of 0x108

Open the /etc/modprobe.d/sound.conf file and confirm it's using the correct probe_mask. If it's wrong, or there's nothing there add the following line:
Code:
options snd-hda-intel probe_mask=<probemask>   (Ex: 0x102)

This should tell alsa (snd-hda-intel module) what the HDMI output on your ION is.. Save the file then reboot.

To test the new probemask try aplay -D hdmi:NVidia /path/to/wav.file

If you get sound, edit your /etc/pulse/default.pa file and add the following line:
Code:
load-module module-alsa-sink device=x,y     *where x is the card number and y is the device number (in your case 1,7 I'm assuming)...

OR

load-module module-alsa-sink device=hdmi:NVidia

Remove any local pulseaudio/alsa settings to ensure the new default.pa system-wide setting will be using by entering the following command:
Code:
sudo rm -r ~/.pulse ~/.asoundrc ~/.pulse-cookie

Reboot and try audio in XBMC again. If it's still not working, and you were able to get sound using the aplay command, then it's likely just your pulseaudio settings. Edit the /etc/asound.conf file and add/edit the following:
Code:
pcm.pulse {
     type pulse
}
ctl.pulse {
     type pulse
{
pcm.!default {
     type pulse
}
ctl.!default {
     type pulse
}

Then reboot and try again. If it's still not working, as a longshot you could try killing and relaunching pulseaudio using the following commands:
sudo killall pulseaudio
sudo pulseaudio -D

If it's still not working, you could also just confirm that your user is a member of the 'audio' group by using the sudo groups command. If it doesn't show "audio" in the output, add your user as a member of that group by entering the following command (although I don't think this would be the case, it's worth a shot if nothing is working still):
Code:
sudo usermod -G audio -a xbmc     *where xbmc is your username, if you used something other than xbmc when installing enter that instead of xbmc*

Hopefully that helps. Best of luck!
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply
#9
Try this thread:

http://forum.xbmc.org/showthread.php?tid=127428
Reply
#10
Alrighty. So i have gone through more of the suggestions listed here and no luck. DaMizZa, i don't seem to have any of the folders you mentioned, so i can't get a grep of the NVidia folder as you suggested. I have made sure my username is part of the audio group, but i'm don't have any of the eld values you mentioned in your grep command, and i don't have the sound.conf file in the modprobe folder you mentioned. So i don't know how i should proceed...
Also, Rubbernuts, i did find that thread early on and have already tried everything in it with no success.
Reply
#11
For the /etc/modprobe.d/sound.conf file, I think it's one that you'll have to create... If I recall I didn't have anything in it when I did that either. Without being able to do the grep for your valid elds, I would just suggest some trial and error on the probe mask.. If it's card 1 device 7, then the probemask should be 0x102.. Hopefully that helps, if not let me know and I'll see if I can dig something else up that can possibly help..
XBMCbuntu {Frodo} - Ubuntu 12.04 (Main):
Intel Q6600 [2.4GHz Quad Core], 4GB DDR3, nVidia GT-210, Antec Fusion Case (iMon LCD), PS3 BD Remote

XBMC Live {Frodo} - Ubuntu 10.04 (Bedroom): Intel Atom D510 [1.66GHz Dual Core], ION Graphics, 2GB DDR2, PS3 BD Remote
Reply

Logout Mark Read Team Forum Stats Members Help
can NOT get any audio on Acer Revo R100 running xbmcbuntu0