Bug 120601

Summary: Gigabyte GA-Z170X-Gaming 7 (rev. 1.0): HD-Audio not working
Product: Drivers Reporter: throwaway42
Component: Sound(ALSA)Assignee: Jaroslav Kysela (perex)
Status: NEW ---    
Severity: normal CC: bestdigitalupdates, mark.l.abramson, rootexpression
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.6.2 Subsystem:
Regression: No Bisected commit-id:
Attachments: windows driver's INF file
List of output options in Pulse Audio volume control
Rear i/o panel configuration reference image

Description throwaway42 2016-06-18 16:25:11 UTC
Created attachment 220581 [details]
windows driver's INF file

The analog audio output doesn't work on this one, neither the "rear" port nor the combined "Headphones/Line Out" port. Due to lack of peripherals i cannot test S/PDIF and analog input.
 
Of course it is a Creative CA0132 codec.

ALSA-INFO: http://www.alsa-project.org/db/?f=29c155dd3c57a5aa49d4b0f83e45d44475aa5a81

The number of the card is "3".

I also attached an INF file from the board's CD containing a device specific "PinConfig".
Comment 1 throwaway42 2016-10-21 08:29:53 UTC
I'm running Kernel 4.7.8 now. Sometimes the sound does work, sometimes not. It seems to be a problem with the iommu because everytime the sound doesn't work, I'll get these messages on dmesg:

[ 1771.099655] DMAR: DRHD: handling fault status reg 3
[ 1771.099657] DMAR: [DMA Read] Request device [00:1f.3] fault addr 0 [fault reason 06] PTE Read access is not set

lspci refers the device 00:1f.3 as the internal audio card.

A reboot may solve the problem then.
Comment 2 rootexpression 2016-12-22 19:28:56 UTC
Created attachment 248361 [details]
List of output options in Pulse Audio volume control

as of 22dec2016 in manjaro (arch) 4.9.0-0 kernel
Comment 3 rootexpression 2016-12-22 19:30:46 UTC
Created attachment 248371 [details]
Rear i/o panel configuration reference image

I added a colored key to the black/white image from the user manual, just in case it helps with clarity regarding what i/o we are talking about.
Comment 4 rootexpression 2016-12-22 19:32:36 UTC
I currently have the rear Line Out (unamped 2ch / front 5.1ch) output working, it detects as headphones and I can switch between headphone and line out(which triggers surround output in alsa).  I have also gotten volume adjustment working on the rear line out output (some threads say it does not).

"Digital Stereo (HDMI2) Output" - this is the motherboards HDMI port audio output (my monitor has audio passthrough), and I can confirm this works.
Unable to test the DisplayPort audio output.

I have not had any luck getting anything out of either the center/subwoofer or rear speaker outputs.

I have not gotten it to take any inputs through the Line In / Mic In port.

I have also tried connecting a front panel connector and had no success getting output or input working on that.

I am currently running the 4.9.0-0 kernel.

If there is any useful information I can provide, or can assist in attaining, please let me know (I would really like to see the amped output and mic inputs working).

I am including the rear panel port layout (in case it helps?) and a list of output options in Pulse Audio volume control.