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â.
Is there a change with the /etc/modprobe.d use?
How can I restore the use of card 1?
Many thanks in advance
Philippe