![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Just Give Me the Beans!
![]() |
Some sound lag problems
When I open some games, I will often get this message:
Code:
ALSA lib pcm_dmix.c:868:(snd_pcm_dmix_open) unable to open slave In alsamixergui, it said this for my sound card: Card: VIA 82C686A/B rev50Any one have any ideas what is causing this and/or how to fix it?
__________________
http://ricapar.ath.cx:89/ |
|
|
|
|
#2 | |
|
5 Cups of Ubuntu
![]() |
Re: Some sound lag problems
Quote:
pkill esd see if that helps |
|
|
|
|
|
#3 |
|
Just Give Me the Beans!
![]() |
Re: Some sound lag problems
Nope =(
I've tried "killall esd", "pkill esd", no luck. When I do "killall esd", it says: "esd: no process killed".
__________________
http://ricapar.ath.cx:89/ |
|
|
|
|
#4 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2004
Location: Purdue University, Indiana
Beans: 817
Dapper Drake Testing/
|
Re: Some sound lag problems
Can you post your ~/.asoundrc or your /etc/asound.conf (whichever one you have)? Delay problems can usually be fixed by tweaking these files.
|
|
|
|
|
#5 |
|
Just Give Me the Beans!
![]() |
Re: Some sound lag problems
/etc/asound.conf:
Code:
pcm.card0 {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "dmixer"
}
pcm.dmixer {
type dmix
ipc_key 1025
slave {
pcm "hw:0,0"
period_time 0
period_size 2048
buffer_size 32768
rate 48000
}
bindings {
0 0
1 1
}
}
__________________
http://ricapar.ath.cx:89/ |
|
|
|
|
#6 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2004
Location: Purdue University, Indiana
Beans: 817
Dapper Drake Testing/
|
Re: Some sound lag problems
Reduce period_size to 1024 and buffer_size to 4096. Then type "sudo /etc/init.d/alsa restart" in a console. This will reduce the delay, but may make scratchy sound. If your sound is scratchy, slowly raise each value and restart alsa again until you find the right balance. I'm using an onboard intel 8x0 card (not exactly the best sound card) and those values produce perfect sound with no delays.
Good luck. |
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() |
Re: Some sound lag problems
I did that, sound didn't become scratchy, but the delay and that little message was still there.
__________________
http://ricapar.ath.cx:89/ |
|
|
|
|
#8 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2004
Location: Purdue University, Indiana
Beans: 817
Dapper Drake Testing/
|
Re: Some sound lag problems
Hmm...do you only have lag in games? Which games are those? Do they happen to use OSS? If so, there's something you could try adding to your asound.conf...
Add this to the end: Code:
pcm.dsp0 {
type plug
slave.pcm "dmixer"
}
Does that work? |
|
|
|
|
#9 |
|
Just Give Me the Beans!
![]() |
Re: Some sound lag problems
Going to give that a try. The games I've gotten those thigns with was Quake2, ZSNES(any rom), and a few others I can't remember off the top of my head =(
update: Nope, same message, same lag ![]()
__________________
http://ricapar.ath.cx:89/ Last edited by Ricapar; July 15th, 2005 at 01:08 AM.. Reason: update |
|
|
|
|
#10 |
|
Dark Roasted Ubuntu
![]() Join Date: Nov 2004
Location: Purdue University, Indiana
Beans: 817
Dapper Drake Testing/
|
Re: Some sound lag problems
Hm...I did a little searching, and read on the ZSNES forums that it uses SDL for audio output. (I'm not sure about quake.) Do you have the ALSA version of SDL installed? Check synaptic...If you don't it might be trying to play through ESD, which can have lag.
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|