Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Audio problems (can't configure soundcard and devices missing)

  1. #1

    Post Audio problems (can't configure soundcard and devices missing)

    I just updated to Suse 15.2 and I'm facing several audio problems. AFAIK, they weren't present on 15.1 (and my hardware didn't change between the upgrade). I'm loving 15.2 so far .... except for the audio problems obviously.


    • On boot, I have no sound. there is no audio devices detected. It takes about 1 minute for them to show up (without me doing anything, they just pop up of their own accord.)
    • I have an audio device missing. I have a TV connected to my pc via hdmi, and I could output the sound to the TV. Now, the TV isn't detected anymore at all.
    • I can not configure my soundcard (or even delete it). I get an error message (and it kills any audio device that was detected).
      • it appears as "Not configured" right now and I can't configure it (I actually need to, because I need to add an option to never turn on power save mode, otherwise after a minute of silence, whenever a sound is played, there is a distinct "crack").
      • I remember there was 2 entries in the Sound Configuration field of YaST with 2 different Card Models (probably the computer's and the TV's hdmi, I don't remember), and here there is only 1.
      • The error I get is :


    Code:
    An error occurred during the installation of
    
    Z77 Extreme4 motherboard
    
    The kernel module snd-hda-intel for sound support  could not be loaded. This can be caused by incorrect  module parameters, including invalid IO or IRQ parameters.
    I tried:
    • adding adding my user to the groups "audio, pulse, pulse-access",
    • I tried to add "options snd-hda-intel model=generic" to /etc/modprobe.d/50-alsa.conf (I read it could fix the problem - it didn't)
    • deleting /etc/modprobe.d/50-alsa.conf and 50-sound.conf.YaST2save (and they were not created again on the next boot)


    Please help. I'm not tech savy enough to fix it myself and with all the stories I heard about how the audio on linux is a total mess it'd probably take me too long to even figure where to start lol.

  2. #2
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,101
    Blog Entries
    1

    Default Re: Audio problems (can't configure soundcard and devices missing)

    Read the https://en.opensuse.org/SDB:Audio_troubleshooting guide. In particular, it might be useful to run the alsa-info.sh script and let it upload the output to an online server. Share the link to it here so that others can then advise further.
    openSUSE Leap 15.2; KDE Plasma 5

  3. #3

    Default Re: Audio problems (can't configure soundcard and devices missing)

    Thanks deano_ferrari

    I forgot to mention I had *also* checked this link and did some of the steps there though it didn't help.

    In the end, I ended up reinstalling Linux (root and home were on separate partitions to it was painless) and it fixed all the problems except one which I'll explain. I had a hunch something was wrong somehow in the installer because it made me manually configure the network connection before installing anything (like, the very first step before showing even the EULA), and I've been using Leap since 42.0 and it never asked me to do that before....

    So anyway, the only issue left is regarding my hdmi output and I didn't see anything that could help me get it to work there.
    It just doesn't appear (and there's still an entry missing in the yast sound configuration window, there used to be 2 on 15.1... unfortunately I can't remember which one it was, though it's probably linked to the missing hdmi).

    I've ran the script :
    http://alsa-project.org/db/?f=02d199...7dbd78b1325139 and I hope it can be useful.

    Thanks.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,101
    Blog Entries
    1

    Default Re: Audio problems (can't configure soundcard and devices missing)

    Quote Originally Posted by RedSpeaker12 View Post
    I've ran the script :
    http://alsa-project.org/db/?f=02d199...7dbd78b1325139 and I hope it can be useful.

    Thanks.
    The uploaded diagnostic output confirms only one sound card device detected (by the kernel)...
    Code:
    !!Soundcards recognised by ALSA
    !!-----------------------------
    
     0 [PCH            ]: HDA-Intel - HDA Intel PCH
                          HDA Intel PCH at 0xf7910000 irq 35
    
    
    !!PCI Soundcards installed in the system
    !!--------------------------------------
    
    00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
    	Subsystem: ASRock Incorporation Z77 Extreme4 motherboard [1849:1898]
    The Intel card does have HDMI devices listed, although not in the 'amixer' output for some reason...
    Code:
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Some more research needed....
    openSUSE Leap 15.2; KDE Plasma 5

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,101
    Blog Entries
    1

    Default Re: Audio problems (can't configure soundcard and devices missing)

    You could try upgrading the kernel perhaps...

    Code:
    sudo zypper ar https://download.opensuse.org/repositories/Kernel:/stable/standard/ kernel:stable
    Code:
    sudo zypper dup --from kernel:stable
    openSUSE Leap 15.2; KDE Plasma 5

  6. #6

    Default Re: Audio problems (can't configure soundcard and devices missing)

    I tried to do as you said and updated the kernel, but unfortunately, still only one output appears, and only one soundcard in YaST to configure, so it didn't help.
    if you have any other ideas I'd love to hear them.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,101
    Blog Entries
    1

    Default Re: Audio problems (can't configure soundcard and devices missing)

    Is it the graphics card audio that is missing in action here?

    Share the output from
    Code:
    /sbin/lspci -nnk
    openSUSE Leap 15.2; KDE Plasma 5

  8. #8
    Join Date
    Mar 2008
    Location
    Phuket, Thailand
    Posts
    26,696
    Blog Entries
    38

    Default Re: Audio problems (can't configure soundcard and devices missing)

    Quote Originally Posted by RedSpeaker12 View Post
    So anyway, the only issue left is regarding my hdmi output and I didn't see anything that could help me get it to work there.
    It just doesn't appear (and there's still an entry missing in the yast sound configuration window, there used to be 2 on 15.1... unfortunately I can't remember which one it was, though it's probably linked to the missing hdmi).

    I've ran the script :
    http://alsa-project.org/db/?f=02d199...7dbd78b1325139 and I hope it can be useful.
    aplay shows the HDMI:
    Code:
    !!Aplay/Arecord output
    !!--------------------
    
    APLAY
    
    **** List of PLAYBACK Hardware Devices ****
    card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    Based on the above, your hdmi is either hw:0,3 ... or hw:0,7 .

    Its possible the IEC958 may be related to your HDMI in the mixer albeit I am not certain - so if it were me I would switch that ON (and not have off - see the 'red' below):
    Code:
    Simple mixer control 'IEC958',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [off]
    Simple mixer control 'IEC958 Default PCM',0
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',1
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]
    Simple mixer control 'IEC958',16
      Capabilities: pswitch pswitch-joined
      Playback channels: Mono
      Mono: Playback [on]

    However since the above you have installed a new kernel now and likely made other changes so its hard to know what to recommend given what may have been changed.

    I definitely do NOT understand why this blacklist is in place in the /etc/modprobe.d/50-sound.conf (I think). Did you put this there?
    Code:
    !!Modprobe options (Sound related)
    !!--------------------------------
    
    snd_hda_intel: pm_blacklist=1 power_save=0
    What is the reason for this "pm_blacklist=1". Do you have experience that tells you it is needed?
    Last edited by oldcpu; 05-Jul-2020 at 06:46.

  9. #9

    Default Re: Audio problems (can't configure soundcard and devices missing)

    oldcpu, I'm glad you bring the kernel change up. To be honest, I'd rather not change it, as I need vmware to work, and I already had to apply a custom fix (that I found on these forums) to make it wok on 15.2.
    My root partition is a BTRFS partition so I have access to snapshot, I currently rolled back and I'm using the vanilla 15.2 kernel.
    I don't mind updating the kernel, if you also help me get vmware working again, lol.

    I definitely do NOT understand why this blacklist is in place in the /etc/modprobe.d/50-sound.conf (I think). Did you put this there?
    Code:

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

    snd_hda_intel: pm_blacklist=1 power_save=0
    What is the reason for this "pm_blacklist=1". Do you have experience that tells you it is needed?
    Regarding this, yes, I added it myself manually, the reason is that my audio card tends to go into a "power save" mode of some sort after a few seconds of non activity, and upon exiting it, it makes a very annoying "crack" sound, and this prevents it from going into power save, afaik. (I used that in my 15.1 installation, and it didn't have any negative effect, I still had the hdmi output).

    @deano_ferrari
    Regarding my post now, and me preferring not upgrade my kernel, do you still want me to go through with that? since I can rollback, I don't mind too much but it complicates my life a bit considering I need vmware as well.

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,101
    Blog Entries
    1

    Default Re: Audio problems (can't configure soundcard and devices missing)

    @deano_ferrari
    Regarding my post now, and me preferring not upgrade my kernel, do you still want me to go through with that? since I can rollback, I don't mind too much but it complicates my life a bit considering I need vmware as well.
    No it is easy to roll back. It was just a test to see if any differnece. Like olcpu mentioned, HDMI outputs are present as already mentioned back in post #4, however not explicitly enumerated as such in the amixer output.

    And I am still curious to know about any other audio device which you claim that is not present. The lspci command needs to be run and output shared to help with that.
    openSUSE Leap 15.2; KDE Plasma 5

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •