Fresh Install of Fedora 28 Audio Troubleshooting [SOLVED]

Original Post

I’ve gone through the Fedora Wiki’s guide to attempt to solve the problem already to no avail. I’ve also checked alsamixer nothing is muted, everthing is set to 100% and automute is off.

My motherboard is the Gigabyte GA-Z77X-UD5H-WB WIFI (rev. 1.0)
It has the Realtek ALC898 codec

Any help will be greatly appreciated, this is the only thing that’s been preventing me from switching to Linux from Windows

Edit : I just want to clarify that audio works just fine on Windows

Solution

tl;dr HDA Jack Retask saves the day

P.S. : This was super frustrating but a very satisfying problem to have fixed, I can now trasition over to Linux

I used to constantly switch between HDMI and a USB DAC. I always used pavucontrol to do that switching.

My guess is that for some reason the sound is set on pulse or sound, and not on “front”. Pavucontrol should help you get that switched up rather quickly.

1 Like

pavucontrol shows me the same thing as the GNOME sound settings and Cinnamon sound settings

can you post a screenie of the output devices tab?

1 Like

pavucontrol output tab : https://ptpb.pw/2uYW

I am just playing some music in the background so that I can tell when audio starts working

What is the output device? Headphones? Amp? Sound Board? Speakers? It’s showing “Line Out” and usually it shows Speakers/Front/Headphone in my experience.

It seems silly, but make sure you’re plugged into the green port.

1 Like

I’ve got my headphones plugged in Audio Technica ATH-M50X

Yup plugged into the green port

Have you tried switching from the front panel to the back, or vice-versa?

1 Like

I’ve tried plugging it into all 8 ports (even the microphone ones)

xD Last thought would be to check the configuration tab of pavucontrol, and see what profiles are available to the “Built-in” device.

1 Like

Just tried them all, still nothing

Man, I’m out of ideas. I remember having to switch it to “analog stereo duplex” to get the normal headphone jack to work.

Just because I see nvidia in your card list, you might try and unplug your monitor just to see if your audio magically starts working…but that’s pretty far fetched, but I’m completely out of ideas.

1 Like

Unfortunately I’m not even using a HDMI monitor so probably not

UPDATE

I’ve been poking around in HDAAnalyzer to try solve the issue but I am truly out of my depths here, if anyone with more knowledge in hardware level stuff I’d really appreciate the help.

bump.

SOLVED

I did the following steps to solve my issue

Steps
  1. Installed alsa-tools # dnf install alsa-tools
  2. Ran hdajackretask $ hdajackretask
  3. Selected codec “Realtek ALC898”
  4. Checked the box labelled overide under “Grey Line Out, Rear side” “Pin ID: 0x17”
  5. Selected Headphone from the drop down menu
  6. Selected Install boot override
  7. Rebooted

Upon rebooting audio worked although not on the green output rather the grey one as is referenced in the steps.

This post was a life saver for me, it gave me a hint about using the grey jack and pointed me towards HDA Jack Retask

Tips

  • To test overrides without having to reboot simply click Apply now
In the case you have an error about a card being used
  1. edit (as root) /etc/pulse/client.conf
  2. uncomment the line ; autospawn = no ie to autospawn = no
  3. If it happens to be set to yes simply change it to no
  4. Run # fuser -v /dev/snd/* and kill pulseaudio and anything else using the sound cards
  5. Apply your settings
  6. Run pulseaudio (and anything else you may have killed earlier)
  7. When done testing be sure to comment autospawn = no again
  • Googling your motherboard model with “linux” “audio” helps a lot