3

I'm not sure what is causing this problem, but as I solved it (or rather worked around it) I decided to share my discoveries, to spare your time and for the future reference.

So the story goes like this:

I bought a new Gigabyte's X570 Aorus Master motherboard and installed Arch Linux there. Audio was not outputted by the rear 3.5 mm socket, something was wrong.

The process of getting to the solution is described below, in the answer. The details there may let you know if you are in the same situation.

Also, if you have better solution, that would fix the unerlying issue, and not just work around it at the cost of the digital output, feel free to post your answer! I won't be accepting my answer in hope that someone will come up with something better.

4

I installed pavucontrol and I discovered that in configuration tab, analog output profile is unavailable for my audio controller. The only profile available was the digital one.

Then I discovered another thing: If I will force-select this Analog Stereo Output (unplugged) (unavailable) profile and in Output Devices tab I will choose Line Out (unplugged) port, the sound will be outputted to the speakers, even if speakers are not actually connected to the Line Out socket.

Something is buggy here. But now we have at least something. The issue is that as this device is perceived as unplugged and unavailable by the system, so that's why (I think) this setting is being reset to (not working) defaults after rebooting or connecting and disconnecting headphones etc.

hdajackretask to the rescue. In Arch Linux this tool is available in alsa-tools package. It will allow us basically to remap shit, to work as expected.

  1. Open hdajackretask.
  2. Select Realtek ALC1220 codec.
  3. Select Advanced override option.
  4. Override your SPDIF Out, Rear side pin (the only one that works in pavucontrol)
  5. Set settings as in the below screenshot. I'm not sure if anything other than "Device" matters.

Configuration

Basically override it to be a speaker.

  1. Now click Apply now, then click Install boot override, make sure in pavucontrol you have selected Analog output profile, and Speaker port, reboot.

Audio should work, also connecting/disconnecting headphones doesn't mess anything up (works like expected), so it should be good enough solution for most people. The only negative side effect that I'm aware of is that you won't have Digital output available so if you need it, you'll probably need to play with it more. I'm too tired fighting this to check other configurations at this moment. Good luck!

Edit:

It looks like any Line Out pin can be overrode with Device "Speaker", and Analog output will be restored then. Also, I posted a bug report here: https://bugzilla.kernel.org/show_bug.cgi?id=205275 .

2

I encountered a slightly different (but likely related) version of this problem. While setting up my audio on the Aorus Matster, I noticed that my speakers were not producing audio while my subwoofer (plugged into the C.Sub jack) was. Oddly enough, if I unplugged the speakers, the subwoofer would stop too.

In my case, using hdajackretask to change the SPDIF output settings did not help anything, instead I fixed it by going through all of the surround output pins (Green, Orange, Black) and changing them from Line Out to Speaker. Be sure to keep all of them in the same group.

One thing of note: in the audio mixer's output panel, prior to making this change, the choices for port were "Speaker (unavailable)" and "Line Out", after making this change, the port is now "Analog Output".

Finally, if you attempt to apply the settings in hdajackretask and get an error that the device or resource is busy, be sure that you are running it as root AND that you have stopped all of the audio programs in the user account as well. You may also need to stop the user's copy of pulseaudio using

systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service

You can then apply it, start pulseaudio in the user's account (substituting start for stop) and test before installing it to the boot override. Note that if you have stopped VLC before but left it open, it will not play audio even after you've restarted pulseaudio, you will need to completely exit it and restart it to test.

  • When i try to do this I get "tee:/sys/class/sound/hwC1D0,reconfig: Device or resource busy" – rwilliams Dec 23 '19 at 3:22
0

I was dealing with this for a while as well... Too long in fact. I'm using i3 so configuration is pretty bare bones.

Reading on the level1forums Gigabyte X570 Aorus Master Linux spit & polish thread: there is a post regarding the auto-mute option in alsamixer. For me it was enabled for everything. Disabling it and replugging my headphones to the rear line out port is currently working! Make sure it is selected in pavucontrol.

  • More to the point, you can increase the "Headphones" volume under alsamixer to control the line out port. It seems to forget the configuration every reboot/suspend however. – user161703 Feb 18 at 2:21
0

I created and submitted a kernel patch that fixes the line-out problem of the x570 aorus master. You can test it if you want: [PATCH 1/1] ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master.

New contributor
Christian is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.