public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] no sound in firefox java
@ 2011-06-17 23:25 Daiajo Tibdixious
  2011-06-18  0:16 ` Lie Ryan
  2011-06-18  0:18 ` Barry Schwartz
  0 siblings, 2 replies; 11+ messages in thread
From: Daiajo Tibdixious @ 2011-06-17 23:25 UTC (permalink / raw
  To: gentoo-amd64

If I use firefox-bin (32 bit) or firefox (64 bit) on youtube, I get
sound no problems.
If I run mplayer I get sound also.
If I use firefox-bin with a java applet that plays sound, I get no sound at all.
I can't load this applet in firefox, which is why I still use
firefox-bin for it.

Googling "no sound in firefox java" gives lots of hits, mainly from
people with the same problem.
1 solution was to "modprobe snd-pcm-oss" which did not help. I.m
fairly sure this is redundant with base layout 2.

I upgraded the kernel twice, from linux-2.6.36-gentoo-r5 where I
initially had the problem,
to linux-2.6.36-gentoo-r8 and now on linux-2.6.38-gentoo-r6 paying
careful attention to all the sound related configuration options. This
had no effect.

I've run out of things to try, so I'm asking the list.

I previously had a problem where the first firefox session would get
sound, but no subsequent application, including firefox would have
sound, in other words the first invocation of firefox would lock the
sound. I could live with that, this current problem is far more
annoying.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] no sound in firefox java
  2011-06-17 23:25 [gentoo-amd64] no sound in firefox java Daiajo Tibdixious
@ 2011-06-18  0:16 ` Lie Ryan
  2011-06-18  0:18 ` Barry Schwartz
  1 sibling, 0 replies; 11+ messages in thread
From: Lie Ryan @ 2011-06-18  0:16 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 1293 bytes --]

> I previously had a problem where the first firefox session
> would get sound,

OSS or ALSA?
On 18/06/2011 10:03 AM, "Daiajo Tibdixious" <daiajo@gmail.com> wrote:
> If I use firefox-bin (32 bit) or firefox (64 bit) on youtube, I get
> sound no problems.
> If I run mplayer I get sound also.
> If I use firefox-bin with a java applet that plays sound, I get no sound
at all.
> I can't load this applet in firefox, which is why I still use
> firefox-bin for it.
>
> Googling "no sound in firefox java" gives lots of hits, mainly from
> people with the same problem.
> 1 solution was to "modprobe snd-pcm-oss" which did not help. I.m
> fairly sure this is redundant with base layout 2.
>
> I upgraded the kernel twice, from linux-2.6.36-gentoo-r5 where I
> initially had the problem,
> to linux-2.6.36-gentoo-r8 and now on linux-2.6.38-gentoo-r6 paying
> careful attention to all the sound related configuration options. This
> had no effect.
>
> I've run out of things to try, so I'm asking the list.
>
> I previously had a problem where the first firefox session would get
> sound, but no subsequent application, including firefox would have
> sound, in other words the first invocation of firefox would lock the
> sound. I could live with that, this current problem is far more
> annoying.
>

[-- Attachment #2: Type: text/html, Size: 1635 bytes --]

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] no sound in firefox java
  2011-06-17 23:25 [gentoo-amd64] no sound in firefox java Daiajo Tibdixious
  2011-06-18  0:16 ` Lie Ryan
@ 2011-06-18  0:18 ` Barry Schwartz
  2011-06-19  3:48   ` Daiajo Tibdixious
  1 sibling, 1 reply; 11+ messages in thread
From: Barry Schwartz @ 2011-06-18  0:18 UTC (permalink / raw
  To: gentoo-amd64

Daiajo Tibdixious <daiajo@gmail.com> skribis:
> If I use firefox-bin (32 bit) or firefox (64 bit) on youtube, I get
> sound no problems.
> If I run mplayer I get sound also.
> If I use firefox-bin with a java applet that plays sound, I get no sound at all.
> I can't load this applet in firefox, which is why I still use
> firefox-bin for it.

I would set up pulseaudio (if it isn't set up already) and then worry
if I still had trouble with sound.




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] no sound in firefox java
  2011-06-18  0:18 ` Barry Schwartz
@ 2011-06-19  3:48   ` Daiajo Tibdixious
  2011-06-19  5:05     ` [gentoo-amd64] " Duncan
  0 siblings, 1 reply; 11+ messages in thread
From: Daiajo Tibdixious @ 2011-06-19  3:48 UTC (permalink / raw
  To: gentoo-amd64

Lie Ryan  <lie.1296@gmail.com>
> OSS or ALSA?

Using ALSA by default, although I suspect java or firefox is using OSS
hence playing around the the OSS emulation.

I meant to include this
# lspci | grep Audio
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
01:00.1 Audio device: ATI Technologies Inc HD48x0 audio

I've tried selecting both devices in alsaconf. Same symtoms for both.

On 6/18/11, Barry Schwartz <chemoelectric@chemoelectric.org> wrote:
> I would set up pulseaudio (if it isn't set up already) and then worry
> if I still had trouble with sound.

I installed pulseaudio, added the pulseaudio use flag, and rebuild
with --newuse.
I went thru <http://pulseaudio.org/wiki/PerfectSetup> logged out & in from kde,
and got no sound at all.
Rebooted and still no sound, in any application.

If I mplayer -ao pulse, it opens the sound okay, but no sound is audible
if I mplayer -ao alsa it can't find the library, I think thats because
of the rebuild
with pulseaudio use flag.
There is no /dev/dsp device (which is the oss compatibility device).

pavucontrol runs, but doesn't see any sound devices.

<http://en.gentoo-wiki.com/wiki/PulseAudio>
suggests doing a "fuser /dev/snd/*" and kill off any process listed.
I have nothing listed here. Before rebooting there were a few KDE
things, eg. knotify
This also suggests killing the daemon and doing "pulseaudio -vvvv"
which gave:
          :
D: cli-command.c: Checking for existance of
'/usr/lib64/pulse-0.9.22/modules/module-esound-protocol-unix.so':
success
E: socket-server.c: bind(): Address already in use
E: module.c: Failed to load  module "module-esound-protocol-unix"
(argument: ""): initialization failed.
E: main.c: Module load failed.
E: main.c: Failed to initialize daemon.
          :
The problem is I now have 3 pulseaudio daemons, which keep starting,
stopping, restarting,
so the PIDs keep changing. I'm about to reboot again to get rid of them.



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-amd64] Re: no sound in firefox java
  2011-06-19  3:48   ` Daiajo Tibdixious
@ 2011-06-19  5:05     ` Duncan
  2011-06-19 13:57       ` Daiajo Tibdixious
  0 siblings, 1 reply; 11+ messages in thread
From: Duncan @ 2011-06-19  5:05 UTC (permalink / raw
  To: gentoo-amd64

Daiajo Tibdixious posted on Sun, 19 Jun 2011 13:48:23 +1000 as excerpted:

> I installed pulseaudio, added the pulseaudio use flag, and rebuild with
> --newuse.
> I went thru <http://pulseaudio.org/wiki/PerfectSetup> logged out & in
> from kde,
> and got no sound at all.
> Rebooted and still no sound, in any application.
> 
> If I mplayer -ao pulse, it opens the sound okay, but no sound is audible
> if I mplayer -ao alsa it can't find the library, I think thats because
> of the rebuild with pulseaudio use flag.
> There is no /dev/dsp device (which is the oss compatibility device).

I believe Barry and I disagree on pulse.  It's yet another layer between 
the apps and the hardware that can break, and I don't need it, so from my 
perspective I'm better off without it.

As such I know little about it.  However, I *DO* know one of the frequent 
issues with alsa is that it starts with everything muted by default.  You 
have to unmute and set the volumes to something reasonable, then if you 
want it to keep that instead of coming up muted at each boot, you must 
setup something to set it back to the saved settings.  (The GUI desktops 
normally handle it pretty much automatically, so they're "something", or 
setup alsactl to run and set the saved settings at boot, for console-
users.  I believe Gentoo's alsa initscript does that if you put it in a 
runlevel.)

A lot of folks don't know that and think their audio is broken, even tho 
it's simply muted by default.

I've no idea if pulse is similar, tho it would make sense, given you 
don't want something blaring unexpectedly so mute-by-default is a very 
good policy, but if it is, have you checked that it's not simply muted?

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman




^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] Re: no sound in firefox java
  2011-06-19  5:05     ` [gentoo-amd64] " Duncan
@ 2011-06-19 13:57       ` Daiajo Tibdixious
  2011-06-22 12:00         ` [gentoo-amd64] Unsubscribe Tim A
  0 siblings, 1 reply; 11+ messages in thread
From: Daiajo Tibdixious @ 2011-06-19 13:57 UTC (permalink / raw
  To: gentoo-amd64

On 6/19/11, Duncan <1i5t5.duncan@cox.net> wrote:
> Daiajo Tibdixious posted on Sun, 19 Jun 2011 13:48:23 +1000 as excerpted:
>
>> I installed pulseaudio, added the pulseaudio use flag, and rebuild with
>> --newuse.
>> I went thru <http://pulseaudio.org/wiki/PerfectSetup> logged out & in
>> from kde,
>> and got no sound at all.
>> Rebooted and still no sound, in any application.
>>
>> If I mplayer -ao pulse, it opens the sound okay, but no sound is audible
>> if I mplayer -ao alsa it can't find the library, I think thats because
>> of the rebuild with pulseaudio use flag.
>> There is no /dev/dsp device (which is the oss compatibility device).
>
> I believe Barry and I disagree on pulse.  It's yet another layer between
> the apps and the hardware that can break, and I don't need it, so from my
> perspective I'm better off without it.

> I've no idea if pulse is similar, tho it would make sense, given you
> don't want something blaring unexpectedly so mute-by-default is a very
> good policy, but if it is, have you checked that it's not simply muted?

Yeah, checking mute/volume is part of the debugging process.
At the moment I only have 1 master volume, not the whole rack of
volumes in AlSA's mixer, but its not muted nor too low to hear.
I think my problem is that my sound card is not defined to pulse,
can't find out what to do about it.

pulse did seem like a solution to my initial problem.
Anyway, I'm hoping solving this problem will help me with my original problem
(sound in all but firefox java applet).



^ permalink raw reply	[flat|nested] 11+ messages in thread

* [gentoo-amd64] Unsubscribe
  2011-06-19 13:57       ` Daiajo Tibdixious
@ 2011-06-22 12:00         ` Tim A
  2011-06-22 12:21           ` Dale
  0 siblings, 1 reply; 11+ messages in thread
From: Tim A @ 2011-06-22 12:00 UTC (permalink / raw
  To: gentoo-amd64@lists.gentoo.org; +Cc: gentoo-amd64@lists.gentoo.org

unsubscribe



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] Unsubscribe
  2011-06-22 12:00         ` [gentoo-amd64] Unsubscribe Tim A
@ 2011-06-22 12:21           ` Dale
  2011-06-23  7:48             ` Joost Roeleveld
  0 siblings, 1 reply; 11+ messages in thread
From: Dale @ 2011-06-22 12:21 UTC (permalink / raw
  To: gentoo-amd64

Tim A wrote:
> unsubscribe
>
>    

NO !!  This is the roach motel.  You can check out but you can never 
leave.  OK.  Maybe this once.  Try this:

gentoo-amd64+unsubscribe@lists.gentoo.org

Don't forget to confirm after you blanky to send that.

Dale

:-)  :-)





^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] Unsubscribe
  2011-06-22 12:21           ` Dale
@ 2011-06-23  7:48             ` Joost Roeleveld
  2011-06-23 10:44               ` Dale
  0 siblings, 1 reply; 11+ messages in thread
From: Joost Roeleveld @ 2011-06-23  7:48 UTC (permalink / raw
  To: gentoo-amd64

On Wednesday 22 June 2011 07:21:51 Dale wrote:
> Tim A wrote:
> > unsubscribe
> 
> NO !!  This is the roach motel.

Not Hotel California? :)

> You can check out but you can never
> leave.  OK.  Maybe this once.  Try this:
> 
> gentoo-amd64+unsubscribe@lists.gentoo.org
> 
> Don't forget to confirm after you blanky to send that.
> 
> Dale
> 
> :-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] Unsubscribe
  2011-06-23  7:48             ` Joost Roeleveld
@ 2011-06-23 10:44               ` Dale
  2011-06-23 17:52                 ` felix
  0 siblings, 1 reply; 11+ messages in thread
From: Dale @ 2011-06-23 10:44 UTC (permalink / raw
  To: gentoo-amd64

Joost Roeleveld wrote:
> On Wednesday 22 June 2011 07:21:51 Dale wrote:
>    
>> Tim A wrote:
>>      
>>> unsubscribe
>>>        
>> NO !!  This is the roach motel.
>>      
> Not Hotel California? :)
>
>    

That's another possibility.  I just like the roach motel.

Dale

:-)  :-)



^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: [gentoo-amd64] Unsubscribe
  2011-06-23 10:44               ` Dale
@ 2011-06-23 17:52                 ` felix
  0 siblings, 0 replies; 11+ messages in thread
From: felix @ 2011-06-23 17:52 UTC (permalink / raw
  To: gentoo-amd64

On Thu, Jun 23, 2011 at 05:44:37AM -0500, Dale wrote:
> Joost Roeleveld wrote:
> > On Wednesday 22 June 2011 07:21:51 Dale wrote:
> >    
> >> Tim A wrote:
> >>      
> >>> unsubscribe
> >>>        
> >> NO !!  This is the roach motel.
> >>      
> > Not Hotel California? :)
> >
> >    
> 
> That's another possibility.  I just like the roach motel.
> 
> Dale
> 
> :-)  :-)

I see it's been too long.  But my instructions are from an older kit
and may be antiquated.  I would appreciate receiving any fresher
versions by return mail.

Here's how to unsubscribe:

First, ask your Internet Provider to mail you an Unsubscribing Kit.
Then follow these directions.

The kit will most likely be the standard no-fault type. Depending on
requirements, System A and/or System B can be used. When operating
System A, depress lever and a plastic dalkron unsubscriber will be
dispensed through the slot immediately underneath. When you have
fastened the adhesive lip, attach connection marked by the large "X"
outlet hose. Twist the silver-coloured ring one inch below the
connection point until you feel it lock.

The kit is now ready for use. The Cin-Eliminator is activated by the
small switch on the lip.  When securing, twist the ring back to its
initial condition, so that the two orange lines meet.  Disconnect.
Place the dalkron unsubscriber in the vacuum receptacle to the rear.
Activate by pressing the blue button.

The controls for System B are located on the opposite side. The red
release switch places the Cin-Eliminator into position; it can be
adjusted manually up or down by pressing the blue manual release
button. The opening is self-adjusting. To secure after use, press the
green button, which simultaneously activates the evaporator and
returns the Cin-Eliminator to its storage position.

You may log off if the green exit light is on over the evaporator.  If
the red light is illuminated, one of the Cin-Eliminator requirements
has not been properly implemented. Press the "List Guy" call button on
the right of the evaporator. He will secure all facilities from his
control panel.

To use the Auto-Unsub, first undress and place all your clothes in the
clothes rack. Put on the velcro slippers located in the cabinet
immediately below. Enter the shower, taking the entire kit with
you. On the control panel to your upper right upon entering you will
see a "Shower seal" button. Press to activate. A green light will then
be illuminated immediately below. On the intensity knob, select the
desired setting. Now depress the Auto-Unsub activation lever. Bathe
normally.

The Auto-Unsub will automatically go off after three minutes unless
you activate the "Manual off" override switch by flipping it up. When
you are ready to leave, press the blue "Shower seal" release
button. The door will open and you may leave. Please remove the velcro
slippers and place them in their container.

If you prefer the ultrasonic log-off mode, press the indicated blue
button. When the twin panels open, pull forward by rings A & B. The
knob to the left, just below the blue light, has three settings, low,
medium or high. For normal use, the medium setting is suggested.

After these settings have been made, you can activate the device by
switching to the "ON" position the clearly marked red switch. If
during the unsubscribing operation you wish to change the settings,
place the "manual off" override switch in the "OFF" position. You may
now make the change and repeat the cycle. When the green exit light
goes on, you may log off and have lunch. Please close the door behind
you.


-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-06-23 17:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 23:25 [gentoo-amd64] no sound in firefox java Daiajo Tibdixious
2011-06-18  0:16 ` Lie Ryan
2011-06-18  0:18 ` Barry Schwartz
2011-06-19  3:48   ` Daiajo Tibdixious
2011-06-19  5:05     ` [gentoo-amd64] " Duncan
2011-06-19 13:57       ` Daiajo Tibdixious
2011-06-22 12:00         ` [gentoo-amd64] Unsubscribe Tim A
2011-06-22 12:21           ` Dale
2011-06-23  7:48             ` Joost Roeleveld
2011-06-23 10:44               ` Dale
2011-06-23 17:52                 ` felix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox