You are not logged in.
Pages: 1
Topic closed
Hello to everybody,
I recently bought an ASROCK ION 330BD in order to build a HTPC. After installing the latest image of x86_64 arch, I tried to configure it in order to playback HD content.
The PC is connected to the TV [Philips 32PFL9613D] via HDMI. I tried the ALSA wiki in order to configure the card and installed the following packages:
- alsa-lib
- alsa-utils
- alsa-plugins
- alsa-oss
- ladspa
- swh-plugins
The modules show that they are loaded properly as:
[user@htpc ~]$ aplay -L
default:CARD=NVidia
HDA NVidia, VT1708S Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, VT1708S Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
null
Discard all samples (playback) or generate zero samples (capture)
and
[user@htpc ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 1/1
Subdevice #0: subdevice #0
As ALSA wiki suggests, I tried:
% aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
and I still do not get sound.
I tried to switch the default device to HDMI via System Settings -> Multimedia in KDE, but KDE is reports that there is a problem and that the sound device is falling back to default.
I will appreciate any help.
Thanks
Last edited by sip03ds (2009-08-15 03:56:05)
Offline
Hello sip03ds!
Which kernel do you use ?
"and I still do not get sound." -> Is there any error output if you start it from console ? Did you try with oss, does that work, just alsa not ? Did you try with other application, like mplayer, madplay, mpg123 e.g. ?
Offline
To answer your questions:
1. I am using the latest kernel 2.6.30-ARCH (x86_64)
2. I do not get any errors when I start it on the console
3. I do not have sound at all in the desktop environment (KDE) therefore mplayer / vlc etc do not produce any sound.
4. I tried OSS and I had sound, but it was not decoded correclty.
Offline
More over, running the script found here: http://alsa.opensrc.org/index.php/Aadebug
I had the following output:
ALSA Audio Debug v0.1.0 - Sat Aug 15 11:16:56 EEST 2009
http://alsa.opensrc.org/aadebug
http://www.gnu.org/licenses/gpl.txt
Kernel ----------------------------------------------------
Linux htpc 2.6.30-ARCH #1 SMP PREEMPT Fri Jul 31 07:30:28 CEST 2009 x86_64 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux
Loaded Modules --------------------------------------------
snd_seq_dummy 3540 0
snd_seq_oss 36224 0
snd_seq_midi_event 8592 1 snd_seq_oss
snd_seq 64640 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 8324 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_codec_nvhdmi 4368 1
snd_pcm_oss 47328 0
snd_mixer_oss 20976 1 snd_pcm_oss
snd_hda_codec_via 36372 1
snd_hda_intel 31208 4
snd_hda_codec 82128 3 snd_hda_codec_nvhdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep 9976 1 snd_hda_codec
snd_pcm 90872 4 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_timer 25344 3 snd_seq,snd_pcm
snd 76744 16 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
snd_page_alloc 10784 2 snd_hda_intel,snd_pcm
Proc Config -----------------------------------------------
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_SEQUENCER=m
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=m
CONFIG_SND_PCM_OSS=m
CONFIG_SND_PCM_OSS_PLUGINS=y
CONFIG_SND_SEQUENCER_OSS=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_MPU401_UART=m
CONFIG_SND_OPL3_LIB=m
CONFIG_SND_VX_LIB=m
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_DRIVERS=y
# CONFIG_SND_PCSP is not set
CONFIG_SND_DUMMY=m
CONFIG_SND_VIRMIDI=m
CONFIG_SND_MTPAV=m
CONFIG_SND_MTS64=m
CONFIG_SND_SERIAL_U16550=m
CONFIG_SND_MPU401=m
CONFIG_SND_PORTMAN2X4=m
CONFIG_SND_AC97_POWER_SAVE=y
CONFIG_SND_AC97_POWER_SAVE_DEFAULT=0
CONFIG_SND_SB_COMMON=m
CONFIG_SND_SB16_DSP=m
CONFIG_SND_PCI=y
CONFIG_SND_AD1889=m
CONFIG_SND_ALS300=m
CONFIG_SND_ALS4000=m
CONFIG_SND_ALI5451=m
CONFIG_SND_ATIIXP=m
CONFIG_SND_ATIIXP_MODEM=m
CONFIG_SND_AU8810=m
CONFIG_SND_AU8820=m
CONFIG_SND_AU8830=m
CONFIG_SND_AW2=m
CONFIG_SND_AZT3328=m
CONFIG_SND_BT87X=m
# CONFIG_SND_BT87X_OVERCLOCK is not set
CONFIG_SND_CA0106=m
CONFIG_SND_CMIPCI=m
CONFIG_SND_OXYGEN_LIB=m
CONFIG_SND_OXYGEN=m
CONFIG_SND_CS4281=m
CONFIG_SND_CS46XX=m
CONFIG_SND_CS46XX_NEW_DSP=y
CONFIG_SND_CS5530=m
CONFIG_SND_DARLA20=m
CONFIG_SND_GINA20=m
CONFIG_SND_LAYLA20=m
CONFIG_SND_DARLA24=m
CONFIG_SND_GINA24=m
CONFIG_SND_LAYLA24=m
CONFIG_SND_MONA=m
CONFIG_SND_MIA=m
CONFIG_SND_ECHO3G=m
CONFIG_SND_INDIGO=m
CONFIG_SND_INDIGOIO=m
CONFIG_SND_INDIGODJ=m
CONFIG_SND_INDIGOIOX=m
CONFIG_SND_INDIGODJX=m
CONFIG_SND_EMU10K1=m
CONFIG_SND_EMU10K1X=m
CONFIG_SND_ENS1370=m
CONFIG_SND_ENS1371=m
CONFIG_SND_ES1938=m
CONFIG_SND_ES1968=m
CONFIG_SND_FM801=m
CONFIG_SND_FM801_TEA575X_BOOL=y
CONFIG_SND_FM801_TEA575X=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_NVHDMI=y
CONFIG_SND_HDA_CODEC_INTELHDMI=y
CONFIG_SND_HDA_ELD=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
CONFIG_SND_HDA_GENERIC=y
CONFIG_SND_HDA_POWER_SAVE=y
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
CONFIG_SND_HDSP=m
CONFIG_SND_HDSPM=m
CONFIG_SND_HIFIER=m
CONFIG_SND_ICE1712=m
CONFIG_SND_ICE1724=m
CONFIG_SND_INTEL8X0=m
CONFIG_SND_INTEL8X0M=m
CONFIG_SND_KORG1212=m
CONFIG_SND_MAESTRO3=m
CONFIG_SND_MIXART=m
CONFIG_SND_NM256=m
CONFIG_SND_PCXHR=m
CONFIG_SND_RIPTIDE=m
CONFIG_SND_RME32=m
CONFIG_SND_RME96=m
CONFIG_SND_RME9652=m
CONFIG_SND_SONICVIBES=m
CONFIG_SND_TRIDENT=m
CONFIG_SND_VIA82XX=m
CONFIG_SND_VIA82XX_MODEM=m
CONFIG_SND_VIRTUOSO=m
CONFIG_SND_VX222=m
CONFIG_SND_YMFPCI=m
CONFIG_SND_SPI=y
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_USX2Y=m
CONFIG_SND_USB_CAIAQ=m
CONFIG_SND_USB_CAIAQ_INPUT=y
CONFIG_SND_USB_US122L=m
CONFIG_SND_PCMCIA=y
CONFIG_SND_VXPOCKET=m
CONFIG_SND_PDAUDIOCF=m
CONFIG_SND_SOC=m
CONFIG_SND_SOC_I2C_AND_SPI=m
# CONFIG_SND_SOC_ALL_CODECS is not set
# CONFIG_SOUND_PRIME is not set
Modprobe Conf ---------------------------------------------
Warning: module config file does not exist
This means any kernel modules will not be auto loaded
See your linux distro docs on how to create this file
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.20.
0 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfae78000 irq 22
2: : timer
3: [ 0- 3]: digital audio playback
4: [ 0- 1]: digital audio playback
5: [ 0- 0]: digital audio playback
6: [ 0- 0]: digital audio capture
7: [ 0- 3]: hardware dependent
8: [ 0- 0]: hardware dependent
9: [ 0] : control
10: : sequencer
00-03: HDA Codec 3
00-00: HDA Codec 0
00-00: VT1708S Analog : VT1708S Analog : playback 2 : capture 2
00-01: VT1708S Digital : VT1708S Digital : playback 2
00-03: NVIDIA HDMI : NVIDIA HDMI : playback 1
Client info
cur clients : 3
peak clients : 3
max clients : 192
Client 0 : "System" [Kernel]
Port 0 : "Timer" (Rwe-)
Port 1 : "Announce" (R-e-)
Connecting To: 15:0
Client 14 : "Midi Through" [Kernel]
Port 0 : "Midi Through Port-0" (RWe-)
Client 15 : "OSS sequencer" [Kernel]
Port 0 : "Receiver" (-we-)
Connected From: 0:1
Dev Snd ---------------------------------------------------
controlC0 hwC0D0 hwC0D3 pcmC0D0c pcmC0D0p pcmC0D1p pcmC0D3p seq timer
CPU -------------------------------------------------------
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
cpu MHz : 1599.690
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
cpu MHz : 1599.690
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
cpu MHz : 1599.690
model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
cpu MHz : 1599.690
RAM -------------------------------------------------------
MemTotal: 3347324 kB
SwapTotal: 4000176 kB
Hardware --------------------------------------------------
00:00.0 Host bridge: nVidia Corporation MCP79 Host Bridge (rev b1)
Offline
Did you set with alsamixer e.g. the settings correctly ? Did you try with pulseaudio ?
Offline
I have the right settings in alsamixer, i have not tried pulseaudio, this will be my next step, test it and post the results.
Last edited by sip03ds (2009-08-16 22:42:08)
Offline
I have tested with pulseaudio, and I still get the same results as with ALSA.
Offline
Hello to all,
I managed to get sound with ALSA. I have changed /etc/asound.conf with the following:
pcm.snd_card {
type plug
card 0
device 3
}
With the following config and commands:
$aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav
$aplay -D plug:hdmi /usr/share/sounds/alsa/Front_Center.wav
I get tone
I managed to add sound in mplayer via its config:
~/.mplayer/config
# Write your default config options here!
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,
# added by virtual for alsa device
ao=alsa:device=plughw=0.3
# HDMI volume can only be controlled by the softvol konfigz
softvol=yes
softvol-max=300
Unfortunately, still KDE defaults to another device and I cannot get sounds in KDE. Any ideas?
Offline
Finally we have a solution:
/etc/asound.conf
# FINAL SOLUTION
pcm.dmixer {
type dmix
ipc_key 1024
ipc_key_add_uid false
ipc_perm 0660
slave {
pcm "hw:0,3"
rate 48000
channels 2
period_time 0
period_size 1024
buffer_time 0
buffer_size 4096
}
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
alsa is working fine and I can get sound in multiple applications concurrently.
Offline
Finally we have a solution:
/etc/asound.conf
# FINAL SOLUTION pcm.dmixer { type dmix ipc_key 1024 ipc_key_add_uid false ipc_perm 0660 slave { pcm "hw:0,3" rate 48000 channels 2 period_time 0 period_size 1024 buffer_time 0 buffer_size 4096 } } pcm.!default { type plug slave.pcm "dmixer" }
alsa is working fine and I can get sound in multiple applications concurrently.
Hi,
Does this solution still work for you on archlinux and kernel 2.6.34?? I tried it but i cant get sound over HDMI, speakers jack and spdif optical there is sound..
Offline
Hi,
Does this solution still work for you on archlinux and kernel 2.6.34?? I tried it but i cant get sound over HDMI, speakers jack and spdif optical there is sound..
I'd be interested too ! Can't get alsa to work with 2.6.34...
(that's my first post here, just switched to arch yesterday )
Last edited by Neewok (2010-07-18 02:10:37)
Offline
@ Neewok
Have you read the wiki? What's the problem, we need more info - are there any errors etc.
Here's a new thread, if you have problems, write hereThis thread is old and should be left alone, we yous want to contact the OP and ask him/her one question. Further discussion is discouraged.
Last edited by karol (2010-07-18 08:21:54)
Offline
Necrobumping is generally frowned upon, especially since you created a new thread for your issue already. Closing.
Offline
Pages: 1
Topic closed