Lost sound when moving from 11.4 to 12.1

I’ve got a Sony Vaio with openSUSE 11.4 installed. The sound works fine. I’ve now installed 12.1 (in addition to 11.4). The sound is fine under 11.4 but not working under 12.1.

The “Play Test Sound” works fine under Yast…Hardware…Sound…Other

However under Multimedia Settings…Phonon…Audio Hardware Setup Tab - there is no sound card recognised. My sound card is recognised under 11.4

Any suggestions?

Many Thanks,

Steve

So here are a few suggestions.

  1. Go to YaST / Hardware / Sound and see if any sound cards are present and make sure the one you use is there and listed as device 0.
  2. I have a script that can be useful in sound testing: S.T.A.R.T. - SuSE Terminal Audio Reporting Tool - Version 1.12 - Blogs - openSUSE Forums
  3. I have a script you can run in 11.4 and 12.1 to see what kernel modules are different (mine uses snd_ctxfi among others): S.K.I.M. - SuSE Kernel Installed Modules - A lsmod replacement- Creates Alphabetized Module Listing - Blogs - openSUSE Forums
  4. You could post a screen capture of your setup in Phonon using (select Image on top right): SUSE Paste

http://paste.opensuse.org/view/download/43957306

http://paste.opensuse.org/view/download/44763929

This is what mine looks like in openSUSE 11.4. You could show us what yours look like in 12.1.

Here is another good link to review: Pulseaudio Basics for openSUSE with pavucontrol - Blogs - openSUSE Forums

Thank You,

Hi James - Thanks for the response.

Replies to your points are as follows: -

  1. YaST / Hardware / Sound

This shows the following 2 cards
0 - nVidia - config as sound card #0 - driver snd-hda-intel
1 - Intel - config as sound card #1 - driver snd-hda-intel

From here the Other / Play Test Sound works fine. This is all the same as under 11.4.

Output from your script is as follows: -

alsa-1.0.24.1-23.1.2-x86_64 -> openSUSE
alsa-firmware-1.0.24.1-7.1.1-noarch -> openSUSE
alsa-utils-1.0.24.2-12.8.1-x86_64 -> openSUSE
libasound2-32bit-1.0.24.1-23.1.2-x86_64 -> openSUSE
libasound2-1.0.24.1-23.1.2-x86_64 -> openSUSE

speaker-test 1.0.24.2

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib conf.c:3700:(snd_config_update_r) Cannot access file /etc/alsa-pulse.conf
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM plug:front
Playback open error: -2,No such file or directory

[SH] No sound

speaker-test 1.0.24.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib conf.c:3700:(snd_config_update_r) Cannot access file /etc/alsa-pulse.conf
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory

[SH] No sound

Enter <N>oise, <R>ock, <T>est or <Q>uit. Enter your choice [n/r/t/q]: tALSA libconf.c:3700:(snd_config_update_r) Cannot access file /etc/alsa-pulse.conf
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
play FAIL formats: can’t open output file `default’: snd_pcm_open error: No suc file or directory

[SH] No Sound

Does this help?

By default openSUSE will try to play sound through sound card 0. My guess is sound card 0 on your PC is a nvidia HDMI device. And my guess is you do not have an HDMI setup. And hence my guess is since sound card 0 is HDMI and not setup you will not get any sound.

My recommendation would be to install the application pulse audio volume control (pavucontrol) and run that application the first time you run any multimedia application and tune it for the Intel sound device. I provided some hints on pavucontrol use here: Pulseaudio Basics for openSUSE with pavucontrol - Blogs - openSUSE Forums

This shows the following 2 cards

0 - nVidia - config as sound card #0 - driver snd-hda-intel
1 - Intel - config as sound card #1 - driver snd-hda-intel

oldcpu is our resident audio expert SteveHigham and I think he is on to something. I would suggest you follow his advise and look at the url links that he suggests and thanks for posting back with the required information from your system.

Thank You,

Hi guys and thanks for the advice.

pulse audio volume control (pavucontrol) is installed.

I started going through your posts. However when I tried “aplay -l” logged in as root I get the following output: -

steve-laptop:/home/steve # aplay -l
**** List of PLAYBACK Hardware Devices ****
ALSA lib conf.c:3700:(snd_config_update_r) Cannot access file /etc/alsa-pulse.conf
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL hw:0
aplay: device_list:253: control open (0): No such file or directory
ALSA lib conf.c:3700:(snd_config_update_r) Cannot access file /etc/alsa-pulse.conf
ALSA lib control.c:882:(snd_ctl_open_noupdate) Invalid CTL hw:1
aplay: device_list:253: control open (1): No such file or directory
steve-laptop:/home/steve #

Any ideas on how I should proceed?

Many Thanks,

Steve

Strange.

WHY did you run this when logged in as root ? Is that your nominal way of running openSUSE ? As root ?

I probably need more information to understand this.

As a REGULAR USER, with PC connected to the Internet, please run the diagnostic script:


/usr/sbin/alsa-info.sh

and select the SHARE/UPLOAD option, and when the script is complete, take the URL / web address that it will give you, and post that here.

I’ve uploaded the information at

http://www.alsa-project.org/db/?f=3bfa87cd4136f861eaee46e6b22e84eb4066f39f

I don’t normally login as root. However I do tend to run diagnostic hardware scripts as root. I find this helps isolate permission issues,

Kind Regards,

Steve

OK, thats fine. But keep in mind some apps are specifically designed NOT to run with root permissions !! So do not automatically assume root permissions are used/needed for all scripts. Rather the 1st time try to run the diagnostic scripts as a regular user, and only THEN if it fails, try with root permissions.

For example, opening a text editor in a GUI as user root, only works in some desktops (such as LXDE). Instead in Gnome and KDE one needs to do this differently.

wrt the diagnostic script output, as you noted, your mixer settings are strange with those errors.

Please, what is the output of:


rpm -qa '*alsa*' 

You should have the application alsa-utils installed by default ! If not installed, please install it NOW! This also begs the question, did you remove any alsa (or other) sound related apps for some reason ?

Reading further in this thread, I see you purportedly have alsa-utils installed.

Please, re-install it.

This looks far too thin to me. Note openSUSE-12.1 uses pulse audio by default.

Did you remove pulse audio by chance ? If so, I missed that in this thread. If pulse audio was removed or disabled, then I probably can not help.

Note this is what I get from 'rpm -qa ‘alsa’ and 'rpm -qa ‘pulse


oldcpu@corei7:~> rpm -qa '*alsa*'
alsa-plugins-32bit-1.0.24-6.1.x86_64
alsa-utils-1.0.24.2-3.1.x86_64
java-1_6_0-sun-alsa-1.6.0.u29-0.2.1.x86_64
alsa-plugins-dca-1-1.1.x86_64
alsa-plugins-1.0.24-6.1.x86_64
alsa-oss-1.0.17-32.1.x86_64
alsa-plugins-pulse-32bit-1.0.24-6.1.x86_64
alsa-plugins-pulse-1.0.24-6.1.x86_64
alsa-devel-1.0.24.1-4.9.1.x86_64
alsa-1.0.24.1-4.9.1.x86_64
alsa-oss-32bit-1.0.17-32.1.x86_64
oldcpu@corei7:~> rpm -qa '*pulse*'
pulseaudio-utils-0.9.22-6.11.1.x86_64
pulseaudio-module-lirc-0.9.22-6.11.1.x86_64
vlc-aout-pulse-1.1.13-13.5.x86_64
libpulse0-32bit-0.9.22-6.11.1.x86_64
pulseaudio-module-zeroconf-0.9.22-6.11.1.x86_64
pulseaudio-0.9.22-6.11.1.x86_64
pulseaudio-esound-compat-0.9.22-6.11.1.x86_64
libpulse-mainloop-glib0-0.9.22-6.11.1.x86_64
pulseaudio-module-x11-0.9.22-6.11.1.x86_64
pulseaudio-module-bluetooth-0.9.22-6.11.1.x86_64
alsa-plugins-pulse-32bit-1.0.24-6.1.x86_64
pulseaudio-equalizer-2.7rev4-1.3.noarch
alsa-plugins-pulse-1.0.24-6.1.x86_64
libpulse0-0.9.22-6.11.1.x86_64
pulseaudio-module-jack-0.9.22-6.11.1.x86_64
libpulse-browse0-0.9.22-6.11.1.x86_64
libxine1-pulse-1.1.20.1-56.1.x86_64

Now I have more alsa/pulse apps than absolutely necessary , but not that many more …

I note this from the diagnostic script:


!!Modprobe options (Sound related)
!!--------------------------------

snd-hda-intel: model=vaio

ie you have applied the vaio option. Further, I note from the HD-Audio-Models.txt file, that the ‘vaio’ option is associated with the STAC9872


STAC9872
========
  vaio		VAIO laptop without SPDIF
  auto		BIOS setup (default)

Now when I look further at the script, I can see it has identified your hardware as a CX20590:


!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Conexant CX20590

which from same script output is further supported by the dmesg:


!!ALSA/HDA dmesg
!!------------------
   13.566090] hda_codec: CX20590: BIOS auto-probing.

A CX20590 is NOT a STAC9872 to the best of the information I have available. ie. maybe you are applying the WRONG model option and that is breaking this and NOT helping at all. Just because your laptop is a Vaio, does not mean one should appy the ‘vaio’ option. Rather one needs to look at the hardware audio codec to decide the model option ! NOT the generic laptop model ! So please, WHAT is your reference for applying that model option? Do you have another reference I am unaware of (other than assuming vaio because you have a vaio ? ).

Next, I went to the alsa web site and I did a search on the CX 20590 which is purported in your PC from the script. It gave me these two hits:

In particular I note it states that the “Conexant 506e/20590 has the same graph as the rest of the 5066 family”. So if it were ME in this situation, I would NOT be applying model options for the STAC9872 (which as near as I can determine you do NOT have) but rather I would be trying model options for the ‘Conexant 5066’ … of course I could be wrong. I don’t have this hardware. I only have the internet and search engines to research this.

Now I note from the HD-Audio-Models.txt file that the model options for the CX 5066 are:


Conexant 5066
=============
  laptop	Basic Laptop config (default)
  hp-laptop	HP laptops, e g G60
  asus		Asus K52JU, Lenovo G560
  dell-laptop	Dell laptops
  dell-vostro	Dell Vostro
  olpc-xo-1_5	OLPC XO 1.5
  ideapad       Lenovo IdeaPad U150
  thinkpad	Lenovo Thinkpad

So I would be trying each of those options, ONE at a time, to see if any of them solve this situation.

Further to the above, I note a case of a Sony Vaio user whose PC had the CX20590 applied the ‘thinkpad’ option which worked: [SOLVED] Vaio VPC-EH1L1R - troubles with sound - Ubuntu Forums]([SOLVED] Vaio VPC-EH1L1R - troubles with sound)

Now I am NOT saying ‘thinkpad’ is the option that will work for you, but rather I am recommending you try each option in the Conexant 5066 list, and hopefully one of those will work. Be certain to restart in between each attempt.

I’ve removed alsa-utils (which also removed alsa). I then rebooted and reinstalled both packages. This doesn’t seem to have made any difference.

The output requested is as follows: -

steve@steve-laptop:~> rpm -qa ‘alsa
alsa-tools-1.0.24.1-12.1.2.x86_64
alsa-1.0.24.1-23.1.2.x86_64
alsa-oss-1.0.17-37.1.2.x86_64
alsa-firmware-1.0.24.1-7.1.1.noarch
alsa-utils-1.0.24.2-12.8.1.x86_64
pyalsa-1.0.22-9.1.2.x86_64
alsa-oss-32bit-1.0.17-37.1.2.x86_64
alsamixergui-0.9.0rc1-755.1.2.x86_64
alsa-docs-1.0.24.1-23.1.2.noarch
alsa-plugins-32bit-1.0.24-18.1.2.x86_64
alsa-tools-gui-1.0.24.1-12.1.2.x86_64
alsa-plugins-1.0.24-18.1.2.x86_64
steve@steve-laptop:~>

Thanks for your help to date. Any further suggestions?

Kind Regards,

Steve

Yes, please read the rest of my posts. I took the time to make more than one reply.

When I installed 12.1 I quickly identified that the sound was not working and tried a number of fixes from the internet - none worked. This included using the model=vaio option and removing pulse audio.
I now seem to have four options as follows: -

Reinstall pulse audio.
Try different model=??? options as identified above.
Reinstall 12.1
Ignore 12.1 and wait for 12.2

Reinstalling 12.1 to establish a known position is realistic. I am currently dual booting into 11.4 or 12.1. I am avoiding using 12.1 for any serious work until I have basic functionality (including sound) working satisfactorily.

Please advise how I should proceed

Many Thanks,

Steve

I misunderstood and did not realize you removed pulse audio.

openSUSE-12.1 is tested with pulse audio enabled. It is not tested to the best of my knowledge, with pulse audio disabled.

I have no idea as to its behaviour with pulse audio removed, and then re-installed.

Someone who has been through this will need reply there.

At this stage, I have nothing further to suggest than what I have suggested already (where it appears not all of what I suggested was attempted).

I suggest you reinstall PulseAudio and install the PulseAudio Volume Control application called pavucontrol. Then, in the PulseAudio Volume Control, go to the Configuration tab and for any audio device you do not use, select the Profile of Off. Anyone with multiple audio devices needs to take this step. It appears that the YaST / Hardware / Sound function plays no role with PulseAudio and if you have Multiple Audio devices, only the one you use should be allowed to work with PulseAudio. You need to take my advice on this one point.

Thank You,

I’ve deleted the 12.1 partitions and reinstalled from scratch.

The sound is now working fine which surprised me as this wasn’t my experience last time round. However on my first install I updated the nVidia graphics card driver before I checked the sound. Therefore I suspect this might have broken the sound configuration. This makes sense as the Phonon sound test works fine when the intel sound card is selected but doesn’t produce any sound when the nVidia sound card is selected.

I’ve now run the alsa-info script on the good configuration and the results are available at

http://www.alsa-project.org/db/?f=80d3ebf73b4115e8c076ae3ddaa037d0867ec709

I’ve also run the following

steve@linux-vaio:~> rpm -qa ‘alsa
alsa-oss-32bit-1.0.17-37.1.2.x86_64
alsa-plugins-pulse-32bit-1.0.24-18.1.2.x86_64
alsa-plugins-pulse-1.0.24-18.1.2.x86_64
alsa-plugins-32bit-1.0.24-18.1.2.x86_64
alsa-oss-1.0.17-37.1.2.x86_64
alsa-1.0.24.1-23.1.2.x86_64
alsa-utils-1.0.24.2-12.8.1.x86_64
alsa-plugins-1.0.24-18.1.2.x86_64
steve@linux-vaio:~>

I will now install the nVidia graphics drivers and let you know if this takes my sound out.

Many thanks for your help,

Steve

I’ve installed the nVidia graphics drivers and got a sensible screen resolution. The sound is still working fine

ISSUE RESOLVED - THANKS FOR ALL YOUR HELP - STEVE :slight_smile: