No more sound after snapshot 20240124

I have a Xonar DGX that worked without problem.
I use KDE and pipewire + wireplumber.
My Hardware is

hpprol2:~ # lspci -vnn | grep -A 1 -i audio 
0a:00.1 Audio device [0403]: NVIDIA Corporation GK104 HDMI Audio Controller [10de:0e0a] (rev a1)
        Subsystem: NVIDIA Corporation Device [10de:1096]
--
0e:04.0 Multimedia audio controller [0401]: C-Media Electronics Inc CMI8788 [Oxygen HD Audio] [13f6:8788]
        Subsystem: ASUSTeK Computer Inc. CMI8786 (Xonar DGX) [1043:8521]
hpprol2:~ # 

I have blacklisted card0 (Nvidia) and I forced use of card1 via 2 files in /etc/modprobe.d
file 50-alsa.conf
options snd_oxygen index=1

file 50-blacklist-sound.conf
blacklist snd_hda_intel

This worked but with the last snapshot Amarok hangs and cannot play any track. Video in firefox hangs also (Black screen).
Here the status for the user services

philippe@hpprol2:~> systemctl status --user  pipewire
* pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: disabled)
     Active: active (running) since Thu 2024-01-25 16:46:38 CET; 1h 0min ago
TriggeredBy: * pipewire.socket
   Main PID: 2384 (pipewire)
      Tasks: 3 (limit: 4915)
     Memory: 8.4M
        CPU: 751ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             -2384 /usr/bin/pipewire

Jan 25 16:46:38 hpprol2 systemd[2361]: Started PipeWire Multimedia Service.
philippe@hpprol2:~> systemctl status --user  wireplumber
* wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Thu 2024-01-25 16:51:27 CET; 55min ago
   Main PID: 3114 (wireplumber)
      Tasks: 7 (limit: 4915)
     Memory: 6.3M
        CPU: 485ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
            `-3114 /usr/bin/wireplumber

Jan 25 16:51:27 hpprol2 systemd[2361]: Started Multimedia Service Session Manager.
Jan 25 16:51:27 hpprol2 wireplumber[3114]: [0:06:01.367570248] [3114]  WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib64/libcamera'
Jan 25 16:51:27 hpprol2 wireplumber[3114]: [0:06:01.367711297] [3114]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Jan 25 16:51:27 hpprol2 wireplumber[3114]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
Jan 25 16:51:27 hpprol2 wireplumber[3114]: Failed to set volume of 'Mic': Invalid argument
Jan 25 16:51:27 hpprol2 wireplumber[3114]: Failed to set volume of 'Front Mic': Invalid argument
Jan 25 16:51:27 hpprol2 wireplumber[3114]: Failed to set switch of 'Mic': Invalid argument

And testing the sound shows also errors

philippe@hpprol2:~> speaker-test -Dplug:front -c2 -l5 -twav

speaker-test 1.2.10

Playback device is plug:front
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5207:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5207:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib conf.c:5207:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5730:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM front
Playback open error: -2,No such file or directory
philippe@hpprol2:~> 

It seems that now the sound subsystem try to use card ‘0’. :rage:
Is there a change with the /etc/modprobe.d use?
How can I restore the use of card 1?
Many thanks in advance
Philippe

Closing all tabs in firefox solves the video problem with firefox. With Amarok the problem remains, it is not possible to start any track (mp3 or ogg). No error in journalctl. If I use vlc I can play it.

I had
similar problem last week, I noticed 3 Kernel packges had been removed, so reinstalled them.
Then used Yast and did a search for Sound packges, and Re-installed all. Mostly ALSA + one wire? package. All worked ok thereafter.

have fun.

Thanks, I reinstalled all alsa, pipewire and wirreplumber packages without success.

I have found one error which occurs only since last snapshot installation during each boot

Jan 26 21:42:25 hpprol2 alsactl[1326]: alsa-lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2

If I login the first attempt to display a video with Firefox fails, if I open a second tab in firefox and ask the same video it works.

Amarok is still failing, the soundtrack cannot be started.
I’ll open an bug report

Regards
Philippe

I had the same problem with Amarok. The solution I found was to add phonon4qt5-backend-gstreamer. now it works fine.

Thanks,

but on tumbleweed this backend doesn’t more exist.
I have open a bug report on bugzilla
https://bugzilla.opensuse.org/show_bug.cgi?id=1219251

It is not a kernel problem because with the previous kernel the problem is also present

Regards
Philippe

I’ve noticed that the 20240124 snapshot tried to remove the phonon4qt5-backend-gstreamer.

Don’t know, why, but it might explain your issue.

On tumbleweed also. searched phonon4qt5-backend-gstreamer opensuse and found a community package by 13ilya.

Many thanks,

I downloaded from opensuse history http://download.opensuse.org/history/20240104/tumbleweed/repo/oss/x86_64/ and all is now working :smiley:

I locked this package.

Regards
Philippe

Hi All, it was deleted for a reason… https://build.opensuse.org/request/show/1139342

Thanks for the info.
So wayland has a problem but I use Xorg and
1 amarok doesn’t more work
2 firefox has problem playing video
3 sound at start of kde session doesn’t more work.
many errors :frowning:

In the resquest it seems that phonon4qt5-backend-vlc can also be used. I 'll test it tomorrow

Regards
Philippe

I installed phonon4qt5-backend-vlc and removed phonon4qt5-backend-gstreamer.
After logoff and login it seems that there are no problems with the sound. Poblem solved. I hope that this backend should be marked as a requirement for Xorg.

Many thanks for your help.
Philippe

The gstreamer backend for phonon has been deprecated for quite some time. I believe I saw a SR recently that is swapping it for Tumbleweed anyway, and new installs should default to the -vlc backend.

1 Like

Thanks,

The delete of phonon4qt5-backend-gstreamer was done in snapshot 20240124 and in /var/log/zypp/history I have

2024-01-25 15:36:49|command|root@hpprol2|'zypper' 'dup'|
2024-01-25 15:36:49|remove |phonon4qt5-backend-gstreamer|4.10.0-1.22|x86_64||

but there is no information that the user must replace it by phonon4qt5-backend-vlc in the announce of the snapshot, nor in the “zypper dup” process.
Maybe they missed that but it was a real problem fortunately quickly resolved via this forum. :sweat_smile:

Regards
Philippe

Related advisory: