LinuxQuestions.org
Visit Jeremy's Blog.
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 07-06-2008, 03:12 AM   #1
0xMarvel
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Rep: Reputation: 0
Such a weird thing.


Hello boys and girls.
If I want to run 2 programs (Lets say: A game and Amarok) It seems like the system is streaming (I mean, I hear) only one of the programs that running on. It means I cannot play games like ET and listen to the music.
I'm using Ubuntu btw.
Hopefully get helped here, again.
Thanks in advance.
 
Old 07-06-2008, 03:26 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Tell us you,re system configuration ,like processor , Ram and so on.
And maybe we know the answer

all the best
 
Old 07-06-2008, 03:37 AM   #3
0xMarvel
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Ok.
My processor0 is AMD Athlon XP 3200+ 2.4Ghz, and I have 1GB of Ram.
My sound card is using nForce drivers.
 
Old 07-06-2008, 05:00 AM   #4
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
When you,re using the programs you mentioned what is you,re processor load ?
And how much RAM is used ?
If the load is to heavy than those things might happens
If I am updating for instance than already the system works slower,even may processor is dual core
and I use 2 GB RAM
all the best

Last edited by ronlau9; 07-06-2008 at 05:04 AM. Reason: add information
 
Old 07-06-2008, 05:43 AM   #5
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Normally only one program at a time can use the soundcard.
That is why sound-daemons are used. These access the sound-card and mix input from different applications together.
jack, arts, esd and pulseaudio are such things - pulseaudio is what is to become _the_ solution AFAIK.
Do you have one of these active?
Your programs should be configured to output the sound to that daemon instead of directly to the sound card.
Control-panel - audio-settings (you still did not say what linux-distribution or what desktop-environment you are using)
 
Old 07-06-2008, 06:03 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by jomen View Post
Your programs should be configured to output the sound to that daemon instead of directly to the sound card.
And as far as i know, the program has to be written specifically for this. So your particular game+music situation may not work.
 
Old 07-06-2008, 06:16 AM   #7
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
Hmm - good point.
Amarok does work (I think this is a safe assumption)
But the game might not...
 
Old 07-07-2008, 05:33 AM   #8
0xMarvel
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Oh, this is su*ks. Is there any solution I can play a game and listen to a music? I mean, let's say this: I cannot even play a game (Like Enemy Territory) and use the Teamspeak (or Ventrilo, this is really doesn't matter) at the same time. How su*ks.
I'm using the newest Ubuntu btw.
 
Old 07-07-2008, 07:15 AM   #9
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
It was only guesses - nothing definitive!

Maybe you should indeed have a look at System --> Preferences --> Audio
You can select the Output-Devices to be eighter of: autodetected, alsa, oss, your sound-card directly or pulse-audio

Only very few modern programs will not be able to use alsa - the best choice is probably pulse-audio.
The problem you describe is why it was invented...so to say - to be able to hear from more than one source at once...
 
Old 07-08-2008, 08:17 AM   #10
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
Quote:
Originally Posted by 0xMarvel View Post
Oh, this is su*ks. Is there any solution I can play a game and listen to a music? I mean, let's say this: I cannot even play a game (Like Enemy Territory) and use the Teamspeak (or Ventrilo, this is really doesn't matter) at the same time. How su*ks.
I'm using the newest Ubuntu btw.
I'd have to point out that in Windows, if you're allowed to do this, it also means the computer can tie up. Doesn't that su*ks more?

Linux is trying to prevent the computer tying up at all costs.

(Just reminiscing when I heard 2 WAV files playing together in Win98, how ecstatic I was)
 
Old 07-10-2008, 07:59 AM   #11
0xMarvel
LQ Newbie
 
Registered: Apr 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by resetreset View Post
I'd have to point out that in Windows, if you're allowed to do this, it also means the computer can tie up. Doesn't that su*ks more?

Linux is trying to prevent the computer tying up at all costs.

(Just reminiscing when I heard 2 WAV files playing together in Win98, how ecstatic I was)
But, let's say this: If I wanna to play a game with my friends, and I want to talk with them on a Ventrilo or a Teamspeak, I cannot even do that because "Linux is trying to prevent the computer tying up at all costs.", wtf.
 
Old 07-10-2008, 08:14 AM   #12
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
What he was actually saying is: linux will not allow this way to lock up your computer.
He was not saying: linux does not allow using multiple audio sources at once.

To make this possible, things like pulseaudio, esd, arts, jack, dmix... have been invented - I already said that.
Did you not get this and instead of getting to fixing a probably simple configuration issue just want to say "wtf" & su*ks?
 
  


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
weird thing installing fillup kakyo Linux - Software 1 03-20-2005 10:48 PM
openbsd, weird cp thing. potetgull *BSD 2 09-17-2004 02:43 PM
weird local host thing HELP m0nk Linux - General 1 07-15-2003 12:53 AM
Weird thing Andreas T. Linux - General 1 05-10-2002 04:12 PM
weird thing... kizaroth Linux - Newbie 3 10-21-2001 03:21 PM


All times are GMT -5. The time now is 04:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration