Bug 205275 - No analog audio output in Gigabyte x570 Aorus Master with ALC1220 and ESS SABRE 9118 DAC
Summary: No analog audio output in Gigabyte x570 Aorus Master with ALC1220 and ESS SAB...
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL: https://unix.stackexchange.com/questi...
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-20 14:42 UTC by Łukasz Zaroda
Modified: 2020-05-19 16:30 UTC (History)
6 users (show)

See Also:
Kernel Version: 5.3.7-arch1-1-ARCH
Tree: Mainline
Regression: No


Attachments
Hardware IDs for X570 Aorus Xtreme (34.91 KB, text/plain)
2020-04-02 20:18 UTC, Robert B.
Details
Kernel Patch to fix GB Aorus X570 Xtreme Audio for Linux 5.6.2 (842 bytes, patch)
2020-04-03 08:49 UTC, Christian Lachner
Details | Diff

Description Łukasz Zaroda 2019-10-20 14:42:01 UTC
I posted this issue here with details: https://unix.stackexchange.com/questions/547746/audio-not-working-on-gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118

There seems to be issue with pin configuration. Additionally to what has been written in the stackexchange answer: It looks like overriding any of line out pins (0x15 or 0x16), by changing device to "Speaker" in `hdajackretask`, restore analog output. I'm not sure if it's a good solution, as that's not my area of expertise.
Comment 1 Christian Lachner 2020-02-23 12:36:34 UTC
Hello,

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 from here: https://lkml.org/lkml/2020/2/23/22 .

greetings, chris
Comment 2 Tomas Sandven 2020-03-05 09:58:05 UTC
This patch seems to cause issues when the audio driver is shared with a Nvidia GPU. See this thread for more details: https://forum.level1techs.com/t/has-anybody-gotten-audio-working-in-linux-on-aorus-x570-master/154072/10
Comment 3 Christian Lachner 2020-03-05 10:59:27 UTC
Thanks, I am looking into it.
Comment 4 Robert B. 2020-04-01 23:03:24 UTC
Thank you for working on this Christian Lachner. The same bug also appears on the Gigabyte X570 Aorus Xtreme which is my board. 

If you could also make the revised fix apply to my board it would be wonderful as the symptoms are identical and the audio appears to have the same problem.

Apologies on my behalf if I was supposed to open a new bug, I'm new here and felt it was the best course of action to post here in order to minimize fragmentation of efforts. I'm simply an end user, however, let me know how I can be of help if you need something.  I have an AMD 5700 XT video card so my case is slightly different.
Comment 5 Christian Lachner 2020-04-02 06:56:41 UTC
(In reply to Robert B. from comment #4)
> Thank you for working on this Christian Lachner. The same bug also appears
> on the Gigabyte X570 Aorus Xtreme which is my board. 
> 
> If you could also make the revised fix apply to my board it would be
> wonderful as the symptoms are identical and the audio appears to have the
> same problem.
> 
> Apologies on my behalf if I was supposed to open a new bug, I'm new here and
> felt it was the best course of action to post here in order to minimize
> fragmentation of efforts. I'm simply an end user, however, let me know how I
> can be of help if you need something.  I have an AMD 5700 XT video card so
> my case is slightly different.

Hi Robert,
no worries - I will gladly help if I can. Nice mainboard btw. :) What distro do you use and do you know how to compile a kernel for your distro?
To be able to write the patch that appends the realtek quirk that we used for the X570 Aorus Master I would need the output of the following command: lspci  -nnvv
Can you please send me the output? I will write the patch for you. Afterwards, you would have to apply the patch followed by building and running it to see if it solves the audio issues.
Comment 6 Robert B. 2020-04-02 20:15:34 UTC
(In reply to Christian Lachner from comment #5)
> (In reply to Robert B. from comment #4)
> > Thank you for working on this Christian Lachner. The same bug also appears
> > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > 
> > If you could also make the revised fix apply to my board it would be
> > wonderful as the symptoms are identical and the audio appears to have the
> > same problem.
> > 
> > Apologies on my behalf if I was supposed to open a new bug, I'm new here
> and
> > felt it was the best course of action to post here in order to minimize
> > fragmentation of efforts. I'm simply an end user, however, let me know how
> I
> > can be of help if you need something.  I have an AMD 5700 XT video card so
> > my case is slightly different.
> 
> Hi Robert,
> no worries - I will gladly help if I can. Nice mainboard btw. :) What distro
> do you use and do you know how to compile a kernel for your distro?
> To be able to write the patch that appends the realtek quirk that we used
> for the X570 Aorus Master I would need the output of the following command:
> lspci  -nnvv
> Can you please send me the output? I will write the patch for you.
> Afterwards, you would have to apply the patch followed by building and
> running it to see if it solves the audio issues.

Thanks for getting back, I use Manjaro Linux and compiling the kernel with patch is not a problem. I have attached the output of the command requested at the top of the bug report in the attachment section since I didn't want to clutter this bug with such long code.

I really appreciate you helping me, ever since I built this computer one month ago this is the only thing that has been bugging me, otherwise it is really a nice system that works well with Linux.
Comment 7 Robert B. 2020-04-02 20:18:32 UTC
Created attachment 288171 [details]
Hardware IDs for X570 Aorus Xtreme
Comment 8 Christian Lachner 2020-04-03 08:49:28 UTC
Created attachment 288175 [details]
Kernel Patch to fix GB Aorus X570 Xtreme Audio for Linux 5.6.2
Comment 9 Christian Lachner 2020-04-03 08:51:57 UTC
(In reply to Robert B. from comment #6)
> (In reply to Christian Lachner from comment #5)
> > (In reply to Robert B. from comment #4)
> > > Thank you for working on this Christian Lachner. The same bug also
> appears
> > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > 
> > > If you could also make the revised fix apply to my board it would be
> > > wonderful as the symptoms are identical and the audio appears to have the
> > > same problem.
> > > 
> > > Apologies on my behalf if I was supposed to open a new bug, I'm new here
> > and
> > > felt it was the best course of action to post here in order to minimize
> > > fragmentation of efforts. I'm simply an end user, however, let me know
> how
> > I
> > > can be of help if you need something.  I have an AMD 5700 XT video card
> so
> > > my case is slightly different.
> > 
> > Hi Robert,
> > no worries - I will gladly help if I can. Nice mainboard btw. :) What
> distro
> > do you use and do you know how to compile a kernel for your distro?
> > To be able to write the patch that appends the realtek quirk that we used
> > for the X570 Aorus Master I would need the output of the following command:
> > lspci  -nnvv
> > Can you please send me the output? I will write the patch for you.
> > Afterwards, you would have to apply the patch followed by building and
> > running it to see if it solves the audio issues.
> 
> Thanks for getting back, I use Manjaro Linux and compiling the kernel with
> patch is not a problem. I have attached the output of the command requested
> at the top of the bug report in the attachment section since I didn't want
> to clutter this bug with such long code.
> 
> I really appreciate you helping me, ever since I built this computer one
> month ago this is the only thing that has been bugging me, otherwise it is
> really a nice system that works well with Linux.

Thanks for the hardware-information. I just created the kernel patch for your mainboard for linux 5.6.2 (which is at the time of writing the latest stable version). If you need it for another version (and the 5.6.2 patch does not work for the version you want) I can make another patch. Hope it works :)
Comment 10 Robert B. 2020-04-03 19:50:53 UTC
(In reply to Christian Lachner from comment #9)
> (In reply to Robert B. from comment #6)
> > (In reply to Christian Lachner from comment #5)
> > > (In reply to Robert B. from comment #4)
> > > > Thank you for working on this Christian Lachner. The same bug also
> > appears
> > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > 
> > > > If you could also make the revised fix apply to my board it would be
> > > > wonderful as the symptoms are identical and the audio appears to have
> the
> > > > same problem.
> > > > 
> > > > Apologies on my behalf if I was supposed to open a new bug, I'm new
> here
> > > and
> > > > felt it was the best course of action to post here in order to minimize
> > > > fragmentation of efforts. I'm simply an end user, however, let me know
> > how
> > > I
> > > > can be of help if you need something.  I have an AMD 5700 XT video card
> > so
> > > > my case is slightly different.
> > > 
> > > Hi Robert,
> > > no worries - I will gladly help if I can. Nice mainboard btw. :) What
> > distro
> > > do you use and do you know how to compile a kernel for your distro?
> > > To be able to write the patch that appends the realtek quirk that we used
> > > for the X570 Aorus Master I would need the output of the following
> command:
> > > lspci  -nnvv
> > > Can you please send me the output? I will write the patch for you.
> > > Afterwards, you would have to apply the patch followed by building and
> > > running it to see if it solves the audio issues.
> > 
> > Thanks for getting back, I use Manjaro Linux and compiling the kernel with
> > patch is not a problem. I have attached the output of the command requested
> > at the top of the bug report in the attachment section since I didn't want
> > to clutter this bug with such long code.
> > 
> > I really appreciate you helping me, ever since I built this computer one
> > month ago this is the only thing that has been bugging me, otherwise it is
> > really a nice system that works well with Linux.
> 
> Thanks for the hardware-information. I just created the kernel patch for
> your mainboard for linux 5.6.2 (which is at the time of writing the latest
> stable version). If you need it for another version (and the 5.6.2 patch
> does not work for the version you want) I can make another patch. Hope it
> works :)

Hi Christian,

Thank You for making the patch, Unfortunately, I built the latest 5.6.2 kernel with your patch followed by rebooting into the new kernel and it still does not work, the symptoms are the same as before. This makes no sense at all, the Audio codec is the same and and they probably implemented it the same as on the Master.

I only have two devices listed:

Navi 10 HDMI Audio                    ===> Profile Off
Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  

If you have any ideas, feel free to reply. Had I known this would be such an issue I would have maybe selected a different brand board. It's just that the specs were what I wanted with 10 GB ethernet and passive cooling, it is still the best X570 board out there.
Comment 11 Christian Lachner 2020-04-06 05:14:37 UTC
(In reply to Robert B. from comment #10)
> (In reply to Christian Lachner from comment #9)
> > (In reply to Robert B. from comment #6)
> > > (In reply to Christian Lachner from comment #5)
> > > > (In reply to Robert B. from comment #4)
> > > > > Thank you for working on this Christian Lachner. The same bug also
> > > appears
> > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > 
> > > > > If you could also make the revised fix apply to my board it would be
> > > > > wonderful as the symptoms are identical and the audio appears to have
> > the
> > > > > same problem.
> > > > > 
> > > > > Apologies on my behalf if I was supposed to open a new bug, I'm new
> > here
> > > > and
> > > > > felt it was the best course of action to post here in order to
> minimize
> > > > > fragmentation of efforts. I'm simply an end user, however, let me
> know
> > > how
> > > > I
> > > > > can be of help if you need something.  I have an AMD 5700 XT video
> card
> > > so
> > > > > my case is slightly different.
> > > > 
> > > > Hi Robert,
> > > > no worries - I will gladly help if I can. Nice mainboard btw. :) What
> > > distro
> > > > do you use and do you know how to compile a kernel for your distro?
> > > > To be able to write the patch that appends the realtek quirk that we
> used
> > > > for the X570 Aorus Master I would need the output of the following
> > command:
> > > > lspci  -nnvv
> > > > Can you please send me the output? I will write the patch for you.
> > > > Afterwards, you would have to apply the patch followed by building and
> > > > running it to see if it solves the audio issues.
> > > 
> > > Thanks for getting back, I use Manjaro Linux and compiling the kernel
> with
> > > patch is not a problem. I have attached the output of the command
> requested
> > > at the top of the bug report in the attachment section since I didn't
> want
> > > to clutter this bug with such long code.
> > > 
> > > I really appreciate you helping me, ever since I built this computer one
> > > month ago this is the only thing that has been bugging me, otherwise it
> is
> > > really a nice system that works well with Linux.
> > 
> > Thanks for the hardware-information. I just created the kernel patch for
> > your mainboard for linux 5.6.2 (which is at the time of writing the latest
> > stable version). If you need it for another version (and the 5.6.2 patch
> > does not work for the version you want) I can make another patch. Hope it
> > works :)
> 
> Hi Christian,
> 
> Thank You for making the patch, Unfortunately, I built the latest 5.6.2
> kernel with your patch followed by rebooting into the new kernel and it
> still does not work, the symptoms are the same as before. This makes no
> sense at all, the Audio codec is the same and and they probably implemented
> it the same as on the Master.
> 
> I only have two devices listed:
> 
> Navi 10 HDMI Audio                    ===> Profile Off
> Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> 
> If you have any ideas, feel free to reply. Had I known this would be such an
> issue I would have maybe selected a different brand board. It's just that
> the specs were what I wanted with 10 GB ethernet and passive cooling, it is
> still the best X570 board out there.

Hi Robert,
well, that is really sad to hear. I was actually expecting the fix to work for your mainboard too. If you had one of the hdajackretask-workarounds active (like this one here from https://unix.stackexchange.com/questions/547746/audio-not-working-on-gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please recheck if it is deactivated when using the patched kernel. If that is not the case I am afraid I am not experienced enough in kernel-development to help you further.
However, the nice folks over at alsa-devel (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able to help you out.
Comment 12 Robert B. 2020-04-06 21:00:06 UTC
(In reply to Christian Lachner from comment #11)
> (In reply to Robert B. from comment #10)
> > (In reply to Christian Lachner from comment #9)
> > > (In reply to Robert B. from comment #6)
> > > > (In reply to Christian Lachner from comment #5)
> > > > > (In reply to Robert B. from comment #4)
> > > > > > Thank you for working on this Christian Lachner. The same bug also
> > > > appears
> > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > 
> > > > > > If you could also make the revised fix apply to my board it would
> be
> > > > > > wonderful as the symptoms are identical and the audio appears to
> have
> > > the
> > > > > > same problem.
> > > > > > 
> > > > > > Apologies on my behalf if I was supposed to open a new bug, I'm new
> > > here
> > > > > and
> > > > > > felt it was the best course of action to post here in order to
> > minimize
> > > > > > fragmentation of efforts. I'm simply an end user, however, let me
> > know
> > > > how
> > > > > I
> > > > > > can be of help if you need something.  I have an AMD 5700 XT video
> > card
> > > > so
> > > > > > my case is slightly different.
> > > > > 
> > > > > Hi Robert,
> > > > > no worries - I will gladly help if I can. Nice mainboard btw. :) What
> > > > distro
> > > > > do you use and do you know how to compile a kernel for your distro?
> > > > > To be able to write the patch that appends the realtek quirk that we
> > used
> > > > > for the X570 Aorus Master I would need the output of the following
> > > command:
> > > > > lspci  -nnvv
> > > > > Can you please send me the output? I will write the patch for you.
> > > > > Afterwards, you would have to apply the patch followed by building
> and
> > > > > running it to see if it solves the audio issues.
> > > > 
> > > > Thanks for getting back, I use Manjaro Linux and compiling the kernel
> > with
> > > > patch is not a problem. I have attached the output of the command
> > requested
> > > > at the top of the bug report in the attachment section since I didn't
> > want
> > > > to clutter this bug with such long code.
> > > > 
> > > > I really appreciate you helping me, ever since I built this computer
> one
> > > > month ago this is the only thing that has been bugging me, otherwise it
> > is
> > > > really a nice system that works well with Linux.
> > > 
> > > Thanks for the hardware-information. I just created the kernel patch for
> > > your mainboard for linux 5.6.2 (which is at the time of writing the
> latest
> > > stable version). If you need it for another version (and the 5.6.2 patch
> > > does not work for the version you want) I can make another patch. Hope it
> > > works :)
> > 
> > Hi Christian,
> > 
> > Thank You for making the patch, Unfortunately, I built the latest 5.6.2
> > kernel with your patch followed by rebooting into the new kernel and it
> > still does not work, the symptoms are the same as before. This makes no
> > sense at all, the Audio codec is the same and and they probably implemented
> > it the same as on the Master.
> > 
> > I only have two devices listed:
> > 
> > Navi 10 HDMI Audio                    ===> Profile Off
> > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > 
> > If you have any ideas, feel free to reply. Had I known this would be such
> an
> > issue I would have maybe selected a different brand board. It's just that
> > the specs were what I wanted with 10 GB ethernet and passive cooling, it is
> > still the best X570 board out there.
> 
> Hi Robert,
> well, that is really sad to hear. I was actually expecting the fix to work
> for your mainboard too. If you had one of the hdajackretask-workarounds
> active (like this one here from
> https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please recheck
> if it is deactivated when using the patched kernel. If that is not the case
> I am afraid I am not experienced enough in kernel-development to help you
> further.
> However, the nice folks over at alsa-devel
> (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able to
> help you out.

Thank You for your time, the jack re-task workarounds weren't active as this is a fresh install, there is something different with this board and I am certain everything was done correctly on my end. I will see if I can contact them. Thanks again.
Comment 13 Josef Haider 2020-05-17 10:57:34 UTC
(In reply to Robert B. from comment #12)
> (In reply to Christian Lachner from comment #11)
> > (In reply to Robert B. from comment #10)
> > > (In reply to Christian Lachner from comment #9)
> > > > (In reply to Robert B. from comment #6)
> > > > > (In reply to Christian Lachner from comment #5)
> > > > > > (In reply to Robert B. from comment #4)
> > > > > > > Thank you for working on this Christian Lachner. The same bug
> also
> > > > > appears
> > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > 
> > > > > > > If you could also make the revised fix apply to my board it would
> > be
> > > > > > > wonderful as the symptoms are identical and the audio appears to
> > have
> > > > the
> > > > > > > same problem.
> > > > > > > 
> > > > > > > Apologies on my behalf if I was supposed to open a new bug, I'm
> new
> > > > here
> > > > > > and
> > > > > > > felt it was the best course of action to post here in order to
> > > minimize
> > > > > > > fragmentation of efforts. I'm simply an end user, however, let me
> > > know
> > > > > how
> > > > > > I
> > > > > > > can be of help if you need something.  I have an AMD 5700 XT
> video
> > > card
> > > > > so
> > > > > > > my case is slightly different.
> > > > > > 
> > > > > > Hi Robert,
> > > > > > no worries - I will gladly help if I can. Nice mainboard btw. :)
> What
> > > > > distro
> > > > > > do you use and do you know how to compile a kernel for your distro?
> > > > > > To be able to write the patch that appends the realtek quirk that
> we
> > > used
> > > > > > for the X570 Aorus Master I would need the output of the following
> > > > command:
> > > > > > lspci  -nnvv
> > > > > > Can you please send me the output? I will write the patch for you.
> > > > > > Afterwards, you would have to apply the patch followed by building
> > and
> > > > > > running it to see if it solves the audio issues.
> > > > > 
> > > > > Thanks for getting back, I use Manjaro Linux and compiling the kernel
> > > with
> > > > > patch is not a problem. I have attached the output of the command
> > > requested
> > > > > at the top of the bug report in the attachment section since I didn't
> > > want
> > > > > to clutter this bug with such long code.
> > > > > 
> > > > > I really appreciate you helping me, ever since I built this computer
> > one
> > > > > month ago this is the only thing that has been bugging me, otherwise
> it
> > > is
> > > > > really a nice system that works well with Linux.
> > > > 
> > > > Thanks for the hardware-information. I just created the kernel patch
> for
> > > > your mainboard for linux 5.6.2 (which is at the time of writing the
> > latest
> > > > stable version). If you need it for another version (and the 5.6.2
> patch
> > > > does not work for the version you want) I can make another patch. Hope
> it
> > > > works :)
> > > 
> > > Hi Christian,
> > > 
> > > Thank You for making the patch, Unfortunately, I built the latest 5.6.2
> > > kernel with your patch followed by rebooting into the new kernel and it
> > > still does not work, the symptoms are the same as before. This makes no
> > > sense at all, the Audio codec is the same and and they probably
> implemented
> > > it the same as on the Master.
> > > 
> > > I only have two devices listed:
> > > 
> > > Navi 10 HDMI Audio                    ===> Profile Off
> > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > > 
> > > If you have any ideas, feel free to reply. Had I known this would be such
> > an
> > > issue I would have maybe selected a different brand board. It's just that
> > > the specs were what I wanted with 10 GB ethernet and passive cooling, it
> is
> > > still the best X570 board out there.
> > 
> > Hi Robert,
> > well, that is really sad to hear. I was actually expecting the fix to work
> > for your mainboard too. If you had one of the hdajackretask-workarounds
> > active (like this one here from
> > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please recheck
> > if it is deactivated when using the patched kernel. If that is not the case
> > I am afraid I am not experienced enough in kernel-development to help you
> > further.
> > However, the nice folks over at alsa-devel
> > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able to
> > help you out.
> 
> Thank You for your time, the jack re-task workarounds weren't active as this
> is a fresh install, there is something different with this board and I am
> certain everything was done correctly on my end. I will see if I can contact
> them. Thanks again.

Hello,
I just tested the patch for Aorus Xtreme posted by Christian Lachner on my board, and it works!

With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out" port was already recognized, but the volume controls were scrambled - i could control the volume via the "headphone" fader in alsamixer, even though that channel was muted, and Gnome's sound control didn't work at all. 
With the patch, the line out can be controlled with the "front" volume fader in alsamixer, and the volume controls in Gnome work as expected. 

Is there a chance to get this additional patch integrated into mainline as well?
Comment 14 Christian Lachner 2020-05-17 11:09:26 UTC
(In reply to Josef Haider from comment #13)
> (In reply to Robert B. from comment #12)
> > (In reply to Christian Lachner from comment #11)
> > > (In reply to Robert B. from comment #10)
> > > > (In reply to Christian Lachner from comment #9)
> > > > > (In reply to Robert B. from comment #6)
> > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > Thank you for working on this Christian Lachner. The same bug
> > also
> > > > > > appears
> > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > 
> > > > > > > > If you could also make the revised fix apply to my board it
> would
> > > be
> > > > > > > > wonderful as the symptoms are identical and the audio appears
> to
> > > have
> > > > > the
> > > > > > > > same problem.
> > > > > > > > 
> > > > > > > > Apologies on my behalf if I was supposed to open a new bug, I'm
> > new
> > > > > here
> > > > > > > and
> > > > > > > > felt it was the best course of action to post here in order to
> > > > minimize
> > > > > > > > fragmentation of efforts. I'm simply an end user, however, let
> me
> > > > know
> > > > > > how
> > > > > > > I
> > > > > > > > can be of help if you need something.  I have an AMD 5700 XT
> > video
> > > > card
> > > > > > so
> > > > > > > > my case is slightly different.
> > > > > > > 
> > > > > > > Hi Robert,
> > > > > > > no worries - I will gladly help if I can. Nice mainboard btw. :)
> > What
> > > > > > distro
> > > > > > > do you use and do you know how to compile a kernel for your
> distro?
> > > > > > > To be able to write the patch that appends the realtek quirk that
> > we
> > > > used
> > > > > > > for the X570 Aorus Master I would need the output of the
> following
> > > > > command:
> > > > > > > lspci  -nnvv
> > > > > > > Can you please send me the output? I will write the patch for
> you.
> > > > > > > Afterwards, you would have to apply the patch followed by
> building
> > > and
> > > > > > > running it to see if it solves the audio issues.
> > > > > > 
> > > > > > Thanks for getting back, I use Manjaro Linux and compiling the
> kernel
> > > > with
> > > > > > patch is not a problem. I have attached the output of the command
> > > > requested
> > > > > > at the top of the bug report in the attachment section since I
> didn't
> > > > want
> > > > > > to clutter this bug with such long code.
> > > > > > 
> > > > > > I really appreciate you helping me, ever since I built this
> computer
> > > one
> > > > > > month ago this is the only thing that has been bugging me,
> otherwise
> > it
> > > > is
> > > > > > really a nice system that works well with Linux.
> > > > > 
> > > > > Thanks for the hardware-information. I just created the kernel patch
> > for
> > > > > your mainboard for linux 5.6.2 (which is at the time of writing the
> > > latest
> > > > > stable version). If you need it for another version (and the 5.6.2
> > patch
> > > > > does not work for the version you want) I can make another patch.
> Hope
> > it
> > > > > works :)
> > > > 
> > > > Hi Christian,
> > > > 
> > > > Thank You for making the patch, Unfortunately, I built the latest 5.6.2
> > > > kernel with your patch followed by rebooting into the new kernel and it
> > > > still does not work, the symptoms are the same as before. This makes no
> > > > sense at all, the Audio codec is the same and and they probably
> > implemented
> > > > it the same as on the Master.
> > > > 
> > > > I only have two devices listed:
> > > > 
> > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > > > 
> > > > If you have any ideas, feel free to reply. Had I known this would be
> such
> > > an
> > > > issue I would have maybe selected a different brand board. It's just
> that
> > > > the specs were what I wanted with 10 GB ethernet and passive cooling,
> it
> > is
> > > > still the best X570 board out there.
> > > 
> > > Hi Robert,
> > > well, that is really sad to hear. I was actually expecting the fix to
> work
> > > for your mainboard too. If you had one of the hdajackretask-workarounds
> > > active (like this one here from
> > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please
> recheck
> > > if it is deactivated when using the patched kernel. If that is not the
> case
> > > I am afraid I am not experienced enough in kernel-development to help you
> > > further.
> > > However, the nice folks over at alsa-devel
> > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able to
> > > help you out.
> > 
> > Thank You for your time, the jack re-task workarounds weren't active as
> this
> > is a fresh install, there is something different with this board and I am
> > certain everything was done correctly on my end. I will see if I can
> contact
> > them. Thanks again.
> 
> Hello,
> I just tested the patch for Aorus Xtreme posted by Christian Lachner on my
> board, and it works!
> 
> With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out" port was
> already recognized, but the volume controls were scrambled - i could control
> the volume via the "headphone" fader in alsamixer, even though that channel
> was muted, and Gnome's sound control didn't work at all. 
> With the patch, the line out can be controlled with the "front" volume fader
> in alsamixer, and the volume controls in Gnome work as expected. 
> 
> Is there a chance to get this additional patch integrated into mainline as
> well?

Hi Josef,

thanks for the report! That is really good news to hear! I will be glad to submit the patch for upstream inclusion in the coming days.

Have a nice Sunday, Chris
Comment 15 Josef Haider 2020-05-17 11:31:47 UTC
(In reply to Christian Lachner from comment #14)
> (In reply to Josef Haider from comment #13)
> > (In reply to Robert B. from comment #12)
> > > (In reply to Christian Lachner from comment #11)
> > > > (In reply to Robert B. from comment #10)
> > > > > (In reply to Christian Lachner from comment #9)
> > > > > > (In reply to Robert B. from comment #6)
> > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > Thank you for working on this Christian Lachner. The same bug
> > > also
> > > > > > > appears
> > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > > 
> > > > > > > > > If you could also make the revised fix apply to my board it
> > would
> > > > be
> > > > > > > > > wonderful as the symptoms are identical and the audio appears
> > to
> > > > have
> > > > > > the
> > > > > > > > > same problem.
> > > > > > > > > 
> > > > > > > > > Apologies on my behalf if I was supposed to open a new bug,
> I'm
> > > new
> > > > > > here
> > > > > > > > and
> > > > > > > > > felt it was the best course of action to post here in order
> to
> > > > > minimize
> > > > > > > > > fragmentation of efforts. I'm simply an end user, however,
> let
> > me
> > > > > know
> > > > > > > how
> > > > > > > > I
> > > > > > > > > can be of help if you need something.  I have an AMD 5700 XT
> > > video
> > > > > card
> > > > > > > so
> > > > > > > > > my case is slightly different.
> > > > > > > > 
> > > > > > > > Hi Robert,
> > > > > > > > no worries - I will gladly help if I can. Nice mainboard btw.
> :)
> > > What
> > > > > > > distro
> > > > > > > > do you use and do you know how to compile a kernel for your
> > distro?
> > > > > > > > To be able to write the patch that appends the realtek quirk
> that
> > > we
> > > > > used
> > > > > > > > for the X570 Aorus Master I would need the output of the
> > following
> > > > > > command:
> > > > > > > > lspci  -nnvv
> > > > > > > > Can you please send me the output? I will write the patch for
> > you.
> > > > > > > > Afterwards, you would have to apply the patch followed by
> > building
> > > > and
> > > > > > > > running it to see if it solves the audio issues.
> > > > > > > 
> > > > > > > Thanks for getting back, I use Manjaro Linux and compiling the
> > kernel
> > > > > with
> > > > > > > patch is not a problem. I have attached the output of the command
> > > > > requested
> > > > > > > at the top of the bug report in the attachment section since I
> > didn't
> > > > > want
> > > > > > > to clutter this bug with such long code.
> > > > > > > 
> > > > > > > I really appreciate you helping me, ever since I built this
> > computer
> > > > one
> > > > > > > month ago this is the only thing that has been bugging me,
> > otherwise
> > > it
> > > > > is
> > > > > > > really a nice system that works well with Linux.
> > > > > > 
> > > > > > Thanks for the hardware-information. I just created the kernel
> patch
> > > for
> > > > > > your mainboard for linux 5.6.2 (which is at the time of writing the
> > > > latest
> > > > > > stable version). If you need it for another version (and the 5.6.2
> > > patch
> > > > > > does not work for the version you want) I can make another patch.
> > Hope
> > > it
> > > > > > works :)
> > > > > 
> > > > > Hi Christian,
> > > > > 
> > > > > Thank You for making the patch, Unfortunately, I built the latest
> 5.6.2
> > > > > kernel with your patch followed by rebooting into the new kernel and
> it
> > > > > still does not work, the symptoms are the same as before. This makes
> no
> > > > > sense at all, the Audio codec is the same and and they probably
> > > implemented
> > > > > it the same as on the Master.
> > > > > 
> > > > > I only have two devices listed:
> > > > > 
> > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > > > > 
> > > > > If you have any ideas, feel free to reply. Had I known this would be
> > such
> > > > an
> > > > > issue I would have maybe selected a different brand board. It's just
> > that
> > > > > the specs were what I wanted with 10 GB ethernet and passive cooling,
> > it
> > > is
> > > > > still the best X570 board out there.
> > > > 
> > > > Hi Robert,
> > > > well, that is really sad to hear. I was actually expecting the fix to
> > work
> > > > for your mainboard too. If you had one of the hdajackretask-workarounds
> > > > active (like this one here from
> > > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please
> > recheck
> > > > if it is deactivated when using the patched kernel. If that is not the
> > case
> > > > I am afraid I am not experienced enough in kernel-development to help
> you
> > > > further.
> > > > However, the nice folks over at alsa-devel
> > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able
> to
> > > > help you out.
> > > 
> > > Thank You for your time, the jack re-task workarounds weren't active as
> > this
> > > is a fresh install, there is something different with this board and I am
> > > certain everything was done correctly on my end. I will see if I can
> > contact
> > > them. Thanks again.
> > 
> > Hello,
> > I just tested the patch for Aorus Xtreme posted by Christian Lachner on my
> > board, and it works!
> > 
> > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out" port was
> > already recognized, but the volume controls were scrambled - i could
> control
> > the volume via the "headphone" fader in alsamixer, even though that channel
> > was muted, and Gnome's sound control didn't work at all. 
> > With the patch, the line out can be controlled with the "front" volume
> fader
> > in alsamixer, and the volume controls in Gnome work as expected. 
> > 
> > Is there a chance to get this additional patch integrated into mainline as
> > well?
> 
> Hi Josef,
> 
> thanks for the report! That is really good news to hear! I will be glad to
> submit the patch for upstream inclusion in the coming days.
> 
> Have a nice Sunday, Chris

That's great, thank you so much!
Comment 16 Josef Haider 2020-05-19 07:51:48 UTC
(In reply to Josef Haider from comment #15)
> (In reply to Christian Lachner from comment #14)
> > (In reply to Josef Haider from comment #13)
> > > (In reply to Robert B. from comment #12)
> > > > (In reply to Christian Lachner from comment #11)
> > > > > (In reply to Robert B. from comment #10)
> > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > Thank you for working on this Christian Lachner. The same
> bug
> > > > also
> > > > > > > > appears
> > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > > > 
> > > > > > > > > > If you could also make the revised fix apply to my board it
> > > would
> > > > > be
> > > > > > > > > > wonderful as the symptoms are identical and the audio
> appears
> > > to
> > > > > have
> > > > > > > the
> > > > > > > > > > same problem.
> > > > > > > > > > 
> > > > > > > > > > Apologies on my behalf if I was supposed to open a new bug,
> > I'm
> > > > new
> > > > > > > here
> > > > > > > > > and
> > > > > > > > > > felt it was the best course of action to post here in order
> > to
> > > > > > minimize
> > > > > > > > > > fragmentation of efforts. I'm simply an end user, however,
> > let
> > > me
> > > > > > know
> > > > > > > > how
> > > > > > > > > I
> > > > > > > > > > can be of help if you need something.  I have an AMD 5700
> XT
> > > > video
> > > > > > card
> > > > > > > > so
> > > > > > > > > > my case is slightly different.
> > > > > > > > > 
> > > > > > > > > Hi Robert,
> > > > > > > > > no worries - I will gladly help if I can. Nice mainboard btw.
> > :)
> > > > What
> > > > > > > > distro
> > > > > > > > > do you use and do you know how to compile a kernel for your
> > > distro?
> > > > > > > > > To be able to write the patch that appends the realtek quirk
> > that
> > > > we
> > > > > > used
> > > > > > > > > for the X570 Aorus Master I would need the output of the
> > > following
> > > > > > > command:
> > > > > > > > > lspci  -nnvv
> > > > > > > > > Can you please send me the output? I will write the patch for
> > > you.
> > > > > > > > > Afterwards, you would have to apply the patch followed by
> > > building
> > > > > and
> > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > 
> > > > > > > > Thanks for getting back, I use Manjaro Linux and compiling the
> > > kernel
> > > > > > with
> > > > > > > > patch is not a problem. I have attached the output of the
> command
> > > > > > requested
> > > > > > > > at the top of the bug report in the attachment section since I
> > > didn't
> > > > > > want
> > > > > > > > to clutter this bug with such long code.
> > > > > > > > 
> > > > > > > > I really appreciate you helping me, ever since I built this
> > > computer
> > > > > one
> > > > > > > > month ago this is the only thing that has been bugging me,
> > > otherwise
> > > > it
> > > > > > is
> > > > > > > > really a nice system that works well with Linux.
> > > > > > > 
> > > > > > > Thanks for the hardware-information. I just created the kernel
> > patch
> > > > for
> > > > > > > your mainboard for linux 5.6.2 (which is at the time of writing
> the
> > > > > latest
> > > > > > > stable version). If you need it for another version (and the
> 5.6.2
> > > > patch
> > > > > > > does not work for the version you want) I can make another patch.
> > > Hope
> > > > it
> > > > > > > works :)
> > > > > > 
> > > > > > Hi Christian,
> > > > > > 
> > > > > > Thank You for making the patch, Unfortunately, I built the latest
> > 5.6.2
> > > > > > kernel with your patch followed by rebooting into the new kernel
> and
> > it
> > > > > > still does not work, the symptoms are the same as before. This
> makes
> > no
> > > > > > sense at all, the Audio codec is the same and and they probably
> > > > implemented
> > > > > > it the same as on the Master.
> > > > > > 
> > > > > > I only have two devices listed:
> > > > > > 
> > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > > > > > 
> > > > > > If you have any ideas, feel free to reply. Had I known this would
> be
> > > such
> > > > > an
> > > > > > issue I would have maybe selected a different brand board. It's
> just
> > > that
> > > > > > the specs were what I wanted with 10 GB ethernet and passive
> cooling,
> > > it
> > > > is
> > > > > > still the best X570 board out there.
> > > > > 
> > > > > Hi Robert,
> > > > > well, that is really sad to hear. I was actually expecting the fix to
> > > work
> > > > > for your mainboard too. If you had one of the
> hdajackretask-workarounds
> > > > > active (like this one here from
> > > > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please
> > > recheck
> > > > > if it is deactivated when using the patched kernel. If that is not
> the
> > > case
> > > > > I am afraid I am not experienced enough in kernel-development to help
> > you
> > > > > further.
> > > > > However, the nice folks over at alsa-devel
> > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be able
> > to
> > > > > help you out.
> > > > 
> > > > Thank You for your time, the jack re-task workarounds weren't active as
> > > this
> > > > is a fresh install, there is something different with this board and I
> am
> > > > certain everything was done correctly on my end. I will see if I can
> > > contact
> > > > them. Thanks again.
> > > 
> > > Hello,
> > > I just tested the patch for Aorus Xtreme posted by Christian Lachner on
> my
> > > board, and it works!
> > > 
> > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out" port
> was
> > > already recognized, but the volume controls were scrambled - i could
> > control
> > > the volume via the "headphone" fader in alsamixer, even though that
> channel
> > > was muted, and Gnome's sound control didn't work at all. 
> > > With the patch, the line out can be controlled with the "front" volume
> > fader
> > > in alsamixer, and the volume controls in Gnome work as expected. 
> > > 
> > > Is there a chance to get this additional patch integrated into mainline
> as
> > > well?
> > 
> > Hi Josef,
> > 
> > thanks for the report! That is really good news to hear! I will be glad to
> > submit the patch for upstream inclusion in the coming days.
> > 
> > Have a nice Sunday, Chris
> 
> That's great, thank you so much!

Bad news: after upgrading to the latest BIOS, the fix does not work anymore, and the audio port does not even work on Windows. I'll be returning this useless board.
Comment 17 nvaert1986 2020-05-19 11:35:58 UTC
(In reply to Josef Haider from comment #16)
> (In reply to Josef Haider from comment #15)
> > (In reply to Christian Lachner from comment #14)
> > > (In reply to Josef Haider from comment #13)
> > > > (In reply to Robert B. from comment #12)
> > > > > (In reply to Christian Lachner from comment #11)
> > > > > > (In reply to Robert B. from comment #10)
> > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > Thank you for working on this Christian Lachner. The same
> > bug
> > > > > also
> > > > > > > > > appears
> > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > > > > 
> > > > > > > > > > > If you could also make the revised fix apply to my board
> it
> > > > would
> > > > > > be
> > > > > > > > > > > wonderful as the symptoms are identical and the audio
> > appears
> > > > to
> > > > > > have
> > > > > > > > the
> > > > > > > > > > > same problem.
> > > > > > > > > > > 
> > > > > > > > > > > Apologies on my behalf if I was supposed to open a new
> bug,
> > > I'm
> > > > > new
> > > > > > > > here
> > > > > > > > > > and
> > > > > > > > > > > felt it was the best course of action to post here in
> order
> > > to
> > > > > > > minimize
> > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> however,
> > > let
> > > > me
> > > > > > > know
> > > > > > > > > how
> > > > > > > > > > I
> > > > > > > > > > > can be of help if you need something.  I have an AMD 5700
> > XT
> > > > > video
> > > > > > > card
> > > > > > > > > so
> > > > > > > > > > > my case is slightly different.
> > > > > > > > > > 
> > > > > > > > > > Hi Robert,
> > > > > > > > > > no worries - I will gladly help if I can. Nice mainboard
> btw.
> > > :)
> > > > > What
> > > > > > > > > distro
> > > > > > > > > > do you use and do you know how to compile a kernel for your
> > > > distro?
> > > > > > > > > > To be able to write the patch that appends the realtek
> quirk
> > > that
> > > > > we
> > > > > > > used
> > > > > > > > > > for the X570 Aorus Master I would need the output of the
> > > > following
> > > > > > > > command:
> > > > > > > > > > lspci  -nnvv
> > > > > > > > > > Can you please send me the output? I will write the patch
> for
> > > > you.
> > > > > > > > > > Afterwards, you would have to apply the patch followed by
> > > > building
> > > > > > and
> > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > 
> > > > > > > > > Thanks for getting back, I use Manjaro Linux and compiling
> the
> > > > kernel
> > > > > > > with
> > > > > > > > > patch is not a problem. I have attached the output of the
> > command
> > > > > > > requested
> > > > > > > > > at the top of the bug report in the attachment section since
> I
> > > > didn't
> > > > > > > want
> > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > 
> > > > > > > > > I really appreciate you helping me, ever since I built this
> > > > computer
> > > > > > one
> > > > > > > > > month ago this is the only thing that has been bugging me,
> > > > otherwise
> > > > > it
> > > > > > > is
> > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > 
> > > > > > > > Thanks for the hardware-information. I just created the kernel
> > > patch
> > > > > for
> > > > > > > > your mainboard for linux 5.6.2 (which is at the time of writing
> > the
> > > > > > latest
> > > > > > > > stable version). If you need it for another version (and the
> > 5.6.2
> > > > > patch
> > > > > > > > does not work for the version you want) I can make another
> patch.
> > > > Hope
> > > > > it
> > > > > > > > works :)
> > > > > > > 
> > > > > > > Hi Christian,
> > > > > > > 
> > > > > > > Thank You for making the patch, Unfortunately, I built the latest
> > > 5.6.2
> > > > > > > kernel with your patch followed by rebooting into the new kernel
> > and
> > > it
> > > > > > > still does not work, the symptoms are the same as before. This
> > makes
> > > no
> > > > > > > sense at all, the Audio codec is the same and and they probably
> > > > > implemented
> > > > > > > it the same as on the Master.
> > > > > > > 
> > > > > > > I only have two devices listed:
> > > > > > > 
> > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output  
> > > > > > > 
> > > > > > > If you have any ideas, feel free to reply. Had I known this would
> > be
> > > > such
> > > > > > an
> > > > > > > issue I would have maybe selected a different brand board. It's
> > just
> > > > that
> > > > > > > the specs were what I wanted with 10 GB ethernet and passive
> > cooling,
> > > > it
> > > > > is
> > > > > > > still the best X570 board out there.
> > > > > > 
> > > > > > Hi Robert,
> > > > > > well, that is really sad to hear. I was actually expecting the fix
> to
> > > > work
> > > > > > for your mainboard too. If you had one of the
> > hdajackretask-workarounds
> > > > > > active (like this one here from
> > > > > >
> https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118) please
> > > > recheck
> > > > > > if it is deactivated when using the patched kernel. If that is not
> > the
> > > > case
> > > > > > I am afraid I am not experienced enough in kernel-development to
> help
> > > you
> > > > > > further.
> > > > > > However, the nice folks over at alsa-devel
> > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be
> able
> > > to
> > > > > > help you out.
> > > > > 
> > > > > Thank You for your time, the jack re-task workarounds weren't active
> as
> > > > this
> > > > > is a fresh install, there is something different with this board and
> I
> > am
> > > > > certain everything was done correctly on my end. I will see if I can
> > > > contact
> > > > > them. Thanks again.
> > > > 
> > > > Hello,
> > > > I just tested the patch for Aorus Xtreme posted by Christian Lachner on
> > my
> > > > board, and it works!
> > > > 
> > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out" port
> > was
> > > > already recognized, but the volume controls were scrambled - i could
> > > control
> > > > the volume via the "headphone" fader in alsamixer, even though that
> > channel
> > > > was muted, and Gnome's sound control didn't work at all. 
> > > > With the patch, the line out can be controlled with the "front" volume
> > > fader
> > > > in alsamixer, and the volume controls in Gnome work as expected. 
> > > > 
> > > > Is there a chance to get this additional patch integrated into mainline
> > as
> > > > well?
> > > 
> > > Hi Josef,
> > > 
> > > thanks for the report! That is really good news to hear! I will be glad
> to
> > > submit the patch for upstream inclusion in the coming days.
> > > 
> > > Have a nice Sunday, Chris
> > 
> > That's great, thank you so much!
> 
> Bad news: after upgrading to the latest BIOS, the fix does not work anymore,
> and the audio port does not even work on Windows. I'll be returning this
> useless board.

Did you try to power-off your computer or even completely remove the power from your computer, wait a few minutes and push the on button and plug it back in and turn it on again?

It may sound like a strange / weird fix, but I've seen similar issues arise due to power saving features or firmware not getting loaded properly. I've got similar issues with a Creative Recon 3D PCI-E card myself and I sometimes need to cold boot (power off and power on) to get it to work. Also try booting directly into Windows without booting to linux. If that works try disabling ASPM if it's turned on and see what it does.
Comment 18 Josef Haider 2020-05-19 13:48:11 UTC
(In reply to nvaert1986 from comment #17)
> (In reply to Josef Haider from comment #16)
> > (In reply to Josef Haider from comment #15)
> > > (In reply to Christian Lachner from comment #14)
> > > > (In reply to Josef Haider from comment #13)
> > > > > (In reply to Robert B. from comment #12)
> > > > > > (In reply to Christian Lachner from comment #11)
> > > > > > > (In reply to Robert B. from comment #10)
> > > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > > Thank you for working on this Christian Lachner. The
> same
> > > bug
> > > > > > also
> > > > > > > > > > appears
> > > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > > > > > 
> > > > > > > > > > > > If you could also make the revised fix apply to my
> board
> > it
> > > > > would
> > > > > > > be
> > > > > > > > > > > > wonderful as the symptoms are identical and the audio
> > > appears
> > > > > to
> > > > > > > have
> > > > > > > > > the
> > > > > > > > > > > > same problem.
> > > > > > > > > > > > 
> > > > > > > > > > > > Apologies on my behalf if I was supposed to open a new
> > bug,
> > > > I'm
> > > > > > new
> > > > > > > > > here
> > > > > > > > > > > and
> > > > > > > > > > > > felt it was the best course of action to post here in
> > order
> > > > to
> > > > > > > > minimize
> > > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> > however,
> > > > let
> > > > > me
> > > > > > > > know
> > > > > > > > > > how
> > > > > > > > > > > I
> > > > > > > > > > > > can be of help if you need something.  I have an AMD
> 5700
> > > XT
> > > > > > video
> > > > > > > > card
> > > > > > > > > > so
> > > > > > > > > > > > my case is slightly different.
> > > > > > > > > > > 
> > > > > > > > > > > Hi Robert,
> > > > > > > > > > > no worries - I will gladly help if I can. Nice mainboard
> > btw.
> > > > :)
> > > > > > What
> > > > > > > > > > distro
> > > > > > > > > > > do you use and do you know how to compile a kernel for
> your
> > > > > distro?
> > > > > > > > > > > To be able to write the patch that appends the realtek
> > quirk
> > > > that
> > > > > > we
> > > > > > > > used
> > > > > > > > > > > for the X570 Aorus Master I would need the output of the
> > > > > following
> > > > > > > > > command:
> > > > > > > > > > > lspci  -nnvv
> > > > > > > > > > > Can you please send me the output? I will write the patch
> > for
> > > > > you.
> > > > > > > > > > > Afterwards, you would have to apply the patch followed by
> > > > > building
> > > > > > > and
> > > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > > 
> > > > > > > > > > Thanks for getting back, I use Manjaro Linux and compiling
> > the
> > > > > kernel
> > > > > > > > with
> > > > > > > > > > patch is not a problem. I have attached the output of the
> > > command
> > > > > > > > requested
> > > > > > > > > > at the top of the bug report in the attachment section
> since
> > I
> > > > > didn't
> > > > > > > > want
> > > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > > 
> > > > > > > > > > I really appreciate you helping me, ever since I built this
> > > > > computer
> > > > > > > one
> > > > > > > > > > month ago this is the only thing that has been bugging me,
> > > > > otherwise
> > > > > > it
> > > > > > > > is
> > > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > > 
> > > > > > > > > Thanks for the hardware-information. I just created the
> kernel
> > > > patch
> > > > > > for
> > > > > > > > > your mainboard for linux 5.6.2 (which is at the time of
> writing
> > > the
> > > > > > > latest
> > > > > > > > > stable version). If you need it for another version (and the
> > > 5.6.2
> > > > > > patch
> > > > > > > > > does not work for the version you want) I can make another
> > patch.
> > > > > Hope
> > > > > > it
> > > > > > > > > works :)
> > > > > > > > 
> > > > > > > > Hi Christian,
> > > > > > > > 
> > > > > > > > Thank You for making the patch, Unfortunately, I built the
> latest
> > > > 5.6.2
> > > > > > > > kernel with your patch followed by rebooting into the new
> kernel
> > > and
> > > > it
> > > > > > > > still does not work, the symptoms are the same as before. This
> > > makes
> > > > no
> > > > > > > > sense at all, the Audio codec is the same and and they probably
> > > > > > implemented
> > > > > > > > it the same as on the Master.
> > > > > > > > 
> > > > > > > > I only have two devices listed:
> > > > > > > > 
> > > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo Output 
> > > > > > > > 
> > > > > > > > If you have any ideas, feel free to reply. Had I known this
> would
> > > be
> > > > > such
> > > > > > > an
> > > > > > > > issue I would have maybe selected a different brand board. It's
> > > just
> > > > > that
> > > > > > > > the specs were what I wanted with 10 GB ethernet and passive
> > > cooling,
> > > > > it
> > > > > > is
> > > > > > > > still the best X570 board out there.
> > > > > > > 
> > > > > > > Hi Robert,
> > > > > > > well, that is really sad to hear. I was actually expecting the
> fix
> > to
> > > > > work
> > > > > > > for your mainboard too. If you had one of the
> > > hdajackretask-workarounds
> > > > > > > active (like this one here from
> > > > > > >
> > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118)
> please
> > > > > recheck
> > > > > > > if it is deactivated when using the patched kernel. If that is
> not
> > > the
> > > > > case
> > > > > > > I am afraid I am not experienced enough in kernel-development to
> > help
> > > > you
> > > > > > > further.
> > > > > > > However, the nice folks over at alsa-devel
> > > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might be
> > able
> > > > to
> > > > > > > help you out.
> > > > > > 
> > > > > > Thank You for your time, the jack re-task workarounds weren't
> active
> > as
> > > > > this
> > > > > > is a fresh install, there is something different with this board
> and
> > I
> > > am
> > > > > > certain everything was done correctly on my end. I will see if I
> can
> > > > > contact
> > > > > > them. Thanks again.
> > > > > 
> > > > > Hello,
> > > > > I just tested the patch for Aorus Xtreme posted by Christian Lachner
> on
> > > my
> > > > > board, and it works!
> > > > > 
> > > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out"
> port
> > > was
> > > > > already recognized, but the volume controls were scrambled - i could
> > > > control
> > > > > the volume via the "headphone" fader in alsamixer, even though that
> > > channel
> > > > > was muted, and Gnome's sound control didn't work at all. 
> > > > > With the patch, the line out can be controlled with the "front"
> volume
> > > > fader
> > > > > in alsamixer, and the volume controls in Gnome work as expected. 
> > > > > 
> > > > > Is there a chance to get this additional patch integrated into
> mainline
> > > as
> > > > > well?
> > > > 
> > > > Hi Josef,
> > > > 
> > > > thanks for the report! That is really good news to hear! I will be glad
> > to
> > > > submit the patch for upstream inclusion in the coming days.
> > > > 
> > > > Have a nice Sunday, Chris
> > > 
> > > That's great, thank you so much!
> > 
> > Bad news: after upgrading to the latest BIOS, the fix does not work
> anymore,
> > and the audio port does not even work on Windows. I'll be returning this
> > useless board.
> 
> Did you try to power-off your computer or even completely remove the power
> from your computer, wait a few minutes and push the on button and plug it
> back in and turn it on again?
> 
> It may sound like a strange / weird fix, but I've seen similar issues arise
> due to power saving features or firmware not getting loaded properly. I've
> got similar issues with a Creative Recon 3D PCI-E card myself and I
> sometimes need to cold boot (power off and power on) to get it to work. Also
> try booting directly into Windows without booting to linux. If that works
> try disabling ASPM if it's turned on and see what it does.

On Windows, disabling ASPM actually fixed the issue, the status on Linux is unchanged, unfortunately, also with boot parameter pcie_aspm=off.
Comment 19 nvaert1986 2020-05-19 14:05:27 UTC
(In reply to Josef Haider from comment #18)
> (In reply to nvaert1986 from comment #17)
> > (In reply to Josef Haider from comment #16)
> > > (In reply to Josef Haider from comment #15)
> > > > (In reply to Christian Lachner from comment #14)
> > > > > (In reply to Josef Haider from comment #13)
> > > > > > (In reply to Robert B. from comment #12)
> > > > > > > (In reply to Christian Lachner from comment #11)
> > > > > > > > (In reply to Robert B. from comment #10)
> > > > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > > > Thank you for working on this Christian Lachner. The
> > same
> > > > bug
> > > > > > > also
> > > > > > > > > > > appears
> > > > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my board. 
> > > > > > > > > > > > > 
> > > > > > > > > > > > > If you could also make the revised fix apply to my
> > board
> > > it
> > > > > > would
> > > > > > > > be
> > > > > > > > > > > > > wonderful as the symptoms are identical and the audio
> > > > appears
> > > > > > to
> > > > > > > > have
> > > > > > > > > > the
> > > > > > > > > > > > > same problem.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Apologies on my behalf if I was supposed to open a
> new
> > > bug,
> > > > > I'm
> > > > > > > new
> > > > > > > > > > here
> > > > > > > > > > > > and
> > > > > > > > > > > > > felt it was the best course of action to post here in
> > > order
> > > > > to
> > > > > > > > > minimize
> > > > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> > > however,
> > > > > let
> > > > > > me
> > > > > > > > > know
> > > > > > > > > > > how
> > > > > > > > > > > > I
> > > > > > > > > > > > > can be of help if you need something.  I have an AMD
> > 5700
> > > > XT
> > > > > > > video
> > > > > > > > > card
> > > > > > > > > > > so
> > > > > > > > > > > > > my case is slightly different.
> > > > > > > > > > > > 
> > > > > > > > > > > > Hi Robert,
> > > > > > > > > > > > no worries - I will gladly help if I can. Nice
> mainboard
> > > btw.
> > > > > :)
> > > > > > > What
> > > > > > > > > > > distro
> > > > > > > > > > > > do you use and do you know how to compile a kernel for
> > your
> > > > > > distro?
> > > > > > > > > > > > To be able to write the patch that appends the realtek
> > > quirk
> > > > > that
> > > > > > > we
> > > > > > > > > used
> > > > > > > > > > > > for the X570 Aorus Master I would need the output of
> the
> > > > > > following
> > > > > > > > > > command:
> > > > > > > > > > > > lspci  -nnvv
> > > > > > > > > > > > Can you please send me the output? I will write the
> patch
> > > for
> > > > > > you.
> > > > > > > > > > > > Afterwards, you would have to apply the patch followed
> by
> > > > > > building
> > > > > > > > and
> > > > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > > > 
> > > > > > > > > > > Thanks for getting back, I use Manjaro Linux and
> compiling
> > > the
> > > > > > kernel
> > > > > > > > > with
> > > > > > > > > > > patch is not a problem. I have attached the output of the
> > > > command
> > > > > > > > > requested
> > > > > > > > > > > at the top of the bug report in the attachment section
> > since
> > > I
> > > > > > didn't
> > > > > > > > > want
> > > > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > > > 
> > > > > > > > > > > I really appreciate you helping me, ever since I built
> this
> > > > > > computer
> > > > > > > > one
> > > > > > > > > > > month ago this is the only thing that has been bugging
> me,
> > > > > > otherwise
> > > > > > > it
> > > > > > > > > is
> > > > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > > > 
> > > > > > > > > > Thanks for the hardware-information. I just created the
> > kernel
> > > > > patch
> > > > > > > for
> > > > > > > > > > your mainboard for linux 5.6.2 (which is at the time of
> > writing
> > > > the
> > > > > > > > latest
> > > > > > > > > > stable version). If you need it for another version (and
> the
> > > > 5.6.2
> > > > > > > patch
> > > > > > > > > > does not work for the version you want) I can make another
> > > patch.
> > > > > > Hope
> > > > > > > it
> > > > > > > > > > works :)
> > > > > > > > > 
> > > > > > > > > Hi Christian,
> > > > > > > > > 
> > > > > > > > > Thank You for making the patch, Unfortunately, I built the
> > latest
> > > > > 5.6.2
> > > > > > > > > kernel with your patch followed by rebooting into the new
> > kernel
> > > > and
> > > > > it
> > > > > > > > > still does not work, the symptoms are the same as before.
> This
> > > > makes
> > > > > no
> > > > > > > > > sense at all, the Audio codec is the same and and they
> probably
> > > > > > > implemented
> > > > > > > > > it the same as on the Master.
> > > > > > > > > 
> > > > > > > > > I only have two devices listed:
> > > > > > > > > 
> > > > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo
> Output 
> > > > > > > > > 
> > > > > > > > > If you have any ideas, feel free to reply. Had I known this
> > would
> > > > be
> > > > > > such
> > > > > > > > an
> > > > > > > > > issue I would have maybe selected a different brand board.
> It's
> > > > just
> > > > > > that
> > > > > > > > > the specs were what I wanted with 10 GB ethernet and passive
> > > > cooling,
> > > > > > it
> > > > > > > is
> > > > > > > > > still the best X570 board out there.
> > > > > > > > 
> > > > > > > > Hi Robert,
> > > > > > > > well, that is really sad to hear. I was actually expecting the
> > fix
> > > to
> > > > > > work
> > > > > > > > for your mainboard too. If you had one of the
> > > > hdajackretask-workarounds
> > > > > > > > active (like this one here from
> > > > > > > >
> > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118)
> > please
> > > > > > recheck
> > > > > > > > if it is deactivated when using the patched kernel. If that is
> > not
> > > > the
> > > > > > case
> > > > > > > > I am afraid I am not experienced enough in kernel-development
> to
> > > help
> > > > > you
> > > > > > > > further.
> > > > > > > > However, the nice folks over at alsa-devel
> > > > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might
> be
> > > able
> > > > > to
> > > > > > > > help you out.
> > > > > > > 
> > > > > > > Thank You for your time, the jack re-task workarounds weren't
> > active
> > > as
> > > > > > this
> > > > > > > is a fresh install, there is something different with this board
> > and
> > > I
> > > > am
> > > > > > > certain everything was done correctly on my end. I will see if I
> > can
> > > > > > contact
> > > > > > > them. Thanks again.
> > > > > > 
> > > > > > Hello,
> > > > > > I just tested the patch for Aorus Xtreme posted by Christian
> Lachner
> > on
> > > > my
> > > > > > board, and it works!
> > > > > > 
> > > > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line out"
> > port
> > > > was
> > > > > > already recognized, but the volume controls were scrambled - i
> could
> > > > > control
> > > > > > the volume via the "headphone" fader in alsamixer, even though that
> > > > channel
> > > > > > was muted, and Gnome's sound control didn't work at all. 
> > > > > > With the patch, the line out can be controlled with the "front"
> > volume
> > > > > fader
> > > > > > in alsamixer, and the volume controls in Gnome work as expected. 
> > > > > > 
> > > > > > Is there a chance to get this additional patch integrated into
> > mainline
> > > > as
> > > > > > well?
> > > > > 
> > > > > Hi Josef,
> > > > > 
> > > > > thanks for the report! That is really good news to hear! I will be
> glad
> > > to
> > > > > submit the patch for upstream inclusion in the coming days.
> > > > > 
> > > > > Have a nice Sunday, Chris
> > > > 
> > > > That's great, thank you so much!
> > > 
> > > Bad news: after upgrading to the latest BIOS, the fix does not work
> > anymore,
> > > and the audio port does not even work on Windows. I'll be returning this
> > > useless board.
> > 
> > Did you try to power-off your computer or even completely remove the power
> > from your computer, wait a few minutes and push the on button and plug it
> > back in and turn it on again?
> > 
> > It may sound like a strange / weird fix, but I've seen similar issues arise
> > due to power saving features or firmware not getting loaded properly. I've
> > got similar issues with a Creative Recon 3D PCI-E card myself and I
> > sometimes need to cold boot (power off and power on) to get it to work.
> Also
> > try booting directly into Windows without booting to linux. If that works
> > try disabling ASPM if it's turned on and see what it does.
> 
> On Windows, disabling ASPM actually fixed the issue, the status on Linux is
> unchanged, unfortunately, also with boot parameter pcie_aspm=off.

Try disabling ASPM in the BIOS to see what it does. Also make sure that the power_save feature for the HD Audio Controller is disabled in your kernel modules section or in grub using options snd_hda_intel power_save=0

Also try several other kernel options like the dual-codecs option, specifically for  ALC1220 Gaming motherboards. See https://www.kernel.org/doc/html/v5.6/sound/hd-audio/models.html#alc88x-898-1150-1220 for details. Change the kernel version number to your corresponding kernel version to see options specific to your kernel version to see what options are available.
Comment 20 Josef Haider 2020-05-19 14:14:21 UTC
(In reply to nvaert1986 from comment #19)
> (In reply to Josef Haider from comment #18)
> > (In reply to nvaert1986 from comment #17)
> > > (In reply to Josef Haider from comment #16)
> > > > (In reply to Josef Haider from comment #15)
> > > > > (In reply to Christian Lachner from comment #14)
> > > > > > (In reply to Josef Haider from comment #13)
> > > > > > > (In reply to Robert B. from comment #12)
> > > > > > > > (In reply to Christian Lachner from comment #11)
> > > > > > > > > (In reply to Robert B. from comment #10)
> > > > > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > > > > Thank you for working on this Christian Lachner.
> The
> > > same
> > > > > bug
> > > > > > > > also
> > > > > > > > > > > > appears
> > > > > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my
> board. 
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > If you could also make the revised fix apply to my
> > > board
> > > > it
> > > > > > > would
> > > > > > > > > be
> > > > > > > > > > > > > > wonderful as the symptoms are identical and the
> audio
> > > > > appears
> > > > > > > to
> > > > > > > > > have
> > > > > > > > > > > the
> > > > > > > > > > > > > > same problem.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Apologies on my behalf if I was supposed to open a
> > new
> > > > bug,
> > > > > > I'm
> > > > > > > > new
> > > > > > > > > > > here
> > > > > > > > > > > > > and
> > > > > > > > > > > > > > felt it was the best course of action to post here
> in
> > > > order
> > > > > > to
> > > > > > > > > > minimize
> > > > > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> > > > however,
> > > > > > let
> > > > > > > me
> > > > > > > > > > know
> > > > > > > > > > > > how
> > > > > > > > > > > > > I
> > > > > > > > > > > > > > can be of help if you need something.  I have an
> AMD
> > > 5700
> > > > > XT
> > > > > > > > video
> > > > > > > > > > card
> > > > > > > > > > > > so
> > > > > > > > > > > > > > my case is slightly different.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Hi Robert,
> > > > > > > > > > > > > no worries - I will gladly help if I can. Nice
> > mainboard
> > > > btw.
> > > > > > :)
> > > > > > > > What
> > > > > > > > > > > > distro
> > > > > > > > > > > > > do you use and do you know how to compile a kernel
> for
> > > your
> > > > > > > distro?
> > > > > > > > > > > > > To be able to write the patch that appends the
> realtek
> > > > quirk
> > > > > > that
> > > > > > > > we
> > > > > > > > > > used
> > > > > > > > > > > > > for the X570 Aorus Master I would need the output of
> > the
> > > > > > > following
> > > > > > > > > > > command:
> > > > > > > > > > > > > lspci  -nnvv
> > > > > > > > > > > > > Can you please send me the output? I will write the
> > patch
> > > > for
> > > > > > > you.
> > > > > > > > > > > > > Afterwards, you would have to apply the patch
> followed
> > by
> > > > > > > building
> > > > > > > > > and
> > > > > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > > > > 
> > > > > > > > > > > > Thanks for getting back, I use Manjaro Linux and
> > compiling
> > > > the
> > > > > > > kernel
> > > > > > > > > > with
> > > > > > > > > > > > patch is not a problem. I have attached the output of
> the
> > > > > command
> > > > > > > > > > requested
> > > > > > > > > > > > at the top of the bug report in the attachment section
> > > since
> > > > I
> > > > > > > didn't
> > > > > > > > > > want
> > > > > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > > > > 
> > > > > > > > > > > > I really appreciate you helping me, ever since I built
> > this
> > > > > > > computer
> > > > > > > > > one
> > > > > > > > > > > > month ago this is the only thing that has been bugging
> > me,
> > > > > > > otherwise
> > > > > > > > it
> > > > > > > > > > is
> > > > > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > > > > 
> > > > > > > > > > > Thanks for the hardware-information. I just created the
> > > kernel
> > > > > > patch
> > > > > > > > for
> > > > > > > > > > > your mainboard for linux 5.6.2 (which is at the time of
> > > writing
> > > > > the
> > > > > > > > > latest
> > > > > > > > > > > stable version). If you need it for another version (and
> > the
> > > > > 5.6.2
> > > > > > > > patch
> > > > > > > > > > > does not work for the version you want) I can make
> another
> > > > patch.
> > > > > > > Hope
> > > > > > > > it
> > > > > > > > > > > works :)
> > > > > > > > > > 
> > > > > > > > > > Hi Christian,
> > > > > > > > > > 
> > > > > > > > > > Thank You for making the patch, Unfortunately, I built the
> > > latest
> > > > > > 5.6.2
> > > > > > > > > > kernel with your patch followed by rebooting into the new
> > > kernel
> > > > > and
> > > > > > it
> > > > > > > > > > still does not work, the symptoms are the same as before.
> > This
> > > > > makes
> > > > > > no
> > > > > > > > > > sense at all, the Audio codec is the same and and they
> > probably
> > > > > > > > implemented
> > > > > > > > > > it the same as on the Master.
> > > > > > > > > > 
> > > > > > > > > > I only have two devices listed:
> > > > > > > > > > 
> > > > > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo
> > Output 
> > > > > > > > > > 
> > > > > > > > > > If you have any ideas, feel free to reply. Had I known this
> > > would
> > > > > be
> > > > > > > such
> > > > > > > > > an
> > > > > > > > > > issue I would have maybe selected a different brand board.
> > It's
> > > > > just
> > > > > > > that
> > > > > > > > > > the specs were what I wanted with 10 GB ethernet and
> passive
> > > > > cooling,
> > > > > > > it
> > > > > > > > is
> > > > > > > > > > still the best X570 board out there.
> > > > > > > > > 
> > > > > > > > > Hi Robert,
> > > > > > > > > well, that is really sad to hear. I was actually expecting
> the
> > > fix
> > > > to
> > > > > > > work
> > > > > > > > > for your mainboard too. If you had one of the
> > > > > hdajackretask-workarounds
> > > > > > > > > active (like this one here from
> > > > > > > > >
> > > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118)
> > > please
> > > > > > > recheck
> > > > > > > > > if it is deactivated when using the patched kernel. If that
> is
> > > not
> > > > > the
> > > > > > > case
> > > > > > > > > I am afraid I am not experienced enough in kernel-development
> > to
> > > > help
> > > > > > you
> > > > > > > > > further.
> > > > > > > > > However, the nice folks over at alsa-devel
> > > > > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel) might
> > be
> > > > able
> > > > > > to
> > > > > > > > > help you out.
> > > > > > > > 
> > > > > > > > Thank You for your time, the jack re-task workarounds weren't
> > > active
> > > > as
> > > > > > > this
> > > > > > > > is a fresh install, there is something different with this
> board
> > > and
> > > > I
> > > > > am
> > > > > > > > certain everything was done correctly on my end. I will see if
> I
> > > can
> > > > > > > contact
> > > > > > > > them. Thanks again.
> > > > > > > 
> > > > > > > Hello,
> > > > > > > I just tested the patch for Aorus Xtreme posted by Christian
> > Lachner
> > > on
> > > > > my
> > > > > > > board, and it works!
> > > > > > > 
> > > > > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line
> out"
> > > port
> > > > > was
> > > > > > > already recognized, but the volume controls were scrambled - i
> > could
> > > > > > control
> > > > > > > the volume via the "headphone" fader in alsamixer, even though
> that
> > > > > channel
> > > > > > > was muted, and Gnome's sound control didn't work at all. 
> > > > > > > With the patch, the line out can be controlled with the "front"
> > > volume
> > > > > > fader
> > > > > > > in alsamixer, and the volume controls in Gnome work as expected. 
> > > > > > > 
> > > > > > > Is there a chance to get this additional patch integrated into
> > > mainline
> > > > > as
> > > > > > > well?
> > > > > > 
> > > > > > Hi Josef,
> > > > > > 
> > > > > > thanks for the report! That is really good news to hear! I will be
> > glad
> > > > to
> > > > > > submit the patch for upstream inclusion in the coming days.
> > > > > > 
> > > > > > Have a nice Sunday, Chris
> > > > > 
> > > > > That's great, thank you so much!
> > > > 
> > > > Bad news: after upgrading to the latest BIOS, the fix does not work
> > > anymore,
> > > > and the audio port does not even work on Windows. I'll be returning
> this
> > > > useless board.
> > > 
> > > Did you try to power-off your computer or even completely remove the
> power
> > > from your computer, wait a few minutes and push the on button and plug it
> > > back in and turn it on again?
> > > 
> > > It may sound like a strange / weird fix, but I've seen similar issues
> arise
> > > due to power saving features or firmware not getting loaded properly.
> I've
> > > got similar issues with a Creative Recon 3D PCI-E card myself and I
> > > sometimes need to cold boot (power off and power on) to get it to work.
> > Also
> > > try booting directly into Windows without booting to linux. If that works
> > > try disabling ASPM if it's turned on and see what it does.
> > 
> > On Windows, disabling ASPM actually fixed the issue, the status on Linux is
> > unchanged, unfortunately, also with boot parameter pcie_aspm=off.
> 
> Try disabling ASPM in the BIOS to see what it does. Also make sure that the
> power_save feature for the HD Audio Controller is disabled in your kernel
> modules section or in grub using options snd_hda_intel power_save=0
> 
> Also try several other kernel options like the dual-codecs option,
> specifically for  ALC1220 Gaming motherboards. See
> https://www.kernel.org/doc/html/v5.6/sound/hd-audio/models.html#alc88x-898-
> 1150-1220 for details. Change the kernel version number to your
> corresponding kernel version to see options specific to your kernel version
> to see what options are available.

I commented too soon, doing another cold boot after setting pcie_aspm=off fixed the issue on linux as well. Thanks for the advice and patience, i was getting a little frustrated...
Comment 21 nvaert1986 2020-05-19 14:23:22 UTC
(In reply to Josef Haider from comment #20)
> (In reply to nvaert1986 from comment #19)
> > (In reply to Josef Haider from comment #18)
> > > (In reply to nvaert1986 from comment #17)
> > > > (In reply to Josef Haider from comment #16)
> > > > > (In reply to Josef Haider from comment #15)
> > > > > > (In reply to Christian Lachner from comment #14)
> > > > > > > (In reply to Josef Haider from comment #13)
> > > > > > > > (In reply to Robert B. from comment #12)
> > > > > > > > > (In reply to Christian Lachner from comment #11)
> > > > > > > > > > (In reply to Robert B. from comment #10)
> > > > > > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > > > > > Thank you for working on this Christian Lachner.
> > The
> > > > same
> > > > > > bug
> > > > > > > > > also
> > > > > > > > > > > > > appears
> > > > > > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my
> > board. 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > If you could also make the revised fix apply to
> my
> > > > board
> > > > > it
> > > > > > > > would
> > > > > > > > > > be
> > > > > > > > > > > > > > > wonderful as the symptoms are identical and the
> > audio
> > > > > > appears
> > > > > > > > to
> > > > > > > > > > have
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > same problem.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Apologies on my behalf if I was supposed to open
> a
> > > new
> > > > > bug,
> > > > > > > I'm
> > > > > > > > > new
> > > > > > > > > > > > here
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > felt it was the best course of action to post
> here
> > in
> > > > > order
> > > > > > > to
> > > > > > > > > > > minimize
> > > > > > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> > > > > however,
> > > > > > > let
> > > > > > > > me
> > > > > > > > > > > know
> > > > > > > > > > > > > how
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > can be of help if you need something.  I have an
> > AMD
> > > > 5700
> > > > > > XT
> > > > > > > > > video
> > > > > > > > > > > card
> > > > > > > > > > > > > so
> > > > > > > > > > > > > > > my case is slightly different.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Hi Robert,
> > > > > > > > > > > > > > no worries - I will gladly help if I can. Nice
> > > mainboard
> > > > > btw.
> > > > > > > :)
> > > > > > > > > What
> > > > > > > > > > > > > distro
> > > > > > > > > > > > > > do you use and do you know how to compile a kernel
> > for
> > > > your
> > > > > > > > distro?
> > > > > > > > > > > > > > To be able to write the patch that appends the
> > realtek
> > > > > quirk
> > > > > > > that
> > > > > > > > > we
> > > > > > > > > > > used
> > > > > > > > > > > > > > for the X570 Aorus Master I would need the output
> of
> > > the
> > > > > > > > following
> > > > > > > > > > > > command:
> > > > > > > > > > > > > > lspci  -nnvv
> > > > > > > > > > > > > > Can you please send me the output? I will write the
> > > patch
> > > > > for
> > > > > > > > you.
> > > > > > > > > > > > > > Afterwards, you would have to apply the patch
> > followed
> > > by
> > > > > > > > building
> > > > > > > > > > and
> > > > > > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Thanks for getting back, I use Manjaro Linux and
> > > compiling
> > > > > the
> > > > > > > > kernel
> > > > > > > > > > > with
> > > > > > > > > > > > > patch is not a problem. I have attached the output of
> > the
> > > > > > command
> > > > > > > > > > > requested
> > > > > > > > > > > > > at the top of the bug report in the attachment
> section
> > > > since
> > > > > I
> > > > > > > > didn't
> > > > > > > > > > > want
> > > > > > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > I really appreciate you helping me, ever since I
> built
> > > this
> > > > > > > > computer
> > > > > > > > > > one
> > > > > > > > > > > > > month ago this is the only thing that has been
> bugging
> > > me,
> > > > > > > > otherwise
> > > > > > > > > it
> > > > > > > > > > > is
> > > > > > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > > > > > 
> > > > > > > > > > > > Thanks for the hardware-information. I just created the
> > > > kernel
> > > > > > > patch
> > > > > > > > > for
> > > > > > > > > > > > your mainboard for linux 5.6.2 (which is at the time of
> > > > writing
> > > > > > the
> > > > > > > > > > latest
> > > > > > > > > > > > stable version). If you need it for another version
> (and
> > > the
> > > > > > 5.6.2
> > > > > > > > > patch
> > > > > > > > > > > > does not work for the version you want) I can make
> > another
> > > > > patch.
> > > > > > > > Hope
> > > > > > > > > it
> > > > > > > > > > > > works :)
> > > > > > > > > > > 
> > > > > > > > > > > Hi Christian,
> > > > > > > > > > > 
> > > > > > > > > > > Thank You for making the patch, Unfortunately, I built
> the
> > > > latest
> > > > > > > 5.6.2
> > > > > > > > > > > kernel with your patch followed by rebooting into the new
> > > > kernel
> > > > > > and
> > > > > > > it
> > > > > > > > > > > still does not work, the symptoms are the same as before.
> > > This
> > > > > > makes
> > > > > > > no
> > > > > > > > > > > sense at all, the Audio codec is the same and and they
> > > probably
> > > > > > > > > implemented
> > > > > > > > > > > it the same as on the Master.
> > > > > > > > > > > 
> > > > > > > > > > > I only have two devices listed:
> > > > > > > > > > > 
> > > > > > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo
> > > Output 
> > > > > > > > > > > 
> > > > > > > > > > > If you have any ideas, feel free to reply. Had I known
> this
> > > > would
> > > > > > be
> > > > > > > > such
> > > > > > > > > > an
> > > > > > > > > > > issue I would have maybe selected a different brand
> board.
> > > It's
> > > > > > just
> > > > > > > > that
> > > > > > > > > > > the specs were what I wanted with 10 GB ethernet and
> > passive
> > > > > > cooling,
> > > > > > > > it
> > > > > > > > > is
> > > > > > > > > > > still the best X570 board out there.
> > > > > > > > > > 
> > > > > > > > > > Hi Robert,
> > > > > > > > > > well, that is really sad to hear. I was actually expecting
> > the
> > > > fix
> > > > > to
> > > > > > > > work
> > > > > > > > > > for your mainboard too. If you had one of the
> > > > > > hdajackretask-workarounds
> > > > > > > > > > active (like this one here from
> > > > > > > > > >
> > > > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118)
> > > > please
> > > > > > > > recheck
> > > > > > > > > > if it is deactivated when using the patched kernel. If that
> > is
> > > > not
> > > > > > the
> > > > > > > > case
> > > > > > > > > > I am afraid I am not experienced enough in
> kernel-development
> > > to
> > > > > help
> > > > > > > you
> > > > > > > > > > further.
> > > > > > > > > > However, the nice folks over at alsa-devel
> > > > > > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel)
> might
> > > be
> > > > > able
> > > > > > > to
> > > > > > > > > > help you out.
> > > > > > > > > 
> > > > > > > > > Thank You for your time, the jack re-task workarounds weren't
> > > > active
> > > > > as
> > > > > > > > this
> > > > > > > > > is a fresh install, there is something different with this
> > board
> > > > and
> > > > > I
> > > > > > am
> > > > > > > > > certain everything was done correctly on my end. I will see
> if
> > I
> > > > can
> > > > > > > > contact
> > > > > > > > > them. Thanks again.
> > > > > > > > 
> > > > > > > > Hello,
> > > > > > > > I just tested the patch for Aorus Xtreme posted by Christian
> > > Lachner
> > > > on
> > > > > > my
> > > > > > > > board, and it works!
> > > > > > > > 
> > > > > > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line
> > out"
> > > > port
> > > > > > was
> > > > > > > > already recognized, but the volume controls were scrambled - i
> > > could
> > > > > > > control
> > > > > > > > the volume via the "headphone" fader in alsamixer, even though
> > that
> > > > > > channel
> > > > > > > > was muted, and Gnome's sound control didn't work at all. 
> > > > > > > > With the patch, the line out can be controlled with the "front"
> > > > volume
> > > > > > > fader
> > > > > > > > in alsamixer, and the volume controls in Gnome work as
> expected. 
> > > > > > > > 
> > > > > > > > Is there a chance to get this additional patch integrated into
> > > > mainline
> > > > > > as
> > > > > > > > well?
> > > > > > > 
> > > > > > > Hi Josef,
> > > > > > > 
> > > > > > > thanks for the report! That is really good news to hear! I will
> be
> > > glad
> > > > > to
> > > > > > > submit the patch for upstream inclusion in the coming days.
> > > > > > > 
> > > > > > > Have a nice Sunday, Chris
> > > > > > 
> > > > > > That's great, thank you so much!
> > > > > 
> > > > > Bad news: after upgrading to the latest BIOS, the fix does not work
> > > > anymore,
> > > > > and the audio port does not even work on Windows. I'll be returning
> > this
> > > > > useless board.
> > > > 
> > > > Did you try to power-off your computer or even completely remove the
> > power
> > > > from your computer, wait a few minutes and push the on button and plug
> it
> > > > back in and turn it on again?
> > > > 
> > > > It may sound like a strange / weird fix, but I've seen similar issues
> > arise
> > > > due to power saving features or firmware not getting loaded properly.
> > I've
> > > > got similar issues with a Creative Recon 3D PCI-E card myself and I
> > > > sometimes need to cold boot (power off and power on) to get it to work.
> > > Also
> > > > try booting directly into Windows without booting to linux. If that
> works
> > > > try disabling ASPM if it's turned on and see what it does.
> > > 
> > > On Windows, disabling ASPM actually fixed the issue, the status on Linux
> is
> > > unchanged, unfortunately, also with boot parameter pcie_aspm=off.
> > 
> > Try disabling ASPM in the BIOS to see what it does. Also make sure that the
> > power_save feature for the HD Audio Controller is disabled in your kernel
> > modules section or in grub using options snd_hda_intel power_save=0
> > 
> > Also try several other kernel options like the dual-codecs option,
> > specifically for  ALC1220 Gaming motherboards. See
> > https://www.kernel.org/doc/html/v5.6/sound/hd-audio/models.html#alc88x-898-
> > 1150-1220 for details. Change the kernel version number to your
> > corresponding kernel version to see options specific to your kernel version
> > to see what options are available.
> 
> I commented too soon, doing another cold boot after setting pcie_aspm=off
> fixed the issue on linux as well. Thanks for the advice and patience, i was
> getting a little frustrated...

Yeah I know it can be quite annoying. A cold boot or sometimes even unplugging the power cord and plugging the power core back in can really fix issues that even can't be fixed with the power cord plugged in due to certain settings even being retained in a low power state for some reason.

I've seen quite a lot of these issues in the past. Especially with Realtek based audio chips, which are even worse in dual boot scenario's, due to Microsoft Windows putting these devices in some weird / quirky low power state when being shut down, where Linux just doesn't detect the device until the specified machine is completely powerless.
Comment 22 Christian Lachner 2020-05-19 16:30:25 UTC
(In reply to Josef Haider from comment #20)
> (In reply to nvaert1986 from comment #19)
> > (In reply to Josef Haider from comment #18)
> > > (In reply to nvaert1986 from comment #17)
> > > > (In reply to Josef Haider from comment #16)
> > > > > (In reply to Josef Haider from comment #15)
> > > > > > (In reply to Christian Lachner from comment #14)
> > > > > > > (In reply to Josef Haider from comment #13)
> > > > > > > > (In reply to Robert B. from comment #12)
> > > > > > > > > (In reply to Christian Lachner from comment #11)
> > > > > > > > > > (In reply to Robert B. from comment #10)
> > > > > > > > > > > (In reply to Christian Lachner from comment #9)
> > > > > > > > > > > > (In reply to Robert B. from comment #6)
> > > > > > > > > > > > > (In reply to Christian Lachner from comment #5)
> > > > > > > > > > > > > > (In reply to Robert B. from comment #4)
> > > > > > > > > > > > > > > Thank you for working on this Christian Lachner.
> > The
> > > > same
> > > > > > bug
> > > > > > > > > also
> > > > > > > > > > > > > appears
> > > > > > > > > > > > > > > on the Gigabyte X570 Aorus Xtreme which is my
> > board. 
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > If you could also make the revised fix apply to
> my
> > > > board
> > > > > it
> > > > > > > > would
> > > > > > > > > > be
> > > > > > > > > > > > > > > wonderful as the symptoms are identical and the
> > audio
> > > > > > appears
> > > > > > > > to
> > > > > > > > > > have
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > same problem.
> > > > > > > > > > > > > > > 
> > > > > > > > > > > > > > > Apologies on my behalf if I was supposed to open
> a
> > > new
> > > > > bug,
> > > > > > > I'm
> > > > > > > > > new
> > > > > > > > > > > > here
> > > > > > > > > > > > > > and
> > > > > > > > > > > > > > > felt it was the best course of action to post
> here
> > in
> > > > > order
> > > > > > > to
> > > > > > > > > > > minimize
> > > > > > > > > > > > > > > fragmentation of efforts. I'm simply an end user,
> > > > > however,
> > > > > > > let
> > > > > > > > me
> > > > > > > > > > > know
> > > > > > > > > > > > > how
> > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > can be of help if you need something.  I have an
> > AMD
> > > > 5700
> > > > > > XT
> > > > > > > > > video
> > > > > > > > > > > card
> > > > > > > > > > > > > so
> > > > > > > > > > > > > > > my case is slightly different.
> > > > > > > > > > > > > > 
> > > > > > > > > > > > > > Hi Robert,
> > > > > > > > > > > > > > no worries - I will gladly help if I can. Nice
> > > mainboard
> > > > > btw.
> > > > > > > :)
> > > > > > > > > What
> > > > > > > > > > > > > distro
> > > > > > > > > > > > > > do you use and do you know how to compile a kernel
> > for
> > > > your
> > > > > > > > distro?
> > > > > > > > > > > > > > To be able to write the patch that appends the
> > realtek
> > > > > quirk
> > > > > > > that
> > > > > > > > > we
> > > > > > > > > > > used
> > > > > > > > > > > > > > for the X570 Aorus Master I would need the output
> of
> > > the
> > > > > > > > following
> > > > > > > > > > > > command:
> > > > > > > > > > > > > > lspci  -nnvv
> > > > > > > > > > > > > > Can you please send me the output? I will write the
> > > patch
> > > > > for
> > > > > > > > you.
> > > > > > > > > > > > > > Afterwards, you would have to apply the patch
> > followed
> > > by
> > > > > > > > building
> > > > > > > > > > and
> > > > > > > > > > > > > > running it to see if it solves the audio issues.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > Thanks for getting back, I use Manjaro Linux and
> > > compiling
> > > > > the
> > > > > > > > kernel
> > > > > > > > > > > with
> > > > > > > > > > > > > patch is not a problem. I have attached the output of
> > the
> > > > > > command
> > > > > > > > > > > requested
> > > > > > > > > > > > > at the top of the bug report in the attachment
> section
> > > > since
> > > > > I
> > > > > > > > didn't
> > > > > > > > > > > want
> > > > > > > > > > > > > to clutter this bug with such long code.
> > > > > > > > > > > > > 
> > > > > > > > > > > > > I really appreciate you helping me, ever since I
> built
> > > this
> > > > > > > > computer
> > > > > > > > > > one
> > > > > > > > > > > > > month ago this is the only thing that has been
> bugging
> > > me,
> > > > > > > > otherwise
> > > > > > > > > it
> > > > > > > > > > > is
> > > > > > > > > > > > > really a nice system that works well with Linux.
> > > > > > > > > > > > 
> > > > > > > > > > > > Thanks for the hardware-information. I just created the
> > > > kernel
> > > > > > > patch
> > > > > > > > > for
> > > > > > > > > > > > your mainboard for linux 5.6.2 (which is at the time of
> > > > writing
> > > > > > the
> > > > > > > > > > latest
> > > > > > > > > > > > stable version). If you need it for another version
> (and
> > > the
> > > > > > 5.6.2
> > > > > > > > > patch
> > > > > > > > > > > > does not work for the version you want) I can make
> > another
> > > > > patch.
> > > > > > > > Hope
> > > > > > > > > it
> > > > > > > > > > > > works :)
> > > > > > > > > > > 
> > > > > > > > > > > Hi Christian,
> > > > > > > > > > > 
> > > > > > > > > > > Thank You for making the patch, Unfortunately, I built
> the
> > > > latest
> > > > > > > 5.6.2
> > > > > > > > > > > kernel with your patch followed by rebooting into the new
> > > > kernel
> > > > > > and
> > > > > > > it
> > > > > > > > > > > still does not work, the symptoms are the same as before.
> > > This
> > > > > > makes
> > > > > > > no
> > > > > > > > > > > sense at all, the Audio codec is the same and and they
> > > probably
> > > > > > > > > implemented
> > > > > > > > > > > it the same as on the Master.
> > > > > > > > > > > 
> > > > > > > > > > > I only have two devices listed:
> > > > > > > > > > > 
> > > > > > > > > > > Navi 10 HDMI Audio                    ===> Profile Off
> > > > > > > > > > > Starship/Mattisse HD Audio Controller ===> Analog Stereo
> > > Output 
> > > > > > > > > > > 
> > > > > > > > > > > If you have any ideas, feel free to reply. Had I known
> this
> > > > would
> > > > > > be
> > > > > > > > such
> > > > > > > > > > an
> > > > > > > > > > > issue I would have maybe selected a different brand
> board.
> > > It's
> > > > > > just
> > > > > > > > that
> > > > > > > > > > > the specs were what I wanted with 10 GB ethernet and
> > passive
> > > > > > cooling,
> > > > > > > > it
> > > > > > > > > is
> > > > > > > > > > > still the best X570 board out there.
> > > > > > > > > > 
> > > > > > > > > > Hi Robert,
> > > > > > > > > > well, that is really sad to hear. I was actually expecting
> > the
> > > > fix
> > > > > to
> > > > > > > > work
> > > > > > > > > > for your mainboard too. If you had one of the
> > > > > > hdajackretask-workarounds
> > > > > > > > > > active (like this one here from
> > > > > > > > > >
> > > > > https://unix.stackexchange.com/questions/547746/audio-not-working-on-
> > > > > > > > > > gigabyte-x570-aorus-master-with-alc1220-and-ess-sabre-9118)
> > > > please
> > > > > > > > recheck
> > > > > > > > > > if it is deactivated when using the patched kernel. If that
> > is
> > > > not
> > > > > > the
> > > > > > > > case
> > > > > > > > > > I am afraid I am not experienced enough in
> kernel-development
> > > to
> > > > > help
> > > > > > > you
> > > > > > > > > > further.
> > > > > > > > > > However, the nice folks over at alsa-devel
> > > > > > > > > > (https://mailman.alsa-project.org/pipermail/alsa-devel)
> might
> > > be
> > > > > able
> > > > > > > to
> > > > > > > > > > help you out.
> > > > > > > > > 
> > > > > > > > > Thank You for your time, the jack re-task workarounds weren't
> > > > active
> > > > > as
> > > > > > > > this
> > > > > > > > > is a fresh install, there is something different with this
> > board
> > > > and
> > > > > I
> > > > > > am
> > > > > > > > > certain everything was done correctly on my end. I will see
> if
> > I
> > > > can
> > > > > > > > contact
> > > > > > > > > them. Thanks again.
> > > > > > > > 
> > > > > > > > Hello,
> > > > > > > > I just tested the patch for Aorus Xtreme posted by Christian
> > > Lachner
> > > > on
> > > > > > my
> > > > > > > > board, and it works!
> > > > > > > > 
> > > > > > > > With the stock kernel (5.6.13-arch1 on Arch Linux), the "line
> > out"
> > > > port
> > > > > > was
> > > > > > > > already recognized, but the volume controls were scrambled - i
> > > could
> > > > > > > control
> > > > > > > > the volume via the "headphone" fader in alsamixer, even though
> > that
> > > > > > channel
> > > > > > > > was muted, and Gnome's sound control didn't work at all. 
> > > > > > > > With the patch, the line out can be controlled with the "front"
> > > > volume
> > > > > > > fader
> > > > > > > > in alsamixer, and the volume controls in Gnome work as
> expected. 
> > > > > > > > 
> > > > > > > > Is there a chance to get this additional patch integrated into
> > > > mainline
> > > > > > as
> > > > > > > > well?
> > > > > > > 
> > > > > > > Hi Josef,
> > > > > > > 
> > > > > > > thanks for the report! That is really good news to hear! I will
> be
> > > glad
> > > > > to
> > > > > > > submit the patch for upstream inclusion in the coming days.
> > > > > > > 
> > > > > > > Have a nice Sunday, Chris
> > > > > > 
> > > > > > That's great, thank you so much!
> > > > > 
> > > > > Bad news: after upgrading to the latest BIOS, the fix does not work
> > > > anymore,
> > > > > and the audio port does not even work on Windows. I'll be returning
> > this
> > > > > useless board.
> > > > 
> > > > Did you try to power-off your computer or even completely remove the
> > power
> > > > from your computer, wait a few minutes and push the on button and plug
> it
> > > > back in and turn it on again?
> > > > 
> > > > It may sound like a strange / weird fix, but I've seen similar issues
> > arise
> > > > due to power saving features or firmware not getting loaded properly.
> > I've
> > > > got similar issues with a Creative Recon 3D PCI-E card myself and I
> > > > sometimes need to cold boot (power off and power on) to get it to work.
> > > Also
> > > > try booting directly into Windows without booting to linux. If that
> works
> > > > try disabling ASPM if it's turned on and see what it does.
> > > 
> > > On Windows, disabling ASPM actually fixed the issue, the status on Linux
> is
> > > unchanged, unfortunately, also with boot parameter pcie_aspm=off.
> > 
> > Try disabling ASPM in the BIOS to see what it does. Also make sure that the
> > power_save feature for the HD Audio Controller is disabled in your kernel
> > modules section or in grub using options snd_hda_intel power_save=0
> > 
> > Also try several other kernel options like the dual-codecs option,
> > specifically for  ALC1220 Gaming motherboards. See
> > https://www.kernel.org/doc/html/v5.6/sound/hd-audio/models.html#alc88x-898-
> > 1150-1220 for details. Change the kernel version number to your
> > corresponding kernel version to see options specific to your kernel version
> > to see what options are available.
> 
> I commented too soon, doing another cold boot after setting pcie_aspm=off
> fixed the issue on linux as well. Thanks for the advice and patience, i was
> getting a little frustrated...

It seems like the X570 Xtreme has similar issues like the X570 Master (my board for which I wrote the initial patch). There is a long discussion about this problem in the level1techs forum [https://forum.level1techs.com/t/has-anybody-gotten-audio-working-in-linux-on-aorus-x570-master/154072/45]. Windows has two different drivers - the generic HDA driver by Microsoft and another HDA driver by Realtek. My find was that only the Realtek one causes problems. My current hypothesis - based on the information gathered in the forum - is the following: On a cold boot, the HDA driver for the ALC1220 in conjunction with the clevo laptop quirk (ALC1220_FIXUP_CLEVO_P950) works fine. Rebooting from Windows, the driver also works fine if using Microsoft’s generic HD Audio driver (which is the one I use).
However, rebooting from Windows with the device-specific Realtek driver (at least versions 6.0.8854.1 and 6.0.8862.1) breaks the audio somehow. My best guess is that the Realtek driver messes with the HDA pin_config, HDA verbs or does some power-management stuff which it does not reset when shutting down or rebooting which make them persist into the Linux OS. The linux HDA driver does not expect the state of the audio hardware to be non-default (default would be the way the uEFI initializes the audio hardware) and therefore cannot recover from that scenario.

Solution: Use Microsoft’s generic HDA driver on Windows. It works fine - I am using it since I got this board and do not miss anything. However, I do not use Windows that much so there may be corner-cases where the Realtek driver may be better - I just don’t know.

On a side-note: It may also be possible to teach the linux HDA driver to recover from an unclean audio hardware state. However, IMO the problem should be fixed on the Windows side. Adding another quirk just because a driver on Windows does not clean up after itself feels wrong to me. Especially when one driver does it right and the other does it wrong...

Note You need to log in before you can comment on or make changes to this bug.