11.2 - no sound though card seems to be configured

Hello,

after upgrading to OpenSUSE 11.2 I had problems with entering
the sleep mode, so I decided to reinstall the whole system.
After reinstalling the system, I am having problems with my
sound card…

I am using Gnome desktop. There are two sound cards on my PC:
one onboard, and the other one - PCI (Terratec EWX 24/96).

I don’t want to use the onboard sound card, so I have disabled
it in BIOS. I want to use only the PCI card. It seems the PCI
card is configured - at least when I open the Sound Configuration
panel in Yast, and play a test sound, it is working (I can hear
the sound). Also, when I make the following test from the
Gnome terminal:

speaker-test -Dplug:front -c2 -l5 -twav

I can hear the sound. However with this test:

speaker-test -c2 -l5 -twav

there is no sound.

There is no sound when playing videos from Youtube. There
is no sound when playing .flac or .wav files in Banshee.

I thought that maybe some channel is muted, so I raised up
the volume for all channels in alsamixer, but it didn’t help.

I have tried removing the card, and installing it again,
but it didn’t help neither.

Here are the screenshots from the alsamixer settings.

Picasa Web Albums - alsamixer

May I ask for help, please?

Greetings,
Tomek.

Its quite common that one of those speaker tests will work and the other will not work.

You have sound. I assume only your sound card has speakers connected so then the sound is working from your sound card. You likely need to mostly only sort your codecs.

But to be doubly certain you have the correct sound card selected, please take a look at step 9 in the audio troubleshooting guide and check to see if there is anything relevant in step 9 to you: SDB:AudioTroubleshooting - openSUSE

Gnome developers have pretty much passed all audio over to Pulse audio (as opposed to KDE who have remained a step back) and hence Pulse audio problems can have a crippling effect on gnome.

Reference codecs, I recommend you setup your PC with 4 software repositories and ONLY 4 repositories. Just 4. No others. None. Those 4 are OSS, Non-OSS, Update and Packman. Just those 4. There is guidance here for setting up those 4: Repositories/11.2 - openSUSE-Community Just those 4 ! Likely you will find the 1st 3 (OSS, non-OSS, and Update) already setup, and you will only need Packman, and you can disable your CD/DVD as a repos, disable source, and disable debug if enabled). Just the 4 I recommend.

Once those 4 are enabled you can go to YaST > Software > Software Management, and change the view to “search” and under the “search” tab do a search for packman packaged versions of a number of applications. You can tell Packman packaged versions by the “pm” in the version number. Do NOT (except for libdvdcss) install applications from Videolan repo. Do not enable that repos.

Search for and install the following packman packaged apps (replace any Novell/SusE-GmbH packaged) to give codecs: ffmpeg/libffmpeg (their dependencies will pick up codecs), w32codec-all, libquicktime0, libxvidecore4, smplayer, flash-player). You have a choice between gecko-mediaplayer and mplayerplug-in. While mplayerplug-in has been depreciated, gecko-mediaplayer has a bug, and I recommend mplayerplug-in for now.

When trying to play flash videos on your browser be CERTAIN to check the PCM volume setting in alsaxmixer, as that dynamically can go to zero.

Also, some of us found it necessary to remove libflashsupport (but keep flash-player) in order to get flash to work for us.

Thank you very much for your kind help.

As I have disabled the on-board sound card in BIOS, there is only
one (PCI) card listed in the Yast/Hardware/Sound configuration panel.
Only this PCI sound card has the speakers connected. This card is
set as default one.

I have setup the repositories as you have advised (just the four
you mentioned), and installed the packages.
Unfortunately there is still no sound when playing Youtube, or .wav
or .flac files in Bansee/Mplayer.

There is one thing that is unclear to me. You wrote that I should
“check the PCM volume setting in alsaxmixer, as that dynamically
can go to zero”. The problem is that when I run alsamixer, then choose
the PCI card, and display the Playback settings (pressing F3),
there is no “PCM” setting. I have made the screenshots of the
settings I get in the alsamixer:

Picasa Web Albums - habyor - OpenSUSE

The volume can be set only for:

  • ADC, ADC1
  • DAC, DAC1
  • Multi, Multi1,…, Multi9

I can’t see the “PCM” setting there.

Greetings,
Tomek.

I’m sitting here trying to guess, if you get sound from any application?

Please provide output of:

zypper lr -d 

and copy and paste the following into a terminal and post here the output of running this in a terminal:

rpm --query --all 'libav*' 'libpostproc*' 'libswscale*' '*xine*' '*gst*' '*layer*' '*vlc*' | grep -v avahi | sort

Every sound device is different. Almost all have a PCM control. Your TerraTec Ewx24/96 which uses the ice1712 alsa sound module is not all that common, whether it is an exception to the average card (which has a PCM control) I can not say.

I have tried installing the codecs again using the one-click
installation described here:

Restricted Formats/11.2 - openSUSE-Community

This has changed the active repositories list, but after
the installation, I haver reverted to the ones you suggested.

Then I have restarted the PC. After that I still can’t
get any sound when playing .wav or .flac files in SMPlayer
or Banshee, but I can play these files in MPlayer.

I haven’t tried MPlayer before the one-click install
procedure, so I can’t tell if it has been working before.
Anyway, it seems that MPlayer is working, but SMPlayer,
Banshee and Firefox (Youtube) are not working.

The output from zypper lr -d is:

| Alias | Name | Enabled | Refresh | Priority | Type | URI | Service

1 | ftp.skynet.be-suse | Packman Repository | Yes | Yes | 99 | rpm-md | Index of /pub/packman/suse/11.2 |
2 | http-download.opensuse.org-6681bfdd | Updates for openSUSE 11.2-0 | Yes | Yes | 99 | rpm-md | Index of /update/11.2 |
3 | openSUSE 11.2-0 | openSUSE 11.2-0 | No | No | 99 | yast2 | cd:/// |
4 | openSUSE-11.2-Non-Oss | openSUSE-11.2-Non-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/non-oss |
5 | openSUSE-11.2-Oss | openSUSE-11.2-Oss | Yes | Yes | 99 | yast2 | Index of /distribution/11.2/repo/oss |

And the output from rpm is:

banshee-1-backend-engine-gstreamer-1.5.1-1.1.4.i586
flash-player-10.0.32.18-3.1.1.i586
gstreamer-0_10-0.10.25-999.pm.999.6.i586
gstreamer-0_10-ffmpeg-0.10.9-999.pm.1000.1.i586
gstreamer-0_10-fluendo-mp3-0.10.10-42.pm.42.2.i586
gstreamer-0_10-fluendo-mpegdemux-0.10.23-42.pm.42.2.i586
gstreamer-0_10-fluendo-mpegmux-0.10.4-42.pm.42.2.i586
gstreamer-0_10-lang-0.10.25-999.pm.999.6.noarch
gstreamer-0_10-libnice-0.0.9-2.5.i586
gstreamer-0_10-plugins-bad-0.10.13-2.2.i586
gstreamer-0_10-plugins-base-0.10.24-2.4.i586
gstreamer-0_10-plugins-good-0.10.15-3.2.i586
gstreamer-0_10-plugins-ugly-0.10.12-2.4.i586
gstreamer-0_10-schroedinger-1.0.7-4.3.i586
gstreamer-0_10-utils-0.10.24-3.1.i586
gstreamer-utils-0.10.24-3.1.i586
libavcodec52-0.5.20592svn-0.pm.1.1.i586
libavdevice52-0.5.20592svn-0.pm.1.1.i586
libavfilter1-0.5.0.20469-1.49.i586
libavformat52-0.5.20592svn-0.pm.1.1.i586
libavutil50-0.5.20592svn-0.pm.1.1.i586
libgstapp-0_10-0-0.10.24-2.4.i586
libgstfarsight-0_10-0-0.0.16-2.3.i586
libgstinterfaces-0_10-0-0.10.24-2.4.i586
libgstphotography-0_10-0-0.10.17-999.pm.999.5.i586
libgstreamer-0_10-0-0.10.25-999.pm.999.6.i586
libpostproc51-0.5.20592svn-0.pm.1.1.i586
libswscale0-0.5.20592svn-0.pm.1.1.i586
libxine1-1.1.16.1-7.6.i586
libxine1-gnome-vfs-1.1.16.1-7.6.i586
libxine1-pulse-1.1.16.1-7.6.i586
MPlayer-1.0rc2_r29796-2.pm.2.6.i586
mplayerplug-in-3.55+cvs20090923-0.pm.2.1.i586
pullin-flash-player-11.2.1-0.1.1.i586
python-gstreamer-0_10-0.10.16-2.3.i586
smplayer-0.6.8-0.pm.2.3.i586
xinetd-2.3.14-143.2.i586

Once again, thanks for your time.

Greetings,
Tomek.

One click. Yechhh … I am NOT a fan of one-click.

Anyway, I think there is something wrong with the .wav file if mplayer does not play a .wav, as your mplayer looks correct. Please check that !

Reference your applications installed, its a big miss mash there. I recommend you stick with packman packaged apps, and replace the Novell/SuSE-GmbH versions with packman packaged versions.

I note there is a newer flash-player (from Novell/SuSE-GmbH) available than what you have.

I note you have installed a bunch of fluendo apps (I don’t use those). I note you have a mix of Packman packaged and Novell/SuSE-GmbH packaged gstreamer apps. If there are Packman packaged apps, then go for those.

I note your libxine is crippled. Install the packman packaged version.

Hello,

in the meantime I had a hard disk failure. This way I was forced to make another
fresh install. After installing the system for the third time, there still was no sound
from Firefox (Youtube) and Banshee (.flac and .wav files).

I tried upgrading all of the gstreamer packages (choosing the ones from Packman
whenever possible). This didn’t help.

Then I reinstalled alsa, libsound and gnome multimedia packages. After this,
I can finally play Youtube in Firefox with sound :slight_smile:

The only thing that is missing is Banshee - which still can’t play neither .flac,
nor .wav files. When I try to play such a file a red “x” appears near this file
on the Banshee’s play list.

Please, can somebody tell me on which packages does banshee depend
for .flac, .wav and .mp3 playback?

Thanks for any help,
Tomek.

Hello,

having spent the last few days trying to solve the sound problems,
I have moved a step further, but still some help would be highly
appreciated.

I have removed the asound-pulse.conf file, and after doing this I
can hear the sound when doing this test from the Gnome terminal:

speaker-test -Dplug:front -c2 -l5 -twav

I can also hear the sound when doing this test:

speaker-test -c2 -l5 -twav

The second test (speaker-test -c2 -l5 -twav) wasn’t working before
removing the asound-pulse.conf file. The contents of the removed
asound-pulse.conf file was:

pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type plug
slave.pcm {
type pulse
}
}

ctl.!default {
type pulse
}

After removing the asound-pulse.conf file, I can also hear the sound
when playing Youtube videos in Firefox (but when the file was present,
I couldn’t). I can also play .wav files with aplay. However, when I try
to play the same .wav file in Banshee, I still get no sound.

When playing the .wav file, Banshee does not complain about any
missing codecs. The slider moves as the file is being played.
I have also started Banshee with the --debug option, but there
were no errors in the output.

So my guess is that Banshee is playing the files, it’s just that
it sends the data to the wrong device/channell or whatever it is.

May I ask for more help, please?

Tomek.

Of course you can ask, but the thread title is not very conducive to getting Banshee help. You may wish to start a new thread noting “No sound in Banshee with openSUSE-11.2 KDE-x.x.x” (or gnome if using gnome).

I managed to get sound working on Banshee on a “sandbox” PC running gnome. I had to run “gstreamer-properties” and also ensure I had packman packaged gstreamer apps installed (and not Novell packaged gstreamer apps). gstreamer-properities is, I believe, packaged with “gnome-media”.

But again, note you should start a new thread with an appropriate title to the thread.

Thanks, I have created a new thread.