No sound on openSUSE 12.2 since the upgrade on snd-hda-intel

Hi,

I have upgraded to openSuse 12.2 and since then have not had any sound. I have searched regarding this problem and this is what I found so far and what I have done

Potential 1 - Permissions issue

  • This seems valid as when I login as a normal user and go to kMix I only see Internal Audio and HDMI Audio, but when I login as root I see HDA Intel and HDA Nvidia
  • However even when I login as root I don’t get sound, this applies to even the test sound option in Yast
  • Here is the list of /dev/snd
drwxr-xr-x  2 root root       80 Oct 13 07:50 by-path
crw-rw----+ 1 root audio 116,  5 Oct 13 07:50 controlC0
crw-rw----+ 1 root audio 116, 14 Oct 13 07:50 controlC1
crw-rw----+ 1 root audio 116,  4 Oct 13 07:50 hwC0D0
crw-rw----+ 1 root audio 116, 13 Oct 13 07:50 hwC1D0
crw-rw----+ 1 root audio 116, 12 Oct 13 07:50 hwC1D1
crw-rw----+ 1 root audio 116, 11 Oct 13 07:50 hwC1D2
crw-rw----+ 1 root audio 116, 10 Oct 13 07:50 hwC1D3
crw-rw----+ 1 root audio 116,  3 Oct 13 08:12 pcmC0D0c
crw-rw----+ 1 root audio 116,  2 Oct 13 08:13 pcmC0D0p
crw-rw----+ 1 root audio 116,  9 Oct 13 08:01 pcmC1D3p
crw-rw----+ 1 root audio 116,  8 Oct 13 07:50 pcmC1D7p
crw-rw----+ 1 root audio 116,  7 Oct 13 07:50 pcmC1D8p
crw-rw----+ 1 root audio 116,  6 Oct 13 07:50 pcmC1D9p
crw-rw----+ 1 root audio 116,  1 Oct 13 07:50 seq
crw-rw----+ 1 root audio 116, 33 Oct 13 07:50 timer

I don’t know if I am expected to see this many entries here, I have only two sound options in Yast one for Intel and another for nVidia HDMI

  • The entries I see in Yast are
    * 5 Series/3400 Series Chipset High Definition Audio
    * nVidia Audio Device (HDMI)

Potential 2 - Pulse Audio is causing the problem

  • I have tried disabling the pulse audio when configuring the device, but still no sound as root
  • I have uninstall all the pulse audio packages as well except for two which seem to have a lot of dependencies, still no sound as root

I am on the latest patches as per zypper update.
Please advice.

Did you really do an “upgrade” or did you do a clean install? What was your previous openSUSE version? There are a couple of things to look at you can see here:

Pulseaudio Basics for openSUSE with pavucontrol - Blogs - openSUSE Forums

AND

S.T.A.R.T. - SuSE Terminal Audio Reporting Tool - Version 1.12 - Blogs - openSUSE Forums

Thank You,

Let me try both of these. I did initially upgrade from 12.1 and no sound, then I did a clean install as well and even with that no sound.
I will try these and post the results here.

Here are some updates from the test using the S.T.A.R.T tool
1 - Verify packages found alsafirmware missing so installed that
2 - Test runs fine but no sound heard, added the user to the audio group after that I see the same behavior as with root now
3 - When I try to test play Noise I get an error saying “nplay FAIL formats: can’t open output file `default’: can not open audio device: Connection refused”

Does this indicate some problem?

I get the connection refused error even when I run as root.

Do you have more than one sound device on your PC? For instance, I use nVIDIA video cards, most of which now include audio. I must configure PulseAudio so that the nVIDIA sound device uses the Profile of Off and in YaST / Hardware / Sound, I set my preferred sound device ahead of the nVIDIA sound device. In KDE for PulseAudio Look at Menu / Configure Desktop / Multimedia / Phonon / Audio Hardware Setup Tab / Hardware Profile.

Thank You,

Firstly sorry about the delay, I was out.

Yes I do have more than one sound device one the HDMI with the nVidia card and the Intel sound. I also have a hardware switch that toggles between Intel Graphics and nVidia Graphics.

Boot with Intel Graphics

  • I see only one sound card the Intel sound
  • What is surprising for me to note is that even though in Device Preference I see the Intel Audio when I go to Hardware Setup I see only Internal Audio is that correct? Or should I expect to see the Intel card in the list of sound cards.
  • No sound still

Boot with nVidia Graphics

  • Two sound cards available
  • As suggested by you ensured that HDMI is lower than Intel sound in Yast
  • As suggested by you set profile off to the HDMI sound
  • Still no sound
  • Sounds cards available in the list are - Internal Audio and High Definition Audio Controller
  • Device preference I only see PulseAudio Sound Server

I doubt if the right sound card is not being presented in the Audio Hardware Setup. I will try some more fiddling around with only Intel Graphics boot and will update if I have further inputs.

Please advice if a clean install should be tried out
Thanks for your support and patience.

One of the things I have done is to install the xfce4-mixer, which you can do from YaST. It will instal several other things, but once done, it gives you an Alsa like mixer where you can play with all the sound attributes you have. After installed on your first run, you must select your sound device and then select controls. I do the same thing (select Controls) for Playback, Capture and Switches. Next, I start something playing and turn on captures and controls until I get some sound. I have found that I must have the Master, Front, Line-In & Analog-Mix controls turned up to hear my TV sound connected to Line-In on my Creative Sound Card. Who knows what might be required for yours and the source type does matter.

Thank You,

I will try to install 12.1 back to see how the card is represented. I will leave 12.2 on another external disk so that I can try both out for the moment. I also noticed that the display freezes once in a while with Intel Graphics, maybe 12.2 is not yet ready for complicated devices.

Will let you know how this goes.

Thanks

Other things to try is a newer kernel. Its up to 3.6.2 right now you can download from kernel.org and use my bash script to compile it.

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.78 - Blogs - openSUSE Forums

The kernel contains all drivers like for Intel except proprietary ones loaded outside of the kernel, like the nVIDIA driver, if you can not use the built-in one. In any event, it is worth a try.

Thank You,

This means your client tries and fails to contact PulseAudio server. You said you uninstalled eveything related to PA, so it is not surprising :slight_smile:

I was with the same problem here , so I just downloaded your script and update the kernel to 3.6.2 as you suggested . BINGO , sounds works . Thank you very much . BTW , such a Wonderful scripts to complile the kernel mate , congratulations !!

I am very happy to hear that the SAKC script worked well for you and helped to solve your problem. SAKC is one of three scripts that work together to install, remove and fetch any kernel version you like. Here they are …

To Compile Kernel Tarballs: S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.78 - Blogs - openSUSE Forums

To Remove a kernel installed by SAKC: S.A.K.R. - SUSE Automated Kernel Remover - Version 1.0.2 - Blogs - openSUSE Forums

To Fetch any kernel version back to 2.11, making a compatible Tarball for SAKC: S.G.T.B. - SuSE Git Kernel Tarball Creator - Version 1.81 - Blogs - openSUSE Forums

Have Fun!

Thank You for using openSUSE,

Hi there,
after distro upgrade from 12.1 to 12.2 on HP DC8200 I had a similar problem yesterday. Test sound in the yast worked fine, but I couldn’t see any sound device in the kde (gnome,lxde) desktop. I tried add another sound card (some CMIxxxx), problem persists. But after adding my user to the “audio” and “pulse” group, log out and in from kde sound works fine on intel-hda too.

That works for me. Interesting that on previos opensuse 12.1 worked all fine…

Best regards

Josef Karliak.

You may want to look at this blog post as well: https://forums.opensuse.org/blogs/oldcpu/pulseaudio-basics-opensuse-pavucontrol-96/

As a general rule, we would prefer you create your own new message thread when reporting a problem to ensure it is seen by the most people that could help.

Thank You,

Sorry that it took this long to follow up on this item. I tried upgrading to the latest kernel version as recommended by you and after this everything is looking great. Thanks a lot for the wonderful utilities, these do make life really easy :slight_smile:

You could be right silly me :), but I was doing so many things then should have been more disciplined. But upgrading to the latest kernel definitely fixed the problem for me.

You are very welcome and happy to hear you have a well working system. Let me say that instead of adding in or removing a lot of applications, its best to come here and ask for help first. It seems that a few known actions one might take can be hard to reverse, so ask help for any major problems you run in to using openSUSE.

Thank You,