You are not logged in.

#1 2009-06-10 12:55:26

kekules_dream
Member
Registered: 2009-05-19
Posts: 102

sound problem

I'm sure this isn't due to any problem with arch, but hoping someone know something about this.  Hope I'm posting in the right place.

Recently I bought a GIGABYTE GV-R435OC-512I HD4350 and an ASUS VH222H.  The idea was I could run my Arch box in on HDMI and my wifes mac in on DVI, and just switch back and forth using the source button on the monitor.  That all works fine. 

My speakers are just hooked up to the onboard sound on the Arch box:

00:1e.2 Class 0401: Intel Corp.|82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (snd-intel8x0)

I like light music players.  I was using cmus, which was good because it played m4as in addition to mp3s and oggs.

Since I changed the hardware, cmus completely fails:
Error: opening audio device: No such file or directory.

So I decided to go back to cplay, even though it doesn't play m4as.  cplay plays my mp3s just fine through the onboard sound, but fails to play my oggs, even though vorbis-tools (supplies ogg123) is installed.

Does anyone have any insight into any of this?  I could get by without playing m4as so if cplay would just play my oggs I'd be fairly happy.

I guess the ideal situation would be if I could go back to using cmus.

BTW, there appears to be an audio out on the monitor, but when I hook my speakers into that, nothing comes out, even mp3s in cplay.

Offline

#2 2009-06-10 17:16:53

kekules_dream
Member
Registered: 2009-05-19
Posts: 102

Re: sound problem

I think I will try having mac come in on VGA and Arch on DVI.  Maybe that will fix the problem.  Already tried having Arch come in on VGA since the video card arrived 1 day before monitor.  That didn't work very well.  Couldn't adjust screen resolution to anything usable.

Offline

#3 2009-06-11 11:48:24

kekules_dream
Member
Registered: 2009-05-19
Posts: 102

Re: sound problem

# lspci | grep -i audio
00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 03)
01:00.1 Audio device: ATI Technologies Inc R700 Audio Device [Radeon HD 4000 Series]

# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: ICH6 [Intel ICH6], device 0: Intel ICH [Intel ICH6]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: ICH6 [Intel ICH6], device 4: Intel ICH - IEC958 [Intel ICH6 - IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

According to this post:

http://bbs.archlinux.org/viewtopic.php?id=72567

I changed each 0 to 1 in these three lines of /usr/share/alsa/alsa.conf:

defaults.ctl.card 1
defaults.pcm.card 1
defaults.pcm.device 1

That allowed alsamixer to bring up the info on the intel card, however the problem persists:

mp3s play fine:

$ mpg123 05\ You\ And\ Me.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
        version 1.7.3; written and copyright by Michael Hipp and others
        free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: 05 You And Me.mp3 ...
Title:   You And Me                      Artist: The Moody Blues
Comment: 8+B406E69CE0364D76087B159EFDB2FB31+441377
Album:   Seventh Sojourn
Year:    1972                            Genre:  Rock,
MPEG 1.0 layer III, 160 kbit/s, 44100 Hz joint-stereo

But ogg123 still fails:

$ ogg123 04\ -\ Barrytown.ogg
Audio Device:   Advanced Linux Sound Architecture (ALSA) output
Playing: 04 - Barrytown.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Title: Barrytown
Artist: Steely Dan
Track number: 4
Tracktotal: 11
Album: Pretzel Logic
Genre: Rock
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA snd_pcm_open error: No such file or directory
Error: Cannot open device alsa.

mp3s work and oggs don't regardless of the card setting in alsa.conf, and whether I
connect by DVI or HDMI makes no difference either.

I hope these infos spark something.  I have way to many oggs to start re-encoding.

Thanks.

Last edited by kekules_dream (2009-06-11 13:02:43)

Offline

Board footer

Powered by FluxBB