Hey everyone, I’m using Fedora on an MSI workstation laptop with a Realtek ALC898 sound card. My headphones are detected as S/PDIF, but I’m currently experiencing an issue where audio is playing through both the system speakers and the headphones simultaneously, even though the system speakers are selected as the default output in the audio settings.
I’ve tried using qpwgraph to route audio, but I only see one playback device (built-in audio) in the graph, and it doesn’t allow me to separate the outputs. I’ve also attempted to configure ALSA and PipeWire by editing /etc/asound.conf and ~/.config/pipewire/pipewire.conf, but some changes caused the audio service to fail to restart. Currently, the audio service is working again after resetting the configuration files, but the dual playback issue persists.
All of these problems started when I tried to split audio outputs between apps, since I wanted certain apps to use the speaker and other to use the headphone and others to use the HDMI port (currently unplugged). Here are some info that I think may help.
Well, I couldn’t split the audio since there was an issue with my card and when I tried to solve it I created these now problems. I attempted to reconfigure some config files, and I did revert the changes but still no luck. I did fix the speaker and the headphones outputting audio even though the speakers are selected using alsamixer, I just muted the headphones (S/PDIF) but still there are problems with the current setup. I have a workstation laptop with a lot of audio outputs. here:
Didn’t solve anything… The sound card working fine. I just need to configure It I think but I don’t know how. Maybe reinstalling everything and deleting the old configs.
Uninstalling and reinstalling (wireplumber, pipewire, alsa) sounds like a good idea.
To paraphrase the IT Crowd, “Uninstall it and Reinstall it again”.
Either that or develop a working knowledge of the above mentioned. Unfortunately that is not something I have yet managed.
If someone wants to know what a ROC sink and source is, it allows me to play audio from one PC on the network (the “sink”) to the “source” which has a similar conf file but which defines the Source. The source pc is the one that has the actual speakers on it.
The “remote.ip” is the IP of the source pc.
Well, since I don’t understand anything about audio. I went to Claude and DeepSeek asking for help. I did reverse the changes that I did but no luck. If you want me to share the discussions I have. They made valid? points but still no luck.
As for what they said, well they noticed my laptop is detecting my headphones in the form of (S/PDIF) which shouldn’t be happening, it should be detected as headphones. They also thought that the issue lies in the config so they tried to make a config file, They kinda made it so that when the headphones are plugged in the audio will automatically go to the audio, even though the system speakers are selected and so much more shit, but they don’t know much and the best of them (claude) is very sensitive to long chats LMAO
Well I just learned that I can run alsamixer in terminal and change my volume! In Sway I’ve been doing that on the command line
Please do tell me though,
1)have you a) deleted all your config files
and then b) uninstalled ALSA, Pipewire, Jack and wireplumber and
c) reinstalled them and then
d) rebooted, ? It might sound stupid but one may be surprised.
After that, test your system.
Then, tell me again what you are trying to achieve at this point. Is it
issue where audio is playing through both the system speakers and the headphones simultaneously
a) Detail all ports / jacks on you laptop, and b) provide the model name and number and manual if possible.
well, I did do all of that which kinda helped. now the audio doesn’t play through both the system and the headphones at the same time but Its not being detected as headphones.
The devices that I lost are still not available the HDMI 1, 2, and 3.
EDIT: When I use alsamixer, by default Pipewire is selected which has only one audio controller (master) when I switch to my INTEL card, I get these
but the thing is AGAIN, the headphones aren’t detected as headphones, Auto-switching to them when they are plugged in doesn’t happen, or at least show me that one interface where I have to choose which playback device I should choose, my friend has it (Fedora41) and I don’t. I also wanted to split the audio between apps so certain apps use certain audio playbacks but the thing is there is only one audio playback which shouldn’t be the case IMO
Okay, so you have done 1) reinstall, 2) test, 3) you tell me that
a) the headphones are not recognized automatically and b) you want to assign devices to applications.
You still need to tell me a) Detail all ports / jacks on you laptop, and b) provide the model name and number and manual if possible.