Audio issues on MSI workstation laptop with a Realtek ALC898 sound

FaintShadow

New Member
Joined
Jan 30, 2025
Messages
13
Reaction score
2
Credits
114
Hey there, I have been trying to split the audio outputs on my device so that each app can use a certain audio output device in the process I discovered that there are a few issues.

First my headphones are being detected as S/PDIF and when I plug it in I don't get the UI where I should choose which device to use, and second I only have a single audio playback (when I tried to use qpwgraph to route the audio I couldn't). While trying to fix this I kinda of ruined it so my HDMI audio stopped being detected and my speakers and "headphone" both played the audio even though I have my speakers selected.

I fixed it by literally removing every config and anything related to PulseAudio since my system is supposed to be using PipeWire and Its (the headphones and speakers playing the same audio) fixed now but the rest isn't.

I posted about this issue on Fedora Discussions if you want to take a look at it.
 

Attachments

  • Screenshot From 2025-01-24 20-56-31.png
    Screenshot From 2025-01-24 20-56-31.png
    147.7 KB · Views: 28
  • Screenshot From 2025-01-27 16-58-12.png
    Screenshot From 2025-01-27 16-58-12.png
    45.4 KB · Views: 11
  • Screenshot From 2025-01-30 14-28-05.png
    Screenshot From 2025-01-30 14-28-05.png
    64.7 KB · Views: 10


Well, can you at least fix your condescending attitude towards new users trying to get help here?
When you put in minimal effort asking other users and volunteers to essentially put in more work in solving the issue.. no.

But, now that you've posted some actual info about your issue, hopefully someone will have some ideas for you.
 
Hey there, I have been trying to split the audio outputs on my device so that each app can use a certain audio output device in the process I discovered that there are a few issues.
Not sure what you are trying to do but from the sounds of it you can just intall "pavucontrol" and then from the playback tab select for each application which output device you want to use.

Something like this?
Screenshot From 2025-01-31 16-56-30.png

I fixed it by literally removing every config and anything related to PulseAudio since my system is supposed to be using PipeWire and Its (the headphones and speakers playing the same audio) fixed now but the rest isn't.
Fedora uses pipewire by default, you don't need to remove or configure anything to make it use pipewire.
 
Last edited:
When you put in minimal effort asking other users and volunteers to essentially put in more work in solving the issue.. no.

But, now that you've posted some actual info about your issue, hopefully someone will have some ideas for you.
Well, The tone in your reply was let's say unprofessional. I was quite shocked that you are an administrator and not a moderator , you could of said it way better and I would of been fine by it also there was a lots of things that happened in the other discussion that I thought reading It would be helpful for the members that are gonna help me.
 
Not sure what you are trying to do but from the sounds of it you can just intall "pavucontrol" and then from the playback tab select for each application which output device you want to use.

Something like this?
View attachment 23881

Fedora uses pipewire by default, you don't need to remove or configure anything to make it use pipewire.
"pavucontrol" doesn't have said option for application also removing the configs and reinstalling some packages did actually help but not entirely as I said. That's why I put the link the the discussion so you can have a better understanding of what I did. It is too long and I don't know what to put in here and what not to.

1738405905676.png
 
"pavucontrol" doesn't have said option for application also removing the configs and reinstalling some packages did actually help but not entirely as I said. That's why I put the link the the discussion so you can have a better understanding of what I did. It is too long and I don't know what to put in here and what not to.
I'm using Fedora(41) as well and the screenshot of what I posted where I can select per application what output device device I want to use with pavucontrol works with a default installation where I haven't touched any sound configuration files or removed them and using the default install sound setup and packages which is pipewire.

Screenshot From 2025-02-01 11-47-15.png

In this screenshot I have 3 applications running and each of them I am hearing sound from a different sound output device.
 
Last edited:
I read through the other thread but I have no idea how you got to where you got. I'll just share my outputs of the commands you shared in the other topic so you can compare.

inxi -Aa
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
Device-2: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2
chip-ID: 0b05:1a52 class-ID: 0300
Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-2.1:3
chip-ID: 046d:08e5 class-ID: 0102
Device-4: GN Netcom Jabra Link 380 driver: jabra,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2.4.1:7
chip-ID: 0b0e:24c8 class-ID: 0300 serial: 6CFBED03A1DF
API: ALSA v: k6.13.0-cachyos3.fc41.x86_64 status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl

aplay -l
** List of PLAYBACK Hardware Devices **
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [M32UC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [OMEN 27i IPS]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: J380 [Jabra Link 380], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 3: USB Audio [USB Audio #3]
Subdevices: 1/1
Subdevice #0: subdevice #0


pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 324
Tile Size: 65472
User Name: maarten
Host Name: lucy
Server Name: PulseAudio (on PipeWire 1.2.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink
Default Source: alsa_input.usb-0b0e_Jabra_Link_380_6CFBED03A1DF-00.mono-fallback

From your other topic, you mentioned.
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
Try doing the following to see if it helps. Create this file: /etc/modprobe.d/audio-jack.conf . Add the following to it.
Code:
options snd_hda_intel model=headset-mode
Then reboot and see it solves this part.
My headphones are detected as S/PDIF.
 
Last edited:
I read through the other thread but I have no idea how you got to where you got. I'll just share my outputs of the commands you shared in the other topic so you can compare.

inxi -Aa
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP Audio
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 03:00.1 chip-ID: 1002:ab30 class-ID: 0403
Device-2: ASUSTek USB Audio driver: hid-generic,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2
chip-ID: 0b05:1a52 class-ID: 0300
Device-3: Logitech C920 PRO HD Webcam driver: snd-usb-audio,uvcvideo
type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 5-2.1:3
chip-ID: 046d:08e5 class-ID: 0102
Device-4: GN Netcom Jabra Link 380 driver: jabra,snd-usb-audio,usbhid
type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-2.4.1:7
chip-ID: 0b0e:24c8 class-ID: 0300 serial: 6CFBED03A1DF
API: ALSA v: k6.13.0-cachyos3.fc41.x86_64 status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: JACK v: 1.9.22 status: off tools: N/A
Server-2: PipeWire v: 1.2.7 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
tools: pactl,pw-cat,pw-cli,wpctl

aplay -l
** List of PLAYBACK Hardware Devices **
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [M32UC]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [OMEN 27i IPS]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: J380 [Jabra Link 380], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 2: USB Audio [USB Audio #2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 3: U0xb050x1a52 [USB Device 0xb05:0x1a52], device 3: USB Audio [USB Audio #3]
Subdevices: 1/1
Subdevice #0: subdevice #0


pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 324
Tile Size: 65472
User Name: maarten
Host Name: lucy
Server Name: PulseAudio (on PipeWire 1.2.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.usb-Generic_USB_Audio-00.HiFi__Speaker__sink
Default Source: alsa_input.usb-0b0e_Jabra_Link_380_6CFBED03A1DF-00.mono-fallback

From your other topic, you mentioned.

Try doing the following to see if it helps. Create this file: /etc/modprobe.d/audio-jack.conf . Add the following to it.
Code:
options snd_hda_intel model=headset-mode
Then reboot and see it solves this part.
I created the file config and everything but nope, everything is still the same
1738421230745.png

Since I did a lot of things after the discussion a lot has changed so let me rerun the cmds:
❯ inxi -Aa
Audio:
Device-1: Intel 100 Series/C230 Series Family HD Audio
vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
alternate: snd_soc_avs bus-ID: 00:1f.3 chip-ID: 8086:a170
class-ID: 0403
API: ALSA v: k6.12.9-200.fc41.x86_64 status: kernel-api
tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 1.2.7 status: active with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl

❯ aplay -l
** 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

❯ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 207
Tile Size: 65472
...
Server Name: PulseAudio (on PipeWire 1.2.7)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1f.3.analog-stereo
Default Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Cookie: 5a8c:4358

I lost the Jack server
 
Last edited:
Btw I also just discovered there is a pipewire alternative for pavucontrol.


I'm going to start to be using that instead of pavucontrol since the latter is actually for pulse audio but works with pipewire-pulse. So you might want to have a look at that as well.

And I haven't tried the ones listed here, except for pwvucontrol.

I have done some searching around and tried some, seems with none of the Pipewire GUI applications support renaming of Output devices, so that seems to still be not possible yet from what I have found. Except for renaming it in the config files.
 
Last edited:
I guess we both got something out of this post. The thing is I don't think its a rename issue I think there is something else since I have seen that someone here having Headphones instead of S/PDIF
 
I guess we both got something out of this post. The thing is I don't think its a rename issue I think there is something else since I have seen that someone here having Headphones instead of S/PDIF
I really don't care how the system names something, if I can rename it and they work I'm satisified. Do you care more about what the system names something or that you have the option to edit it the name if it's named incorrect?

And Also I find it odd that I can use either pavucontrol or pwcontrol to select per application which output device I want to use, but that you can't, even though we are both using Fedora?


I did notice this for Simple Wireplumber GUI.
Screenshot From 2025-02-02 08-27-38.png

This topic is getting confusing though. I was suggesting renaming the device since that's most likely easier, then you would only have to figure out how you can set a different audio output device per application you have using audio.
 
Last edited:
Btw I also just discovered there is a pipewire alternative for pavucontrol.


I'm going to start to be using that instead of pavucontrol since the latter is actually for pulse audio but works with pipewire-pulse. So you might want to have a look at that as well.

And I haven't tried the ones listed here, except for pwvucontrol.

I have done some searching around and tried some, seems with none of the Pipewire GUI applications support renaming of Output devices, so that seems to still be not possible yet from what I have found. Except for renaming it in the config files.
Ok so, I do get the audio selection thingy next to the app which is great but I still only have 1 option which is the built-in audio, basically the default chosen audio output. So what now ? a custom config ?
 
My headphones aren't fully detected as if they are headphones, They are always available even when they are not plugged in and when I plug them in nothings happens. I should supposedly get a popup that prompts me to choose the playback device or at least automatically switch to the "headphones" but NOPE
 
I really don't care how the system names something, if I can rename it and they work I'm satisified. Do you care more about what the system names something or that you have the option to edit it the name if it's named incorrect?

And Also I find it odd that I can use either pavucontrol or pwcontrol to select per application which output device I want to use, but that you can't, even though we are both using Fedora?


I did notice this for Simple Wireplumber GUI.
View attachment 23902
This topic is getting confusing though. I was suggesting renaming the device since that's most likely easier, then you would only have to figure out how you can set a different audio output device per application you have using audio.
Ikr, literally what I was thinking maybe a reinstall (of the same version F41) ? but the thing is will my stuff (files, apps) stay ?
1738492075803.png
 
Ikr, literally what I was thinking maybe a reinstall (of the same version F41) ? but the thing is will my stuff (files, apps) stay ?
I'm confused, where you thinking the same so rather a working device and being able to rename it or did you mean something else? A reinstall might be worth that way you will get the the default sound configuration back and then you can test renaming the device with that Gnome extension I mentioned.
And you can then test if you are able to select per application using audio which sound output device you want to use with pwvucontrol.

About your files. You would need to manually setup your partitions/volumes during installation to do that, basically selecting the current volumes having it format the root subvolume and then selecting your current home subvolume as home and then telling it not to format it.
However I would make a backup of all your data just in case and if you are going to that might not hurt to do a clean install and then copy your data back. If you choose to keep your current home then it would be worth renaming your ~/.config directory so that you get a clean configuration of user configs in case there are any other changed sound config files that have been changed in your homedir.
 
Top