[LINUX] Audio Problems with Eden Beta 3 and Ubuntu 11.10 - mephisto1980 - 2012-02-12 20:19
Hi everybody,
I just installed a fresh Ubuntu 11.10 on my Acer Revo 3610. I installed Eden Beta 3 and everything works, except audio in movies. Menu audio works fine using HDMI output, but everytime I start a movie (does not matter if it's DTS/AC3 or any other format, even MP3 does not work) there is a message: Unable to initialize your sound device. Check audio settings (I hope I translated correctly from my german system).
I tried to uninstall pulse-audio, tried several tweaks that I found in some forums....nothing....
A aplay -l gives me the
Code:
Karte 0: NVidia [HDA NVidia], Gerät 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
mephisto@faustus:~$
Code:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
does work....
I already tried to set the device for audio/passthrough in XBMC to plughw:0,3, but again...nothing.
One (maybe?) weird thing: It does not matter what audio device I chose from the menu: The menu sounds works like a charm: always...
Do you have any hints? I really love Eden's AirPlay feature, I want to use it here ;-)
Thanks,
Jan
- giftie - 2012-02-12 20:50
What does aplay -L provide?
mephisto1980 Wrote:Hi everybody,
I just installed a fresh Ubuntu 11.10 on my Acer Revo 3610. I installed Eden Beta 3 and everything works, except audio in movies. Menu audio works fine using HDMI output, but everytime I start a movie (does not matter if it's DTS/AC3 or any other format, even MP3 does not work) there is a message: Unable to initialize your sound device. Check audio settings (I hope I translated correctly from my german system).
I tried to uninstall pulse-audio, tried several tweaks that I found in some forums....nothing....
A aplay -l gives me the
Code:
Karte 0: NVidia [HDA NVidia], Gerät 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 3: HDMI 0 [HDMI 0]
Sub-Geräte: 1/1
Sub-Gerät #0: subdevice #0
mephisto@faustus:~$
Code:
aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
does work....
I already tried to set the device for audio/passthrough in XBMC to plughw:0,3, but again...nothing.
One (maybe?) weird thing: It does not matter what audio device I chose from the menu: The menu sounds works like a charm: always...
Do you have any hints? I really love Eden's AirPlay feature, I want to use it here ;-)
Thanks,
Jan
- mephisto1980 - 2012-02-12 21:02
Hi,
giftie Wrote:What does aplay -L provide?
Code:
mephisto@faustus:~$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
nvidia_hdmi
pulse
Playback/recording through the PulseAudio sound server
front:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct sample mixing device
dmix:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct sample mixing device
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct sample snooping device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Direct hardware device without any conversions
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=0
HDA NVidia, ALC662 rev1 Analog
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=1
HDA NVidia, ALC662 rev1 Digital
Hardware device with all software conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions
Thanks for any help!
Jan
- giftie - 2012-02-12 23:52
Try setting the device as: plughw:CARD=NVidia,DEV=1
- mephisto1980 - 2012-02-13 20:43
giftie Wrote:Try setting the device as: plughw:CARD=NVidia,DEV=1
Ok, done that. This time I got no error message, but still no sound. For DEV=3, I still got the message (failed to initialize...), for DEV=0 and DEV=1 no message but also no sound....
Any more hints?
Thanks!
- joethefox - 2012-02-13 20:53
with beta3 I had audio problems too. Try this custom setting
Code:
alsa:hdmi:CARD=NVidia
P.S. remember to unmute nvidia output with
Code:
alsamixer -c <card_number>
- mephisto1980 - 2012-02-13 20:53
Btw: I tried to track the exception in the logs, this is what I found:
Code:
19:49:09 T:2730109808 ERROR: Initialize - failed to open custom device hdmi:CARD=NVidia,DEV=3,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such file or directory), retry with default hdmi:CARD=NVidia,DEV=3
19:49:09 T:2730109808 ERROR: Initialize - pcm_open_lconf, alsa error: -2 - No such file or directory
19:49:09 T:2730109808 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
Maybe that helps...hopefully...
- mephisto1980 - 2012-02-13 21:07
joethefox Wrote:with beta3 I had audio problems too. Try this custom setting
Code:
alsa:hdmi:CARD=NVidia
P.S. remember to unmute nvidia output with
Code:
alsamixer -c <card_number>
Again: Exception.....
Here the log:
Code:
20:05:13 T:2856278896 ERROR: Initialize - failed to open custom device hdmi:CARD:NVidia,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such device), retry with default hdmi:CARD:NVidia
20:05:13 T:2856278896 ERROR: Initialize - pcm_open_lconf, alsa error: -19 - No such device
20:05:13 T:2856278896 ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen
;-(
- joethefox - 2012-02-13 21:25
mephisto1980 Wrote:Ok, done that. This time I got no error message, but still no sound. For DEV=3, I still got the message (failed to initialize...), for DEV=0 and DEV=1 no message but also no sound....
Any more hints?
Thanks!
Focus on plughw:CARD=NVidia,DEV=1 and plughw:CARD=NVidia,DEV=0 and no sound. To check if the channels are muted/unmuted, with
you should see the HDA NVidia mixer with four squares. Inside the squares there are "MM"(muted) or "OO"(unmuted)?
- mephisto1980 - 2012-02-13 21:33
I can only execute
and here everything is unmuted (I did that a long time ago ;-) )
With
I get a error: "Invalid card number: 1" (again translated from german)
joethefox Wrote:Focus on plughw:CARD=NVidia,DEV=1 and plughw:CARD=NVidia,DEV=0 and no sound. To check if the channels are muted/unmuted, with
you should see the HDA NVidia mixer with four squares. Inside the squares there are "MM"(muted) or "OO"(unmuted)?
|