LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-28-2005, 10:08 AM   #1
jonhewer
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Debian Lenny, Debian Etch, Ubuntu Hardy
Posts: 71

Rep: Reputation: 15
audio mixing problem


hi

i have been having the following problem with both debian and ubuntu.

for some reason, as far as i am aware, only one program can play audio at any one time. for example if i am on a website which is playing sound, and then i open up zinf to play some other music, it wont work. and so on...

i found this link:

ubuntuforums.org/showthread.php?t=30076&highlight=nforce

however it has not helped

my mobo is a nvidia a7n8x deluxe with onboard sounds, nforce2 chipset

cheers
 
Old 04-28-2005, 11:22 AM   #2
jonhewer
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Debian Lenny, Debian Etch, Ubuntu Hardy
Posts: 71

Original Poster
Rep: Reputation: 15
this is my ~/.asoundrc file:

Code:
pcm.nforce-hw {
        type hw
        card 0
}
pcm.!default {
        type plug
        slave.pcm "nforce"
}
pcm.nforce {
        type dmix
        ipc_key 1234
        slave {
                pcm "hw:0,0"
                period_time 0
                period_size 1024
                buffer_size 4096
                #rate 44100
                rate 48000
        }
}
ctl.nforce-hw {
        type hw
        card 0
}
 
Old 04-28-2005, 02:01 PM   #3
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
add this to what you have and see if it works better
Code:
pcm.dsp {
    type plug
    slave.pcm "nforce"
}

pcm.dsp0 {
    type plug
    slave.pcm "nforce"
}


#possibly this as well at the bottom (not sure about this one)?

pcm.nforce-hw {
     type plug
    slave.pcm "nforce"
}

# and possibly this

ctl.nforce {
	type hw
	card 0
    }

ctl.!default {
	type hw           
	card 0
        }
i think there is an extra chip kind of in the way on that board and its specs are not public
if all else fails possibly try nvidia driver and mixer
 
Old 05-03-2005, 05:03 PM   #4
jonhewer
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Debian Lenny, Debian Etch, Ubuntu Hardy
Posts: 71

Original Poster
Rep: Reputation: 15
thanks for your reply

i have tried what u've suggested but haven't had much luck (been testing it with zinf playing an mp3 file, and firefox playing audio on a webpage which is a flash plugin)

i downloaded the nforce unified drivers from the nvidia site, however i cant seem to install them - i get the following error messages....

No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface

ERROR: Unable to find the kernel source tree for the currently running
kernel. Please make sure you have installed the kernel source files
for your kernel; on Red Hat Linux systems, for example, be sure you
have the 'kernel-source' rpm installed. If you know the correct
kernel source files are installed, you may specify the kernel source
path with the '--kernel-source-path' commandline option.

sorry i'm a bit of a linux newbie, not sure what extactly i need to do to get this installed.

(btw, i am currently just using the ubuntu live cd until i get this sorted)
 
Old 05-04-2005, 02:38 PM   #5
jonhewer
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Debian Lenny, Debian Etch, Ubuntu Hardy
Posts: 71

Original Poster
Rep: Reputation: 15
bump
 
Old 05-04-2005, 11:31 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
that seems rather self explanatory -- you can't build a kernel module without the kernel build directory
need to install kernel source package
let see -- if ubuntu is debian try something like
apt-cache search kernel
until you find it
 
Old 05-05-2005, 11:53 AM   #7
jonhewer
Member
 
Registered: Apr 2005
Location: London, UK
Distribution: Debian Lenny, Debian Etch, Ubuntu Hardy
Posts: 71

Original Poster
Rep: Reputation: 15
ok, i have managed to get the driver compiled, but i am unsure about installing the module and getting it running. i have found the release notes here:

http://download.nvidia.com/XFree86/n...easeNotes.html

but they don't really describe what to do for ubuntu, which i am using.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem caused by mixing incompatible repositories satimis Fedora 5 05-21-2005 05:49 PM
mixing repositories hdo781 Debian 1 03-22-2005 09:51 AM
favorite audio mixing program? questionasker Linux - Software 0 01-28-2004 04:43 PM
ALSA Mixing Problem Aagrajag Linux - Software 5 05-02-2003 07:40 AM
Mixing C and C++ Cruelpeace Programming 1 02-01-2003 10:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration