Sound not working after install

Hello all!

I have installed 15.2 on my system, and after kernel update the sound is not working anymore. Have tried some of the solutions provided in SDB for audio troubleshooting but to no avail.
Also I have a link to ALSA test http://alsa-project.org/db/?f=64af42e6dcae3bf8b2f61d4ff03528f18139893f
One of the alsa tests were successful, I could hear the test sounds (front left, front right sounds), but for example clementine says Failed to connect, connection refused.
I did a clean install not an upgrade from 15.1.

Hopefully someone has idea what to do.

Welcome to openSUSE Forums.

  1. The first things I noted about the install from the diagnostic data you shared are…

a) PulseAudio is not running, even though it is installed.

b) You have 2 effective soundcards

0 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xf7230000 irq 40
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xf7080000 irq 17
  1. The snd_hda_intel driver is loaded for both devices, so I’m not surprised that you heard test sounds at least. BTW, when you heard sound, was it heard via analog speakers connected to your system, headphones, monitor…?

  2. Which desktop environment are you using?

  3. Try starting pulse in a terminal using

pulseaudio -vv

and report back with the output from that command.

Hi,

The environment is KDE plasma. The sound came through the headphones, connected on Intel PCH.

Pulseaudio -vv will not be saved in a txt file, do you have any other option?

After running said command, there was additional file updates for dracut, after that and reboot the sound is back. hopefully it stays like that, we will see till tomorrow, if it fails again, I’ll write again.

Yes, just copy/paste the output here. Enclose within CODE tags (refer to the ‘#’ button in the forum editor).

After running said command, there was additional file updates for dracut, after that and reboot the sound is back. hopefully it stays like that, we will see till tomorrow, if it fails again, I’ll write again.

You may need to make it persistent with

sudo setup-pulseaudio --enable

Check status with

sudo setup-pulseaudio --status

I tried this on a recent 15.2 installation with only IceWM. Palemoon makes no Youtube sounds. Pavucontrol suggests sound in Palemoon should/is work/working, and

aplay -vv -D hdmi /usr/share/sounds/alsa/test.wav

in Xterm works, both via DisplayPort. Same PC with Debian 11 and TDE makes neither system sounds nor Youtube sound in Palemoon. With TW and TDE, no system sounds, aplay works, Palemoon not, and pavucontrol is stuck on “Establishing connection to PulseAudio. Please wait…”

alsa-info.txt from 15.2

This doesn’t look related to the OP’s issue though. Probably best to start a new thread.

Hi!
Thanks again for answering, here are the results of pulseaudio -vv

pulseaudio -vv
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 13.0-rebootstrapped
D: [pulseaudio] main.c: Compilation host: x86_64-suse-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g -fPIE -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -fno-common -fdiagnostics-show-option -fdiagnostics-color=auto
D: [pulseaudio] main.c: Running on host: Linux x86_64 5.3.18-lp152.29-default #1 SMP Mon Jul 13 21:35:30 UTC 2020 (c6b9ae1)
D: [pulseaudio] main.c: Found 8 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is 54840e6bdcc546c8b445b73ca08e1a44.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/casperius/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib64/pulse-13.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.


For now the sound is working. If anything should be amended just write.

It was already running according to the output. Perhaps fixed after the initial post and my reply.

For now the sound is working. If anything should be amended just write.

All good.

Yes, it works not without a hitch :smiley:

Thanks for the help.