SOLVED no sound from some applications

OSS specific Linux discussion (x86/amd64)

Moderators: cesium, dev, kodachi, hannu

SOLVED no sound from some applications

Postby capo » Thu Jun 24, 2010 12:52 pm

Hi
I have a dell studio 15 dual boot with ubuntu 9.10 karmic.
Totem and banshee works ok
I have no sound output with Kaffeine or internet sites.
when running osstest I only get sound when pcm0 is running
I cannot understand how to assign various programs to the oss4 engine.
my test results etc are detailed below
some help with this problem would be much appreciaated


graham@graham-laptop:~$ osstest
Sound subsystem and version: OSS 4.2 (b 2003/201006221434) (0x00040100)
Platform: Linux/x86_64 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 02:41:03 UTC 2010

*** Scanning sound adapter #-1 ***
/dev/oss/oss_hdaudio0/pcm0 (audio engine 0): HD Audio play pcm1
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48020.00 Hz (0.04%)>
/dev/oss/oss_hdaudio0/pcm1 (audio engine 1): HD Audio play pcm2
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48021.00 Hz (0.04%)>
/dev/oss/oss_hdaudio0/pcm2 (audio engine 2): HD Audio play pcm3
- Performing audio playback test...
<left> OK <right> OK <stereo> OK <measured srate 48023.00 Hz (0.05%)>
/dev/oss/oss_hdaudio0/pcmin0 (audio engine 3): HD Audio rec select2
- Skipping input only device
/dev/oss/oss_hdaudio0/pcmin1 (audio engine 4): HD Audio rec select3
- Skipping input only device

*** All tests completed OK ***
graham@graham-laptop:~$

graham@graham-laptop:~$ ossinfo -v3
Version info: OSS 4.2 (b 2003/201006221434) (0x00040100) OSS_HG
Hg revision: changeset: 905:7963fed124c3, tag: tip, date: Tue Jun 15 01:04:50 2010 +0300, summary: Misc changes here and there
Platform: Linux/x86_64 2.6.31-22-generic #60-Ubuntu SMP Thu May 27 02:41:03 UTC 2010 (graham-laptop)

Number of audio devices: 5
Number of audio engines: 9
Number of MIDI devices: 0
Number of mixer devices: 1


Device objects
0: osscore0 OSS core services
1: oss_hdaudio0 Intel HD Audio interrupts=10346 (10346)
HD Audio controller Intel HD Audio
Vendor ID 0x80863b56
Subvendor ID 0x10280413
Codec 0: Unknown (0x111d7675/0x10280413)
2: oss_usb0 USB audio core services

MIDI devices (/dev/midi*)

Mixer devices
0: High Definition Audio 0x111d767 (Mixer 0 of device object 1)
Device file /dev/oss/oss_hdaudio0/mix0, Legacy device /dev/mixer0
Priority: 10
Caps:
Device handle: PCI04131028-0000:00:1b.0-mx01
Device priority: 10


Audio devices
HD Audio play pcm1 /dev/oss/oss_hdaudio0/pcm0 (device index 0)
Legacy device /dev/dsp0
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
Out engine 1: 0/HD Audio play pcm1
Available for use
Engine 2: 5/HD Audio play pcm1 (vmix)
Available for use
Engine 3: 6/HD Audio play pcm1 (vmix)
Available for use
Engine 4: 7/HD Audio play pcm1 (vmix)
Available for use
Engine 5: 8/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI04131028-0000:00:1b.0-au01
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 8
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play pcm2 /dev/oss/oss_hdaudio0/pcm1 (device index 1)
Legacy device /dev/dsp1
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 1/HD Audio play pcm2
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI04131028-0000:00:1b.0-au02
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio play pcm3 /dev/oss/oss_hdaudio0/pcm2 (device index 2)
Legacy device /dev/dsp2
Caps: TRIGGER MMAP
Modes: OUTPUT
Out engine 1: 2/HD Audio play pcm3
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI04131028-0000:00:1b.0-au03
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec select2 /dev/oss/oss_hdaudio0/pcmin0 (device index 3)
Legacy device /dev/dsp3
Caps: DUPLEX TRIGGER MMAP
Modes: IN/OUT
In engine 1: 3/HD Audio rec select2
Available for use
Engine 2: 5/HD Audio play pcm1 (vmix)
Available for use
Engine 3: 6/HD Audio play pcm1 (vmix)
Available for use
Engine 4: 7/HD Audio play pcm1 (vmix)
Available for use
Engine 5: 8/HD Audio play pcm1 (vmix)
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI04131028-0000:00:1b.0-au04
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated

HD Audio rec select3 /dev/oss/oss_hdaudio0/pcmin1 (device index 4)
Legacy device /dev/dsp4
Caps: TRIGGER MMAP
Modes: INPUT
In engine 1: 4/HD Audio rec select3
Available for use
Input formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Output formats (0x00001010):
AFMT_S16_LE - 16 bit signed little endian
AFMT_S32_LE - 32 bit signed little endian
Device handle: PCI04131028-0000:00:1b.0-au05
Related mixer dev: 0
Sample rate source: 0
Preferred channel configuration: Not indicated
Supported number of channels (min - max): 2 - 2
Native sample rates (min - max): 44100 - 192000 (44100,48000,88200,96000,192000)
HW Type: Not indicated.
Minimum latency: Not indicated


Nodes
/dev/dsp -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_in -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_out -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_mmap -> /dev/oss/oss_hdaudio0/pcm0
/dev/dsp_multich -> /dev/oss/oss_hdaudio0/pcm0
graham@graham-laptop:~$


graham@graham-laptop:~$ ossmix
Selected mixer 0/High Definition Audio 0x111d7675
Known controls are:
jack.black.mode1 <pcm1|pcm2|pcm3|mix|input> (currently pcm1)
jack.black1 [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-speaker.mode <pcm1|pcm2|pcm3|mix|input> (currently pcm1)
jack.int-speaker [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mode2 <pcm1|pcm2|pcm3|mix|input> (currently pcm1)
jack.black2 [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.black.mode3 <pcm1|pcm2|pcm3|mix|input> (currently pcm1)
jack.black3 [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
jack.int-mic [<leftvol>:<rightvol>] (currently 29.9:29.9 dB)
record.select2.select21 [<leftvol>:<rightvol>] (currently 19.4:19.4 dB)
record.select2.select22 <mic|int-mic|mix> (currently mic)
record.select3.select31 [<leftvol>:<rightvol>] (currently 19.4:19.4 dB)
record.select3.select32 <mic|int-mic|mix> (currently mic)
misc.pcm1 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.pcm2 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.pcm3 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.vendor1 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc.vendor2 [<leftvol>:<rightvol>] (currently 76.4:76.4 dB)
misc <-28.-8dB|-19.-2dB|-9.-6dB|0.0dB|mute> (currently -19.-2dB)
misc.select4 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.select5 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.select61 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.mix1 <select4|select5|select6> (currently select4)
misc.mix2 [<leftvol>:<rightvol>] (currently 38.9:38.9 dB)
misc.select62 <pcm1|pcm2|pcm3> (currently pcm1)
vmix0-enable ON|OFF (currently ON)
vmix0-rate <decimal value> (currently 48000) (Read-only)
vmix0-channels <Stereo|Multich> (currently Stereo)
vmix0-src <Fast|High|OFF> (currently Fast)
vmix0-outvol <monovol> (currently 23.8 dB)
vmix0-invol <monovol> (currently 25.0 dB)
vmix0.pcm5 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm6 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm7 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
vmix0.pcm8 [<leftvol>:<rightvol>] (currently 25.0:25.0 dB)
Last edited by capo on Fri Jul 02, 2010 12:43 pm, edited 3 times in total.
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby cesium » Thu Jun 24, 2010 4:34 pm

Well, does flash emit sound? Does /usr/lib/libflashsupport.so exist? this page might help. As for Kaffeine, does your Phonon use the gstreamer or xine backend? Anyhow, this might help.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: no sound from some applications

Postby capo » Fri Jun 25, 2010 3:42 pm

Hi
thanks for your reply

libflashsupport exist but under a different path, is this ok?

graham@graham-laptop:~$ ldconfig -p | grep libflashsupport
libflashsupport.so (libc6,x86-64) => /usr/lib/libflashsupport.so

graham@graham-laptop:/usr/lib/oss/lib$ ls
flashsupport.c libflashsupport_64.so libOSSlib.so libossmix.so

Is there a conflict in the above?
I am struggling to locate the 64bit flash player on the net, the linux option at the adobe site is 32 bit?
I have lost the location now, but I saw somewhere they have pulled the 64bit with problems?

Do I install 32 bit flash and replace the flashsupport with 32 bit?

I am using kaffeine on a GNU Gnome OS and the phonon-backend-xine is ver. 4:4.3.1


Thanks in anticipation
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby cesium » Fri Jun 25, 2010 11:50 pm

Adobe removed the 64bit plugin due to security issues, so maybe package upgrade replaced it with a 32bit one? Check it using 'file' command... If you use the 32bit plugin, then you'll need a 32bit libflashsupport in /usr/lib32. You can get a copy here.

As for kaffeine, it's a bother trying to change setting under gnome... Perhaps replacing ~/.config/kde.org/libphonon.conf with this might help...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: no sound from some applications

Postby capo » Sun Jun 27, 2010 12:51 pm

Hi

I used a script to un-install and reinstall flash, see http://www.cyberciti.biz/tips/install-f ... ent-150888, comment by Madison Kelly dated Oct 15th 2009, maybe of use to someone.
This cured my problem, with your libflashsupport in /usr/lib32, of no sound from the internet, thank you.

Will report back on the kaffeine prob
thanks again
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby capo » Mon Jun 28, 2010 12:32 pm

Hi
there is no file ~/.config/kde.org/libphonon.conf

graham@graham-laptop:~/.config$ ls
autostart enchant google-chrome totem user-dirs.locale
banshee-1 gnome-disk-utility gtk-2.0 Trolltech.conf vlc
compiz gnome-session menus user-dirs.dirs

Could you give me any other ideas, thanks
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby cesium » Mon Jun 28, 2010 8:33 pm

Try this: Create the dir, and put the file there...
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: no sound from some applications

Postby capo » Tue Jun 29, 2010 9:06 am

Hi Cesium

I am now in the position where on a boot or restart Kaffeine works fine with sound, i get an alarm
KDE detected that one or more internal sound devices were removed.
Do you want KDE to permanently forget about these devices?
This is the list of devices KDE thinks can be removed:
Capture: HDA Intel (STAC92xx Analog)
Capture: Playback/recording through the PulseAudio sound server
Output: HD-Audio Generic, ATI HDMI (HDMI Audio Output)
Output: HDA Intel (STAC92xx Analog)
Output: Playback/recording through the PulseAudio sound server
yes...no...manage options

to which i respond no, will I have any problems if I allow the action?


When closing Kaffeine then reopening, I get an alarm
Phonon; KDE's Multimedia Library.
The audio playback device Pulse does not work. Falling back to.

Kaffeine then works but with no sound

I have googled this alarm, with no result as results do not apply to oss or kaffeine

We are almost there!

thanks in anticipation
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby cesium » Tue Jun 29, 2010 8:57 pm

Phonon tends to forget the config... Perhaps recopying the file there would work..

You can also try this and if Pulseaudio is installed that would allow kaffeine to output via it.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: no sound from some applications

Postby capo » Wed Jun 30, 2010 11:30 am

Hi
Thanks for your reply
tried recopying lipphonon.conf to ~/.config/kde.org , dindt solve the problem.
there is also a Phonon-Xine.xine.conf in the folder which was not there previously.
The only unhatched line being " .version:2"

There is no " /etc/pulse/default.pa" there is a file "client.conf" in the folder

Code: Select all
#This file is part of Pulse audio
; default-sink =
; default-source =
; default-server =

; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB


Hope this helps
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am

Re: no sound from some applications

Postby cesium » Wed Jun 30, 2010 6:07 pm

Try putting this file at ~/.pulse.
cesium
Developer
 
Posts: 902
Joined: Sun Aug 12, 2007 12:51 am

Re: no sound from some applications

Postby capo » Fri Jul 02, 2010 12:42 pm

That did it, Thanks for your help
capo
Member
 
Posts: 15
Joined: Fri Jun 18, 2010 11:53 am


Return to Linux

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest