Re: Sound Problems (Sound is Often Gone)

2008-07-16 Thread Chris Bannister
On Mon, Jul 14, 2008 at 12:06:39AM -0400, Hal Vaughan wrote:
> On Sunday 13 July 2008, Jordi Gutiérrez Hermoso wrote:
> > 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> > > I'm using Kubuntu, but not the latest version, the one before it
> > > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
> >
> > Are you aware that Ubuntu and Debian are not the same distribution
> > and you should be asking in the Ubuntu mailing lists or forums
> > instead of here?

[..]

> So, having gotten that out of the way, are you aware you could have 
> posted something helpful instead of playing gatekeeper?

He was being polite! Sheesh ...

Most people just ignore irrelevant posts which actually belong on
another list instead of politely pointing out the error.

-- 
Chris.
==
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Mark Allums

Hal Vaughan wrote:

Thanks for the info.  It's a HUGE help.  I have no idea where I got the 
idea that Alsa was outdated but it's likely I read a post on a list 
like this (or even this one) from someone who seemed to know what they 
were saying.


ALSA replaced OSS, not the other way.  ALSA has an OSS compatibility 
layer and it provides OSS to apps that haven't been transitioned.  ALSA 
is the preferred system now.  There are also several other intermediate 
layers that can be used between ALSA and an app, e.g., Pulse Audio.


Mark Allums


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Hal Vaughan
On Monday 14 July 2008, Andrei Popescu wrote:
> On Mon,14.Jul.08, 12:42:54, Arthur A wrote:
> > My understanding was:
> >
> > Hardware <> ALSA <--> OSS <--> Apps
>
> AFAIK OSS has been the first type of linux sound drivers. Alsa was
> introduced later as an alternative. Since 2.6.something (but before
> etch IIRC) alsa is in the mainline kernel and OSS has been
> deprecated.
>
> As far as installing is concerned, you really only need install
> alsa-utils (which should pull alsa-base) and sound should just work
> (unless you have some strange hardware).
>
> Also since the dmix plugin has been enabled by default it is possible
> to have multiple apps play sound at the same time, which was
> previously achieved by using arts or esound.

So I could wipe OSS and use just Alsa and KDE, since that's my DE?

I'll try this and see what happens.

Thanks for the info!


Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Andrei Popescu
On Mon,14.Jul.08, 12:42:54, Arthur A wrote:

> My understanding was:
>
> Hardware <> ALSA <--> OSS <--> Apps

AFAIK OSS has been the first type of linux sound drivers. Alsa was 
introduced later as an alternative. Since 2.6.something (but before etch 
IIRC) alsa is in the mainline kernel and OSS has been deprecated.

As far as installing is concerned, you really only need install 
alsa-utils (which should pull alsa-base) and sound should just work 
(unless you have some strange hardware).

Also since the dmix plugin has been enabled by default it is possible to 
have multiple apps play sound at the same time, which was previously 
achieved by using arts or esound.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Hal Vaughan
On Monday 14 July 2008, Arthur A wrote:
> Hal Vaughan wrote:
> > On Monday 14 July 2008, Andrei Popescu wrote:
> >> On Sun,13.Jul.08, 18:29:25, Hal Vaughan wrote:
> >>> I'm using Kubuntu, but not the latest version, the one before it
> >>> (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
> >>
> >> Should we assume alsa doesn't work on your machine?
> >
> > I may be behind the times, but I thought that OSS was superseding
> > Alsa. Am I wrong?  I've never really done anything with sound
> > before and haven't really kept track of it.  Would I be better off
> > installing Alsa?  I'm not wedded to using OSS and have no problem
> > switching to something that would work better.
> >
> > Hal
>
> My understanding was:
>
> Hardware <> ALSA <--> OSS <--> Apps
>
> Which was replaced on gnome with something like
>
> Hardware <> ALSA <--> ESD & Gstreamer <--> Apps
>
> Which is now being replaced by
>
> Hardware <> ALSA <--> Pulse Audio <--> Gstreamer & Apps
>
> I'm not sure how helpful and accurate that is. KDE, AFAIK, doesn't
> look anything like this after the ALSA part.
>
> Did you walk through the Complete Sound Troubleshooting Guide on the
> UbuntuForums?
>
> I know that under Hardy Heron they half-deployed pulse audio, the
> main pieces are there but apps to control the pulse sound server
> aren't installed by default (LTS = Long Troubles with Sound).
>
> I've never used KDE, but a quick google search leads me to believe
> nothing of my experience with gnome, ubuntu or debian can be directly
> applied.

Thanks for the info.  It's a HUGE help.  I have no idea where I got the 
idea that Alsa was outdated but it's likely I read a post on a list 
like this (or even this one) from someone who seemed to know what they 
were saying.

Just the info on how Alsa fits in gives me a better sense of what is 
going on.

It'll take me a bit to go through and process even the few suggestions 
I've gotten, but all of this gives me more to work with.

I'll post if/when I solve this.

Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Hal Vaughan
On Monday 14 July 2008, Jordi Gutiérrez Hermoso wrote:
> 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> > On Sunday 13 July 2008, Jordi Gutiérrez Hermoso wrote:
> >> 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> >> > I'm using Kubuntu, but not the latest version, the one before it
> >> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
> >>
> >> Are you aware that Ubuntu and Debian are not the same distribution
> >> and you should be asking in the Ubuntu mailing lists or forums
> >> instead of here?
> >
> > Are you aware that many parts are the same
>
> And many are not, particularly in the core distribution.

But yet I've gotten a number of helpful responses from others on the 
list with ideas I'm checking out.

> > and that I'm not the first to
> > ask about issues in Ubuntu here and that many Ubuntu users have
> > gotten quite a bit of help here?
>
> Great, so you and all those others are offtopic.

Have you been reading this list long and seen the wide range of topics 
on this list?  There have even been discussions on whether Ubuntu 
questions are off topic here or not.  This list has a wide range of 
topics and is almost never ruled by anything other than anarchy.

> > Are you aware that many DDs are also working on Ubuntu and that
> > many of us use both Debian and Ubuntu and there's a lot of
> > crossover between the two distros?
>
> Ubuntu is offtopic on this list. I'm sure many DDs also use other
> distributions, perhaps not even Debian-based. That doesn't make those
> distributions ontopic.

I didn't say *use*.  I said many DDs *WORK ON*, as in they get paid to 
do work on Ubuntu.  In other words, there are many people that work as 
devs for both distros. 

> > So, having gotten that out of the way, are you aware you could have
> > posted something helpful instead of playing gatekeeper?
>
> I am not happy you are wasting bandwidth with offtopic queries for
> which I cannot help since you are not using the same Debian I am.

You are not the only person on this list who can help people.  Notice 
I've gotten a number of helpful responses.

> Unless the Debian mailing list admins, if there are any, grant that
> Ubuntu queries are ontopic on this list, you are not going to win
> this argument. Take your web traffic to the relevant place.

List admins telling us what can and can't be posted here?  Okay, I 
didn't realize you're new here and thought someone actually told people 
what to post.

> I tried to initially be friendly about this. I honestly thought you
> were confused about the relationship between Debian and Ubuntu, but
> you are not, and your are still willfully misusing Debian resources.

You're trying to be friendly about enforcing your view of what should 
and should not be posted.  You're concerned about bandwidth but you've 
already wasted more than my post did.


Hal


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Jordi Gutiérrez Hermoso
2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> On Sunday 13 July 2008, Jordi Gutiérrez Hermoso wrote:
>> 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
>> > I'm using Kubuntu, but not the latest version, the one before it
>> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
>>
>> Are you aware that Ubuntu and Debian are not the same distribution
>> and you should be asking in the Ubuntu mailing lists or forums
>> instead of here?
>
> Are you aware that many parts are the same

And many are not, particularly in the core distribution.

> and that I'm not the first to
> ask about issues in Ubuntu here and that many Ubuntu users have gotten
> quite a bit of help here?

Great, so you and all those others are offtopic.

> Are you aware that many DDs are also working on Ubuntu and that many of
> us use both Debian and Ubuntu and there's a lot of crossover between
> the two distros?

Ubuntu is offtopic on this list. I'm sure many DDs also use other
distributions, perhaps not even Debian-based. That doesn't make those
distributions ontopic.

> So, having gotten that out of the way, are you aware you could have
> posted something helpful instead of playing gatekeeper?

I am not happy you are wasting bandwidth with offtopic queries for
which I cannot help since you are not using the same Debian I am.

Unless the Debian mailing list admins, if there are any, grant that
Ubuntu queries are ontopic on this list, you are not going to win this
argument. Take your web traffic to the relevant place.

I tried to initially be friendly about this. I honestly thought you
were confused about the relationship between Debian and Ubuntu, but
you are not, and your are still willfully misusing Debian resources.

- Jordi G. H.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Florian Kulzer
On Mon, Jul 14, 2008 at 00:13:44 -0700, Marc Shapiro wrote:
> Hal Vaughan wrote:
>> On Sunday 13 July 2008, you wrote:
>>> Hal Vaughan wrote:
>>> 
 I'm using Kubuntu, but not the latest version, the one before it
 (Gutsy, I think) and KDE 3.5.8 and have been using OSS.

I think it would be better to switch to ALSA (see below).

 Many times I start a program and I don't get sound output.  Most of
 the time I'm using either Amarok, Flash (from Firefox or
 Konqueror), Kaffeine, and sometimes KMail (some message filters
 trigger sounds for me).  I'm not using any big games that take up
 the full screen, but I have a few like PySol or one or two that
 work under Wine.

[...]

>>> Have you tried changing the Auto-suspend time?
>>>
>>> Control enter -> Sound and Multimedia -> Sound System -> General ->
>>> Auto-suspend
>>>
>>> I find that the default time is usually much too long for me.  The
>>> effect of this is that, sometimes, you can change from one sound
>>> source to another and find that the new source doesn't work.  But if
>>> you wait just long enough, the new sound source "magically" works.
>>> 
>>
>> It doesn't seem to make any difference.
>>
>> Part of the problem isn't only programs working one after the other, 
>> but also programs not sharing sound output, which I don't think the 
>> timeout would effect.

All recent versions of ALSA support direct mixing of multiple streams
via Dmix. Software mixing should be enabled automatically for all sound
cards that do not support hardware mixing:
http://alsa.opensrc.org/index.php?title=Dmix

Sometimes people have to use a few additional tricks:
http://alsa.opensrc.org/index.php/Dmix_Kde_-_arts%2C_ESD_and_SDL_quick_and_dirty_HOWTO

The sharing of audio devices worked out of the box for me (KDE 3.5.9 on
Sid/amd64). I am listening to a song played by amarok, the soundtrack of
a youtube video, and a KDE system sound simultaneously. As you can see,
the sound devices are shared without blocking:

# lsof $(find /dev -group audio)
COMMAND PIDUSER   FD   TYPE DEVICE SIZE NODE NAME
artsd   342 florian  memCHR 116,24  4815 /dev/snd/pcmC0D0c
artsd   342 florian  memCHR 116,16  4797 /dev/snd/pcmC0D0p
artsd   342 florian   13r   CHR 116,33  4726 /dev/snd/timer
artsd   342 florian   14u   CHR 116,16  4797 /dev/snd/pcmC0D0p
artsd   342 florian   15r   CHR 116,33  4726 /dev/snd/timer
artsd   342 florian   16u   CHR 116,24  4815 /dev/snd/pcmC0D0c
artsd   342 florian   17u   CHR  116,0  4821 /dev/snd/controlC0
amarokapp 13710 florian  memCHR 116,16  4797 /dev/snd/pcmC0D0p
amarokapp 13710 florian   17u   CHR  116,0  4821 /dev/snd/controlC0
amarokapp 13710 florian   20r   CHR 116,33  4726 /dev/snd/timer
amarokapp 13710 florian   27u   CHR 116,16  4797 /dev/snd/pcmC0D0p
npviewer. 13813 florian  memCHR 116,16  4797 /dev/snd/pcmC0D0p
npviewer. 13813 florian   14r   CHR 116,33  4726 /dev/snd/timer
npviewer. 13813 florian   15u   CHR 116,16  4797 /dev/snd/pcmC0D0p

> I don't run KDE.  I have, in fact, purged all KDE apps from my system  
> specifically because of sound problems.  I had frequent bouts of no  
> sound due to conflicts between arts and anything else that wanted to use  
> sound.  I had to kill arts almost any time that I wanted to get sound  
> out of a non-KDE app.  I didn't use any KDE apps that were sound  
> oriented, either.  I used kate, and occasionally konqueror, but they  
> would start up arts and then other sound apps were unable to get a sound  
> device.

To keep artsd from starting, set "StartServer=false" in
~/.kde/share/config/kcmartsrc. If that file does not exist on your
system then you can create it as a simple two-liner:

[Arts]
StartServer=false

> Possibly the auto-suspend time reduces the amount of time after  
> a KDE app uses sound and the time that arts releases the device?

That is indeed what it does. I had initially set this time to 5 seconds
to be on the safe side, but it does not really seem to matter anymore
(see above).

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Arthur A

Hal Vaughan wrote:

On Monday 14 July 2008, Andrei Popescu wrote:

On Sun,13.Jul.08, 18:29:25, Hal Vaughan wrote:

I'm using Kubuntu, but not the latest version, the one before it
(Gutsy, I think) and KDE 3.5.8 and have been using OSS.

Should we assume alsa doesn't work on your machine?


I may be behind the times, but I thought that OSS was superseding Alsa.  
Am I wrong?  I've never really done anything with sound before and 
haven't really kept track of it.  Would I be better off installing 
Alsa?  I'm not wedded to using OSS and have no problem switching to 
something that would work better.


Hal




My understanding was:

Hardware <> ALSA <--> OSS <--> Apps

Which was replaced on gnome with something like

Hardware <> ALSA <--> ESD & Gstreamer <--> Apps

Which is now being replaced by

Hardware <> ALSA <--> Pulse Audio <--> Gstreamer & Apps

I'm not sure how helpful and accurate that is. KDE, AFAIK, doesn't look anything 
like this after the ALSA part.


Did you walk through the Complete Sound Troubleshooting Guide on the 
UbuntuForums?

I know that under Hardy Heron they half-deployed pulse audio, the main pieces 
are there but apps to control the pulse sound server aren't installed by default 
(LTS = Long Troubles with Sound).


I've never used KDE, but a quick google search leads me to believe nothing of my 
experience with gnome, ubuntu or debian can be directly applied.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Hal Vaughan
On Monday 14 July 2008, Andrei Popescu wrote:
> On Sun,13.Jul.08, 18:29:25, Hal Vaughan wrote:
> > I'm using Kubuntu, but not the latest version, the one before it
> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
>
> Should we assume alsa doesn't work on your machine?

I may be behind the times, but I thought that OSS was superseding Alsa.  
Am I wrong?  I've never really done anything with sound before and 
haven't really kept track of it.  Would I be better off installing 
Alsa?  I'm not wedded to using OSS and have no problem switching to 
something that would work better.

Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-14 Thread Marc Shapiro

Hal Vaughan wrote:

On Sunday 13 July 2008, you wrote:
  

Hal Vaughan wrote:


I'm using Kubuntu, but not the latest version, the one before it
(Gutsy, I think) and KDE 3.5.8 and have been using OSS.

Many times I start a program and I don't get sound output.  Most of
the time I'm using either Amarok, Flash (from Firefox or
Konqueror), Kaffeine, and sometimes KMail (some message filters
trigger sounds for me).  I'm not using any big games that take up
the full screen, but I have a few like PySol or one or two that
work under Wine.

I may start one program, like Amarok, and play music in it, then
stop that music and run a game or try to watch something in Flash
and may not get sound -- or if I've been playing a game, then try
to run Amarok, I may have had sound for the game and not Amarok.

It used to be that I could have Amarok playing music in the
background and play a game and I'd get the sounds from both, but
not anymore.  At most one program can play sounds at a time (as
best I can tell, I haven't tried every combination of programs).

Usually if I pull up the KDE control center and change from OSS
Sound to Autodetect, hit "Apply" to restart, then switch BACK to
OSS, and hit "Apply" again, I can get sound.  Even with this,
though, there's a trick to it.  If I've played a game and had
sounds with it, then I quite the program and start a song in Amarok
(which was in the background all the time, just not playing) I
won't get sound.  I have to quite Amarok, then do the KDE Control
Center thing, THEN restart Amarok and it'll play.

I don't know the sound system well, but it seems to me that there's
a problem with channels or resources not being freed up after they
should be released or some multiplexing that is not happening.

I'm using a Soundblaster and nothing exotic.  This worked fine
until I upgraded from Feisty Fawn to Gusty Gibbon.  I just haven't
had time to worry about it until now, when I was playing a song in
Amarok, hit the "Next Song" button and got a message "Audio Output
Unavailable" I'm not sure about the rest of the message because I
can't make it come up every time and it goes away quickly enough I
haven't copied the whole thing, but it's something like "Device
unavailable."  This has made it frustrating enough I just need to
get it fixed.


I know that puts it onto something Kubuntu did wrong, but overall,
I'd think that I should be able to use apt-get or dpkg-reconfigure
to either remove and reinstall the sound system or to reconfigure
it, but I'm not sure of all the packages that might be involved or
if there's an easier solution.

Ideas, anyone?

Thanks!


Hal
  

Have you tried changing the Auto-suspend time?

Control enter -> Sound and Multimedia -> Sound System -> General ->
Auto-suspend

I find that the default time is usually much too long for me.  The
effect of this is that, sometimes, you can change from one sound
source to another and find that the new source doesn't work.  But if
you wait just long enough, the new sound source "magically" works.



It doesn't seem to make any difference.

Part of the problem isn't only programs working one after the other, but 
also programs not sharing sound output, which I don't think the timeout 
would effect.



Hal
  
I don't run KDE.  I have, in fact, purged all KDE apps from my system 
specifically because of sound problems.  I had frequent bouts of no 
sound due to conflicts between arts and anything else that wanted to use 
sound.  I had to kill arts almost any time that I wanted to get sound 
out of a non-KDE app.  I didn't use any KDE apps that were sound 
oriented, either.  I used kate, and occasionally konqueror, but they 
would start up arts and then other sound apps were unable to get a sound 
device.  Possibly the auto-suspend time reduces the amount of time after 
a KDE app uses sound and the time that arts releases the device?  Any 
comment from the original poster of that idea?


--
Marc Shapiro
[EMAIL PROTECTED]




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Andrei Popescu
On Sun,13.Jul.08, 18:29:25, Hal Vaughan wrote:
> I'm using Kubuntu, but not the latest version, the one before it (Gutsy, 
> I think) and KDE 3.5.8 and have been using OSS.
 
Should we assume alsa doesn't work on your machine?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Hal Vaughan
On Sunday 13 July 2008, Jordi Gutiérrez Hermoso wrote:
> 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> > I'm using Kubuntu, but not the latest version, the one before it
> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
>
> Are you aware that Ubuntu and Debian are not the same distribution
> and you should be asking in the Ubuntu mailing lists or forums
> instead of here?

Are you aware that many parts are the same and that I'm not the first to 
ask about issues in Ubuntu here and that many Ubuntu users have gotten 
quite a bit of help here?

Are you aware that many DDs are also working on Ubuntu and that many of 
us use both Debian and Ubuntu and there's a lot of crossover between 
the two distros?

So, having gotten that out of the way, are you aware you could have 
posted something helpful instead of playing gatekeeper?

Hal


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/13/08 22:50, Jordi Gutiérrez Hermoso wrote:
> 2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
>> I'm using Kubuntu, but not the latest version, the one before it (Gutsy,
>> I think) and KDE 3.5.8 and have been using OSS.
> 
> Are you aware that Ubuntu and Debian are not the same distribution and

Yes, he is.


- --
Ron Johnson, Jr.
Jefferson LA  USA

"Kittens give Morbo gas.  In lighter news, the city of New New
York is doomed."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkh6zrEACgkQS9HxQb37XmcCdgCfeF37nU6VoKWy1LM8BFvHUQla
BZMAn2VxVMEcfL3T8HsHyX71wbAFtz3t
=8QD8
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Jordi Gutiérrez Hermoso
2008/7/13 Hal Vaughan <[EMAIL PROTECTED]>:
> I'm using Kubuntu, but not the latest version, the one before it (Gutsy,
> I think) and KDE 3.5.8 and have been using OSS.

Are you aware that Ubuntu and Debian are not the same distribution and
you should be asking in the Ubuntu mailing lists or forums instead of
here?

- Jordi G. H.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound Problems (Sound is Often Gone)

2008-07-13 Thread Hal Vaughan
On Sunday 13 July 2008, you wrote:
> Hal Vaughan wrote:
> > I'm using Kubuntu, but not the latest version, the one before it
> > (Gutsy, I think) and KDE 3.5.8 and have been using OSS.
> >
> > Many times I start a program and I don't get sound output.  Most of
> > the time I'm using either Amarok, Flash (from Firefox or
> > Konqueror), Kaffeine, and sometimes KMail (some message filters
> > trigger sounds for me).  I'm not using any big games that take up
> > the full screen, but I have a few like PySol or one or two that
> > work under Wine.
> >
> > I may start one program, like Amarok, and play music in it, then
> > stop that music and run a game or try to watch something in Flash
> > and may not get sound -- or if I've been playing a game, then try
> > to run Amarok, I may have had sound for the game and not Amarok.
> >
> > It used to be that I could have Amarok playing music in the
> > background and play a game and I'd get the sounds from both, but
> > not anymore.  At most one program can play sounds at a time (as
> > best I can tell, I haven't tried every combination of programs).
> >
> > Usually if I pull up the KDE control center and change from OSS
> > Sound to Autodetect, hit "Apply" to restart, then switch BACK to
> > OSS, and hit "Apply" again, I can get sound.  Even with this,
> > though, there's a trick to it.  If I've played a game and had
> > sounds with it, then I quite the program and start a song in Amarok
> > (which was in the background all the time, just not playing) I
> > won't get sound.  I have to quite Amarok, then do the KDE Control
> > Center thing, THEN restart Amarok and it'll play.
> >
> > I don't know the sound system well, but it seems to me that there's
> > a problem with channels or resources not being freed up after they
> > should be released or some multiplexing that is not happening.
> >
> > I'm using a Soundblaster and nothing exotic.  This worked fine
> > until I upgraded from Feisty Fawn to Gusty Gibbon.  I just haven't
> > had time to worry about it until now, when I was playing a song in
> > Amarok, hit the "Next Song" button and got a message "Audio Output
> > Unavailable" I'm not sure about the rest of the message because I
> > can't make it come up every time and it goes away quickly enough I
> > haven't copied the whole thing, but it's something like "Device
> > unavailable."  This has made it frustrating enough I just need to
> > get it fixed.
> >
> >
> > I know that puts it onto something Kubuntu did wrong, but overall,
> > I'd think that I should be able to use apt-get or dpkg-reconfigure
> > to either remove and reinstall the sound system or to reconfigure
> > it, but I'm not sure of all the packages that might be involved or
> > if there's an easier solution.
> >
> > Ideas, anyone?
> >
> > Thanks!
> >
> >
> > Hal
>
> Have you tried changing the Auto-suspend time?
>
> Control enter -> Sound and Multimedia -> Sound System -> General ->
> Auto-suspend
>
> I find that the default time is usually much too long for me.  The
> effect of this is that, sometimes, you can change from one sound
> source to another and find that the new source doesn't work.  But if
> you wait just long enough, the new sound source "magically" works.

It doesn't seem to make any difference.

Part of the problem isn't only programs working one after the other, but 
also programs not sharing sound output, which I don't think the timeout 
would effect.


Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]