You are not logged in.
Pages: 1
So last night roughly about 10 hours ago, I updated my arch system for the first time in a while. However, it seems to have caused an issue with sound playback on the system. All sounds are played at roughly 2x the speed they're supposed to. Even when in firefox on youtube or in banshee, there's no difference between programs. Has anyone else had similar issues and if so has anyone solved it?
Last edited by Schoktra (2011-10-11 15:37:03)
Offline
Looks similar to https://bbs.archlinux.org/viewtopic.php?id=127667
Offline
I don't have pulse in my system and haven't in a while.
[Edit]
I'm unsure what this problem is related to, but it's not Pulse. I switched to KDE removed all pulse libraries, and where before I had sound in alsa even after disabling pulse entirely before. After this last update with pulse I have 2x sound speed, without I have nothing.
[/Edit]
Last edited by Schoktra (2011-10-06 11:54:44)
Offline
I have the same problem since last update (yesterday i think...) very fast audio / video playing speed!
I tried to remove pulseaudio but got informed that it is needed by "gnome-settings-daemon", what a sh?t!
Honestly I am very disappointed with Arch lately, Gnome extensions doesn't work after updated to 3.1, now abnormal audio....
Offline
My problem actually goes much deeper. I'm unsure what caused it, but I removed all of gnome and installed kde and removed all of pulseaudio and set up to use alsa, but kmix won't adjust the sound levels, only show the cards. But anything to do with OSS at all just won't work no matter what I do. alsa-oss and osspd aren't redirecting oss sound from applications like firefox through the sound card. So at least for now I have amarok to play my local music, but I'm doomed when I want to stream dub through Pandora radio.
I get a lot of this error even when trying to use aplay to test the speakers:
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device alsa
TypeError: Error #1009
Last edited by Schoktra (2011-10-10 17:33:41)
Offline
Hi, I have the same problem.
For now, I fix it by first killing pulseaudio:
pulseaudio --kill
Then I restart it with start-pulseaudi-x11
then start-pulseaudio-kde
And it works fine after that...
Offline
This is the first test you should perform:
speaker-test -D default -c 2 -t wav
Offline
I still get the message about pcm oss not finding card alsa.
According to
lspci | grep Audio
I have the following cards
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
02:00.0 Audio device: Creative Labs [SB X-Fi Xtreme Audio] CA0110-IBG
here is the output of
cat /proc/asound/cards
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xf1ef8000 irq 69
1 [CX8801 ]: CX88x - Conexant CX8801
Conexant CX8801 at 0xf8000000
2 [Creative ]: HDA-Intel - HDA Creative
HDA Creative at 0xf1ffc000 irq 28
The Conexant one is a pcHDTV tuner card, not actually an audio card.
Here is the output of
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: AD198x Digital [AD198x Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 0: CA0110 Analog [CA0110 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 2: Creative [HDA Creative], device 1: CA0110 Digital [CA0110 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
For anyone who mentions restarting pulseaudio i do not and WILL NOT have it. No desire for software mixing when I have hardware which will do it quite perfectly without need for precious cpu cycles.
When KDE starts I hear the startup noise, and when I play Amarok I get the proper sound, but no sound whatsoever for speaker-test or aplay even though I'm running osspd and have set the oss modules to load in the kernel at boot time.
Any ideas how to fix this problem without installing pulseaudio?
Offline
Stop giving your interpretation of the error message. It increases confusion. Just run the command and show the error message that the computer shows.
Have you checked the ALSA & kernel bugzillas for this issue, or even done *any* googling yourself?
Show decent debugging info:
wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh
bash alsa-info.sh --upload
Then show us the URL that the script shows at the end.
Offline
Stop being condescending. You don't think I'd post here without having done multiple hours of google searching would you? Oh that's right you would think that. Because everyone who has been a member of the forums for 2 years but have only posted 14 times total asking for help OBVIOUSLY turns to the forums first for help and google last.
Here's the link: http://www.alsa-project.org/db/?f=9fb78 … 2618b3025d
Offline
pcm.!default { type oss device alsa }
What the heck is that doing there? A quick google for "type oss device alsa" returns nowt.
Offline
Okay got rid of that issue, but now I'm getting a device busy with speaker-test and aplay. There are still sounds in KDE and amarok but I cannot get anything out of firefox yet.
Last edited by Schoktra (2011-10-11 00:50:25)
Offline
device busy
See by what:
fuser -fv /dev/snd/* /dev/dsp*
I hear that KDE uses Phonon - another let's-add-a-layer-above-ALSA-to-screw-things-up prog that I don't use.
Offline
None of these are in use, doing
fuser -fv /dev/*
nets the results of
USER PID ACCESS COMMAND
/dev/null: xxxx 1216 f.... startkde
xxxx 1256 F.... gpg-agent
xxxx 1270 F.... dbus-launch
xxxx 1271 F.... dbus-daemon
xxxx 1341 f.... kwrapper4
xxxx 1383 F.... kuiserver
xxxx 2075 F.... gconfd-2
/dev/nvidia0: xxxx 1351 F...m kwin
/dev/nvidiactl: xxxx 1351 F.... kwin
/dev/ptmx: xxxx 2123 F.... konsole
/dev/pts: root kernel mount /dev/pts
/dev/sda2: root kernel swap /dev/sda2
/dev/shm: root kernel mount /dev/shm
/dev/pts/1: xxxx 2123 F.... konsole
xxxx 2125 F.... bash
/dev/pts/1: xxxx 2123 F.... konsole
xxxx 2125 F.... bash
/dev/pts/1: xxxx 2123 F.... konsole
xxxx 2125 F.... bash
/dev/urandom: xxxx 1282 f.... kded4
xxxx 1375 f.... knotify4
xxxx 1393 f.... akonadiserver
xxxx 1428 f.... nepomukservices
xxxx 1573 f.... python2
xxxx 2066 f.... firefox
Offline
Finally this problem has been solved. I found something at http://alsa.opensrc.org/AlsaSharing which shows how to share amongst processes. Now the only problem left is controlling the audio via kmix, but that's not a huge issue as I have an audio control on the desktop from my speakers. Here is the .asoundrc.asoundconf that did it:
pcm.dmix0 {
type dmix
ipc_key 673138
# ipc_key_add_uid false # let multiple users share
# ipc_perm 0666 # IPC permissions for multi-user sharing (octal, default 0600)
slave {
pcm "hw:0,0"
rate 48000
period_time 80000
buffer_time 320000
period_size 4096
buffer_size 16384
}
bindings {
0 0
1 1
}
}
# 'dsp0' is espected by OSS emulation etc.
pcm.dsp0 {
type plug
slave.pcm "dmix0"
}
ctl.dsp0 {
type hw
card 2
device 0
}
pcm.!default {
type plug
slave.pcm "dmix0"
}
ctl.!default {
type hw
card 2
device 0
}
Offline
2 things of interest:
Please re-run the fuser command when audio is running, to see what processes are involved: (It makes no sense whatsoever for you to get "device busy" when fuser shows nothing open)
fuser -fv /dev/snd/* /dev/dsp*
Secondly, see the paramaters that are being used, after your period/buffer/time/size setup:
cat /proc/asound/card0/pcm0p/sub0/hw_params
Again, do this while actually playing some sound.
Edit: I would say that your period_size is too large. 1024 is better, to avoid audio delay with e.g. games.
Last edited by brebs (2011-10-11 19:21:07)
Offline
Pages: 1